Comment 1 for bug 1829945

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi Lee,
TL;DR: there will be no sdl support anymore for newer qemu's. (make it) Use "-display gtk" instead.

Details:
#1 SDL 1.2 vs SDL 2.0 vs working fine
1.2 was in main all the time and worked, but got unsupportable over time.
SDL2 was tried, but failed badly in quite some experiments for Debain and
Ubuntu. That led to the choice of both distributions to go with the more
modern GTK backend instead.
Ubuntu (at Bionic staying at SDL1.2):
- sdl2 is yet too unstable for the LTS Ubuntu release given the reports
  we still see upstream and in Debian - furthermore sdl2 isn't in main yet,
  so we revert related changes to stick with the proven for now:
Debian then followed for #839695, #886671, #879536, #879534, #879532, #879193, #894852
That also matches upstream where GTK backend for graphics is the #1 thing.

#2 Supportability
The reason everyone wanted to get off SDL was maintainability as I mentioned. And as of today you'll find that none of the SDL libs is in main anymore (since Cosmic).
*sdl* is universe nowadays.
And we can't make a good case for it (to MIR it) as GTK solves it - at least from the qemu POV.

#3 About the man page, this isn't patched for features enabled/disabled by the upstream build system. For example it also contains "pvrdma" which is disabled for security reasons (and many other things).

I must conclude that as-is I won't enable sdl, but then why does it insist on `-display sdl` in the first place. `-display gtk` is just as good or better. Is that our package of packer.io that we'd want to adapt or a PR for upstream maybe?