<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [Regression] Gamma controls broken on all SDL/Quake based games"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89452">89452</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[Regression] Gamma controls broken on all SDL/Quake based games
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

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

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

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Mesa core
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>lukebenes@hotmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>The gamma controls no longer work on (io)Quake based games with Mesa drivers.
This regression occurred in 7.4 commit:

<a href="http://cgit.freedesktop.org/xorg/xserver/commit/?id=91f73b79b7ae64e5b846d1efeb470bb61a913720">http://cgit.freedesktop.org/xorg/xserver/commit/?id=91f73b79b7ae64e5b846d1efeb470bb61a913720</a>

Maarten says it "should be driver ABI compatible", but it breaks Mesa's own
drivers. I have observed this broken behavior with the Mesa software renderer,
a Geforce 650 with Mesa 10.5 and 10.6, and ATI X1800 with Mesa 10.5 and 10.6.
Ironically, the proprietary drivers have hacked around this bug, so they're not
affected. Nouveau's default gamma is so dark that OpenArena is unplayable with
my GTX 650. 

A sample of downstream bug reports from game engines/frameworks affected:
<a href="http://openarena.ws/board/index.php?topic=3699.0">http://openarena.ws/board/index.php?topic=3699.0</a>
<a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=645299">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=645299</a>
<a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565638">https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565638</a>
<a href="https://bugzilla.libsdl.org/show_bug.cgi?id=971">https://bugzilla.libsdl.org/show_bug.cgi?id=971</a>
<a href="https://bbs.archlinux.org/viewtopic.php?id=84040">https://bbs.archlinux.org/viewtopic.php?id=84040</a>

It should be possible for a game to control it's own gamma and not force the
user to change system-wide settings every time they want to play. How can we
fix this issue? Implement the same work-around as the proprietary drivers or
revert/fix the commit that's causing this problem?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>