<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:neil@linux.intel.com" title="Neil Roberts <neil@linux.intel.com>"> <span class="fn">Neil Roberts</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - SRGB dark rendering"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91817">bug 91817</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>neil@linux.intel.com
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>DUPLICATE
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - SRGB dark rendering"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91817#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED DUPLICATE - SRGB dark rendering"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91817">bug 91817</a>
              from <span class="vcard"><a class="email" href="mailto:neil@linux.intel.com" title="Neil Roberts <neil@linux.intel.com>"> <span class="fn">Neil Roberts</span></a>
</span></b>
        <pre>It seems very likely that this bug is the same as <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [Regression, bisected] Screen is darker than expected in Supertuxkart"
   href="show_bug.cgi?id=92759">bug 92759</a>. Although the
original description says that it's rendering to GL_SRGB8 textures which
wouldn't have the bug, the trace enables GL_FRAMEBUFFER_SRGB throughout the
entire the trace so presumably it would be enabled for the final writes to the
framebuffer as well. The calls to glXChooseVisual don't include the
GLX_ALPHA_SIZE parameter so it seems quite likely that it's picking up an RGB
format without sRGB capabilities.

I haven't been able to test it with the trace because glretrace seems to ignore
the visual from glXChooseVisual and always requests an RGBA visual which means
it would end up with an sRGB-capable visual regardless.

Thanks for the bug report.

*** This bug has been marked as a duplicate of <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [Regression, bisected] Screen is darker than expected in Supertuxkart"
   href="show_bug.cgi?id=92759">bug 92759</a> ***</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>