Skip to content
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

[Sunshine] crashes upon startup on current releases #1710

Open
rcarmo opened this issue Sep 28, 2024 · 7 comments
Open

[Sunshine] crashes upon startup on current releases #1710

rcarmo opened this issue Sep 28, 2024 · 7 comments
Labels
sunshine Self-hosted game stream host for Moonlight

Comments

@rcarmo
Copy link

rcarmo commented Sep 28, 2024

Describe the bug

sunshine is still completely unreliable for me. Installing it via ujust setup-sunshine works, but the daemon crashes upon startup on current releases. See #1359, #1260 (where I bisected the issue to an upgrade in boost) and other similar issues.

What did you expect to happen?

I expected it to work. Also, for the sunshine COPR to be updated more frequently (and tested). Failing that, to have a flatpak alternative with the right duct taping for it to work (starting with launching correctly with Big Picture mode)

Output of rpm-ostree status

State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck-gnome:stable
                   Digest: sha256:bfd698a496a41a55255d03270e7c3cdbe996c62c62fb7dde81dde9ef4b214eb9
                  Version: 40.20240922.0 (2024-09-23T05:03:03Z)
          LayeredPackages: sunshine xorgxrdp-glamor xrdp

  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-deck-gnome:stable
                   Digest: sha256:bfd698a496a41a55255d03270e7c3cdbe996c62c62fb7dde81dde9ef4b214eb9
                  Version: 40.20240922.0 (2024-09-23T05:03:03Z)
          LayeredPackages: xorgxrdp-glamor xrdp

Hardware

                                            me@bazzite
     %%%%%%====%%%%%%%%%%
   %%%%%%%%    %%%%%%%%%%%%%%             󱋩  bazzite-deck-gnome:stable 
  %%%%%%%%%    %%%%%%%%%%%%%%%%           󰣛  Bazzite 40 (FROM Fedora Silverblue)
  %%%%%%%%%    %%%%%%%%%%%%%%%###           Linux 6.9.12-205.fsync.fc40.x86_64
  %%%%%%%%%    %%%%%%%%%%%%%######        󰅐  10 hours, 2 mins
  ==                  =======######       󰔠  Spawned on Feb 27 2024
  ==                  =========#####
  %%%%%%%%%    %%%%%%%####======#####     󰾰  HCAR6000-MI2
  %%%%%%%%%    %%%%%#######=====#####     󰻠  AMD Ryzen 7 7840HS w/ Radeon 780M Graphics (16) @ 5.14 GHz
  %%%%%%%%%    %%%#########=====#####     󰍛  AMD Radeon 780M [Integrated]
  %%%%%%%%%    %%##########=====#####       5.81 GiB / 30.60 GiB (19%)
  %%%%%%%%%====###########=====######       454.03 GiB / 475.35 GiB (96%) - btrfs [Read-only]
   %%%%%%%%====#########======######      󰍹  1920x1080 @ 60 Hz in 22″ [External]
    %%%%%%%=====#####========######
     %%%%###===============#######          bash 5.2.26
      %#######==========#########           /dev/pts/0
        #######################           󰏖  2462 (rpm), 28 (flatpak-system), 18 (flatpak-user)
          ###################
              ###########                  ● ● ● ● ● ● ● ●

Extra information or context

Note that the crash dump points to there being indeed a boost issue as bisected in #1260.

