GTK display and mouse input area scaling fails when using vfio-pci device
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Expired
|
Undecided
|
Unassigned |
Bug Description
Version qemu 3.0.0-1 running on Arch. Found on Windows 8.1 and Windows 10 VM's when using Intel gvt-g device.
While in fullscreen the GTK display is scaled larger than the x11 screen or virtual machine resolution. Without choosing zoom-to-fit portions of the VM display are not shown on x11 screen regardless of the VM resolution. When zoom-to-fit is done the mouse that's shown on screen and actual input are off sync. The mouse can wander off screen when going left and down.
This message is shown when changing from gxl-vga to vfio-pci in view menu.
(qemu-system-
(qemu-system-
(qemu-system-
(qemu-system-
summary: |
- GTK display scaling fails when using vfio-pci device + GTK display and mouse input area scaling fails when using vfio-pci + device |
Hi, I have a hack for this issue.
In general, the gvt-g is buggy in that the kernel driver i915 failed to provide the actual resolution for the vgpu and always report the largest available one.
The following patch modified the gtk-egl implementation for DMA Buf mode, to convert mouse movement/tablet position to the scaled window coordinates.
See https:/ /pastebin. com/96iBLdDx