<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [r600g] glXCreateContextAttribsARB() fails under certain circumstances"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=57241">57241</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[r600g] glXCreateContextAttribsARB() fails under certain circumstances
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>nfxjfg@gmail.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>9.0
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/DRI/Radeon
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Test program: <a href="http://sprunge.us/eGJa">http://sprunge.us/eGJa</a>
Failing output: <a href="http://bpaste.net/show/58701/">http://bpaste.net/show/58701/</a>
Successfull output (on another setup): <a href="http://dpaste.com/832706/">http://dpaste.com/832706/</a>

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: <a href="http://bpaste.net/show/58678/">http://bpaste.net/show/58678/</a>
X server: "x11-base/xorg-server-1.13.0-r1" on Gentoo
The test program is a modified version of
<a href="http://www.opengl.org/wiki/Tutorial:_OpenGL_3.0_Context_Creation_(GLX">http://www.opengl.org/wiki/Tutorial:_OpenGL_3.0_Context_Creation_(GLX</a>)

It's not clear whether this is a bug or just a caveat, and it has been
confirmed on one installation only so far.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>