Open ruineka opened 2 years ago
Hello @ruineka, the comment at https://github.com/ValveSoftware/steam-for-linux/issues/4738#issuecomment-271682124 is equally valid as it was in #6615. This issue should be looked at from the Xwayland side.
This MR might solve this issue https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/975
I had to build xwayland with libei, xdg-desktop-portal, xdg-desktop-portal-gnome and mutter with InputCapture to make it work in gnome. It solves issues with steam input under wayland, but still need some work for better user experience.
Here you can track InputCapture support status: https://gitlab.freedesktop.org/libinput/libei/-/issues/1
This seems to be mostly fixed. Steam uses the input portal to ask for permission to move the mouse. Any issue moving forward is on the DE side like Plasma not remembering the permissions. The fix happened before June, I just forgot to mention it here.
@Managor could you elaborate on the input portal? I am having the invisible mouse issue on Fedora/Wayland and not sure how to request permissions for steam to move the mouse
I'm using Arch/Plasma/Wayland. The desktop portal looks like this and it activates as soon as you try to move the mouse with a Steam Input device
Nothing like this appears for me on Plasma 6.1.2 using Tumbleweed.
Nothing like this appears for me on Plasma 6.1.2 using Tumbleweed.
Same here on Plasma 6.1.4 Tumbleweed.
I can confirm. It works on Arch with KDE plasma 6.1.4.
Seems to be a tumbleweed issue maybe?
Plasma 6 by itself is not enough, you'll also need an xwayland built with support for libei. If your distro does not package xwayland with support for libei, then please file a bug on your distro's bug tracker.
Pretty sure tumbleweed packages xwayland with libei but i could be wrong. Libei is installed?
When using mouse emulation to play Old-school RuneScape under Wayland the cursor is invisible but is usable in the sense that it technically works.