-
-
Notifications
You must be signed in to change notification settings - Fork 893
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to run Sunshine Flatpak on Fedora atomic desktops with Wayland (Kinoite 40, Silverblue 40, Aurora, Bluefin) #2948
Comments
What is the command you used to start Sunshine? |
First I run sudo setcap cap_sys_admin+p $(readlink -f $(find /var/lib/flatpak/app -name sunshine | grep /bin/sunshine))
flatpak run dev.lizardbyte.app.Sunshine |
I have no idea if that command works. I expect it doesn't due to the sandboxing of flatpak. This is the command in our docs for the pre-release. sudo -i PULSE_SERVER=unix:$(pactl info | awk '/Server String/{print$3}') \
flatpak run dev.lizardbyte.app.Sunshine https://docs.lizardbyte.dev/projects/sunshine/en/master/about/setup.html#install |
Yeah I tried that too. Sunshine doesn't start $ sudo -i PULSE_SERVER=unix:$(pactl info | awk '/Server String/{print$3}') \
flatpak run dev.lizardbyte.app.Sunshine
bwrap: Can't find source path /run/user/1000/pulse/native: Permission denied The path does indeed exist $ ls /run/user/1000/pulse/native
/run/user/1000/pulse/native $ pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 91
Tile Size: 65472
User Name: redacted
Host Name: redacted
Server Name: PulseAudio (on PipeWire 1.0.7)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1f.3.analog-stereo
Default Source: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
Cookie: ef46:e3d8
$ (pactl info | awk '/Server String/{print$3}')
/run/user/1000/pulse/native I've tried giving additional permissions to Sunshine flatpak via Flatseal, tried a reboot as well. No luck |
Sorry, I don't know. Maybe @istori1 has some idea? |
No worries, thank you for helping! For the $ cp /usr/bin/bwrap /home/<user>/writable/dir/
$ sudo -i PULSE_SERVER=unix:$(pactl info | awk '/Server String/{print$3}') FLATPAK_BWRAP=/home/<user>/writable/dir/bwrap flatpak run dev.lizardbyte.app.Sunshine
bwrap: Can't find source path /run/user/1000/pulse/native: Permission denied It's this combination of Flatpak + Wayland + Atomic desktop which is proving to be a challenge. Switching to X11 or a non-atomic desktop works. Are there any reports of the above combination working for anyone? |
Honestly, I've never heard of it. |
It's basically an operating system with much of the root filesystem locked down as read-only |
You forgot to grant bwrap setuid
There is also a custom variant of bwrap in COPR but I haven't tried it yet. |
I've inadvertently mirrored this issue here - #3181 I do not know how to consolidate. If you have an intel iGPU, use it instead to nip this issue. It is making the AMD encoder unusable - I would rather haul my gaming pc around with me than put up with this incredibly blurry result. |
Is there an existing issue for this?
Is your issue described in the documentation?
Is your issue present in the latest beta/pre-release?
This issue is present in the latest pre-release
Describe the Bug
I've been trying to run the Sunshine flatpak on Fedora atomic desktops running Wayland, however, I keep seeing this error even after following this guide here https://docs.lizardbyte.dev/projects/sunshine/en/latest/about/setup.html#install
I've also searched and read through other issues (e.g. #2840), however, nothing has worked for me.
The flatpak works on X11, but not on Wayland.
I've tried the latest release as well as the pre-releases with no luck.
Expected Behavior
Sunshine flatpak should run on Wayland
Additional Context
No response
Host Operating System
Linux
Operating System Version
Fedora Kinoite 40
Architecture
64 bit
Sunshine commit or version
v2024.730.191523
Package
Linux - flatpak
GPU Type
Intel
GPU Model
Intel UHD Graphics 630
GPU Driver/Mesa Version
Mesa Intel(R) UHD Graphics 630 (CFL GT2)
Capture Method
None
Config
Apps
No response
Relevant log output
The text was updated successfully, but these errors were encountered: