qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

some fun with -vga virtio or -display gtk,gl=on


From: Michael Tokarev
Subject: some fun with -vga virtio or -display gtk,gl=on
Date: Sun, 10 May 2020 19:56:13 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

Hi!

I'm seeing somewhat strange behavior of the mentioned options.

First is -vga virtio and regular gtk display - qemu opens initial window
of size 640x480 (I think anyway), and this window stays of that size, at
least while booting windows 10 (it uses stdvga driver), - it is not being
resized when windows switches to higher resolution, but scales instead.
"Best fit" does not change anything. What actually changes things is
*another* attempt to change screen resolution within windows, - this time
window gets correctly resized to the new size.

With -display sdl qemu window gets resized properly, ditto with -vga std.
Only -vga virtio -display gtk shows this strange behavior so far.


And second is another fun thing with mouse and its cursor when using
-display gtk,gl=on (independent on stdvga or virtiovga). This is quite
odd.  First, mouse _cursor_ disappears when the mouse is under qemu
window title or under the menu bar. Clicking on title/menu does the
correct things, but clicking needs to be done without seeing the cursor.
This is about the upper part of the window. And at the same time,
the bottom part, apparently of the same height as the window title +
menu bar, is unavailable within the guest, when trying to enter that
area with mouse the cursor gets out of sync and clicking on that area
is not possible.  It *looks* like the mouse cursor is shifted by the
height of upper area of invisibility, somehow.

Again, sdl display works fine here.

What is the thing about?  Having in mind also other fun things with gtk
display in the past (some of which are still here), should we switch
default display to sdl which does not have these issues?

Thanks,

/mjt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]