Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 520786

Summary: media-libs/libsdl - image tearing arising from use of composite backingstore
Product: Gentoo Linux Reporter: BobbyK <bobbykent32>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: aklhfex, bobbykent32
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: SDL backingstore on demand patch

Description BobbyK 2014-08-24 18:52:27 UTC
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).
Comment 2 James 2014-10-28 06:40:37 UTC
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.
Comment 3 Pacho Ramos gentoo-dev 2023-05-27 14:41:06 UTC
Can you retry with 1.2.64 version please? Thanks
Comment 4 James 2023-05-27 16:27:22 UTC
Works fine on version 1.2.60 and 1.2.64.
Comment 5 James Le Cuirot gentoo-dev 2023-05-27 17:01:40 UTC
Thanks for confirming.