Package Details: sunshine-beta-bin 2026.314.174349-1

Git Clone URL: https://aur.archlinux.org/sunshine-beta-bin.git (read-only, click to copy)
Package Base: sunshine-beta-bin
Description: A self-hosted game stream host for Moonlight
Upstream URL: https://app.lizardbyte.dev
Keywords: gaming moonlight streaming
Licenses: GPL3
Conflicts: sunshine, sunshine-bin, sunshine-git
Provides: sunshine-bin
Replaces: sunshine-bin
Submitter: Archttila
Maintainer: Archttila
Last Packager: Archttila
Votes: 4
Popularity: 1.22
First Submitted: 2024-10-19 11:04 (UTC)
Last Updated: 2026-03-15 09:24 (UTC)

Pinned Comments

Latest Comments

1 2 Next › Last »

saghm commented on 2026-02-04 02:49 (UTC) (edited on 2026-02-04 02:50 (UTC) by saghm)

Ironically, the latest release now makes the capability unnecessary: https://github.com/LizardByte/Sunshine/pull/4417

This PR adds a new "grab" implementation to use XDG desktop portals and Pipewire. There is a breaking change that comes along with this implementation, which is that KMS capture must now be started from a separte sunshine service named sunshine-kms. The main sunshine service now does not use extra capabilities defined by setcap.

edit: Never mind, the other service still uses the capability. It sounds like whether the capability is needed will depend on the capture method people are using.

Archttila commented on 2026-01-27 10:37 (UTC)

@jackweeks3 @vodka

done!

Archttila commented on 2026-01-26 18:01 (UTC) (edited on 2026-01-26 18:04 (UTC) by Archttila)

@jackweeks3 @vodka

This cannot be done directly in PKGBUILD because file capabilities cannot be set under fakeroot, and sudo is not allowed. The correct Arch-compatible solution is to ship a pacman hook that re-applies setcap cap_sys_admin+p /usr/bin/sunshine on install/upgrade. I will implement this via /usr/share/libalpm/hooks so the capability is automatically restored after each update.

jackweeks3 commented on 2026-01-26 13:54 (UTC)

Please look into doing what @vodka suggests. It's annoying to have to manually do this every update.

Just in case, it's setting "sudo setcap cap_sys_admin+p $(readlink -f $(which sunshine))" on each update.

Thank you.

saghm commented on 2025-12-07 22:39 (UTC) (edited on 2025-12-07 23:34 (UTC) by saghm)

EDIT: I was mistaken about the .gz being the correct tarball; it seems that there is still a .pkg.tar.zst, but it's now named with the full version included in the name of the file, so the PKGBUILD will still small updates to handle this:

The latest prerelease seems to be including Arch binaries (after the last few had disabled them), but as a .pkg.tar.gz, so the PKGBUILD would need a slight change to account for that in addition to the version bump.

https://github.com/LizardByte/Sunshine/releases/tag/v2025.1207.140157

vodka commented on 2025-07-19 11:09 (UTC)

Any way this could include a way to automatically fix KMS capture? On wayland it's necessary to do the command "sudo setcap cap_sys_admin+p $(readlink -f $(which sunshine))" to make sunshine work, and I keep forgetting to do this after sunshine updates and end up locked out of remoting into my system.

Obviously using "which sunshine" wouldn't be necessary since we know the location of the sunshine binary.

Archttila commented on 2025-06-20 18:47 (UTC)

@antoyo It looks like the latest Sunshine Beta GitHub release (v2025.617.220707) was published without the actual .pkg.tar.zst binary. At the moment, the expected file (sunshine.pkg.tar.zst) is missing from the release assets.

antoyo commented on 2025-06-20 17:26 (UTC)

The package needs to be updated to take into account the update to libminiupnpc.so. Thanks.