ujust install-sunshine seems to fail
A huge thank you for the update today, wanted to report a potential issue with the just configs however.
Tried the above command twice followed by a reboot each time. The second attempt I saw it ran the two repo commands, then it searched available repos (which it said were cached), said package not found and then printed that sunshine is already installed. There is no shortcut in the application launcher and i can't find it in /usr/bin
Thanks
26 Replies
I'm seeing a similar issue on the Nvidia image. Here's the output of running the recipe:
As noted above, no Sunshine shortcut or command available to run.
likely identical but here is my log from a third attempt where I manually ran each command that the ujust command would run.
https://discord.com/channels/1072614816579063828/1087140957096517672/1198023417723621467
Fedora 39 has an rpm build in nightly on their github but that's it rn. https://github.com/LizardByte/Sunshine/releases/tag/nightly-dev
GitHub
Release nightly · LizardByte/Sunshine
automated nightly release - 2024-01-19T02:54:22Z - 6cdb7f7
Building with just pointed here
@BearFOX @Serious Table now live
Thank you for such a quick turnaround. I'll give it a test shortly!
I can confirm it installs!
Runs, and no errors about codec any longer. I'll do further testing later this evening, but thank you again!
np!
should also no longer require running it as root
since it has the correct caps to run as admin
can confirm with
getcap /usr/bin/sunshine
And not only is it working beautifully, it even worked with MoonDeck!
So for me (on deck), in desktop mode the .desktop in application launchers fails to run, when i copy the .desktop's argument into terminal, it says no such service, which i confirmed with systemctl status & --user variant. Typing
sunshine
into terminal does launch it, and i can stream to moonlight while in desktop mode. It is using KMS, it does display on my TV but the display is rotated sideways.
Similarly the just command to autostart sunshine also fails due to no such service. I can manually set one up, I'm just thinking of OOTB user experiencedid you restart after installing?
I think so. Because i first tried to access the config page through ms edge in game mode
I'll reboot again and retest
Yeah i definitely did restart (just checked my past terminal entries via the up key)
But i have since rebooted once more and behaviour remains the same
deck@steamdeck:~$ systemctl start --u sunshine
Failed to start sunshine.service: Unit sunshine.service not found.
it's an installed package, so it wouldn't be in home
rpm-ostree status | fpaste
sunshine-0.21.0-1.x86_64 definitely layered
idk if this is helpful (list-unit-files):
https://paste.centos.org/view/77e7789b
are you using the original sunshine desktop file, or some custom one from a previous solution?
cause I don't see anyhing about a service upstream, they just call /usr/bin/sunshine
it's a new .desktop in /usr/share/applications/ date created 23:48 on 19 Jan
and what are it's contents?
should be in /usr/lib/systemd/user
in the past (before xmas) i have tried the appimage, flatpak and rpm builds but removed all as far as i could find
contents of that directory: https://paste.centos.org/view/dd8b45d8
it's very late where i am, so tomorrow i will try ujust remove-sunshine, reboot, and then install again. thanks for the help
Something to keep in mind with layering the rpm is that the maintainer seems to be unwilling (at least for fedora 39) to update the rpm to support a new fedora's version until the previous one drops off the supported list. I expect this will become an issue again at the start of Fedora 40.
https://github.com/LizardByte/Sunshine/pull/1808
GitHub
ci: Add support for Fedora 39 by EyeCantCU · Pull Request #1808 · L...
Description
This change implements support for Fedora 39
Type of Change
Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking ch...
Okay so this morning I had another look at this (https://docs.lizardbyte.dev/projects/sunshine/en/latest/about/usage.html#linux) and found that the autostart service should have been autoconfigured on install for each build. So I decided to manually create and enable the service myself at
/home/deck/.config/systemd/user/
with the contents:
Upon enabling, sunshine now runs on boot in the background of gamemode on deck. The whole reason I thought it may be set up automatically already is because of their documentation and also the existence of this just command in 80-bazzite.just
:
That command didn't work for me originally because there was no service.
anyway, i'm pleased to have it working, though it did take some manual configuration for whatever reason this side. thanks for fixing the setcap problem! it runs very well in gamemode using vaapi_hevc encoding.this .desktop now works since creating the service. I don't believe it's left from an old configuration, I haven't attempted other installs of sunshine for about 2 months.
Hi, I'm trying to install Sunshine on my PC, but the ujust command says
error: Justfile does not contain recipe `install-sunshine`.
And I can´t find the option in the Bazzite portal, while I do on my steam deck.
Is there a solution?Can you rpm-ostree status for me?