nvenc currently does not build with CUDA 13 that is shipped with Arch.
If you need immediate relieve, there is a new nvenc-git package that does build.
When a version of nvenc which supports CUDA 13 is out, this package will be updated.
Search Criteria
Package Details: nvenc 9.07-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/nvenc.git (read-only, click to copy) |
|---|---|
| Package Base: | nvenc |
| Description: | NVIDIA Video Codec based command line encoder |
| Upstream URL: | https://github.com/rigaya/NVEnc |
| Licenses: | MIT |
| Submitter: | npreining |
| Maintainer: | npreining |
| Last Packager: | npreining |
| Votes: | 7 |
| Popularity: | 0.006018 |
| First Submitted: | 2022-02-15 01:30 (UTC) |
| Last Updated: | 2025-11-08 17:18 (UTC) |
Dependencies (8)
- cuda (cuda11.1AUR, cuda-12.2AUR, cuda12.0AUR, cuda11.4AUR, cuda11.4-versionedAUR, cuda12.0-versionedAUR, cuda-12.5AUR, cuda-12.9AUR)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-ffplayoutAUR, ffmpeg-cudaAUR, ffmpeg-gitAUR, ffmpeg-headlessAUR, ffmpeg-obsAUR, ffmpeg-libfdk_aacAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-fullAUR, ffmpeg-full-gitAUR, ffmpeg-amd-full-gitAUR)
- libass (libass-gitAUR)
- libdovi (libdovi-gitAUR)
- vapoursynth (vapoursynth-classicAUR, vapoursynth-gitAUR)
- cargo-c (cargo-c-gitAUR) (make)
- gcc14 (make)
- git (git-gitAUR, git-glAUR) (make)
Required by (2)
- fastflix (optional)
- fastflix-bin (optional)
Sources (3)
npreining commented on 2025-10-07 10:00 (UTC)
npreining commented on 2025-10-07 09:59 (UTC)
@Joomzie I just pushed a nvenc-git package.
npreining commented on 2025-10-07 07:49 (UTC)
@Joomzie Yes I know about the state, I have informed upstream about the CUDA 13 issue: https://github.com/rigaya/NVEnc/issues/727
I am waiting for the next release so that it can actually build with CUDA 13.
I will look into adding a nvenv-git package, thanks for the suggestion.
Joomzie commented on 2025-10-07 07:26 (UTC)
@npreining: Not sure if you're still maintaining this, or not, but it might be a good idea to create a secondary package that builds from the master (ex, nvenc-git). The last release (9.03) does not build against CUDA 13, and nvcc spits out a ton of Unsupported gpu architecture 'compute_50' errors when attempting to do so. Cloning the master, and building with that, produces a successful build.
npreining commented on 2025-02-16 17:18 (UTC)
Concerning update: This packages is marked as outdated, which is incorrect. The latest release is packaged, the beta release is not packaged. As soon as a full release is out, I will provide an updated packaging.
npreining commented on 2024-11-04 14:24 (UTC)
@bader concerning gcc-13/14 and nvenc - this solely depends on the CUDA support for the compiler, and last time I checked, cuda still required gcc-13, so nvenc cannot be build with gcc-14.
npreining commented on 2024-11-04 14:23 (UTC)
Hi @bader good catch! I will do that but wait for a bugfix I sent upstream for detection of the hdr10plus library.
The libdovi has the same process, but since the library version is necessarily installed due to transitive dependencies, I removed the cinstall/cargo-c again from the build-deps.
Thanks for pointing out that it still indeed necessary.
bader commented on 2024-11-04 07:00 (UTC)
@npreining thanks! I don't think ffmpeg-full can be built with gcc-13. Is there a chance nvenc could be updated to build with gcc-14?
bader commented on 2024-11-04 06:56 (UTC)
please add cargo-c as a dep and when installing if the command cinstall is not available carg-cinstall should be used instead.
this fixes the error:
hdr10plus_tool.tar.gz [ <=> ] 2.67M 3.08MB/s
error: no such command: `cinstall`
Did you mean `install`?
temporarly for anyone running into this issue after installing c-cargo add an ailas:
export alias cinstall=cargo-cinstall
Pinned Comments
npreining commented on 2025-10-07 10:00 (UTC)
nvenc currently does not build with CUDA 13 that is shipped with Arch. If you need immediate relieve, there is a new
nvenc-gitpackage that does build. When a version of nvenc which supports CUDA 13 is out, this package will be updated.