<table><tr><td style="">roberts created this revision.<br />roberts added a reviewer: Plasma.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.<br />roberts requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D12455">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Under certain contexts (tested with Mesa 18.0.1 + AMDGPU) eglMakeCurrent()<br />
fails with EGL_BAD_ACCESS. At this point the KCM gives up on EGL info<br />
retrieval. This seems to be caused - correctly or otherwise - by a dangling<br />
glX context. Explictly setting no glX context current at cleanup fixes the<br />
issue.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>kcmshell5 opengl should correctly display EGL information.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R102 KInfoCenter</div></div></div><br /><div><strong>BRANCH</strong><div><div>kcm_opengl_fix_egl (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12455">https://phabricator.kde.org/D12455</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>Modules/opengl/opengl.cpp</div></div></div><br /><div><strong>To: </strong>roberts, Plasma<br /><strong>Cc: </strong>plasma-devel, Plasma, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>