[Bug 99704] Spinning wheel cursor splits into two parts when starting laptop docked / using rotated external screen

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 7 12:11:34 UTC 2017


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

--- Comment #2 from Chris Wilson <chris at chris-wilson.co.uk> ---
Hmm, frequently updating cursor jumps. Can you try something like

diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 573869e..7da8d9a 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -6012,6 +6012,7 @@ static struct sna_cursor *__sna_get_cursor(struct sna
*sna, xf86CrtcPtr crtc)
            height < cursor->last_height ||
            rotation != cursor->rotation)
                memset(image, 0, 4*size*size);
+       memset(image, 0xff, 4*size*size);
        if (rotation == RR_Rotate_0) {
                if (argb == NULL) {
                        for (y = 0; y < height; y++) {

which should show us the extents of the cursor, and then whether it is the
image or the entire cursor that is jumping.

-- 
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/20170207/7bc3a8b9/attachment.html>


More information about the intel-gfx-bugs mailing list