me@bazzite:~$ journalctl --user -u sunshine.service
Sep 24 23:05:03 bazzite systemd[5560]: Starting sunshine.service - Self-hosted game stream host for Moonlight...
Sep 24 23:05:08 bazzite systemd[5560]: Started sunshine.service - Self-hosted game stream host for Moonlight.
Sep 24 23:05:08 bazzite sunshine[6151]: [2024:09:24:23:05:08]: Info: Sunshine version: 0.23.1.8b21db6.COPR
Sep 24 23:05:08 bazzite sunshine[6151]: [2024:09:24:23:05:08]: Info: /dev/dri/card1 -> amdgpu
Sep 24 23:05:08 bazzite sunshine[6151]: [2024:09:24:23:05:08]: Warning: Failed to create system tray
Sep 24 23:05:08 bazzite sunshine[6151]: [2024:09:24:23:05:08]: Error: Environment variable WAYLAND_DISPLAY has n>
Sep 24 23:05:08 bazzite sunshine[6151]: [2024:09:24:23:05:08]: Info: // Testing for available encoders, this may>
Sep 24 23:05:08 bazzite sunshine[6151]: [2024:09:24:23:05:08]: Info: Trying encoder [nvenc]
Sep 24 23:05:08 bazzite sunshine[6151]: [2024:09:24:23:05:08]: Info: Screencasting with KMS
Sep 24 23:05:08 bazzite sunshine[6151]: [2024:09:24:23:05:08]: Info: /dev/dri/card1 -> amdgpu
Sep 24 23:05:08 bazzite sunshine[6151]: [2024:09:24:23:05:08]: Error: Couldn't find monitor [0]
Sep 24 23:05:08 bazzite sunshine[6151]: [2024:09:24:23:05:08]: Info: /dev/dri/card1 -> amdgpu
Sep 24 23:05:08 bazzite sunshine[6151]: [2024:09:24:23:05:08]: Error: Couldn't find monitor [0]
Sep 24 23:05:08 bazzite sunshine[6151]: [2024:09:24:23:05:08]: Info: Screencasting with KMS
Sep 24 23:05:08 bazzite sunshine[6151]: [2024:09:24:23:05:08]: Info: /dev/dri/card1 -> amdgpu
Sep 24 23:05:08 bazzite sunshine[6151]: [2024:09:24:23:05:08]: Error: Couldn't find monitor [0]
Sep 24 23:05:08 bazzite sunshine[6151]: [2024:09:24:23:05:08]: Info: /dev/dri/card1 -> amdgpu
Sep 24 23:05:08 bazzite sunshine[6151]: [2024:09:24:23:05:08]: Error: Couldn't find monitor [0]
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: Encoder [nvenc] failed
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: Trying encoder [vaapi]
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: Screencasting with KMS
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: /dev/dri/card1 -> amdgpu
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: Found monitor for DRM screencasting
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: Found connector ID [114]
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: Found cursor plane [89]
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: VA-API version 1.21.0
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Found init function __vaDriverInit_1_21
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: va_openDriver() returns 0
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: SDR color coding [Rec. 601]
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: Color depth: 8-bit
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: Color range: [JPEG]
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: VA-API version 1.21.0
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Found init function __vaDriverInit_1_21
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: va_openDriver() returns 0
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Error: [h264_vaapi @ 0x7ffab4014740] No usable en>
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: Retrying with fallback configuration option>
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: VA-API version 1.21.0
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Found init function __vaDriverInit_1_21
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: va_openDriver() returns 0
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Warning: [h264_vaapi @ 0x7ffabc014740] Driver doe>
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: SDR color coding [Rec. 601]
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: Color depth: 8-bit
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: Color range: [JPEG]
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: VA-API version 1.21.0
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Found init function __vaDriverInit_1_21
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: va_openDriver() returns 0
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Error: [hevc_vaapi @ 0x7ffabc014740] No usable en>
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: Retrying with fallback configuration option>
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: VA-API version 1.21.0
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Found init function __vaDriverInit_1_21
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: va_openDriver() returns 0
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Warning: [hevc_vaapi @ 0x7ffab4014740] Driver doe>
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: SDR color coding [Rec. 601]
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: VA-API version 1.21.0
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: Color depth: 8-bit
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: Color range: [JPEG]
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Found init function __vaDriverInit_1_21
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: va_openDriver() returns 0
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Error: [av1_vaapi @ 0x7ffab4014740] No usable enc>
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: Retrying with fallback configuration option>
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: VA-API version 1.21.0
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Found init function __vaDriverInit_1_21
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: va_openDriver() returns 0
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Warning: [av1_vaapi @ 0x7ffabc014740] Multiple sl>
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: Screencasting with KMS
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: /dev/dri/card1 -> amdgpu
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: Found monitor for DRM screencasting
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: Found connector ID [114]
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: Found cursor plane [89]
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: VA-API version 1.21.0
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Found init function __vaDriverInit_1_21
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: va_openDriver() returns 0
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: SDR color coding [Rec. 709]
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: Color depth: 10-bit
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: Color range: [JPEG]
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: VA-API version 1.21.0
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Found init function __vaDriverInit_1_21
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: va_openDriver() returns 0
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Error: [hevc_vaapi @ 0x7ffabc014740] No usable en>
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: VA-API version 1.21.0
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: Retrying with fallback configuration option>
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Found init function __vaDriverInit_1_21
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: va_openDriver() returns 0
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Warning: [hevc_vaapi @ 0x7ffab4014740] Driver doe>
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: SDR color coding [Rec. 709]
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: Color depth: 10-bit
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: Color range: [JPEG]
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: VA-API version 1.21.0
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Found init function __vaDriverInit_1_21
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: va_openDriver() returns 0
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Error: [av1_vaapi @ 0x7ffab4014740] No usable enc>
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: Retrying with fallback configuration option>
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: VA-API version 1.21.0
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: Found init function __vaDriverInit_1_21
Sep 24 23:05:09 bazzite sunshine[6151]: libva info: va_openDriver() returns 0
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Warning: [av1_vaapi @ 0x7ffabc014740] Multiple sl>
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info:
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: // Ignore any errors mentioned above, they >
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info:
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: Found H.264 encoder: h264_vaapi [vaapi]
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: Found HEVC encoder: hevc_vaapi [vaapi]
Sep 24 23:05:09 bazzite sunshine[6151]: [2024:09:24:23:05:09]: Info: Found AV1 encoder: av1_vaapi [vaapi]
Sep 24 23:05:09 bazzite sunshine[6151]: terminate called after throwing an instance of 'boost::wrapexcept<boost:>
Sep 24 23:05:09 bazzite sunshine[6151]:   what():  No such node (root.devices)
Sep 24 23:05:09 bazzite systemd-coredump[6478]: [🡕] Process 6151 (sunshine) of user 1000 dumped core.

                                                Module libavahi-client.so.3 from rpm avahi-0.8-26.fc40.x86_64
                                                Module libavahi-common.so.3 from rpm avahi-0.8-26.fc40.x86_64
                                                Module libtinfo.so.6 from rpm ncurses-6.4-12.20240127.fc40.x86_64
                                                Module libedit.so.0 from rpm libedit-3.1-53.20240808cvs.fc40.x86>
                                                Module libdrm_amdgpu.so.1 from rpm libdrm-2.4.123-1.fc40.x86_64
                                                Module libelf.so.1 from rpm elfutils-0.191-4.fc40.x86_64
                                                Module libdrm_radeon.so.1 from rpm libdrm-2.4.123-1.fc40.x86_64
                                                Module radeonsi_drv_video.so from rpm mesa-freeworld-24.1.7-1.fc>
                                                Module libxshmfence.so.1 from rpm libxshmfence-1.3.2-3.fc40.x86_>
                                                Module libxcb-sync.so.1 from rpm libxcb-1.17.0-1.fc40.x86_64
                                                Module libxcb-present.so.0 from rpm libxcb-1.17.0-1.fc40.x86_64
                                                Module libxcb-dri3.so.0 from rpm libxcb-1.17.0-1.fc40.x86_64
                                                Module libxcb-xfixes.so.0 from rpm libxcb-1.17.0-1.fc40.x86_64
                                                Module libxcb-dri2.so.0 from rpm libxcb-1.17.0-1.fc40.x86_64
                                                Module libX11-xcb.so.1 from rpm libX11-1.8.10-2.fc40.x86_64
                                                Module libglapi.so.0 from rpm mesa-24.1.7-100.bazzite.0.0.git.44>
                                                Module libEGL_mesa.so.0 from rpm mesa-24.1.7-100.bazzite.0.0.git>
                                                Module libGLdispatch.so.0 from rpm libglvnd-1.7.0-4.fc40.x86_64
                                                Module libEGL.so.1 from rpm libglvnd-1.7.0-4.fc40.x86_64
                                                Module libxcb-randr.so.0 from rpm libxcb-1.17.0-1.fc40.x86_64
                                                Module libexpat.so.1 from rpm expat-2.6.3-1.fc40.x86_64
                                                Module libwayland-server.so.0 from rpm wayland-1.23.0-2.fc40.x86>
                                                Module libgbm.so.1 from rpm mesa-24.1.7-100.bazzite.0.0.git.4499>
                                                Module libbrotlicommon.so.1 from rpm brotli-1.1.0-3.fc40.x86_64
                                                Module libzstd.so.1 from rpm zstd-1.5.6-1.fc40.x86_64
                                                Module liblz4.so.1 from rpm lz4-1.9.4-6.fc40.x86_64
                                                Module libmpg123.so.0 from rpm mpg123-1.31.3-4.fc40.x86_64
                                                Module libogg.so.0 from rpm libogg-1.3.5-8.fc40.x86_64
                                                Module libvorbisenc.so.2 from rpm libvorbis-1.3.7-10.fc40.x86_64
                                                Module libvorbis.so.0 from rpm libvorbis-1.3.7-10.fc40.x86_64
                                                Module libFLAC.so.12 from rpm flac-1.4.3-4.fc40.x86_64
                                                Module libgsm.so.1 from rpm gsm-1.0.22-6.fc40.x86_64
                                                Module liblzma.so.5 from rpm xz-5.4.6-3.fc40.x86_64
                                                Module libbrotlidec.so.1 from rpm brotli-1.1.0-3.fc40.x86_64
                                                Module libbz2.so.1 from rpm bzip2-1.0.8-18.fc40.x86_64
                                                Module libdatrie.so.1 from rpm libdatrie-0.2.13-9.fc40.x86_64
                                                Module libblkid.so.1 from rpm util-linux-2.40.1-1.fc40.x86_64
                                                Module libsystemd.so.0 from rpm systemd-255.12-1.fc40.x86_64
                                                Module libsndfile.so.1 from rpm libsndfile-1.2.2-2.fc40.x86_64
                                                Module libkeyutils.so.1 from rpm keyutils-1.6.3-3.fc40.x86_64
                                                Module libkrb5support.so.0 from rpm krb5-1.21.3-1.fc40.x86_64
                                                Module libcom_err.so.2 from rpm e2fsprogs-1.47.0-5.fc40.x86_64
                                                Module libk5crypto.so.3 from rpm krb5-1.21.3-1.fc40.x86_64
                                                Module libkrb5.so.3 from rpm krb5-1.21.3-1.fc40.x86_64
                                                Module libunistring.so.5 from rpm libunistring-1.1-7.fc40.x86_64
                                                Module libXau.so.6 from rpm libXau-1.0.11-6.fc40.x86_64
                                                Module libjson-glib-1.0.so.0 from rpm json-glib-1.8.0-3.fc40.x86>
                                                Module libatspi.so.0 from rpm at-spi2-core-2.52.0-1.fc40.x86_64
                                                Module libjpeg.so.62 from rpm libjpeg-turbo-3.0.2-1.fc40.x86_64
                                                Module libxml2.so.2 from rpm libxml2-2.12.8-1.fc40.x86_64
                                                Module libpixman-1.so.0 from rpm pixman-0.43.4-1.fc40.x86_64
                                                Module libxcb-shm.so.0 from rpm libxcb-1.17.0-1.fc40.x86_64
                                                Module libxcb-render.so.0 from rpm libxcb-1.17.0-1.fc40.x86_64
                                                Module libXrender.so.1 from rpm libXrender-0.9.11-6.fc40.x86_64
                                                Module libpng16.so.16 from rpm libpng-1.6.40-3.fc40.x86_64
                                                Module libgraphite2.so.3 from rpm graphite2-1.3.14-15.fc40.x86_64
                                                Module libfreetype.so.6 from rpm freetype-2.13.2-5.fc40.x86_64
                                                Module libthai.so.0 from rpm libthai-0.1.29-8.fc40.x86_64
                                                Module libselinux.so.1 from rpm libselinux-3.6-4.fc40.x86_64
                                                Module libmount.so.1 from rpm util-linux-2.40.1-1.fc40.x86_64
                                                Module libXinerama.so.1 from rpm libXinerama-1.1.5-6.fc40.x86_64
                                                Module libXrandr.so.2 from rpm libXrandr-1.5.4-3.fc40.x86_64
                                                Module libXcomposite.so.1 from rpm libXcomposite-0.4.6-3.fc40.x8>
                                                Module libXdamage.so.1 from rpm libXdamage-1.1.6-3.fc40.x86_64
                                                Module libXcursor.so.1 from rpm libXcursor-1.2.1-7.fc40.x86_64
                                                Module libXext.so.6 from rpm libXext-1.3.6-1.fc40.x86_64
                                                Module libwayland-egl.so.1 from rpm wayland-1.23.0-2.fc40.x86_64
                                                Module libwayland-cursor.so.0 from rpm wayland-1.23.0-2.fc40.x86>
                                                Module libxkbcommon.so.0 from rpm libxkbcommon-1.6.0-2.fc40.x86_>
                                                Module libayatana-ido3-0.4.so.0 from rpm libayatana-ido-0.10.2-1>
                                                Module libdbus-1.so.3 from rpm dbus-1.14.10-3.fc40.x86_64
                                                Module libpulsecommon-16.1.so from rpm pulseaudio-16.1-8.fc40.x8>
                                                Module libgssapi_krb5.so.2 from rpm krb5-1.21.3-1.fc40.x86_64
                                                Module libidn2.so.0 from rpm libidn2-2.3.7-1.fc40.x86_64
                                                Module libnghttp2.so.14 from rpm nghttp2-1.59.0-3.fc40.x86_64
                                                Module libz.so.1 from rpm zlib-ng-2.1.7-2.fc40.x86_64
                                                Module libboost_atomic.so.1.83.0 from rpm boost-1.83.0-5.fc40.x8>
                                                Module libboost_regex.so.1.83.0 from rpm boost-1.83.0-5.fc40.x86>
                                                Module libicuuc.so.74 from rpm icu-74.2-1.fc40.x86_64
                                                Module libicui18n.so.74 from rpm icu-74.2-1.fc40.x86_64
                                                Module libicudata.so.74 from rpm icu-74.2-1.fc40.x86_64
                                                Module libboost_chrono.so.1.83.0 from rpm boost-1.83.0-5.fc40.x8>
                                                Module libxcb.so.1 from rpm libxcb-1.17.0-1.fc40.x86_64
                                                Module libpcre2-8.so.0 from rpm pcre2-10.44-1.fc40.x86_64
                                                Module libffi.so.8 from rpm libffi-3.4.4-7.fc40.x86_64
                                                Module libXfixes.so.3 from rpm libXfixes-6.0.1-3.fc40.x86_64
                                                Module libtracker-sparql-3.0.so.0 from rpm tracker-3.7.3-1.fc40.>
                                                Module libcloudproviders.so.0 from rpm libcloudproviders-0.3.5-3>
                                                Module libatk-bridge-2.0.so.0 from rpm at-spi2-core-2.52.0-1.fc4>
                                                Module libXi.so.6 from rpm libXi-1.8.2-1.fc40.x86_64
                                                Module libepoxy.so.0 from rpm libepoxy-1.5.10-6.fc40.x86_64
                                                Module libatk-1.0.so.0 from rpm at-spi2-core-2.52.0-1.fc40.x86_64
                                                Module libgdk_pixbuf-2.0.so.0 from rpm gdk-pixbuf2-2.42.10-8.fc4>
                                                Module libcairo-gobject.so.2 from rpm cairo-1.18.0-3.fc40.x86_64
                                                Module libfribidi.so.0 from rpm fribidi-1.0.14-2.fc40.x86_64
                                                Module libfontconfig.so.1 from rpm fontconfig-2.15.0-6.fc40.x86_>
                                                Module libpangoft2-1.0.so.0 from rpm pango-1.54.0-1.fc40.x86_64
                                                Module libcairo.so.2 from rpm cairo-1.18.0-3.fc40.x86_64
                                                Module libharfbuzz.so.0 from rpm harfbuzz-8.5.0-1.fc40.x86_64
                                                Module libpango-1.0.so.0 from rpm pango-1.54.0-1.fc40.x86_64
                                                Module libpangocairo-1.0.so.0 from rpm pango-1.54.0-1.fc40.x86_64
                                                Module libgmodule-2.0.so.0 from rpm glib2-2.80.3-1.fc40.x86_64
                                                Module libgio-2.0.so.0 from rpm glib2-2.80.3-1.fc40.x86_64
                                                Module libgdk-3.so.0 from rpm gtk3-3.24.43-1.fc40.x86_64
                                                Module libdbusmenu-glib.so.4 from rpm libdbusmenu-16.04.0-27.fc4>
                                                Module libdbusmenu-gtk3.so.4 from rpm libdbusmenu-16.04.0-27.fc4>
                                                Module libayatana-indicator3.so.7 from rpm libayatana-indicator->
                                                Module libboost_thread.so.1.83.0 from rpm boost-1.83.0-5.fc40.x8>
                                                Module libpulse-simple.so.0 from rpm pulseaudio-16.1-8.fc40.x86_>
                                                Module libpulse.so.0 from rpm pulseaudio-16.1-8.fc40.x86_64
                                                Module libnuma.so.1 from rpm numactl-2.0.16-5.fc40.x86_64
                                                Module libwayland-client.so.0 from rpm wayland-1.23.0-2.fc40.x86>
                                                Module libevdev.so.2 from rpm libevdev-1.13.3-1.fc40.x86_64
                                                Module libcap.so.2 from rpm libcap-2.69-8.fc40.x86_64
                                                Module libdrm.so.2 from rpm libdrm-2.4.123-1.fc40.x86_64
                                                Module libcurl.so.4 from rpm curl-8.6.0-10.fc40.x86_64
                                                Module libcrypto.so.3 from rpm openssl-3.2.2-3.fc40.x86_64
                                                Module libssl.so.3 from rpm openssl-3.2.2-3.fc40.x86_64
                                                Module libboost_program_options.so.1.83.0 from rpm boost-1.83.0->
                                                Module libboost_filesystem.so.1.83.0 from rpm boost-1.83.0-5.fc4>
                                                Module libboost_log.so.1.83.0 from rpm boost-1.83.0-5.fc40.x86_64
                                                Module libboost_locale.so.1.83.0 from rpm boost-1.83.0-5.fc40.x8>
                                                Module libX11.so.6 from rpm libX11-1.8.10-2.fc40.x86_64
                                                Module libva-drm.so.2 from rpm libva-2.21.0-3.fc40.x86_64
                                                Module libva.so.2 from rpm libva-2.21.0-3.fc40.x86_64
                                                Module libopus.so.0 from rpm opus-1.5.1-1.fc40.x86_64
                                                Module libminiupnpc.so.17 from rpm miniupnpc-2.2.5-5.fc40.x86_64
                                                Module libnotify.so.4 from rpm libnotify-0.8.3-3.fc40.x86_64
                                                Module libglib-2.0.so.0 from rpm glib2-2.80.3-1.fc40.x86_64
                                                Module libgobject-2.0.so.0 from rpm glib2-2.80.3-1.fc40.x86_64
                                                Module libgtk-3.so.0 from rpm gtk3-3.24.43-1.fc40.x86_64
                                                Module libayatana-appindicator3.so.1 from rpm libayatana-appindi>
                                                Module sunshine-2024.911.215654.copr from rpm sunshine-0.23.1-3.>
                                                Stack trace of thread 6465:
                                                #0  0x00007ffb1a9ae664 __pthread_kill_implementation (libc.so.6 >
                                                #1  0x00007ffb1a955c4e raise (libc.so.6 + 0x40c4e)
                                                #2  0x00007ffb1a93d902 abort (libc.so.6 + 0x28902)
                                                #3  0x00007ffb1aca5da9 _ZN9__gnu_cxx27__verbose_terminate_handle>
                                                #4  0x00007ffb1acb7c4c _ZN10__cxxabiv111__terminateEPFvvE (libst>
                                                #5  0x00007ffb1aca5951 _ZSt9terminatev (libstdc++.so.6 + 0xa5951)
                                                #6  0x00007ffb1acb7ed8 __cxa_throw (libstdc++.so.6 + 0xb7ed8)
                                                #7  0x000055b1dbdc7db9 _ZN5boost13property_tree11basic_ptreeINSt>
                                                #8  0x000055b1dbe269c5 _ZN6nvhttp5startEv (sunshine-2024.911.215>
                                                #9  0x00007ffb1ace7564 execute_native_thread_routine (libstdc++.>
                                                #10 0x00007ffb1a9ac6d7 start_thread (libc.so.6 + 0x976d7)
                                                #11 0x00007ffb1aa3060c __clone3 (libc.so.6 + 0x11b60c)

                                                Stack trace of thread 6463:
                                                #0  0x00007ffb1c4e1e0a do_lookup_x (ld-linux-x86-64.so.2 + 0x9e0>
                                                #1  0x00007ffb1c4e2a8e _dl_lookup_symbol_x (ld-linux-x86-64.so.2>
                                                #2  0x00007ffb1c4e6f87 resolve_map (ld-linux-x86-64.so.2 + 0xef8>
                                                #3  0x00007ffb1c4e5006 _dl_open_relocate_one_object (ld-linux-x8>
                                                #4  0x00007ffb1c4d9523 __GI__dl_catch_exception (ld-linux-x86-64>
                                                #5  0x00007ffb1c4e44a0 dl_open_worker (ld-linux-x86-64.so.2 + 0x>
                                                #6  0x00007ffb1c4d9523 __GI__dl_catch_exception (ld-linux-x86-64>
                                                #7  0x00007ffb1c4e4904 _dl_open (ld-linux-x86-64.so.2 + 0xc904)
                                                #8  0x00007ffb1a9a82b4 dlopen_doit (libc.so.6 + 0x932b4)
                                                #9  0x00007ffb1c4d9523 __GI__dl_catch_exception (ld-linux-x86-64>
                                                #10 0x00007ffb1c4d9679 _dl_catch_error (ld-linux-x86-64.so.2 + 0>
                                                #11 0x00007ffb1a9a7da3 _dlerror_run (libc.so.6 + 0x92da3)
                                                #12 0x00007ffb1a9a836f dlopen@GLIBC_2.2.5 (libc.so.6 + 0x9336f)
                                                #13 0x000055b1dbefad66 _ZN3dyn6handleERKSt6vectorIPKcSaIS2_EE (s>
                                                #14 0x000055b1dbefb630 _ZN5platf7publish5startEv (sunshine-2024.>
                                                #15 0x000055b1dbe0e596 _ZNSt17_Function_handlerIFSt10unique_ptrI>
                                                #16 0x000055b1dbe08c86 _ZNSt13__future_base13_State_baseV29_M_do>
                                                #17 0x00007ffb1a9b1a4b __pthread_once_slow.isra.0 (libc.so.6 + 0>
                                                #18 0x00007ffb1a9b1ab9 pthread_once@GLIBC_2.2.5 (libc.so.6 + 0x9>
                                                #19 0x000055b1dbf364ef _ZNSt13__future_base13_State_baseV213_M_s>
                                                #20 0x000055b1dbe0e18e _ZNSt13__future_base17_Async_state_implIN>
                                                #21 0x00007ffb1ace7564 execute_native_thread_routine (libstdc++.>
                                                #22 0x00007ffb1a9ac6d7 start_thread (libc.so.6 + 0x976d7)
                                                #23 0x00007ffb1aa3060c __clone3 (libc.so.6 + 0x11b60c)

                                                Stack trace of thread 6466:
                                                #0  0x00007ffb1aa947d7 __strcmp_evex (libc.so.6 + 0x17f7d7)
                                                #1  0x00007ffb1b17340d OSSL_PARAM_locate (libcrypto.so.3 + 0x173>
                                                #2  0x00007ffb1b25bde5 ossl_cipher_generic_get_params (libcrypto>
                                                #3  0x00007ffb1b144167 evp_cipher_cache_constants (libcrypto.so.>
                                                #4  0x00007ffb1b1443c9 evp_cipher_from_algorithm (libcrypto.so.3>
                                                #5  0x00007ffb1b139d34 construct_evp_method.lto_priv.0 (libcrypt>
                                                #6  0x00007ffb1b167e29 ossl_method_construct_this.lto_priv.0 (li>
                                                #7  0x00007ffb1b167cd5 algorithm_do_this.lto_priv.0 (libcrypto.s>
                                                #8  0x00007ffb1b1860af ossl_provider_doall_activated (libcrypto.>
                                                #9  0x00007ffb1b264aaa ossl_method_construct.constprop.0 (libcry>
                                                #10 0x00007ffb1b25adee inner_evp_generic_fetch.constprop.0 (libc>
                                                #11 0x00007ffb1b13a793 EVP_CIPHER_fetch (libcrypto.so.3 + 0x13a7>
                                                #12 0x00007ffb1b6e495b ssl_evp_cipher_fetch (libssl.so.3 + 0x359>
                                                #13 0x00007ffb1b6e0282 SSL_CTX_new_ex (libssl.so.3 + 0x31282)
                                                #14 0x000055b1dbf1cc02 _ZN9SimpleWeb6ServerIN5boost4asio3ssl6str>
                                                #15 0x000055b1dbe8ffc9 _ZN10confighttp5startEv (sunshine-2024.91>
                                                #16 0x00007ffb1ace7564 execute_native_thread_routine (libstdc++.>
                                                #17 0x00007ffb1a9ac6d7 start_thread (libc.so.6 + 0x976d7)
                                                #18 0x00007ffb1aa3060c __clone3 (libc.so.6 + 0x11b60c)

                                                Stack trace of thread 6153:
                                                #0  0x00007ffb1aa2e3dd syscall (libc.so.6 + 0x1193dd)
                                                #1  0x00007ffb1b8222e2 _ZN5boost3log11v2_mt_posix3aux18atomic_ba>
                                                #2  0x000055b1dbe0c268 _ZN5boost6detail11thread_dataINS_3log11v2>
                                                #3  0x00007ffb1b564ccd thread_proxy (libboost_thread.so.1.83.0 +>
                                                #4  0x00007ffb1a9ac6d7 start_thread (libc.so.6 + 0x976d7)
                                                #5  0x00007ffb1aa3060c __clone3 (libc.so.6 + 0x11b60c)

                                                Stack trace of thread 6151:
                                                #0  0x00007ffb1aa30a32 epoll_wait (libc.so.6 + 0x11ba32)
                                                #1  0x000055b1dbdf2120 _ZN5boost4asio6detail13epoll_reactor3runE>
                                                #2  0x000055b1dbe9964a _ZN11rtsp_stream9rtpThreadEv (sunshine-20>
                                                #3  0x000055b1dbde7e0e main (sunshine-2024.911.215654.copr + 0x7>
                                                #4  0x00007ffb1a93f088 __libc_start_call_main (libc.so.6 + 0x2a0>
                                                #5  0x00007ffb1a93f14b __libc_start_main@@GLIBC_2.34 (libc.so.6 >
                                                #6  0x000055b1dbdefc55 _start (sunshine-2024.911.215654.copr + 0>

                                                Stack trace of thread 6156:
                                                #0  0x00007ffb1a9f8c13 clock_nanosleep@GLIBC_2.2.5 (libc.so.6 + >
                                                #1  0x00007ffb1aa04c47 __nanosleep (libc.so.6 + 0xefc47)
                                                #2  0x000055b1dbf06981 _ZN5platf15broadcastRumbleERN4safe7queue_>
                                                #3  0x00007ffb1ace7564 execute_native_thread_routine (libstdc++.>
                                                #4  0x00007ffb1a9ac6d7 start_thread (libc.so.6 + 0x976d7)
                                                #5  0x00007ffb1aa3060c __clone3 (libc.so.6 + 0x11b60c)

                                                Stack trace of thread 6154:
                                                #0  0x00007ffb1a9a8da9 __futex_abstimed_wait_common (libc.so.6 +>
                                                #1  0x00007ffb1a9ab7f9 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6>
                                                #2  0x00007ffb1acdd700 _ZNSt18condition_variable4waitERSt11uniqu>
                                                #3  0x000055b1dbe09128 _ZN16thread_pool_util10ThreadPool5_mainEv>
                                                #4  0x00007ffb1ace7564 execute_native_thread_routine (libstdc++.>
                                                #5  0x00007ffb1a9ac6d7 start_thread (libc.so.6 + 0x976d7)
                                                #6  0x00007ffb1aa3060c __clone3 (libc.so.6 + 0x11b60c)
                                                ELF object binary architecture: AMD x86-64
