qemu, sdl library

You think you have found a bug? Let us know about it.
Post Reply
domslack
Posts: 5
Joined: 18. Nov 2015, 08:11

qemu, sdl library

Post by domslack »

Using qemu 2.0 or greater with sdl 1.2.15, the sdl window closes suddenly.
With sdl 1.2.14 seem all right.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: qemu, sdl library

Post by gapan »

Works fine here with 1.2.15. As qemu is not available as a binary package, how did you install it?
Image
Image
domslack
Posts: 5
Joined: 18. Nov 2015, 08:11

Re: qemu, sdl library

Post by domslack »

Last test uses qemu-2.4.1 from slackbuilds.org.
qemu.SlackBuild was modified to use 'kvm' group, LIBUSB="yes" and
to enable vde.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: qemu, sdl library

Post by gapan »

Just tried 2.4.1 on a fresh installation, from SBo, with no extra parameters. Works fine. Do you get any error messages if you start it from a terminal?
Image
Image
domslack
Posts: 5
Joined: 18. Nov 2015, 08:11

Re: qemu, sdl library

Post by domslack »

Now i am checking qemu 2.4.0 from sourcery with sdl 1.15.
I have no messages from terminal now, two lines with bad register value with previous installation.
I will be more precise when i get back on another machine with the same problem.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: qemu, sdl library

Post by gapan »

Oh, sorry, I only tried 2.4.0 from SBo. Not 2.4.1.
Image
Image
domslack
Posts: 5
Joined: 18. Nov 2015, 08:11

Re: qemu, sdl library

Post by domslack »

If i start qemu from terminal with '-vga vmware' I get this messages:
vmsvga_value_read: Bad register 2b
vmsvga_value_read: Bad register 2c
with '-vga std' no messages from terminal.

I use qemu in sdl full screen mode, and frequently I switch between sdl
window and host's desktop (Ctrl+Alt+f, or Ctrl+Alt to toggle mouse grab).
When I reach host's desktop from sdl window, sometimes, the sdl window
closes suddenly and, of course, the virtual machine crash down.
I have the same behavior with qemu 2.2.0, 2.3.0, 2.4.0, 2.4.1, no matter
if '-vga std' or '-vga vmware'.
This doesn't happen if I use sdl 1.2.14.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: qemu, sdl library

Post by gapan »

That describes a completely different problem than "Using qemu 2.0 or greater with sdl 1.2.15, the sdl window closes suddenly". It is probably a bug with qemu with respect to the newer sdl. Your best bet would be to report it to the qemu developers.
Image
Image
domslack
Posts: 5
Joined: 18. Nov 2015, 08:11

Re: qemu, sdl library

Post by domslack »

Thank gapan,
thank you for the good job with Salix.
Post Reply