Skip to contentSkip to conversation

xf86-video-intel: 2 commits - src/sna/sna_blt.c src/sna/sna_display.c

DISCUSSION Michel Dänzer 1 participant 1 message Mar 2, 2019 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 11 lines · GitLab Mirror
 src/sna/sna_blt.c     |    7 +++++--
 src/sna/sna_display.c |   20 ++++++--------------
 2 files changed, 11 insertions(+), 16 deletions(-)

New commits:
commit 6afed33b2d673d88674f0c76efe500ae414e8e1b

Author: Ville Syrjälä <[email protected]>
Date:   Fri Mar 1 11:26:07 2019 +0000

sna: Switch back to hwcursor on the next cursor update

Quoted 8 lines

Once we've switched to using the swcursor (possibly due to the cursor ioctl failing) we currently keep using the swcursor until the modeset.

That's not particularly great as the swcursor has several issues. Apart from the (presumably expected) flicker, the cursor also tends to leave horrible trails behind around dri2/3 windows (happens with tearfree at least).

Sounds like the intel driver is allowing DRI2/Present page flipping while there's an SW cursor? That cannot work correctly, as the SW cursor image is missing in the newly flipped pixmap, and the SW cursor code will restore stale background contents to it when the cursor has to be drawn again.

Signature · 6 lines
Earthling Michel Dänzer               |              https://www.amd.com
Libre software enthusiast             |             Mesa and X developer
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx