Bug 32323

Summary: GL_EXT_texture_sRGB is broken
Product: Mesa Reporter: Martin Lambers <marlam>
Component: Drivers/DRI/R600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: medium    
Version: 7.9   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Martin Lambers 2010-12-11 12:23:58 UTC
The GL extension GL_EXT_texture_sRGB defines the texture formats GL_SRGB and friends and specifies that sampling such a texture automatically converts the values from non-linear RGB (sRGB) to linear RGB.

However, this conversion is not performed on my system; the textures seem to be sampled as if they were normal GL_RGB textures. This results in wrong colors (e.g. in the git version of the Bino 3D video player: far too bright).

I'm running Ubuntu 10.10 on x86_64 and get the following version info from GL:

OpenGL version: 2.1 Mesa 7.9-devel
OpenGL renderer: Mesa DRI R600 (RV710 954F) 20090101 TCL DRI2
OpenGL vendor: Advanced Micro Devices, Inc.

If you need more information, please let me know.
Comment 1 Andreas Boll 2012-11-02 16:08:35 UTC
Note: classic r600 driver has been abandoned.

Please use r600g (gallium driver) instead.
It should handle GL_EXT_texture_sRGB correctly.

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.