https://bugs.freedesktop.org/show_bug.cgi?id=57241
Priority: medium Bug ID: 57241 Assignee: dri-devel@lists.freedesktop.org Summary: [r600g] glXCreateContextAttribsARB() fails under certain circumstances Severity: normal Classification: Unclassified OS: Linux (All) Reporter: nfxjfg@gmail.com Hardware: Other Status: NEW Version: 9.0 Component: Drivers/DRI/Radeon Product: Mesa
Test program: http://sprunge.us/eGJa Failing output: http://bpaste.net/show/58701/ Successfull output (on another setup): http://dpaste.com/832706/
What seems to trigger this is calling glXCreateContextAttribsARB() with the following context attributes included: GLX_CONTEXT_PROFILE_MASK_ARB, GLX_CONTEXT_CORE_PROFILE_BIT_ARB, and GLX_CONTEXT_FLAGS_ARB, GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB. Removing these seems to make it work.
The test program has been confirmed to work on Mesa with i965, and nvidia binary drivers 304.60. The actual program which triggered this also works on fglrx.
User's glxinfo: http://bpaste.net/show/58678/ X server: "x11-base/xorg-server-1.13.0-r1" on Gentoo The test program is a modified version of http://www.opengl.org/wiki/Tutorial:_OpenGL_3.0_Context_Creation_(GLX)
It's not clear whether this is a bug or just a caveat, and it has been confirmed on one installation only so far.
https://bugs.freedesktop.org/show_bug.cgi?id=57241
Andreas Boll andreas.boll.dev@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|Drivers/DRI/Radeon |Drivers/Gallium/r600
https://bugs.freedesktop.org/show_bug.cgi?id=57241
--- Comment #1 from nfxjfg@gmail.com --- What triggers the failure is indeed GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB. As far as I know, for drivers which can't handle anything beyond 3.0 or so, this should be a no-op.
GLX_CONTEXT_CORE_PROFILE_BIT_ARB is ignored (as it should should be with GL 3.0).
https://bugs.freedesktop.org/show_bug.cgi?id=57241
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop. |.org |org Component|Drivers/Gallium/r600 |Mesa core
--- Comment #2 from Michel Dänzer michel@daenzer.net --- Please attach files here directly instead of referencing external sites.
This is probably an issue in a Gallium state tracker, not in the driver; reassigning.
dri-devel@lists.freedesktop.org