Public bug reported:

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://bugs.freedesktop.org/show_bug.cgi?id=74158

I have a patch that restores a check for the SDL_VIDEO_X11_BACKINGSTORE
environment variable before trying to enable backingstore.

** Affects: libsdl1.2 (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "sdl-check-for-SDL_VIDEO_X11_BACKINGSTORE.patch"
   
https://bugs.launchpad.net/bugs/1280665/+attachment/3982053/+files/sdl-check-for-SDL_VIDEO_X11_BACKINGSTORE.patch

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libsdl1.2 in Ubuntu.
https://bugs.launchpad.net/bugs/1280665

Title:
  libsdl1.2 always uses backingstore which causes tearing in modern X
  servers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libsdl1.2/+bug/1280665/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to