[Bug 98855] xf86-video-intel crashes with Xorg 1.19 using I-V-O with Nvidia

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Dec 1 00:57:59 UTC 2016


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

--- Comment #9 from Chris Wilson <chris at chris-wilson.co.uk> ---
Puzzling. The call to GammaSetSize() looks to be the right fix. :|

Could you add this bit of debugging to confirm that the GammaSetSize() is
taking effect:


diff --git a/src/sna/sna_display_fake.c b/src/sna/sna_display_fake.c
index fa26bda..b504f3f 100644
--- a/src/sna/sna_display_fake.c
+++ b/src/sna/sna_display_fake.c
@@ -293,6 +293,8 @@ static bool add_fake_output(struct sna *sna, bool late)
                                   RR_Rotate_All | RR_Reflect_All);
                if (!RRCrtcGammaSetSize(crtc->randr_crtc, 256))
                        goto err;
+               ErrorF("crtc->gamma_size=%d, randr_crtc->gammaSize=%d\n",
+                      crtc->gamma_size, crtc->randr_crtc->gammaSize);
        }

        sna->mode.num_fake++;

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


More information about the intel-gfx-bugs mailing list