[Bug 76540] [SNB regression] Unigine-OilRush crash

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 9 01:33:16 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=76540

--- Comment #39 from Chris Wilson <chris at chris-wilson.co.uk> ---
After patching (changing branches, or jumping between different checkouts)
Xorg, you must recompile the drivers.

However, to disable sRGB in Xorg-1.15, apply

diff --git a/glx/glxcmds.c b/glx/glxcmds.c
index 187e426..e8c1198 100644
--- a/glx/glxcmds.c
+++ b/glx/glxcmds.c
@@ -1006,7 +1006,7 @@ __glXDisp_GetVisualConfigs(__GLXclientState * cl, GLbyte
* pc)
         buf[p++] = GLX_SAMPLE_BUFFERS_SGIS;
         buf[p++] = modes->sampleBuffers;
         /* Add attribute only if its value is not default. */
-        if (modes->sRGBCapable != GL_FALSE) {
+        if (modes->sRGBCapable != GL_FALSE && 0) {
             buf[p++] = GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT;
             buf[p++] = modes->sRGBCapable;
         }
@@ -1130,7 +1130,7 @@ DoGetFBConfigs(__GLXclientState * cl, unsigned screen)
                       modes->optimalPbufferHeight);
        }
         /* Add attribute only if its value is not default. */
-        if (modes->sRGBCapable != GL_FALSE) {
+        if (modes->sRGBCapable != GL_FALSE && 0) {
             WRITE_PAIR(GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT, modes->sRGBCapable);
         }
         /* Pad the remaining place with zeroes, so that attributes count is
constant. */

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140409/4c627a8c/attachment.html>


More information about the intel-gfx-bugs mailing list