Bug#808857: Screen is darker than expected on intel with mesa >= 10.6

Deve deveee at gmail.com
Wed Dec 23 19:54:31 UTC 2015


Package: supertuxkart
Version: 0.9.1-2

This affects all intel graphics cards, which have at least OpenGL 3.x, 
with mesa >= 10.6. The reason of this bug is that with current drivers, 
the visual is not srgb-capable anymore. Here is more info:
https://github.com/supertuxkart/stk-code/issues/2190
https://bugs.freedesktop.org/show_bug.cgi?id=92759
http://patchwork.freedesktop.org/patch/67844/

It's not fixed in mesa yet, because the fix is not trivial and it causes 
another issues.

We made a workaround by setting WithAlphaChannel parameter to true, 
which forces to use proper format on mesa side.

Additionally I hid it inside a graphics restriction to avoid any 
modifications for other drivers. This is valid only for intel drivers. 
The radeon/nvidia drivers are not affected by this change.

It also checks if this workaround is really needed. If we already have 
srgb-capable visual, then we don't do anything.

The commits with this workaround are already applied upstream.

The diff is in attachment.

Regards,
Deve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: srgb_workaround.diff
Type: text/x-patch
Size: 6353 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20151223/5414e222/attachment-0001.bin>


More information about the Pkg-games-devel mailing list