Hi, does someone know how to make it work on Silverblue under wayland?
Attention! Sunshine detected these errors during startup. We STRONGLY RECOMMEND fixing them before streaming.
Fatal: You must run [sudo setcap cap_sys_admin+p $(readlink -f $(which sunshine))] for KMS display capture to work!
Fatal: Unable to find display or encoder during startup.
Fatal: Please check that a display is connected and powered on.
Thank you
1 Like
Have you tried the fix shown in that first “fatal” message?
siosm
(Timothée Ravier)
May 29, 2024, 5:19pm
3
How did you install this Flatpak? Where does it come from? Fedora or Flathub?
You can not add capabilities to Flatpak applications so that will not work. I don’t know what this app does so not sure what that implies for it.
siosm
(Timothée Ravier)
May 29, 2024, 5:19pm
4
Hi, thank you, I tried but still the same, I think maybe is not working because I’m using Silverblue and It’s immutable, do you have other suggestions?
miabbott
(Micah Abbott)
May 30, 2024, 1:08pm
6
Looking at the upstream docs for using the Flatpak , I saw one command noted as required which is not documented in on the Flathub docs :
flatpak run --command=additional-install.sh dev.lizardbyte.sunshine
Not sure if you have ran that command as well. If so and you are still having problems, you probably should file an issue with the Sunshine folks .
1 Like
I had this output and the issue persists:
Sunshine User Service has been installed.
Use [systemctl --user enable sunshine] once to autostart Sunshine on login.
Configuring mouse permission.
Portal call failed: org.freedesktop.DBus.Error.ServiceUnknown
Restart computer for mouse permission to take effect.
But in theory the solution for the problem would be running this command:
sudo setcap cap_sys_admin+p $(readlink -f $(which sunshine))
The problem is that I’m using flatpak, I don’t know the equivalent for this command
miabbott
(Micah Abbott)
May 30, 2024, 8:08pm
8
I’d suggest reaching out to the Sunshine folks or try using rpm-ostree install
to install the RPM version of Sunshine
Yes these permissions sound pretty hacky.
To create the systemd service the flatpak must have pretty broad filesystem access too. At least ~/.config
.
There is a COPR and another one, use with caution.
You can use COPRs on Fedora atomic using my copr command script