Bug#747168: libsdl1.2 always uses backingstore which causes tearing in modern X servers

Timo Jyrinki timo at debian.org
Tue May 6 07:11:13 UTC 2014


Source: libsdl1.2
Severity: normal
Tags: upstream patch

Dear Maintainer,

Current upstream version causes visible tearing in eg. videos when 
using a modern X.org with composite version.

The easiest way to reproduce:
apt-get install xbmc youtube-dl
youtube-dl http://www.youtube.com/watch?v=22ftfoCSPQI
xbmc # open the video

Without the patch tearing is visible regardless of vsync settings, 
while with the patch the image is tear-free (like before).

Upstream bug report is at:
https://bugzilla.libsdl.org/show_bug.cgi?id=2383

As explained there, upstream is not planning another 1.2 release, and 
the 2.0 does not have the problem. Meanwhile, Fedora [1] and Ubuntu [2] 
have applied a patch to not unconditionally enable backingstore, restoring 
the old behavior. I'd suggest a similar patch for Debian.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1073057
[2] https://bugs.launchpad.net/ubuntu/+source/libsdl1.2/+bug/1280665

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.13-1-686-pae (SMP w/1 CPU core)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sdl-check-for-SDL_VIDEO_X11_BACKINGSTORE.patch
Type: text/x-diff
Size: 406 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-sdl-maintainers/attachments/20140506/4078cdb2/attachment.patch>


More information about the Pkg-sdl-maintainers mailing list