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.
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.freedeskt op.org/ show_bug. cgi?id= 74158
I have a patch that restores a check for the SDL_VIDEO_ X11_BACKINGSTOR E environment variable before trying to enable backingstore.