[Bug 1280665] Re: libsdl1.2 always uses backingstore which causes tearing in modern X servers
Brian Murray
brian at ubuntu.com
Sat May 10 04:37:47 UTC 2014
Hello Joseph, or anyone else affected,
Accepted libsdl1.2 into trusty-proposed. The package will build now and
be available at
http://launchpad.net/ubuntu/+source/libsdl1.2/1.2.15-8ubuntu1.1 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Your feedback will aid us getting this update
out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed. In either case, details of your testing will help
us make a better decision.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Changed in: libsdl1.2 (Ubuntu Trusty)
Status: Triaged => Fix Committed
** Tags added: verification-needed
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1280665
Title:
libsdl1.2 always uses backingstore which causes tearing in modern X
servers
Status in Simple Directmedia Layer:
Unknown
Status in “libsdl1.2” package in Ubuntu:
Fix Released
Status in “libsdl1.2” source package in Trusty:
Fix Committed
Bug description:
[Impact]
Tearing in SDL applications regardless of vsync setting.
[Test Case]
Use eg. XBMC to play any video, or a particular video that more easily shows up the tearing of the images.
[Regression Potential]
This is a regression fix in itself, and restores old behavior.
---
Fedora 21 has a similar patch applied
https://bugzilla.redhat.com/show_bug.cgi?id=1073057
libsdl1.2 always enables backingstore when it is present in the X
server. For modern X servers, backingstore is implemented by
redirecting through the composite extension. This causes tearing on
SDL applications such as xbmc because the redirected rendering is not
guaranteed to be synchronized.
A discussion of the problem by Nvidia is here:
https://devtalk.nvidia.com/default/topic/679688/linux/tearing-in-
sdl-1-2-apps-unless-composite-extension-is-completely-
disabled-/post/4111287/#4111287
The upstream bug is here:
https://bugzilla.libsdl.org/show_bug.cgi?id=2383
I have a patch that restores a check for the
SDL_VIDEO_X11_BACKINGSTORE environment variable before trying to
enable backingstore.
To manage notifications about this bug go to:
https://bugs.launchpad.net/libsdl/+bug/1280665/+subscriptions
More information about the Ubuntu-sponsors
mailing list