Package Details: sunshine 0.23.1-5

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: 53
Popularity: 2.08
First Submitted: 2021-04-26 11:33 (UTC)
Last Updated: 2024-09-04 04:09 (UTC)

Pinned Comments

xiota commented on 2024-07-17 01:54 (UTC) (edited on 2024-07-17 01:56 (UTC) by xiota)

Switched to default to cuda disabled (no nvenc) because cuda 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 2024-07-27 10:27 (UTC) by xiota)

Comments here are for matters related to this AUR package only. Discussion of upstream issues should take place upstream. The upstream link is in package details.

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. Properly confirmed bugs do not need to mention AUR.

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!

Latest Comments

« First ‹ Previous 1 .. 10 11 12 13 14 15 16 Next › Last »

KuleRucket commented on 2022-02-22 14:44 (UTC)

@kekonn That easy! The awesomeness of Arch never ceases to surprise me.

hadogenes commented on 2022-02-22 13:45 (UTC)

ffmpeg corrected

kekonn commented on 2022-02-22 13:23 (UTC)

@maintainer: a quick fix to fix the build issues is to depend on ffmpeg4.4 instead of just ffmpeg

KuleRucket commented on 2022-02-22 13:18 (UTC) (edited on 2022-03-03 07:54 (UTC) by KuleRucket)

Since Arch replaced FFMPEG 4 with 5, sunshine will no longer work after building and will crash. See my bug report here: https://github.com/SunshineStream/Sunshine/issues/63

A solution is to supply cmake arguments to make it use the old version:

-DLIBAVCODEC_INCLUDE_DIR=/usr/include/ffmpeg4.4
-DLIBAVCODEC_LIBRARIES=/usr/lib/ffmpeg4.4/libavcodec.so
-DLIBAVDEVICE_INCLUDE_DIR=/usr/include/ffmpeg4.4
-DLIBAVDEVICE_LIBRARIES=/usr/lib/ffmpeg4.4/libavdevice.so
-DLIBAVFORMAT_INCLUDE_DIR=/usr/include/ffmpeg4.4
-DLIBAVFORMAT_LIBRARIES=/usr/lib/ffmpeg4.4/libavformat.so
-DLIBAVUTIL_INCLUDE_DIR=/usr/include/ffmpeg4.4
-DLIBAVUTIL_LIBRARIES=/usr/lib/ffmpeg4.4/libavutil.so
-DLIBSWSCALE_INCLUDE_DIR=/usr/include/ffmpeg4.4
-DLIBSWSCALE_LIBRARIES=/usr/lib/ffmpeg4.4/libswscale.so

Drenn commented on 2022-01-30 15:58 (UTC) (edited on 2022-01-30 16:00 (UTC) by Drenn)

Sunshine seems to still be looking in the "/usr/share/sunshine" directory for the "apps_linux.json" file, meaning the version in the user's .config directory gets ignored, and it's not possible to modify the apps in the web interface (due to not having permission to edit the version of the file in /usr/share/sunshine).

A simple workaround is to add this line to "sunshine.conf". Perhaps this can be automated.

file_apps = apps_linux.json

KuleRucket commented on 2022-01-25 18:39 (UTC) (edited on 2022-01-25 18:54 (UTC) by KuleRucket)

@kekonn thanks that's made an enormous difference for me. My CPU load dropped from 100% to 13%. Now I am not CPU limited and have a stable 1440p/120Hz stream which I could not get before. I'm also using nvidia-utils-nvlax for full NvFBC benefit.

kekonn commented on 2021-12-28 21:19 (UTC)

@guttles: if you don't use an AUR helper but manually build from the aur, you can simply add 'cuda' 'libdrm' 'libcap' to the depends array and then run makepkg -si and you're off to the races.

guttles commented on 2021-12-17 02:39 (UTC)

Is there any way to get the cuda version of sunshine working on arch? Apparently it has much lower input latency, but it needs the docker files for Ubuntu to install.

hadogenes commented on 2021-12-15 09:18 (UTC)

I've changed systemd script to use user config dir - @sethicis, @gstacks try now

hadogenes commented on 2021-10-13 09:27 (UTC)

@KuleRucket when you are building -git version it clones latest master and update version while building