Sep 24 23:05:09 bazzite systemd[5560]: sunshine.service: Main process exited, code=dumped, status=6/ABRT
Sep 24 23:05:09 bazzite systemd[5560]: sunshine.service: Failed with result 'core-dump'.
@dosubot dosubot bot added the sunshine Self-hosted game stream host for Moonlight label Sep 28, 2024
@rcarmo
Copy link
Author

rcarmo commented Sep 28, 2024

I have been doing some experimentation and running sudo sunshine "works" in the sense that the service starts up, but with a different configuration.

I suspect that the sunshine-workaround service that is also activated by the ujust file is broken and fails to provide the right capabilities for the user service to start:

me@bazzite:~$ systemctl status sunshine-workaround.service
× sunshine-workaround.service - Workaround sunshine not having the correct caps
     Loaded: loaded (/usr/lib/systemd/system/sunshine-workaround.service; enabled; preset: disabled)
    Drop-In: /usr/lib/systemd/system/service.d
             └─10-timeout-abort.conf
             /etc/systemd/system/sunshine-workaround.service.d
             └─override.conf
     Active: failed (Result: exit-code) since Fri 2024-09-27 23:35:28 IST; 10h ago
   Main PID: 4701 (code=exited, status=1/FAILURE)
        CPU: 27ms

