Package Details: sunshine 2025.924.154138-1

Git Clone URL: https://aur.archlinux.org/sunshine.git (read-only, click to copy)
Package Base: sunshine
Description: Self-hosted game stream host for Moonlight
Upstream URL: https://app.lizardbyte.dev/Sunshine
Licenses: GPL-3.0-only
Submitter: hadogenes
Maintainer: LizardByte
Last Packager: LizardByte
Votes: 64
Popularity: 2.61
First Submitted: 2021-04-26 11:33 (UTC)
Last Updated: 2025-09-24 19:29 (UTC)

Pinned Comments

LizardByte commented on 2025-09-09 01:59 (UTC)

This package is automatically synced from https://github.com/LizardByte/pacman-repo

GitHub provides the ability for anyone to contribute fixes/improvements instead of only one maintainer. Please submit fixes, issues, etc. on GitHub.

Temporary build fixes for stable version should be submitted to https://github.com/LizardByte/pacman-repo

Permanent fixes that should persist with future versions should also be submitted to https://github.com/LizardByte/Sunshine

Latest Comments

1 2 3 4 5 6 .. 22 Next › Last »

urbenlegend commented on 2025-09-21 06:48 (UTC) (edited on 2025-09-21 06:48 (UTC) by urbenlegend)

@Xarth

It does seem like this package puts udev rules already in /usr/lib/udev/rules.d/60-sunshine.rules, so you most likely don't have to add your own rules in /etc/udev/rules.d to get input working again.

I also ran into permissions issues today and all I had to do was add myself to the input group to get things working again.

Nocifer commented on 2025-09-20 19:21 (UTC) (edited on 2025-09-20 19:23 (UTC) by Nocifer)

So let me see if I get this correctly:

According to the previous logic, if the if [[ "${_use_cuda::1}" == "t" ]] block read as true (which would mean either that CUDA has been detected as installed on the system or that the user has manually set _use_cuda to true) then CUDA would be added both to the makedepends array and to the optdepends array, so the build would pull it in as a make dependency. This would work perfectly fine even on an AMD system, even if CUDA would obviously be a no go during runtime.

According to the new logic in the latest PKGBUILD, if the if [[ "${_use_cuda::1}" == "t" ]] block reads as true then CUDA is now only added to the optdepends array but not to the makedepends array. This means that if I set _use_cuda to true, the build will fail because CUDA is no longer getting pulled as a make dependency but SUNSHINE_ENABLE_CUDA and CUDA_FAIL_ON_MISSING are still set to ON - in other words, building with CUDA will only work if and only if I have CUDA preinstalled on my system.

Why was this change implemented in such a way that it breaks the previously working procedure?

I'm asking out of curiosity; I'm on an AMD system so this doesn't affect me in the slightest.

Xarth commented on 2025-09-20 07:41 (UTC) (edited on 2025-09-20 07:44 (UTC) by Xarth)

If you see:

Unable to create virtual touch screen: Permission denied
Unable to create virtual pen tablet: Permission denied

when starting Sunshine, it means your user lacks uinput permissions.

Fix:

  1. Load module:
   sudo modprobe uinput
  1. Add rule:
   echo 'KERNEL=="uinput", MODE="0660", GROUP="input"' | sudo tee /etc/udev/rules.d/99-uinput.rules
  1. Add user to input group:
   sudo usermod -aG input $USER

Log out and back in. The warnings will be gone on next start.

mdhen commented on 2025-09-19 21:12 (UTC) (edited on 2025-09-20 00:35 (UTC) by mdhen)

CUDA is now set as an optional dependency - issue on AMD systems fixed.

HatsuneCthulhu commented on 2025-09-19 02:58 (UTC) (edited on 2025-09-19 03:10 (UTC) by HatsuneCthulhu)

This is now broken on AMD systems since LizardByte took over as maintainer (as in rev 4 onwards), it's requiring cuda as a build dependency, which obviously AMD systems will not have.

LizardByte commented on 2025-09-13 14:53 (UTC)

@urbenlegend Thanks for the report. There is a workaround fix in process https://github.com/LizardByte/pacman-repo/pull/52 and https://github.com/LizardByte/Sunshine/pull/4254

urbenlegend commented on 2025-09-13 03:54 (UTC)

Automated tests are failing and causes package to fail to finish build:

----------] 3 tests from EncoderVariants/EncoderTest (0 ms total)

[----------] Global test environment tear-down
[==========] 222 tests from 26 test suites ran. (2164 ms total)
[  PASSED  ] 211 tests.
[  SKIPPED ] 11 tests, listed below:
[  SKIPPED ] Configurations/AudioTest.TestEncode/HIGH_STEREO
[  SKIPPED ] Configurations/AudioTest.TestEncode/SURROUND51
[  SKIPPED ] Configurations/AudioTest.TestEncode/SURROUND71
[  SKIPPED ] Configurations/AudioTest.TestEncode/SURROUND51_CUSTOM
[  SKIPPED ] MouseInputs/MouseHIDTest.MoveInputTest/0
[  SKIPPED ] MouseInputs/MouseHIDTest.MoveInputTest/1
[  SKIPPED ] MouseInputs/MouseHIDTest.AbsMoveInputTest/0
[  SKIPPED ] MouseInputs/MouseHIDTest.AbsMoveInputTest/1
[  SKIPPED ] EncoderVariants/EncoderTest.ValidateEncoder/nvenc
[  SKIPPED ] EncoderVariants/EncoderTest.ValidateEncoder/vaapi
[  SKIPPED ] EncoderVariants/EncoderTest.ValidateEncoder/software
[  FAILED  ] 0 tests, listed below:

 0 FAILED TESTS
[  FAILED  ] Configurations/AudioTest: SetUpTestSuite or TearDownTestSuite
[  FAILED  ] MouseInputs/MouseHIDTest: SetUpTestSuite or TearDownTestSuite
[  FAILED  ] EncoderVariants/EncoderTest: SetUpTestSuite or TearDownTestSuite

 3 FAILED TEST SUITES
==> ERROR: A failure occurred in check().
    Aborting...
error: failed to build 'sunshine-2025.628.4510-5': 
error: packages failed to build: sunshine-2025.628.4510-5

Misaka13514 commented on 2025-09-09 06:59 (UTC)

Please remove the prefix v in pkgver because v2025.628.4510-4 < 2025.628.4510-3

LizardByte commented on 2025-09-09 01:59 (UTC)

This package is automatically synced from https://github.com/LizardByte/pacman-repo

GitHub provides the ability for anyone to contribute fixes/improvements instead of only one maintainer. Please submit fixes, issues, etc. on GitHub.

Temporary build fixes for stable version should be submitted to https://github.com/LizardByte/pacman-repo

Permanent fixes that should persist with future versions should also be submitted to https://github.com/LizardByte/Sunshine