With -display gtk,gl=on, the position of mouse does not show correctly
Host environment
- Operating system: Ubuntu 20.04
- OS/kernel version: 5.4.0-91-generic
- Architecture: x86 64-bit
- QEMU flavor: qemu-system-x86_64
- QEMU version: 6.2.92
- QEMU command line:
$HOME/.bin/bin/qemu-system-x86_64 ubuntu-desktop.qcow2 -m 2G -smp 2 -enable-kvm -vga virtio -display gtk,gl=on
Emulated/Virtualized environment
- Operating system: Ubuntu 20.04
- OS/kernel version: 5.11.0-41-generic
- Architecture: x86 64 bit
Description of problem
With -display gtk,gl=on
, the cursor of the mouse does not show correctly. So, it's very hard to use mouse on guest OS desktop to, say, open an application or to close it. The displayed mouse cursor is about 300x300 away from the actual mouse position.
Steps to reproduce
- Build qemu 6.2.0-rc2 using the following
./configure
options:
--prefix=$HOME/.bin --target-list=x86_64-softmmu --enable-kvm --enable-vnc --enable-gtk --enable-vte --enable-xkbcommon --enable-sdl --enable-spice --enable-spice-protocol --enable-virglrenderer --enable-opengl --enable-guest-agent --enable-avx2 --enable-hax --enable-system --enable-linux-user --enable-libssh --enable-linux-aio --enable-linux-io-uring --enable-modules --enable-fuse --enable-fuse-lseek
- Run the above QEMU command with
-display gtk,gl=on
. - Try to open an application by clicking its icon on desktop and to close it by clicking the "X" icon.