Skip to contentSkip to conversation

New: [r600g] glXCreateContextAttribsARB() fails under certain circumstances

Bug 57241 [email protected] 1 participant 4 messages Nov 18, 2012 – Nov 19, 2012

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=57241

Priority: medium
Bug ID: 57241
Assignee: [email protected]
Summary: [r600g] glXCreateContextAttribsARB() fails under
certain circumstances
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 57241] [r600g] glXCreateContextAttribsARB() fails under certain circumstances

https://bugs.freedesktop.org/show_bug.cgi?id=57241

Andreas Boll <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Component|Drivers/DRI/Radeon |Drivers/Gallium/r600

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 57241] [r600g] glXCreateContextAttribsARB() fails under certain circumstances

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=57241

--- Comment #1 from [email protected] ---
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).

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 57241] [r600g] glXCreateContextAttribsARB() fails under certain circumstances

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=57241

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

           Assignee|[email protected] |[email protected].
                   |.org                        |org
          Component|Drivers/Gallium/r600        |Mesa core

--- Comment #2 from Michel Dänzer <[email protected]> --- 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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel