Bug 32323 - GL_EXT_texture_sRGB is broken
Summary: GL_EXT_texture_sRGB is broken
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/R600 (show other bugs)
Version: 7.9
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
Depends on:
Reported: 2010-12-11 12:23 UTC by Martin Lambers
Modified: 2012-11-02 16:08 UTC (History)
0 users

See Also:
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.