Debian Bug report logs -
#747168
libsdl1.2 always uses backingstore which causes tearing in modern X servers
Reported by: Timo Jyrinki <timo@debian.org>
Date: Tue, 6 May 2014 07:21:02 UTC
Severity: normal
Tags: patch, upstream
Merged with 753261
Found in version libsdl1.2/1.2.15-9
Fixed in version libsdl1.2/1.2.15-10
Done: Felix Geyer <fgeyer@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>:
Bug#747168; Package src:libsdl1.2.
(Tue, 06 May 2014 07:21:06 GMT) (full text, mbox, link).
Acknowledgement sent
to Timo Jyrinki <timo@debian.org>:
New Bug report received and forwarded. Copy sent to Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>.
(Tue, 06 May 2014 07:21:06 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
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
[sdl-check-for-SDL_VIDEO_X11_BACKINGSTORE.patch (text/x-diff, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>:
Bug#747168; Package src:libsdl1.2.
(Sun, 11 May 2014 17:00:09 GMT) (full text, mbox, link).
Acknowledgement sent
to dod@debian.org:
Extra info received and forwarded to list. Copy sent to Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>.
(Sun, 11 May 2014 17:00:09 GMT) (full text, mbox, link).
Message #10 received at 747168@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
I can confirm tearing on XBMC, nvidia (with proprietary driver).
But the proposed patch does not resolve this issue on my system.
Timo, what is your HW setup and Xorg driver ?
All the best
--
https://github.com/dod38fr/ -o- http://search.cpan.org/~ddumont/
http://ddumont.wordpress.com/ -o- irc: dod at irc.debian.org
[Message part 2 (text/html, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>:
Bug#747168; Package src:libsdl1.2.
(Thu, 15 May 2014 11:27:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Timo Jyrinki <timo.jyrinki@iki.fi>:
Extra info received and forwarded to list. Copy sent to Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>.
(Thu, 15 May 2014 11:27:05 GMT) (full text, mbox, link).
Message #15 received at 747168@bugs.debian.org (full text, mbox, reply):
11.05.2014 19:57, Dominique Dumont kirjoitti:
>
> I can confirm tearing on XBMC, nvidia (with proprietary driver).
>
>
>
> But the proposed patch does not resolve this issue on my system.
>
>
>
> Timo, what is your HW setup and Xorg driver ?
>
I've various Intel graphics hardware systems, but the identically titled
Ubuntu bug report [1] has success stories also from nvidia users. I just
re-tested on one machine with a fresh Jessie install that the tearing
happens with the test video very visibly when following my steps to
reproduce. After a recompile of libsdl1.2 with the patch added to
debian/patches(/series), the tearing is gone in xbmc.
[1] https://launchpad.net/bugs/1280665
-Timo
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>:
Bug#747168; Package src:libsdl1.2.
(Fri, 20 Jun 2014 14:15:07 GMT) (full text, mbox, link).
Acknowledgement sent
to David Swegen <dswegen@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>.
(Fri, 20 Jun 2014 14:15:07 GMT) (full text, mbox, link).
Message #20 received at 747168@bugs.debian.org (full text, mbox, reply):
Until there is an updated package this issue can be worked around by
passing in -bs to the xserver in the appropriate file.
Cheers
David
Marked as found in versions libsdl1.2/1.2.15-9.
Request was from Felix Geyer <fgeyer@debian.org>
to control@bugs.debian.org.
(Mon, 30 Jun 2014 08:30:08 GMT) (full text, mbox, link).
Merged 747168 753261
Request was from Felix Geyer <fgeyer@debian.org>
to control@bugs.debian.org.
(Mon, 30 Jun 2014 08:30:09 GMT) (full text, mbox, link).
Added tag(s) pending.
Request was from Felix Geyer <fgeyer@debian.org>
to control@bugs.debian.org.
(Mon, 30 Jun 2014 18:12:22 GMT) (full text, mbox, link).
Reply sent
to Felix Geyer <fgeyer@debian.org>:
You have taken responsibility.
(Mon, 30 Jun 2014 19:51:05 GMT) (full text, mbox, link).
Notification sent
to Timo Jyrinki <timo@debian.org>:
Bug acknowledged by developer.
(Mon, 30 Jun 2014 19:51:05 GMT) (full text, mbox, link).
Message #33 received at 747168-close@bugs.debian.org (full text, mbox, reply):
Source: libsdl1.2
Source-Version: 1.2.15-10
We believe that the bug you reported is fixed in the latest version of
libsdl1.2, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 747168@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Felix Geyer <fgeyer@debian.org> (supplier of updated libsdl1.2 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 30 Jun 2014 21:18:45 +0200
Source: libsdl1.2
Binary: libsdl1.2debian libsdl1.2-dev libsdl1.2-dbg
Architecture: source amd64
Version: 1.2.15-10
Distribution: unstable
Urgency: medium
Maintainer: Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>
Changed-By: Felix Geyer <fgeyer@debian.org>
Description:
libsdl1.2-dbg - Simple DirectMedia Layer debug files
libsdl1.2-dev - Simple DirectMedia Layer development files
libsdl1.2debian - Simple DirectMedia Layer
Closes: 747168 751765
Changes:
libsdl1.2 (1.2.15-10) unstable; urgency=medium
.
[ Hector Oron ]
* d/control: remove libts-dev dependency. (Closes: #751765)
.
[ Felix Geyer ]
* Enable X11 backingstore only when SDL_VIDEO_X11_BACKINGSTORE is set to
prevent tearing. (Closes: #747168)
- Add sdl-check-for-SDL_VIDEO_X11_BACKINGSTORE.patch
Checksums-Sha1:
bd89fa007916a666fa06e7842b903b3fdd2538a6 2452 libsdl1.2_1.2.15-10.dsc
79c62066192373f90134fed8d7be01e668839d7a 22796 libsdl1.2_1.2.15-10.debian.tar.xz
5a6e5a2672c4463f85ef116f84d06d5009845a2e 187252 libsdl1.2debian_1.2.15-10_amd64.deb
d5426bd4328bf6c21b5c9c927c557c5eab072346 730734 libsdl1.2-dev_1.2.15-10_amd64.deb
0304eb9a11956df0b5c0548260ef77e3616d59d9 746562 libsdl1.2-dbg_1.2.15-10_amd64.deb
Checksums-Sha256:
58b3cc623a14c934591e635b63ca197a835b81b4808d0892bc96f551aec16b0c 2452 libsdl1.2_1.2.15-10.dsc
94e158710e2ad389d65e6cdce9e10be2a15e20125dfcbc34c9d4a4f0f098a36e 22796 libsdl1.2_1.2.15-10.debian.tar.xz
148a9cf14cbb9cfb8efec989107e69b756bea67916501edda24378931ac3cb34 187252 libsdl1.2debian_1.2.15-10_amd64.deb
6270390ef890f401e5ea40be126b17329e8d64a29f872b4a1e47d0b17b12f25c 730734 libsdl1.2-dev_1.2.15-10_amd64.deb
c894ad07a1bc0d1566c8bee29414b2b3613a1af0ee8f9a239d6cd2c71ab07983 746562 libsdl1.2-dbg_1.2.15-10_amd64.deb
Files:
a8df09a166702cd95d82558d50e4f7e9 187252 libs optional libsdl1.2debian_1.2.15-10_amd64.deb
4f2dcc93393bbecbd439b29f140f24e0 730734 libdevel optional libsdl1.2-dev_1.2.15-10_amd64.deb
9d830eb1fd1ac6cfeaa4d0546c6d0219 746562 debug extra libsdl1.2-dbg_1.2.15-10_amd64.deb
96611f10f233a5d22b823135424f006d 2452 libs optional libsdl1.2_1.2.15-10.dsc
f1cb91302791c35be3e874c73f9f3f9b 22796 libs optional libsdl1.2_1.2.15-10.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJTsbueAAoJEP4ixv2DE11Fl2QP/i5W/IOl3jNSYyc1M2dXmGOi
WQLksySus190iuR8hGfmXuLflBObI2LFUuKoCCi0NURXZO8/Yx7kx+b/8xkq10r1
BJ6TrkLGNzYAJGQmO1UftIuptEHnUZ6gwq9WXdw/Jwk72w9YuBg5w88rDMK/AhLl
k+IvQHkdC1QMQOoLLb0efZKYO/p7cOEILJDAjOweEQhhQipFrAai6yCoFmi6Wf8O
1dAVsYGKcfA0KYhbo/QV6JneRIWl7KRwC5tWIRW85y/3z5bC6JeJxr89vYwtQgvQ
uY8BSUKp4mR21+mzql/6HvDhpaxiITNbTa75Ey/U6/IC1ZboPCKhzJLZe2VRfjLb
lRzMiGFcUSIdKI3+6olz2sFPV+I6NKME6VqhnfrvreKLF9fNEFf2vEakoLlnVNef
3EVAb36ey7WxDp0KYBwLlrrAAzo10dTJoxSabxUBL4gOnUWda8wC47qWWK6k6ujh
SLUM6ohzoSN+xv9fHuXl++D4dPR5DHfc3cY7rBYIQ+3OJFW5RydGoUfA2sq9rdZJ
36kwVRsZVqM40nIx827n3Qo1gdBLUL2ES0g4na09D95d8++xsycraKK3TN/ehDHz
XHI9bcbuf5457BGsWAkkfl4Vn7GZwZVMndBNmozGKyQPud++HAt+RzOw9yS8f11o
8ah9UgRb/JYDrayxfWTk
=gIcS
-----END PGP SIGNATURE-----
Reply sent
to Felix Geyer <fgeyer@debian.org>:
You have taken responsibility.
(Mon, 30 Jun 2014 19:51:06 GMT) (full text, mbox, link).
Notification sent
to Brett Smith <debbug@brettcsmith.org>:
Bug acknowledged by developer.
(Mon, 30 Jun 2014 19:51:06 GMT) (full text, mbox, link).
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 04 Aug 2014 07:33:35 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 08:31:15 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.