Created attachment 383540 [details, diff] SDL backingstore on demand patch There's a bunch of reports for other distros (e.g. Ubuntu https://bugs.launchpad.net/ubuntu/+source/libsdl1.2/+bug/1280665, Fedora https://bugzilla.redhat.com/show_bug.cgi?id=1073057, Arch https://aur.archlinux.org/packages/sdl-nobackingstore/) relating to this and a straighforward patch that fixed it for me (attached as backingstore_on_demand.patch). Was wondering if Gentoo could include the same (or similar fix).
Some more links with background: https://devtalk.nvidia.com/default/topic/679688/tearing-in-sdl-1-2-apps-unless-composite-extension-is-completely-disabled-/ https://bugzilla.libsdl.org/show_bug.cgi?id=2383 https://www.libreoffice.org/bugzilla/show_bug.cgi?id=74158 Critical for XBMC: http://forum.xbmc.org/showthread.php?tid=190655 http://forum.xbmc.org/showthread.php?tid=199765 Includes starting X with -bs to avoid it completely.
I'd just like to add my input and say that I've been hit by this bug too. I just spent the last two hours trying to fix vsync/tearing issues with xbmc and i965 - and the fix was this backingstore patch.. Running a patched version of libsdl fixed it for me. Please add the patch to the tree if it doesn't break anything else.
Can you retry with 1.2.64 version please? Thanks
Works fine on version 1.2.60 and 1.2.64.
Thanks for confirming.