5 ms·
It seems like wayland got a lot closer to generally usable in the last few years, but it's still not for everyone. Some of this is (intentionally) limited desig
by bitsandboots 3y ago
It seems like wayland got a lot closer to generally usable in the last few years, but it's still not for everyone. Some of this is (intentionally) limited design, some of this is lack of people caring to migrate their software to work with wayland.
I was looking to switch to wayland in my VM after noticing that it does have much lower cpu utilization, and better compositing behavior, at the same time.
Yet, can't do it. right or wrong, wayland's stance on security before convenience on the whole clipboard access thing means I cannot copy-paste between VM and host, because those vm tools do not support wayland, and I don't know when they will.
Also, I noticed that people who prefer obscure window managers or desktop environments are mostly in a bad spot, as the amount of WMs that support wayland isn't much.
- coppsilgold 3y agoClipboard sharing works when using qemu & SPICE: <https://www.spice-space.org https://www.spice-space.org> Guest needs to have spice-guest-tools installed and probably be using gnome - I have had no success with other environments but my testing was shallow. Alternatively, you can share the host's wayland socket with the guest over the network via waypipe: <https://gitlab.freedesktop.org/mstoeckl/waypipe https://gitlab.freedesktop.org/mstoeckl/waypipe> In this scenario the clipboard will function without any issues and with no further steps. And wouldn't require a compositor running in the guest. You can also have a wayland connection between the guest and host through shared memory buffers via virtio-gpu. But this requires crosvm as qemu doesn't have this functionality. Guest kernel needs to be >=5.16 and be compiled with CONFIG_DRM_VIRTIO_GPU and this tool is required: <https://github.com/talex5/wayland-proxy-virtwl https://github.com/talex5/wayland-proxy-virtwl>
- epilys 3y agoFYI: Wayland socket forwarding via the virtio-gpu device is going to get merged soon into upstream QEMU. The patch series is at qemu-devel right now. I have tested it, and works smoothly for 2D stuff. GPU rendering will be added in the future.
- yjftsjthsd-h 3y ago> Guest needs to have spice-guest-tools installed and probably be using gnome - I have had no success with other environments but my testing was shallow. Well that's just a nonstarter. (The waypipe thing is interesting, though)