Add fix for cuda 13. Disable libnpp.

npp filters (like scale_npp, from libnpp) are not compatible with
cuda 13.

A comment[1] from a ffmpeg developer indicates that libnpp is to
be considered deprecated and that npp filters will not receive any
compatibility fixes. He also said that libnpp eventually may be
disabled in future ffmpeg commits by the configure script if it
detects a newer libnpp version.

[1] https://code.ffmpeg.org/FFmpeg/FFmpeg/issues/20191#issuecomment-6514
This commit is contained in:
Daniel Bermond
2025-09-23 13:14:04 -03:00
parent 256ff1c89e
commit 8527da929c
3 changed files with 23 additions and 3 deletions
+11
View File
@@ -0,0 +1,11 @@
--- a/configure
+++ b/configure
@@ -4705,7 +4705,7 @@ set_default nvcc
if enabled cuda_nvcc; then
if $nvcc $nvccflags_default 2>&1 | grep -qi unsupported; then
- nvccflags_default="-gencode arch=compute_60,code=sm_60 -O2"
+ nvccflags_default="-gencode arch=compute_75,code=sm_75 -O2"
fi
fi