You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the new build script I successfully created a working compiled .deb package for installation.
This works in both Wayland and X11 sessions in terms of providing working web UI and remote video.
Under X11 sunshine requests use of the setcap command, while under Wayland there are no errors requesting the command.
In both cases (once setcap is set for X11) however the terminal log reads:
[2025-06-02 10:00:13.334]: Warning: Unable to create virtual mouse: Permission denied
[2025-06-02 10:00:13.334]: Warning: Unable to create virtual keyboard: Permission denied
[2025-06-02 10:00:13.334]: Warning: Gamepad xone is disabled due to Permission denied
[2025-06-02 10:00:13.334]: Warning: Gamepad ds5 is disabled due to Permission denied
[2025-06-02 10:00:13.334]: Warning: Gamepad switch is disabled due to Permission denied
[2025-06-02 10:00:13.334]: Warning: No gamepad input is available
Nothing else worked for me, but I found a fix and I will put it here in case anyone else has the same issue:
So, sudo chmod 0666 /dev/uinput made it work, but to make it permanent:
echo 'KERNEL=="uinput", MODE="0660", GROUP="input"' | sudo tee /etc/udev/rules.d/85-sunshine-input.rules
then I get working mouse and keyboard in Wayland, so:
sudo setcap cap_sys_admin+p $(readlink -f $(which sunshine)) is applied, though terminal logs will still say it failed and needs applying.
2)sudo chmod 0666 /dev/uinput
3)echo 'KERNEL=="uinput", MODE="0660", GROUP="input"', OPTIONS+="static_node=uinput" | sudo tee /etc/udev/rules.d/85-sunshine-input.rules
However X11 fails with:
"Error: [xrandr --output HDMI-1 --mode 1920x1080] failed with code [1]"
(since the monitor port is HDMI-3, maybe this is why?)
X11 will work if I re-enable the onboard gpu in the bios, even though I'm using a dedicated card.
Debian Trixie RC1:
Under Trixie, sunshine will only work if my onboard gpu is enabled, even though the computer is still using the dedicated gpu, however it still reports the same "Permission denied" warnings as above and again there is no input, only video (but only under X11).
If the onboard gpu is disabled in bios, then the program in all sessions will crash with a "bus error (core dumped)".
Having gained more information through getting Ubuntu to work, since typing the above I have now reinstalled Debian and can confirm that:
Unlike in Ubuntu, Wayland fails to find a monitor, encoder or input so always fails.
X11 will only work successfully if...
The onboard gpu is enabled.
sudo setcap cap_sys_admin+p $(readlink -f $(which sunshine)) is applied, though terminal logs will still say it failed and needs applying.
sudo chmod 0666 /dev/uinput is also applied.
Additional:
The commands listed in the Troubleshooting guide for input problems did nothing to help the issues I was facing, it all seems to be dependent on the chmod command.
There's log spam every so often about an XFixCursor missing under Debian, perhaps a code compile issue.
Under Debian, whenever the display refreshes (such as moving a camera in-game or closing/opening a desktop window), the image is excessively pixellated (whether low-res desktop mode or not) this did not happen in Ubuntu. Debian also claims to be using the onboard GPU for rendering, not sure how that's even possible.
Shadow of The Tomb Raider appeared to completely break Sunshine, possibly due to having to change the cpu governor. It resulted in bus error - core dumped, and nothing but a full OS reinstall could bring the system back - this is frustrating when you've got everything working.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Ubuntu 25.04:
Using the new build script I successfully created a working compiled .deb package for installation.
This works in both Wayland and X11 sessions in terms of providing working web UI and remote video.
Under X11 sunshine requests use of the setcap command, while under Wayland there are no errors requesting the command.
In both cases (once setcap is set for X11) however the terminal log reads:
If I use the chmod commands from this github discussion thread:
loki-47-6F-64/sunshine#52 (comment)
then I get working mouse and keyboard in Wayland, so:
sudo setcap cap_sys_admin+p $(readlink -f $(which sunshine))
is applied, though terminal logs will still say it failed and needs applying.2)
sudo chmod 0666 /dev/uinput
3)
echo 'KERNEL=="uinput", MODE="0660", GROUP="input"', OPTIONS+="static_node=uinput" | sudo tee /etc/udev/rules.d/85-sunshine-input.rules
However X11 fails with:
"Error: [xrandr --output HDMI-1 --mode 1920x1080] failed with code [1]"
(since the monitor port is HDMI-3, maybe this is why?)
X11 will work if I re-enable the onboard gpu in the bios, even though I'm using a dedicated card.
Debian Trixie RC1:
Under Trixie, sunshine will only work if my onboard gpu is enabled, even though the computer is still using the dedicated gpu, however it still reports the same "Permission denied" warnings as above and again there is no input, only video (but only under X11).
If the onboard gpu is disabled in bios, then the program in all sessions will crash with a "bus error (core dumped)".
Having gained more information through getting Ubuntu to work, since typing the above I have now reinstalled Debian and can confirm that:
Unlike in Ubuntu, Wayland fails to find a monitor, encoder or input so always fails.
X11 will only work successfully if...
Additional:
The commands listed in the Troubleshooting guide for input problems did nothing to help the issues I was facing, it all seems to be dependent on the chmod command.
There's log spam every so often about an XFixCursor missing under Debian, perhaps a code compile issue.
Under Debian, whenever the display refreshes (such as moving a camera in-game or closing/opening a desktop window), the image is excessively pixellated (whether low-res desktop mode or not) this did not happen in Ubuntu. Debian also claims to be using the onboard GPU for rendering, not sure how that's even possible.
Shadow of The Tomb Raider appeared to completely break Sunshine, possibly due to having to change the cpu governor. It resulted in bus error - core dumped, and nothing but a full OS reinstall could bring the system back - this is frustrating when you've got everything working.
Beta Was this translation helpful? Give feedback.
All reactions