[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1793859] Re: GTK display and mouse input area scaling
From: |
Chen Zhang |
Subject: |
[Qemu-devel] [Bug 1793859] Re: GTK display and mouse input area scaling fails when using vfio-pci device |
Date: |
Thu, 25 Oct 2018 13:35:25 -0000 |
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
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1793859
Title:
GTK display and mouse input area scaling fails when using vfio-pci
device
Status in QEMU:
New
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-x86_64:6472): Gtk-WARNING **: 09:50:06.663: drawing failure for
widget 'GtkDrawingArea': NULL pointer
(qemu-system-x86_64:6472): Gtk-WARNING **: 09:50:06.664: drawing failure for
widget 'GtkNotebook': NULL pointer
(qemu-system-x86_64:6472): Gtk-WARNING **: 09:50:06.664: drawing failure for
widget 'GtkBox': NULL pointer
(qemu-system-x86_64:6472): Gtk-WARNING **: 09:50:06.664: drawing failure for
widget 'GtkWindow': NULL pointer
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1793859/+subscriptions
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [Bug 1793859] Re: GTK display and mouse input area scaling fails when using vfio-pci device,
Chen Zhang <=