Debian Bug report logs -
#870025
qemu: Please switch to SDL2
Reported by: "Manuel A. Fernandez Montecelo" <mafm@debian.org>
Date: Fri, 28 Jul 2017 22:51:05 UTC
Severity: wishlist
Found in version qemu/1:2.8+dfsg-6
Fixed in version qemu/1:2.10.0+dfsg-2
Done: Michael Tokarev <mjt@tls.msk.ru>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, manuel.montezelo@gmail.com, Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>:
Bug#870025; Package qemu-system-x86.
(Fri, 28 Jul 2017 22:51:07 GMT) (full text, mbox, link).
Acknowledgement sent
to "Manuel A. Fernandez Montecelo" <mafm@debian.org>:
New Bug report received and forwarded. Copy sent to manuel.montezelo@gmail.com, Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>.
(Fri, 28 Jul 2017 22:51:07 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: qemu-system-x86
Version: 1:2.8+dfsg-6
Severity: wishlist
Hi!
According to [1], it seems that since version 2.4 in 2015 this project supports
both SDL1.2 and SDL2, and since the recent 2.10 [2] it prefers SDL2 if both are
available.
[1] http://wiki.qemu.org/ChangeLog/2.4
[2] http://wiki.qemu.org/ChangeLog/2.10
After more than 5 years of the release of SDL2 and SDL1.2 being under really
minimal support, it would be nice to try to get the most important packages
migrated to SDL2, and this is one of them.
So please consider switching to SDL2 in your next uploads.
Cheers.
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>:
Bug#870025; Package qemu-system-x86.
(Mon, 31 Jul 2017 10:09:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Michael Tokarev <mjt@tls.msk.ru>:
Extra info received and forwarded to list. Copy sent to Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>.
(Mon, 31 Jul 2017 10:09:03 GMT) (full text, mbox, link).
Message #10 received at 870025@bugs.debian.org (full text, mbox, reply):
29.07.2017 01:48, Manuel A. Fernandez Montecelo wrote:
> Package: qemu-system-x86
> Version: 1:2.8+dfsg-6
> Severity: wishlist
>
> Hi!
>
> According to [1], it seems that since version 2.4 in 2015 this project supports
> both SDL1.2 and SDL2, and since the recent 2.10 [2] it prefers SDL2 if both are
> available.
I tried switching to SDL2 but it turned out the support was incomplete, like
some functional keys (like resizing the guest display) didn't work in SLD2 but
worked in SDL1.
Now with availability of GTK frontend we'll either switch to that or, better
yet, try to make display modular (a very frequently asked feature is to be
able to install a "headless" qemu without graphics libs), again, with GTK being
the default.
Thanks,
/mjt
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>:
Bug#870025; Package qemu-system-x86.
(Mon, 31 Jul 2017 22:21:03 GMT) (full text, mbox, link).
Acknowledgement sent
to "Manuel A. Fernandez Montecelo" <manuel.montezelo@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>.
(Mon, 31 Jul 2017 22:21:03 GMT) (full text, mbox, link).
Message #15 received at 870025@bugs.debian.org (full text, mbox, reply):
Hi Michael,
2017-07-31 12:04 GMT+02:00 Michael Tokarev <mjt@tls.msk.ru>:
> 29.07.2017 01:48, Manuel A. Fernandez Montecelo wrote:
>> Package: qemu-system-x86
>> Version: 1:2.8+dfsg-6
>> Severity: wishlist
>>
>> Hi!
>>
>> According to [1], it seems that since version 2.4 in 2015 this project supports
>> both SDL1.2 and SDL2, and since the recent 2.10 [2] it prefers SDL2 if both are
>> available.
>
> I tried switching to SDL2 but it turned out the support was incomplete, like
> some functional keys (like resizing the guest display) didn't work in SLD2 but
> worked in SDL1.
>
> Now with availability of GTK frontend we'll either switch to that or, better
> yet, try to make display modular (a very frequently asked feature is to be
> able to install a "headless" qemu without graphics libs), again, with GTK being
> the default.
Right, better to have a Qemu using an old version of SDL than a faulty one!
My most sincere thanks for the effort and the quick reply.
--
Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com>
Reply sent
to Michael Tokarev <mjt@tls.msk.ru>:
You have taken responsibility.
(Sun, 08 Oct 2017 10:24:03 GMT) (full text, mbox, link).
Notification sent
to "Manuel A. Fernandez Montecelo" <mafm@debian.org>:
Bug acknowledged by developer.
(Sun, 08 Oct 2017 10:24:03 GMT) (full text, mbox, link).
Message #20 received at 870025-close@bugs.debian.org (full text, mbox, reply):
Source: qemu
Source-Version: 1:2.10.0+dfsg-2
We believe that the bug you reported is fixed in the latest version of
qemu, 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 870025@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Tokarev <mjt@tls.msk.ru> (supplier of updated qemu 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: Sun, 08 Oct 2017 12:51:09 +0300
Source: qemu
Binary: qemu qemu-system qemu-block-extra qemu-system-common qemu-system-misc qemu-system-arm qemu-system-mips qemu-system-ppc qemu-system-sparc qemu-system-x86 qemu-user qemu-user-static qemu-user-binfmt qemu-utils qemu-guest-agent qemu-kvm
Architecture: source
Version: 1:2.10.0+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>
Changed-By: Michael Tokarev <mjt@tls.msk.ru>
Description:
qemu - fast processor emulator
qemu-block-extra - extra block backend modules for qemu-system and qemu-utils
qemu-guest-agent - Guest-side qemu-system agent
qemu-kvm - QEMU Full virtualization on x86 hardware
qemu-system - QEMU full system emulation binaries
qemu-system-arm - QEMU full system emulation binaries (arm)
qemu-system-common - QEMU full system emulation binaries (common files)
qemu-system-mips - QEMU full system emulation binaries (mips)
qemu-system-misc - QEMU full system emulation binaries (miscellaneous)
qemu-system-ppc - QEMU full system emulation binaries (ppc)
qemu-system-sparc - QEMU full system emulation binaries (sparc)
qemu-system-x86 - QEMU full system emulation binaries (x86)
qemu-user - QEMU user mode emulation binaries
qemu-user-binfmt - QEMU user mode binfmt registration for qemu-user
qemu-user-static - QEMU user mode emulation binaries (static version)
qemu-utils - QEMU utilities
Closes: 870025 875711 877160 877890
Changes:
qemu (1:2.10.0+dfsg-2) unstable; urgency=medium
.
* update to upstream 2.10.1 point release
Closes: #877160
Closes: CVE-2017-13673
* remove 3 patches included upstream:
multiboot-validate-multiboot-header-address-values-CVE-2017-14167.patch
vga-stop-passing-pointers-to-vga_draw_line-functions-CVE-2017-13672.patch
slirp-fix-clearing-ifq_so-from-pending-packets-CVE-2017-13711.patch
* 9pfs-use-g_malloc0-to-allocate-space-for-xattr-CVE-2017-15038.patch
Closes: #877890, CVE-2017-15038
* remove-trailing-whitespace-from-qemu-options.hx.patch
Closes: #875711
* drop dh_makeshlibs call (was for libcacard)
* drop linux-libc-dev build-dependency (it gets pulled by libc-dev)
* switch from sdl1 to sdl2 (Closes: #870025)
Checksums-Sha1:
6f78255b0adc15a91daaf7f9e475af41a6753e37 5476 qemu_2.10.0+dfsg-2.dsc
efac65c43e964ba534edc01d663f5d95e2ed03c5 83308 qemu_2.10.0+dfsg-2.debian.tar.xz
bf3499baf4cb68265f4ccb3a618ee7cc1f7f5eb7 12183 qemu_2.10.0+dfsg-2_source.buildinfo
Checksums-Sha256:
7fccab93e91e237197c54d2c38100a6126f6e4a738187b23ea86fa9ce9d4aa3c 5476 qemu_2.10.0+dfsg-2.dsc
bd7ef8d44ec82d73e9b5b2df5d122501cf5bfb21989fbe66d00aaead7d19ca0f 83308 qemu_2.10.0+dfsg-2.debian.tar.xz
c928b67da4e292685fc704543af7a061ae5bd4584945462e7e55ab23a89c1853 12183 qemu_2.10.0+dfsg-2_source.buildinfo
Files:
b20b60bbe7d688d1c1850772e957d2fe 5476 otherosfs optional qemu_2.10.0+dfsg-2.dsc
552a6450f20eff2e21ac6ea68df8b448 83308 otherosfs optional qemu_2.10.0+dfsg-2.debian.tar.xz
034eafd7279c7d8fd632bbc626da5538 12183 otherosfs optional qemu_2.10.0+dfsg-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQFDBAEBCAAtFiEEe3O61ovnosKJMUsicBtPaxppPlkFAlnZ9UUPHG1qdEB0bHMu
bXNrLnJ1AAoJEHAbT2saaT5ZOAAIAMVZjpS8jOe1+zUw3oYAkW8YaobOJbOTn5hx
c7+AZBkhhbl7tEtIZOVoOyhU7sdlxP6JpatEk2JzbVsri2UbDb5w3dFjBFw3NwC8
8l/IsMGqWN9YBLbRCMvkUhAM34AM7BO3d3rtyvf7xFUeGBkdHIJwm8T6P25yZbe1
lwWSKsWUNXO+XYXRN+bMV7dv71Tn4UVfj/hlarWfvB143WXJ5g0pXR3+RJq043WZ
lHmlKBueh7wAUlSQLlm2FxzJws5qNz5EjSLqWUgO/g3bLy7LCLVPHOlEqeGOBP0s
8QtyePVpbjQwO2W6Pb87spL9VXSdS32dkS5oX4oe1O/J1ywtapg=
=nb1b
-----END PGP SIGNATURE-----
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>:
Bug#870025; Package qemu-system-x86.
(Sat, 14 Oct 2017 09:39:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Jindřich Makovička <makovick@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>.
(Sat, 14 Oct 2017 09:39:02 GMT) (full text, mbox, link).
Message #25 received at 870025@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi,
I had to apply the attached patch to make the SDL2 UI of any use - the
vanilla version (both Debian Sid package and qemu git master) stops
updating after the window is obscured, minimized, or after a virtual
desktop switch.
It partially reverts the following hack:
commit d3f3a0f453ea590be529079ae214c200bb5ecc1a
Author: Max Reitz <mreitz@redhat.com>
Date: Fri Dec 12 10:52:52 2014 +0100
sdl2: Work around SDL2 SDL_ShowWindow() bug
Regards,
--
Jindřich Makovička
[Message part 2 (text/html, inline)]
[0001-sdl2-Fix-broken-display-updating-after-the-window-is.patch (text/x-patch, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>:
Bug#870025; Package qemu-system-x86.
(Sun, 15 Oct 2017 07:39:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Jindřich Makovička <makovick@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>.
(Sun, 15 Oct 2017 07:39:03 GMT) (full text, mbox, link).
Message #30 received at 870025@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi,
attaching a few more fixes for the most annoying regressions I encountered
with the SDL2 UI.
On Sat, Oct 14, 2017 at 11:34 AM Jindřich Makovička <makovick@gmail.com>
wrote:
> Hi,
>
> I had to apply the attached patch to make the SDL2 UI of any use - the
> vanilla version (both Debian Sid package and qemu git master) stops
> updating after the window is obscured, minimized, or after a virtual
> desktop switch.
>
> It partially reverts the following hack:
>
> commit d3f3a0f453ea590be529079ae214c200bb5ecc1a
> Author: Max Reitz <mreitz@redhat.com>
> Date: Fri Dec 12 10:52:52 2014 +0100
>
> sdl2: Work around SDL2 SDL_ShowWindow() bug
>
> Regards,
> --
> Jindřich Makovička
>
--
Jindřich Makovička
[Message part 2 (text/html, inline)]
[0001-sdl2-Fix-broken-display-updating-after-the-window-is.patch (text/x-patch, attachment)]
[0004-sdl2-Only-accept-the-hotkeys-on-the-main-window.patch (text/x-patch, attachment)]
[0002-sdl2-Do-not-quit-the-emulator-when-an-auxilliary-win.patch (text/x-patch, attachment)]
[0005-sdl2-uses-surface-relative-coordinates.patch (text/x-patch, attachment)]
[0006-sdl2-Fix-dead-keyboard-after-fullsceen.patch (text/x-patch, attachment)]
[0003-sdl2-Do-not-hide-the-cursor-on-auxilliary-windows.patch (text/x-patch, attachment)]
[0007-sdl2-Do-not-leave-grab-when-fullscreen.patch (text/x-patch, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>:
Bug#870025; Package qemu-system-x86.
(Mon, 16 Oct 2017 14:36:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Michael Tokarev <mjt@tls.msk.ru>:
Extra info received and forwarded to list. Copy sent to Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>.
(Mon, 16 Oct 2017 14:36:03 GMT) (full text, mbox, link).
Message #35 received at 870025@bugs.debian.org (full text, mbox, reply):
15.10.2017 10:35, Jindřich Makovička wrote:
> Hi,
>
> attaching a few more fixes for the most annoying regressions I encountered with the SDL2 UI.
Hmm. Have you tried discussing this upstream?
It looks like you've testcases and good expirence in that area,
sending this stuff to qemu-devel@nongnu.org, with Cc kraxel (who
maintains SDL support in qemu) seems to be a much better idea.
Thank you!
/mjt
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 14 Nov 2017 07:26:22 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:
Fri Nov 24 01:49:11 2023;
Machine Name:
buxtehude
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.