[FFmpeg-trac] #8790(build system:new): Compile NVDEC with Quadro RTX 6000 : "ERROR: failed checking for nvcc"
FFmpeg
trac at avcodec.org
Tue Oct 20 10:43:28 EEST 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 mliradelc):
I was studying this and I found that '''CC 3.5 is enough'''.
> == Why happens: ==
>
>
> This error happens because since the latest CUDA SDK (11.0) accepts
compute capability '''3.5''' - 8.6
>
>
> == How to fix (Workaround): ==
>
> The fix is to modify the compute version from 30 to '''35''' in the
`configure` file:
> {{{
> if enabled cuda_nvcc; then
> nvcc_default="nvcc"
> nvccflags_default="-gencode arch=compute_35,code=sm_35 -O2"
> else
> nvcc_default="clang"
> nvccflags_default="--cuda-gpu-arch=sm_35 -O2"
> NVCC_C=""
> fi
>
> }}}
>
>
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8790#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list