Page 1 of 1

Do we have drivers for Wayland ?

Posted: 2. Sep 2022, 16:36
by Technologov
Do we have drivers for Wayland inside LinuxGA ?

Re: Do we have drivers for Wayland ?

Posted: 5. Sep 2022, 12:10
by klaus
Not really - Wayland only VMs get very limited functionality (no clipboard sharing, no DnD), and even resizing usually doesn't work because in most Wayland desktops there is no way to set the resolution (other than through the associated settings dialog, which usually doesn't allow arbitrary resolutions) and therefore the resizing of the VM window can't establish a new resolution within the VM. This is just slowly evolving, needing work on the desktop side.

Re: Do we have drivers for Wayland ?

Posted: 5. Sep 2022, 12:32
by fth0
klaus wrote:Wayland only VMs [...]
What is supposed to (not) work with XWayland then?

Re: Do we have drivers for Wayland ?

Posted: 5. Sep 2022, 13:38
by NAILS
klaus wrote:Not really - Wayland only VMs get very limited functionality (no clipboard sharing, no DnD), and even resizing usually doesn't work because in most Wayland desktops there is no way to set the resolution (other than through the associated settings dialog, which usually doesn't allow arbitrary resolutions) and therefore the resizing of the VM window can't establish a new resolution within the VM. This is just slowly evolving, needing work on the desktop side.
Isn't that a big deal ? Because many distributions are using Wayland or are bound to go there.

Re: Do we have drivers for Wayland ?

Posted: 5. Sep 2022, 14:14
by Technologov
Modern GNOME desktops (Debian, Ubuntu, Fedora), are running on Wayland or XWayland ? (I think not X11 anymore...)

Re: Do we have drivers for Wayland ?

Posted: 5. Sep 2022, 15:04
by fth0
XWayland is an X server that runs under Wayland and provides backwards compatibility for legacy X11 applications like VBoxClient (part of the VirtualBox Guest Additions).

So one important question could be: Are modern desktops using Wayland with or without XWayland?

klaus' answer targeted your question regarding the former situation, whereas my question targeted the latter.

Re: Do we have drivers for Wayland ?

Posted: 5. Sep 2022, 17:11
by klaus
The answer for XWayland is even more complicated, but ultimately much closer to "pure Wayland" than "proper X11". No reliable resizing (since the X11 RandR extension in XWayland is read-only, not allowing to set resolutions). Clipboard sharing is hit-and-miss (with X11 applications it should work, with Wayland ones it probably won't). With DnD I honestly have no idea what mess the Wayland devs created.

Re: Do we have drivers for Wayland ?

Posted: 5. Sep 2022, 17:39
by fth0
Thanks, klaus, for the detailed answer. :)

BTW, a fun way to tell apart X11 windows and Wayland windows is to use xeyes. ;)