Skip to content

Wayland: Mouse is locked to VM guest (only KDE, Gnome unaffected) #601

Description

@polarathene

Describe the bug

This seems to be as described in #528 (comment)

I'm running gnome 40.1 with Wayland. The mouse stays locked to the VM and I have to use CTRL+ALT to break out of the VM.

But the linked comment mention of kernel config (which resolved the reporters problem) is not the cause, the kernel already has that config:

CONFIG_MOUSE_PS2=m
CONFIG_MOUSE_PS2_VMMOUSE=y

This only affects KDE on Wayland. Gnome on Wayland is unaffected.


VMware Workstation 16 Player - 16.2.3 build-19376536

  • I have verified on guest VMs with EndeavourOS, Fedora 36 and openSUSE Tumbleweed.
  • I assume the host has nothing to do with it as guests using Gnome on Wayland work correctly? (Gnome 42.2, same common package versions as listed)

Host - Manjaro KDE:

Plasma: 5.24.5
Frameworks: 5.94
Qt: 5.15.4
Kernel 5.17.9
xorg: 21.1.3, xwayland 22.1.1, mesa 22.0.4, nvidia 510.73.05
open-vm-tools: 12.0.0
vmware-workstation: 16.2.3

VM Guest - EndeavourOS KDE:

Plasma: 5.25.2
Frameworks: 5.95
Qt: 5.15.5
Kernel: 5.18.9
xorg: 21.1.3, xwayland 22.1.2, mesa 22.1.2, vmwgfx 2.20.0
open-vm-tools: 12.0.5
systemd: 251.2

VM Guest - Fedora 36 KDE:

Plasma: 5.25.2
Frameworks: 5.94
Qt: 5.15.3
Kernel 5.18.9
xorg: 1.20.14, xwayland 22.1.2, mesa 22.1.2, vmwgfx 2.20.0
open-vm-tools: 12.0.5
systemd: 250.7

VM Guest - openSUSE Tumbleweed 20220704 KDE:

Plasma: 5.25.2
Frameworks: 5.95
Qt: 5.15.5
Kernel 5.18.6
xorg: 21.1.3, xwayland 22.1.2, mesa 22.1.2, vmwgfx 2.20.0
open-vm-tools: 12.0.0
systemd: 250.6

Reproduction steps

1. Install two VMware guests (_with one of these distro: EndeavourOS, Fedora 36, or openSUSE TW_), one for KDE, one for Gnome. Host is X11 (_Manjaro KDE in my case_).
2. In the Wayland sessions, observe that Gnome maintains seamless mouse movement between host OS and guest window. KDE does not (_only when the guest is in an X11 session_). _An alternative `wlroots` based Wayland compositor `kwinft` also experiences this limitation with guests using a Wayland session._

Expected behavior

  • KDE should be able to match the behaviour of seamless mouse movement like in X11, as Gnome Wayland appears capable of it.
  • Otherwise, clarification for what might cause KDE Wayland to lack support (Wayland protocol implementation?)

Additional context

It's possible that both distros have some difference in packaging/configuration for their Gnome spins that is lacking from KDE that only affects Wayland sessions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions