[Bug 90966] [946GZ] Random black glitches blinking

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jun 14 12:21:54 PDT 2015


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

--- Comment #9 from Chris Wilson <chris at chris-wilson.co.uk> ---
Actually, I remember thinking it is probably the HWCursor playing up when it
changes size - part of the reason why I want to investigate a new kernel (or
you can try 3.19).

Unfortunately there is no simple option to disable the HWCursor in xorg.conf
for Intel, probably should add one, but if you want to experiment you can try

diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 965c35c..d1102fe 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -5698,6 +5698,8 @@ sna_cursor_pre_init(struct sna *sna)
        if (sna->mode.num_real_crtc == 0)
                return;

+       return;
+
 #define LOCAL_IOCTL_GET_CAP    DRM_IOWR(0x0c, struct local_get_cap)
 #define DRM_CAP_CURSOR_WIDTH   8
 #define DRM_CAP_CURSOR_HEIGHT  9

or

diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 965c35c..3c373bc 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -5705,6 +5705,7 @@ sna_cursor_pre_init(struct sna *sna)
 #define I915_PARAM_HAS_COHERENT_PHYS_GTT 29

        sna->cursor.max_size = 64;
+       return;

        cap.value = 0;
        cap.name = DRM_CAP_CURSOR_WIDTH;

the first disables the HW cursor entirely, the second disables cursor resizing.

-- 
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/20150614/9e4e2b2c/attachment.html>


More information about the intel-gfx-bugs mailing list