Bug 89452 - [Regression] Gamma controls broken on all SDL/Quake based games
Summary: [Regression] Gamma controls broken on all SDL/Quake based games
Status: RESOLVED DUPLICATE of bug 27222
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-06 01:01 UTC by Luke
Modified: 2015-03-06 02:44 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Luke 2015-03-06 01:01:36 UTC
The gamma controls no longer work on (io)Quake based games with Mesa drivers. This regression occurred in 7.4 commit:

http://cgit.freedesktop.org/xorg/xserver/commit/?id=91f73b79b7ae64e5b846d1efeb470bb61a913720

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:
http://openarena.ws/board/index.php?topic=3699.0
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=645299
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565638
https://bugzilla.libsdl.org/show_bug.cgi?id=971
https://bbs.archlinux.org/viewtopic.php?id=84040

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?
Comment 1 Michel Dänzer 2015-03-06 01:22:49 UTC

*** This bug has been marked as a duplicate of bug 27222 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.