[FFmpeg-trac] #8790(build system:new): Compile NVDEC with Quadro RTX 6000 : "ERROR: failed checking for nvcc"

FFmpeg trac at avcodec.org
Sun Nov 15 18:04:20 EET 2020


#8790: Compile NVDEC with Quadro RTX 6000 : "ERROR: failed checking for nvcc"
-------------------------------------+-------------------------------------
             Reporter:  mliradelc    |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  build
                                     |  system
              Version:  git-master   |               Resolution:
             Keywords:  configure,   |               Blocked By:
  nvidia, nvenc, nvcc, compile,      |
  build                              |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by infinoid):

 I just ran into this here, so I can confirm.

 Debian bullseye recently updated its (nonfree) cuda packages to version
 11.0, and this caused ffmpeg's configure script to stop detecting nvcc.

 I changed compute_30 and sm_30 to compute_35 and sm_35 in the configure
 script, as @mliradelc suggests.  This built successfully, and the
 resulting binary is able to encode video with h264_nvenc successfully.

 Note, the configure script hides the following warning from nvcc:

 `nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35',
 'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a
 future release (Use -Wno-deprecated-gpu-targets to suppress warning).`

 So they work for now, but won't work for much longer.

 My system info:
 amd64
 linux-image-5.8.18  5.8.18-1
 nvidia-cuda-toolkit 11.0.3-2
 nvidia-kernel-dkms  450.80.02-1
 `41:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU104
 [GeForce RTX 2080 SUPER] [10de:1e81] (rev a1)`

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8790#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list