This package is partially broken and incapable of NVENC encoding, as the new packager completely changed the PKGBUILD and thus changing the resulting cmake configuration.
Please do not waste anyone's time opening more bug reports about this broken AUR package in the upstream GitHub repo. Upstream has an officially supported pacman repo available at https://github.com/LizardByte/pacman-repo where you can install either the latest stable release (v0.23.1 at the time of this comment) or the latest beta.
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) 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 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!