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 stopped working with latest update #1260

Open
rcarmo opened this issue Jun 23, 2024 · 14 comments
Open

sunshine stopped working with latest update #1260

rcarmo opened this issue Jun 23, 2024 · 14 comments
Labels
sunshine Self-hosted game stream host for Moonlight

Comments

@rcarmo
Copy link

rcarmo commented Jun 23, 2024

Describe the bug

After the latest update, sunshine stopped working. Invoking it manually yields:

me@bazzite:~$ which sunshine
/usr/bin/sunshine
me@bazzite:~$ sunshine
sunshine: error while loading shared libraries: libboost_locale.so.1.81.0: cannot open shared object file: No such file or directory

What did you expect to happen?

I expected sunshine to keep working

Output of rpm-ostree status

rpm-ostree status
State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome:stable
                   Digest: sha256:02811976942b826cc69da8277dc6c381000cb115e12764fca2f186d416058519
                  Version: 40.20240621.0 (2024-06-21T05:11:51Z)
          LayeredPackages: fio python3.11 python3.11-devel sunshine
                Initramfs: '"-I /etc/crypttab /etc/modprobe.d/amdgpu.conf /etc/modprobe.d/deck-blacklist.conf"' 

  ostree-unverified-registry:ghcr.io/ublue-os/bazzite-gnome:stable
                   Digest: sha256:02811976942b826cc69da8277dc6c381000cb115e12764fca2f186d416058519
                  Version: 40.20240621.0 (2024-06-21T05:11:51Z)
          LayeredPackages: fio python3.11 python3.11-devel sunshine
                Initramfs: '"-I /etc/crypttab /etc/modprobe.d/amdgpu.conf /etc/modprobe.d/deck-blacklist.conf"' 

Hardware

AMD Ryzen with iGPU

Extra information or context

No response

@KyleGospo
Copy link
Member

@matte-schwartz could be a missing req in the spec?

@matte-schwartz
Copy link
Contributor

Works fine here on F40, just installed and started on my OLED Deck without issue.

I need to push a new version soon since they statically link boost now but there hasn't been an official release for it yet. Maybe try again after I push that update.

@rcarmo
Copy link
Author

rcarmo commented Jun 23, 2024

What is the image you are using?

@matte-schwartz
Copy link
Contributor

I don't use bazzite, but it does not make sense to me why it would suddenly stop working for bazzite if workstation Fedora 40 still works.

@rcarmo
Copy link
Author

rcarmo commented Jun 23, 2024

Well, it doesn’t work on the Bazzite Gnome or KDE images (for deck or desktop). I’ve rebased to all four combinations and get the same error message. It working on Fedora 40 Workstation does not mean anything whatsoever…

@rcarmo
Copy link
Author

rcarmo commented Jun 24, 2024

OK, so I rebased to 20240531:

bazzite-rollback-helper rebase bazzite-deck-gnome:40-stable-20240531

...and it works, so this is definitely a release/image issue. Now to try to bisect this and see what revision broke it.

@rcarmo
Copy link
Author

rcarmo commented Jun 24, 2024

OK, so I've figured it out. It is both a release and a sunshine COPR issue.

This release:

bazzite-rollback-helper rebase bazzite-deck-gnome:40-stable-20240616

...upgraded the boost libraries from 1.83.0-3.fc40 -> 1.83.0-5.fc40.

bazzite-rollback-helper rebase bazzite-deck-gnome:40-stable-20240614

...also changed something, but I can't pin it down.

Either of those breaks the COPR binary from @matte-schwartz. If that binary works on a fresh Fedora 40 install, that's likely because that install hasn't been updated yet.

bazzite-rollback-helper rebase bazzite-deck-gnome:40-stable-20240611

...works for me right now.

@HikariKnight
Copy link
Member

HikariKnight commented Jun 24, 2024

OK, so I've figured it out. It is both a release and a sunshine COPR issue.

This release:

bazzite-rollback-helper rebase bazzite-deck-gnome:40-stable-20240616

...upgraded the boost libraries from 1.83.0-3.fc40 -> 1.83.0-5.fc40.

bazzite-rollback-helper rebase bazzite-deck-gnome:40-stable-20240614

...also changed something, but I can't pin it down.

Either of those breaks the COPR binary from @matte-schwartz. If that binary works on a fresh Fedora 40 install, that's likely because that install hasn't been updated yet.

bazzite-rollback-helper rebase bazzite-deck-gnome:40-stable-20240611

...works for me right now.

I tested sunshine today on my Legion GO and it works fine. can you check too?

@castrojo castrojo added the sunshine Self-hosted game stream host for Moonlight label Jun 29, 2024
@rcarmo
Copy link
Author

rcarmo commented Sep 27, 2024

Came back here to report that the sunshine service now core dumps upon startup on a fully updated system.

@HikariKnight
Copy link
Member

uninstall sunshine and install it again using the ujust.
works fine for me

@rcarmo
Copy link
Author

rcarmo commented Oct 8, 2024

Nope. First thing I tried. Also, I am now having exactly the same issue on a second install with an NVIDIA GPU (installed 3 days ago)

Copy link

dosubot bot commented Jan 7, 2025

Hi, @rcarmo. I'm Dosu, and I'm helping the bazzite team manage their backlog. I'm marking this issue as stale.

Issue Summary:

  • You reported that the "sunshine" application fails to run due to a missing shared library after a recent update.
  • Matte-schwartz suggested the issue might be due to a missing requirement in the specification, with a new version to be pushed soon.
  • You identified the problem as both a release and a COPR issue, with specific updates to the boost libraries breaking the COPR binary.
  • Despite attempts to resolve it, the application now core dumps on startup, even after reinstallation, and the issue persists on a second system with an NVIDIA GPU.

Next Steps:

  • Could you please confirm if this issue is still relevant to the latest version of the bazzite repository? If so, you can keep the discussion open by commenting on this issue.
  • Otherwise, this issue will be automatically closed in 14 days.

Thank you for your understanding and contribution!

@dosubot dosubot bot added the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Jan 7, 2025
@rcarmo
Copy link
Author

rcarmo commented Jan 7, 2025

Yep. Still happening. Thanks for the summary, our future, hopefully benevolent, AI overlords.

@dosubot dosubot bot removed the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label Jan 7, 2025
@HikariKnight
Copy link
Member

HikariKnight commented Jan 12, 2025

Still 0 people able to replicate this since june last year when you reported it, you are the only person with this issue.
wipe your sunshine config and start fresh.

sunshine has also since then become part of the image itself, if it crashes for you due to library issues it would crash for everyone and not just you.

video of it working on a vm with bazzite-deck-nvidia as this is the only way i can test the nvidia images so this sees regular use and you can clearly see it working

Video_2025-01-12_12-58-41.mp4

show the current rpm-ostree status and sunshine logs

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

5 participants