Skip to contentSkip to conversation

SDL2 issues

Qemu-devel Michael Tokarev 3 participants 3 messages Oct 20, 2017

lore
Share & tools
lore
#0 lore raw

Hello

After we tried to switch from SDL1 to SDL2 in Debian qemu, we receives quite some reports about various issues.

We use 2.10.1 version of qemu.

Example of the issues: http://bugs.debian.org/879193
http://bugs.debian.org/870025 - a few patches at the bottom
http://bugs.debian.org/878087

What's the status of SDL2 support in qemu? I've seen it is the default now if SDL2 is present on the system (it was SDL1 before).

Also, what's the status of SDL _audio_ support, is it needed at all once we have alsa, pa and oss?

Thanks,

/mjt

#1 lore raw
Quoted 8 lines · Michael Tokarev

Hello

After we tried to switch from SDL1 to SDL2 in Debian qemu, we receives quite some reports about various issues.

We use 2.10.1 version of qemu.

Example of the issues: http://bugs.debian.org/879193

Doesn't reproduce.

Quoted 1 line

http://bugs.debian.org/870025 - a few patches at the bottom

Those patches should go to the mailing list.

Quoted 1 line

http://bugs.debian.org/878087

Yes, -k is simply not supported with sdl2. Those remappings should be done in the guest instead.

Quoted 3 lines

What's the status of SDL2 support in qemu? I've seen it is the default now if SDL2 is present on the system (it was SDL1 before).

Yep. Long term I want drop SDL1, this is the first step.

Quoted 2 lines

Also, what's the status of SDL _audio_ support, is it needed at all once we have alsa, pa and oss?

Dunno how well mixing sdl display with non-sdl audio works. Feel free to send a patch dropping sdl audio to the list to check what people think about that ;)

cheers,
Gerd

#2 lore raw
Quoted 25 lines · Gerd Hoffmann
Quoted 8 lines · Michael Tokarev

Hello

After we tried to switch from SDL1 to SDL2 in Debian qemu, we receives quite some reports about various issues.

We use 2.10.1 version of qemu.

Example of the issues: http://bugs.debian.org/879193

Doesn't reproduce.

Quoted 1 line

http://bugs.debian.org/870025 - a few patches at the bottom

Those patches should go to the mailing list.

Quoted 1 line

http://bugs.debian.org/878087

Yes, -k is simply not supported with sdl2. Those remappings should be done in the guest instead.

Quoted 3 lines

What's the status of SDL2 support in qemu? I've seen it is the default now if SDL2 is present on the system (it was SDL1 before).

Quoted 8 lines

Yep. Long term I want drop SDL1, this is the first step.

Quoted 2 lines

Also, what's the status of SDL _audio_ support, is it needed at all once we have alsa, pa and oss?

Dunno how well mixing sdl display with non-sdl audio works. Feel free to send a patch dropping sdl audio to the list to check what people think about that ;)

I think we've had that topic before: SDL audio is still required for some non-Linux systems like Haiku, so please don't remove it, even if SDL audio still needs some love with SDL2 to get really usable there again.

Thomas