Bug 40509

Summary: GL_EXT_texture_sRGB_decode Extension is incompatible with WINE
Product: Mesa Reporter: Md Imam Hossain <imamdxl8805>
Component: Drivers/DRI/i965Assignee: Ian Romanick <idr>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: medium    
Version: 7.11   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Md Imam Hossain 2011-08-31 02:42:58 UTC
Recent versions of WINE starting to use fairly new OpenGL extensions like GL_EXT_texture_sRGB_decode, GL_ARB_draw_elements_base_vertex and GL_ARB_map_buffer_range to further optimise various component of WINE's Direct3D.

from WINE's release notes, WINE uses GL_EXT_texture_sRGB_decode extension to prevent texture duplication:
http://www.winehq.org/announce/1.3.15

Normally running any game with WINE results darker graphics ( games that use shaders )

but if I disable GL_EXT_texture_sRGB_decode extension by
MESA_EXTENSION_OVERRIDE="-GL_EXT_texture_sRGB_decode"
than games graphics becomes normal.


Spec:

Ubuntu 11.04
Linux 3.0.1-030001-generic
X.Org X Server 1.10.2.902 (1.10.3 RC 2)
xf86-video-intel-2.16.0
Mesa 7.12-devel 66e8d223b61dc034fb941e7d704a85ee44d7bbcc (older Mesa versions have same problem)
Comment 1 Md Imam Hossain 2011-08-31 20:04:09 UTC
This is tested on Intel GMA 4500
Comment 2 Eric Anholt 2012-07-30 20:14:54 UTC
Possible fix:

http://lists.freedesktop.org/archives/mesa-dev/2012-July/024917.html
Comment 3 Eric Anholt 2012-07-30 21:08:26 UTC
marking as a dup of the later bug that specifies a particular way to reproduce the problem.

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

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.