GNOME Shell/Wayland, VirtualBox and absolute input
- From: Michael Thayer <michael thayer oracle com>
- To: gnome-shell-list gnome org
- Subject: GNOME Shell/Wayland, VirtualBox and absolute input
- Date: Tue, 6 Dec 2016 16:52:03 +0100
Hello,
I am looking for a solution to the following problem: when I run Fedora
25 with GNOME Shell/Wayland and multiple monitors under VirtualBox and
install Guest Additions absolute input mapping does not work correctly:
the first screen as seen from the host is mapped to the entire guest
virtual desktop, and that only when the first screen is in the top left
corner of the virtual desktop. (I hope you can follow me here.) For
comparison I tried Qemu with virtio-gpu 2D and two screens (admittedly I
needed a one-line code change to make this work) and the result was the
same.
I am wondering whether there is any way I can find out from the graphics
driver about the layout of the virtual desktop - its size and the
location of the first screen. We currently pass this information to the
host from the graphics driver. If not, I find references online to udev
variables for mapping single absolute input devices to single
outputs[1]: ENV{WL_OUTPUT}="<display name>". Might this be the way to
go? Do you even know about it, and whether it is something which
other Wayland compositors would respect? Obviously it would require
quite a bit of fiddling to get this working in a way which still stays
compatible with X.Org. Any ideas you have about the above - including
who else to ask - would be of great interest to me.
[1] https://wiki.tizen.org/wiki/IVI/Mapping_multiple_touchscreen_Wayland
Another issue I am looking at is that GNOME Shell does not seem to use
drm dirtyfb information to tell the driver about updates. However
virtio-gpu seems to get the information, so presumably there is
something I can do about this. Any idea about what I should be doing
differently? And (small complaint) the fact that GNOME Shell does not
do a soft mouse cursor makes debugging pointer issues somewhat painful...
Thanks!
Regards
Michael
--
Michael Thayer | VirtualBox engineer
ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | D-71384 Weinstadt
ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstraße 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603
Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Handelsregister
der Handelskammer Midden-Nederland, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]