All of lore.kernel.org
 help / color / mirror / Atom feed
* some fun with -vga virtio or -display gtk,gl=on
@ 2020-05-10 16:56 Michael Tokarev
  0 siblings, 0 replies; only message in thread
From: Michael Tokarev @ 2020-05-10 16:56 UTC (permalink / raw)
  To: qemu-devel; +Cc: Gerd Hoffmann

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-10 16:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-10 16:56 some fun with -vga virtio or -display gtk,gl=on Michael Tokarev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.