blob: 6a561d7b227500a4d1580fca6b6bc78301bca1fa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
device: 0.673
performance: 0.601
kernel: 0.591
peripherals: 0.581
graphic: 0.580
mistranslation: 0.563
semantic: 0.523
risc-v: 0.522
architecture: 0.519
hypervisor: 0.494
virtual: 0.486
socket: 0.455
files: 0.438
PID: 0.436
user-level: 0.419
register: 0.418
x86: 0.413
ppc: 0.403
debug: 0.401
network: 0.399
vnc: 0.390
permissions: 0.374
arm: 0.364
VMM: 0.334
boot: 0.307
TCG: 0.241
assembly: 0.207
KVM: 0.199
i386: 0.123
GTK display and mouse input area scaling fails when using vfio-pci device
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
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
Hi there,
Would anyone be so kind to review my patch?
Thanks.
https://lists.nongnu.org/archive/html/qemu-devel/2018-10/msg06806.html
Chen, have you seen the following bug report? https://bugs.launchpad.net/qemu/+bug/1592351
See my comment there, with recent git build of 3.1.0 I don't have a pointer offset issue.
Perhaps this is due to this issue https://github.com/intel/gvt-linux/issues/71
https://yadi.sk/i/Ejg_6JJEBIc-Zw
The QEMU project is currently considering to move its bug tracking to
another system. For this we need to know which bugs are still valid
and which could be closed already. Thus we are setting older bugs to
"Incomplete" now.
If you still think this bug report here is valid, then please switch
the state back to "New" within the next 60 days, otherwise this report
will be marked as "Expired". Or please mark it as "Fix Released" if
the problem has been solved with a newer version of QEMU already.
Thank you and sorry for the inconvenience.
[Expired for QEMU because there has been no activity for 60 days.]
|