roberts created this revision. roberts added a reviewer: Plasma. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel. roberts requested review of this revision.
REVISION SUMMARY Under certain contexts (tested with Mesa 18.0.1 + AMDGPU) eglMakeCurrent() fails with EGL_BAD_ACCESS. At this point the KCM gives up on EGL info retrieval. This seems to be caused - correctly or otherwise - by a dangling glX context. Explictly setting no glX context current at cleanup fixes the issue. TEST PLAN kcmshell5 opengl should correctly display EGL information. REPOSITORY R102 KInfoCenter BRANCH kcm_opengl_fix_egl (branched from master) REVISION DETAIL https://phabricator.kde.org/D12455 AFFECTED FILES Modules/opengl/opengl.cpp To: roberts, #plasma Cc: plasma-devel, #plasma, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart