D12455: kcm_opengl: Fix EGL info retrieval.

Lindsay Roberts noreply at phabricator.kde.org
Sun Apr 22 18:09:59 UTC 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180422/0ba0510f/attachment.html>


More information about the Plasma-devel mailing list