[Bug 42699] Segmentation fault if context is created indirect on a glXCreateWindow

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 1 14:31:27 UTC 2018


Danylo <danylo.piliaiev at gmail.com> changed:

           What    |Removed                     |Added
                 CC|                            |danylo.piliaiev at gmail.com

--- Comment #3 from Danylo <danylo.piliaiev at gmail.com> ---
I've made a patch to fix the issue
https://patchwork.freedesktop.org/patch/242094/ . 

__glXInitialize is being called before Mesa may know that context will be
indirect thus dri display is created (this doesn't happen with
LIBGL_ALWAYS_INDIRECT=1 due to the check in __glXInitialize). Later
GetGLXDRIDrawable will be able to return non-null value which some places treat
as indicator that dri is enabled. I added check if direct rendering is enabled
before calling GetGLXDRIDrawable where necessary.

You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20180801/d5a98f98/attachment.html>

More information about the intel-3d-bugs mailing list