@detian it's because the build variables aren't set before building. Fixing upstream in https://github.com/LizardByte/Sunshine/pull/1628
The change will need to be incorporated into this repo's PKGBUILD as well.
Git Clone URL: | https://aur.archlinux.org/sunshine.git (read-only, click to copy) |
---|---|
Package Base: | sunshine |
Description: | A self-hosted GameStream host for Moonlight |
Upstream URL: | https://github.com/LizardByte/Sunshine |
Keywords: | gaming moonlight streaming |
Licenses: | GPL-3.0-only |
Submitter: | hadogenes |
Maintainer: | dr460nf1r3 (xiota) |
Last Packager: | xiota |
Votes: | 59 |
Popularity: | 2.21 |
First Submitted: | 2021-04-26 11:33 (UTC) |
Last Updated: | 2025-06-15 19:55 (UTC) |
« First ‹ Previous 1 .. 9 10 11 12 13 14 15 16 17 18 19 20 Next › Last »
@detian it's because the build variables aren't set before building. Fixing upstream in https://github.com/LizardByte/Sunshine/pull/1628
The change will need to be incorporated into this repo's PKGBUILD as well.
why the version is always sunshine-%version%.dirty
, how do I remove the ".dirty", just like GitHub release?
I've been loving sunshine - so much that I decided to enable the systemd
unit for it.
However, when doing so, I encountered the following error:
Fatal: Couldn't find any working encoder
This was confusing to me, as it was running under all the same permissions as my shell, and launching from shell worked perfectly.
I found that unsetting the environment variable DISPLAY
(info here) caused sunshine to fail. So I added the following line to my unit file:
[Service]
Environment="DISPLAY=:0" << new line - matches output from `env | grep DISPLAY`
Adding this line, the lookup of encoders then worked properly. Looks like it relies on this for an Xorg session lookup of some kind.
Created issue: https://github.com/LizardByte/Sunshine/issues/1240
Since no one cares to reply on Discord or Github, I'll ask here as well:
After running sunshine
, I get this message:
Error: Couldn't connect to pulseaudio: Acess Denied
Warning: There will be no audio
Sunshine works, however I really don't have any sound then on the client. I have PipeWire installed. I am on KDE Wayland
Since no one cares to reply on Discord or Github, I'll ask here as well:
After running sunshine
, I get this message:
Error: Couldn't connect to pulseaudio: Acess Denied
Warning: There will be no audio
Sunshine works, however I really don't have any sound then on the client. I have PipeWire installed.
I have started maintaining now. I have updated 0.18.4, re-instated the install file and added the automatic setcap, and prevented the large download of macos/windows ffmpeg modules.
In order to simplify maintenance of Sunshine, we have decided to drop support of this AUR package, since we are now publishing a pre-compiled pkg.tar.zst package as well as the PKGBUILD file to our GitHub releases. If someone would like to take over the AUR it would be ideal if there is communication with us in our Discord. Please reach out if you're interested. Thanks!
We're in process of updating the method for pushing images here. v0.18.3 is equal to v0.18.2. Please do not flag out of date. Thanks.
@greyltc We maintain these files in our source github repo. Please reach out on our discord server to discuss. Also, we're aware of this not receiving the last update. The v0.18.3 release was a test which failed. We're working to fix it.
Hey, I think there are a few issues with this package that I'd be happy to fix if you'd like to add me as a co-maintainer.
Pinned Comments
xiota commented on 2025-02-19 18:03 (UTC) (edited on 2025-05-02 04:06 (UTC) by xiota)
Rebuilding AUR packages for library updates and mismatches is inevitable. This package uses sodeps to reduce breaks caused by library updates. When ready to rebuild, use a clean chroot or force upgrades with
pacman -Syudd
.xiota commented on 2024-07-17 01:54 (UTC) (edited on 2025-02-19 18:06 (UTC) by xiota)
Switched default to
cuda
disabled (no nvenc) becausecuda
is a heavy package and Nvidia users are minority on Linux.Nvidia users, install
cuda
manually before building or run as_build_cuda=t makepkg
(method to pass variables to AUR helpers may vary).xiota commented on 2024-07-09 23:41 (UTC) (edited on 2025-02-19 18:07 (UTC) by xiota)
For those concerned about "losing" upstream support for AUR, such support had already officially been discontinued long ago. The relevant comment from 2023-02-21 is pinned.
Before reporting issues to upstream, confirm them with git checkout or upstream binaries.
Package-specific issues should be reported here.
<deleted-account> commented on 2023-02-21 02:33 (UTC)
In order to simplify maintenance of Sunshine, we have decided to drop support of this AUR package, since we are now publishing a pre-compiled pkg.tar.zst package as well as the PKGBUILD file to our GitHub releases. If someone would like to take over the AUR it would be ideal if there is communication with us in our Discord. Please reach out if you're interested. Thanks!