Sep 27 23:35:28 bazzite systemd[1]: Starting sunshine-workaround.service - Workaround sunshine not having the co>
Sep 27 23:35:28 bazzite setcap[4701]: Invalid file '/usr/bin/sunshine' for capability operation
Sep 27 23:35:28 bazzite systemd[1]: sunshine-workaround.service: Main process exited, code=exited, status=1/FAIL>
Sep 27 23:35:28 bazzite systemd[1]: sunshine-workaround.service: Failed with result 'exit-code'.
Sep 27 23:35:28 bazzite systemd[1]: Failed to start sunshine-workaround.service - Workaround sunshine not having>

/usr/bin/sunshine is a link to sunshine-2024.911.215654.copr I think this may need a deeper fix when installing the COPR package (and hence a change to the ujust recipe or to the unit files being used).

@rcarmo
Copy link
Author

rcarmo commented Sep 28, 2024

Further experimentation with rpm-ostree:

# get a temporary overlay
sudo rpm-ostree usroverlay
# try to get the workaround unit to work
cd /usr/bin/
sudo mv sunshine-2024.911.215654.copr sunshine
systemctl start sunshine-workaround.service
systemctl status sunshine-workaround.service
● sunshine-workaround.service - Workaround sunshine not having the correct caps
     Loaded: loaded (/usr/lib/systemd/system/sunshine-workaround.service; enabled; preset: disabled)
    Drop-In: /usr/lib/systemd/system/service.d
             └─10-timeout-abort.conf
             /etc/systemd/system/sunshine-workaround.service.d
             └─override.conf
     Active: active (exited) since Sat 2024-09-28 10:18:17 IST; 2min 50s ago
    Process: 35569 ExecStartPre=/usr/bin/bash -c [ -x /usr/local/bin/.sunshine ] || /usr/bin/cp /usr/bin/sunshin>
    Process: 35571 ExecStartPre=/usr/bin/bash -c /usr/bin/mount --bind /usr/local/bin/.sunshine /usr/bin/sunshin>
    Process: 35572 ExecStartPre=/usr/bin/bash -c [ -x /usr/local/bin/.sunshine ] || /usr/bin/cp /usr/bin/sunshin>
    Process: 35575 ExecStartPre=/usr/bin/bash -c /usr/bin/mount --bind /usr/local/bin/.sunshine /usr/bin/sunshin>
    Process: 35576 ExecStart=/usr/bin/bash -c /usr/sbin/setcap 'cap_sys_admin+p' $(/usr/bin/readlink -f $(/usr/b>
    Process: 35581 ExecStart=/usr/sbin/setcap cap_sys_admin+p /usr/bin/sunshine (code=exited, status=0/SUCCESS)
   Main PID: 35581 (code=exited, status=0/SUCCESS)
        CPU: 26ms

# Now try to restart the user service
systemctl --user restart sunshine.service
systemctl --user status sunshine.service
× sunshine.service - Self-hosted game stream host for Moonlight
     Loaded: loaded (/usr/lib/systemd/user/sunshine.service; enabled; preset: disabled)
    Drop-In: /usr/lib/systemd/user/service.d
             └─10-timeout-abort.conf
     Active: failed (Result: core-dump) since Sat 2024-09-28 10:19:55 IST; 2min 24s ago
   Duration: 1.179s
    Process: 36459 ExecStartPre=/bin/sleep 5 (code=exited, status=0/SUCCESS)
    Process: 36464 ExecStart=/usr/bin/sunshine (code=dumped, signal=ABRT)
   Main PID: 36464 (code=dumped, signal=ABRT)
        CPU: 405ms

Sep 28 10:19:50 bazzite systemd[5590]: sunshine.service: Failed with result 'core-dump'.

So the COPR binary still fails even with the capabilities correct. Still, we have two issues here:

  • The ujust recipe is broken, and the assumption that sunshine-workaround works is wrong (at least for my current build), since it's trying to do setcaps on a symlink, and that just plain doesn't work
  • The COPR binary seems to be broken when running as a user even with the capabilities set.

So maybe sunshine should move to be a system service (or, again, installed via flatpak with the right permissions, in case that works)

@rcarmo
Copy link
Author

rcarmo commented Sep 28, 2024

Tagging @matte-schwartz for visibility.

@goncalossilva
Copy link

Also, for the sunshine COPR to be updated more frequently (and tested)

On this particular point, sunshine releases provide rpm files for both current and last Fedora versions. I haven't tried, but perhaps that can be used to fully automate Copr releases. I've done this with act and kotlin with to great success, both “built” automatically via GitHub Actions, here and here respectively.

@matte-schwartz
Copy link
Contributor

I am working with the Sunshine maintainers for them to have their own official COPR builds and will recommend switching to those when available. quite frankly, i do not have the time or the willingness to maintain this package to that degree.

@erutan
Copy link

erutan commented Dec 16, 2024

There's a COPR beta that works on Fedora Workstation: https://copr.fedorainfracloud.org/coprs/lizardbyte/beta/. It'll switch over to stable with the next major release.

There is a homebrew tap for it as well: https://github.com/LizardByte/homebrew-homebrew though that is meant for macOS and doesn't build on fedora workstation.

Has there been any update on getting sunshine to work on bazzite?

@goncalossilva
Copy link

goncalossilva commented Dec 19, 2024

Great to see a copr by LizardByte! We should definitely switch to this. 🙌

Has there been any update on getting sunshine to work on bazzite?

FWIW sunshine works great on bazzite for me, except for minor struggles with version mismatches which may very well be my own error/misunderstanding, though they're pretty bizarre.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sunshine Self-hosted game stream host for Moonlight
Projects
None yet
Development

No branches or pull requests

4 participants