ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.21k stars 174 forks source link

[Aya Neo/OneXPlayer] Invisible mouse cursor on Wayland using Steam Input #8604

Open ruineka opened 2 years ago

ruineka commented 2 years ago

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.

kisak-valve commented 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.

kermeat commented 1 year ago

This MR might solve this issue https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/975

kermeat commented 1 year ago

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

Managor commented 1 month ago

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.

kalenpw commented 1 month ago

@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

Managor commented 1 month ago

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 image

Nano-Ocelot commented 1 month ago

Nothing like this appears for me on Plasma 6.1.2 using Tumbleweed.

Izooc commented 1 month ago

Nothing like this appears for me on Plasma 6.1.2 using Tumbleweed.

Same here on Plasma 6.1.4 Tumbleweed.

metzger100 commented 4 weeks ago

I can confirm. It works on Arch with KDE plasma 6.1.4.

Izooc commented 4 weeks ago

Seems to be a tumbleweed issue maybe?

AndrewAmmerlaan commented 4 weeks ago

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.

Izooc commented 4 weeks ago

Pretty sure tumbleweed packages xwayland with libei but i could be wrong. Libei is installed?