Search Criteria
Package Details: ffmpeg-cuda-full 2:8.1.1-3
Package Actions
| Git Clone URL: | https://aur.archlinux.org/ffmpeg-cuda-full.git (read-only, click to copy) |
|---|---|
| Package Base: | ffmpeg-cuda-full |
| Description: | Latest FFmpeg with CUDA/NVENC and all codecs including nonfree (libfdk-aac) - dynamically tracks upstream releases |
| Upstream URL: | https://ffmpeg.org/ |
| Licenses: | custom:nonfree, GPL-3.0-only |
| Conflicts: | ffmpeg |
| Provides: | ffmpeg, libavcodec.so, libavdevice.so, libavfilter.so, libavformat.so, libavutil.so, libswresample.so, libswscale.so |
| Replaces: | ffmpeg |
| Submitter: | slyfox1186 |
| Maintainer: | slyfox1186 |
| Last Packager: | slyfox1186 |
| Votes: | 1 |
| Popularity: | 0.117986 |
| First Submitted: | 2026-04-02 03:14 (UTC) |
| Last Updated: | 2026-06-21 16:24 (UTC) |
Dependencies (101)
- alsa-lib
- aom (aom-vmaf-gitAUR, aom-av1-lavish-gitAUR, aom-gitAUR, aom-gitAUR, aom-psy101-gitAUR)
- aribb24 (aribb24-gitAUR)
- bzip2 (bzip2-gitAUR)
- cairo (cairo-gitAUR)
- cuda (cuda11.1AUR, cuda-12.2AUR, cuda12.0AUR, cuda11.4AUR, cuda-12.5AUR, cuda-12.8AUR, cuda-pascalAUR, cuda-12.9AUR)
- dav1d (dav1d-gitAUR)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- freetype2 (freetype2-qdoled-aw3225qfAUR, freetype2-qdoled-gen3AUR, freetype2-gitAUR, freetype2-macosAUR, freetype2-qdoledAUR, freetype2-woledAUR)
- fribidi (fribidi-gitAUR)
- glib2 (glib2-gitAUR, glib2-patched-thumbnailerAUR)
- glibc (glibc-gitAUR, glibc-git-native-pgoAUR, glibc-eacAUR)
- glslang (glslang-gitAUR)
- gmp (gmp-hgAUR)
- gnutls (gnutls-gitAUR)
- gsm
- harfbuzz (harfbuzz-gitAUR)
- jackAUR (jack2-gitAUR, pipewire-jack-gitAUR, pipewire-full-jack-gitAUR, pipewire-jack-ldacAUR, jack2, pipewire-jack)
- kvazaar (kvazaar-gitAUR)
- lame (lame-altivecAUR, lame-svnAUR)
- Show 81 more dependencies...
Required by (2528)
- 0wgram (requires ffmpeg)
- 2h4u (requires ffmpeg) (make)
- 3ncode-git (requires ffmpeg)
- 48tools (requires ffmpeg)
- 64gram-desktop (requires ffmpeg)
- aaa-bin (requires ffmpeg)
- aaxtomp3 (requires ffmpeg)
- aaxtomp3-git (requires ffmpeg)
- ab-av1 (requires ffmpeg)
- ab-download-manager-wayland-git (requires ffmpeg) (optional)
- abyss-engine-git (requires ffmpeg)
- aconcat (requires ffmpeg)
- adlmidi (requires ffmpeg) (optional)
- aegisub-arch1t3cht (requires ffmpeg)
- aegisub-arch1t3cht-git (requires ffmpeg)
- aegisub-arch1t3cht-qt5-git (requires ffmpeg)
- aegisub-arch1t3cht-xdg-git (requires ffmpeg)
- aegisub-japan7-git (requires ffmpeg)
- aether (requires ffmpeg)
- aigcpanel-git (requires ffmpeg)
- Show 2508 more...
Latest Comments
slyfox1186 commented on 2026-06-21 16:30 (UTC)
@kcocoa — thanks for the report and the precise diagnosis; you nailed the cause exactly.
Root cause: build() rewrote the march flag with an unanchored substring substitution,
${CFLAGS/-march=x86-64/-march=native}. That matches the-march=x86-64prefix of a microarchitecture level like-march=x86-64-v3and leaves the-v3dangling, producing the bogus-march=native-v3→cc1: error: bad value 'native-v3'. Anyone building with an x86-64-v2/v3/v4 baseline in makepkg.conf tripped over it.Fixed in 2:8.1.1-3 (just pushed): the substitution now replaces the entire
-march=/-mtune=token (sed -E 's/-march=[^[:space:]]+/-march=native/') instead of a fragment, so it can no longer produce a malformed value regardless of the arch you've configured. Please pull the update and let me know if it builds cleanly for you.On the broader point — it's a deliberate design choice, not an arbitrary one.
-cuda-fullis meant to be a maximally-optimized local build; "-O3 -march=nativefor your CPU" is one of its advertised features, so it intentionally forces-march=nativeover whatever arch is configured. If you want a generic/portable or distro-baseline build, stockextra/ffmpeg(or rebuilding it) is the better fit. That said, your-O0example is respected now: only the default-O2is bumped to-O3, so an explicit-O0/-Os/etc. is left untouched and you can still do an unoptimized debug build.One caveat to flag before you post: the reply states -O0 is honored — that's accurate to the shipped fix (only -O2 is rewritten). If you'd prefer to also force -O3 unconditionally, tell me and I'll adjust both the PKGBUILD and this wording to match.
kcocoa commented on 2026-06-09 05:37 (UTC) (edited on 2026-06-09 05:38 (UTC) by kcocoa)
My compilation configuration in
makepkg.conf:Then your PKGBUILD incorrectly replaced the
-marchoption:This resulted in the non-existent option
native-v3and build failure.One solution is to match the prefix.
However, I don't quite understand why you would arbitrarily optimize the compilation flags for the user. What if someone just wants to try
-march=x86_64 -O0?slyfox1186 commented on 2026-05-17 20:26 (UTC)
@jfk9w — thanks for the report and the diagnostic detail (the nvcc --help test was very helpful for narrowing this down).
Root cause: FFmpeg's configure sets the default --nvccflags to -gencode arch=compute_30,code=sm_30 -O2 (Kepler) and only falls back to compute_60 / compute_75 if nvcc's stderr contains the literal English word "unsupported". Current Arch ships CUDA 13.2, which dropped everything below sm_75 — so the fallback usually fires, but it's fragile: a non-English locale, an nvcc wrapper, or any future CUDA toolkit that rewords the error will break the probe, and configure then dies trying to compile the test kernel with an unbuildable arch. The script that does this probe is identical between n8.1 and n8.1.1, which is why a CUDA upgrade on your end between the two builds is the most likely trigger.
Fix in 2:8.1.1-2 (just pushed): query nvcc --list-gpu-arch for the lowest arch the installed toolkit actually supports and pass --nvccflags="-gencode arch=<arch>,code=<sm> -O2" to configure explicitly, bypassing the probe entirely. Falls back to compute_75 if the query fails. Please pull the update and let me know if it builds cleanly for you.
jfk9w commented on 2026-05-09 20:47 (UTC)
Thanks for the package!
I'm unable to build the latest version.
The error message says: "ERROR: failed checking for nvcc.". nvcc is present and located in /opt/cuda/bin. It also successfully prints help if I add "nvcc --help" directly below "export PATH=/opt/cuda/bin:$PATH" in PKGBUILD.
Previous version (2:8.1-1) was built without any issues and works fine. Help?
slyfox1186 commented on 2026-04-30 18:41 (UTC)
Thanks for the suggestion and for the well-formatted diff. It made this trivial to apply. Merged in
2:8.1-2, sourced exactly as you proposed withgit apply -3so it'll fall back to a 3-way merge if upstream FFmpeg shifts the surrounding code in a future release. b2sum verified against Arch's currentpkgrel=3, so we're tracking their patch directly.Good catch on the qt6-webengine breakage as this is exactly the kind of compatibility gap a
replaces=ffmpegpackage shouldn't introduce. Glad the package is useful to you!galuise commented on 2026-04-17 04:38 (UTC)
Would you consider including the 0001-Add-av_stream_get_first_dts-for-Chromium.patch from the official arch package?
And the following change to PKGBUILD to incorporate it?:
Without this patch things like qt6-webengine break as Chromium still relies on that dts call.
Thank you for this package!