Bug#879193: unable to exit mouse grab, segfaults
Package: qemu Version: 1:2.11+dfsg-1 Followup-For: Bug #879193 Problems reported in #879532, #879534, #879536, #879193, are still present in 2.11+dfsg-1. Downgrading only qemu-system-x86 to 1:2.10.0+dfsg-1 is still possible and is still the only way i know to workaround all these problems. Cesare. -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages qemu depends on: ii qemu-system 1:2.11+dfsg-1 ii qemu-user1:2.11+dfsg-1 ii qemu-utils 1:2.11+dfsg-1 qemu recommends no packages. Versions of packages qemu suggests: ii qemu-user-static 1:2.11+dfsg-1 -- no debconf information
Bug#879193: unable to exit mouse grab, segfaults
Le 22/10/2017 à 19:33, Cesare Leonardi a écrit : > Stéphane, what's your qemu's commandline? qemu-system-i386 -enable-kvm \ -m 4G \ -hda disk.qcow2 \ -device e1000,netdev=net0 \ -netdev user,id=net0,hostfwd=tcp::-:22 \ -usbdevice host:1050:0010 -- Stéphane
Bug#879193: unable to exit mouse grab, segfaults
Package: qemu Version: 1:2.10.0+dfsg-2 Followup-For: Bug #879193 I've encountered similar mouse problems with dfsg-2 that were not present with dfsg-1, but i'm currently not able to reproduce it in a deterministic way. Here is my qemu's setup, using Windows 10 as guest OS. qemu-system-x86_64 \ -name windows10pro-64 \ -machine type=pc,accel=kvm,vmport=off,usb=on \ -smp sockets=1,cores=1,threads=2 \ -m 1536M \ -device usb-tablet \ -device qxl-vga \ -device e1000,netdev=net0 \ -device ich9-ahci,id=sata0 \ -device ide-hd,bus=sata0.0,drive=hd0,bootindex=1 \ -device ide-cd,bus=sata0.1,drive=hd1,bootindex=2 \ -netdev user,id=net0 \ -drive if=none,id=hd0,format=qcow2,file="$imgdir/hd30GB_win10-64.qcow2" \ -drive if=none,id=hd1,format=raw,file="$imgdir/iso/microsoft/Win10_1607_Italian_x64.iso" \ -rtc base=localtime \ & With this configuration, in dfsg-1 the mouse pointer were able to escape the guest window without pressing CTRL-ALT. Now with dfsg-2 that mostly works but on two occasions I've found that the mouse could not escape, perhaps as Stéphane reported, even pressing CTRL-ALT. But for me there was a strange exception: i was able to escape only from one side of the window. The first time from the top, the second time from the left. That happened regardless of the CTRL-ALT pressing. However if I replace "usb-tablet" with "usb-mouse", the mouse seems to work correctly, with grabbing controlled only by CTRL-ALT. I've not tested with the integrated PS/2 mouse. Stéphane, what's your qemu's commandline? Cesare. -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.13.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages qemu depends on: ii qemu-system 1:2.10.0+dfsg-2 ii qemu-user1:2.10.0+dfsg-2 ii qemu-utils 1:2.10.0+dfsg-2 qemu recommends no packages. Versions of packages qemu suggests: ii qemu-user-static 1:2.10.0+dfsg-2 -- no debconf information
Bug#879193: unable to exit mouse grab, segfaults
Control: tag -1 + unreproducible moreinfo 20.10.2017 12:44, Stéphane Glondu wrote: > Package: qemu > Version: 1:2.10.0+dfsg-2 > Severity: important > > Dear maintainer, > > Since this new version of qemu, I am no longer able to exit mouse > grab. With an i386 guest running stretch on an amd64 host running > testing. Ctrl+Alt does not work, going out of the window does not > work. I can focus another application on the host with Alt+Tab, but > when I get back to qemu, the mouse is grabbed. When I try to display > the qemu window without giving it focus (by focusing another > application on the host and then resizing it so that qemu is visible), > qemu segfaults. > > Version 1:2.10.0+dfsg-1 did not have this problem. I'm running 2.10.0+dfsg-2 here with several different guests. Installed windows7 32bit in order to test qemu-system-i386, maybe that was the problem - nope, also works fine. Tried windows XP, and 32bit version of debian stretch. Everything works fine wrt the mouse grabbing and the focus. I'm using gnome as my desktop environment, and run qemu without any management layer like libvirt. Maybe it's possible install a clean system and reproduce the issue? I'm not sure I'll find a time to install another debian system here, there's no spare PC nearby, but I'll try. Meanwhile marking it as unreproducible because I can't reproduce it, and if it were that bad, it'd be reported much much earlier. In -2 we switched from an old/obsolete SDL1 (which is about to be removed from Debian) to SDL2, so qemu is indeed different, but it definitely not THAT bad, at least not here and not for some other users. Thanks, /mjt
Bug#879193: unable to exit mouse grab, segfaults
Package: qemu Version: 1:2.10.0+dfsg-2 Severity: important Dear maintainer, Since this new version of qemu, I am no longer able to exit mouse grab. With an i386 guest running stretch on an amd64 host running testing. Ctrl+Alt does not work, going out of the window does not work. I can focus another application on the host with Alt+Tab, but when I get back to qemu, the mouse is grabbed. When I try to display the qemu window without giving it focus (by focusing another application on the host and then resizing it so that qemu is visible), qemu segfaults. Version 1:2.10.0+dfsg-1 did not have this problem. Cheers, -- Stéphane -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.13.0-1-amd64 (SMP w/8 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages qemu depends on: ii qemu-system 1:2.10.0+dfsg-2 ii qemu-user1:2.10.0+dfsg-2 ii qemu-utils 1:2.10.0+dfsg-2 qemu recommends no packages. Versions of packages qemu suggests: ii qemu-user-static 1:2.10.0+dfsg-2 -- no debconf information