You are not logged in.

#1 2016-07-15 00:18:57

dragon321
Member
Registered: 2016-01-24
Posts: 21

Qemu SDL display - resizing broken

Hi all, I want to use Qemu and I have problem with. Qemu runs with GTK display when I run it without parameters. I have to use SDL display, because when I resize window, guest screen resizes with window too and fill whole window, no matter what resolution guest has. Well, this behaviour was before. Now it's broken - when I resize window guest screen has artifacts and doesn't fill window (I attach screenshot how it's look like, when i resize window). How I can return previous behaviour? I tried another desktop environment(Openbox), but behaviour doesn't change. I also noticed a bug with minimizing Qemu windows - I can't minimize it, because it quickly restore, but it's broken - I can't see guest screen, because Qemu window is filled with contents of my host screen. What's wrong with Qemu SDL display?

http://imgur.com/OCSkpFl

PS: I also noticed another weird behaviour - Qemu disables KWin compositor (only in SDL) after launch. Compositor turn off when I close Qemu.

Thanks in advance for any solutions.

PS2: I compiled version 2.5.1 (previous stable) to see, if that version has good SDL display - and it has. Everything works fine in this version, I haven't noticed mentioned bugs. I also attach screen, to show you how resizing works on previous version and what I wanna have in latest version
http://imgur.com/eZhix71

Last edited by dragon321 (2016-07-15 00:49:35)

Offline

#2 2016-07-19 14:01:39

alive4ever
Member
Registered: 2016-07-10
Posts: 65

Re: Qemu SDL display - resizing broken

I also encounter the same behavior. qemu with sdl display breaks window manager. Maybe it's the reason for Arch Linux switch to gtk display by default.

Temporary workaround is using additional sdl parameter as mentioned in Gentoo wiki

-display sdl,frame=off,window_close=off

EDIT: with this workaround, minimizing qemu sdl window is still breaking window manager. To recover, maximizing qemu sdl window is needed.

Last edited by alive4ever (2016-07-19 14:10:33)

Offline

#3 2016-08-01 23:11:53

dragon321
Member
Registered: 2016-01-24
Posts: 21

Re: Qemu SDL display - resizing broken

Sorry for no answer, I had some work to do and I forgot about it.

This workaround isn't working for me - still crashes KWin compositor and still I can't resize without broke guest display. I'm using SDL display, because I can resize window and guest screen resizing too (without changing resolution). In GTK mode I have black stripes, when I resize, because guest has too small resolution.

Well, I have tempotary fix: I compiled qemu 2.5 and I using this binary for some machines (which requires resizing), but this is not fix, this is workaround.

I don't know why Qemu 2.6 had broken SDL display. I hope they will repair It, because I need SDL resizing.

Edit:
It's problem with Arch package, not in Qemu itself. Manually compiled qemu (2.6 - same version as in repository) works without problems with SDL display. It's problem with Arch compilation, not in Qemu.

Last edited by dragon321 (2016-08-01 23:36:30)

Offline

Board footer

Powered by FluxBB