Skip to content

No mouse on Bazzite and Sunshine v2025.107.25026 #3556

Description

@bjoernwuest

Is there an existing issue for this?

  • I have searched the existing issues

Is your issue described in the documentation?

  • I have read the documentation

Is your issue present in the latest beta/pre-release?

None

Describe the Bug

Try to move away from Win11 for gaming. Try to find a Linux distro where Sunshine is actually working. Tried some distros (openSuse, Ubuntu 24.04/24.10, Xubuntu 24.04/24.10, Fedora 41, Mint, Gentoo, Manjaro, Arch, CachyOS, ..., and Bazzite). Bazzite seems to be the only distro where Sunshine detects my video card (Nvidia 4060) so I am quite happy. At least this is the status "out of the box" with Bazzite.

Yet, Moonlight does not show mouse when connected. The log says

Warning: No KMS cursor plane found. Cursor may not be displayed while streaming

I tried to do

setcap cap_sys_admin+p $(readlink -f $(which sunshine))

but since Bazzite is read-only system, it complains that I cannot do this command and would rather need to bundle it in a RPM (which I have not clue how to do).

Also, following other "tricks" like running screen recorder, accessibility tools, setting KWIN-...flags, etc. all did not work. Interestingly, when running a screen recorder and connecting via Moonlight I can see the mouse "inside" the screen recorder video, but not on the screen itself. So at least Moonlight provides info on mouse movement, but Sunshine simply does not seem able to render it to Moonlight?

Also found a ticket where a migration "away from kmsgrab" is discussed. May this be related?

Expected Behavior

Would love to see the mouse pointer :)

Additional Context

No response

Host Operating System

Linux

Operating System Version

Bazzite "downloaded on Jan 17th 2025"

Architecture

amd64/x86_64

Sunshine commit or version

v2025.107.25026

Package

other (not listed)

GPU Type

NVIDIA

GPU Model

4060

GPU Driver/Mesa Version

565.77

Capture Method

KMS (Linux)

Config

Apps

Relevant log output

Warning: No KMS cursor plane found. Cursor may not be displayed while streaming

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