FFMPEG Using 2080Ti failed.ctx->cvdl->cuvidGetDecoderCaps(&ctx->caps8) failed

Environment:
In nvidia docker:
ffmpeg version 4.2.4
cuda:10.0
driver:410.129
Video_Codec_SDK_9.0.20
nv-codec-headers-n9.0.18.3

When use ffmpeg,log :

root@295d3ff3f717:/mnt/app# ffmpeg -hwaccel cuvid -c:v h264_cuvid -i 3115e810-c601-4193-9e58-003f4d24347a.mp4 output.yuv
ffmpeg version 4.2.4 Copyright © 2000-2020 the FFmpeg developers
built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
configuration: --prefix=/usr/local/ffmpeg --disable-asm --disable-x86asm --enable-cuda --enable-cuvid --enable-nvdec --enable-nvenc --enable-nonfree --enable-libnpp --extra-cflags=-I/usr/local/cuda/include --extra-cflags=-fPIC --extra-ldflags=-L/usr/local/cuda/lib64 --enable-gpl --enable-libx264 --enable-shared --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libtheora --enable-libvorbis --extra-cflags=-I/usr/local/cuda-10.0/targets/x86_64-linux/include --extra-ldflags=-L/usr/local/cuda-10.0/targets/x86_64-linux/lib
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ‘3115e810-c601-4193-9e58-003f4d24347a.mp4’:
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.20.100
Duration: 00:00:09.04, start: 0.000000, bitrate: 1786 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709), 2560x1440, 1784 kb/s, 25 fps, 25 tbr, 90k tbn, 180k tbc (default)
Metadata:
handler_name : VideoHandler
[h264_cuvid @ 0x5580e6b3c380] ctx->cvdl->cuvidGetDecoderCaps(&ctx->caps8) failed
[h264_cuvid @ 0x5580e6b3c380] ctx->cvdl->cuvidGetDecoderCaps(&ctx->caps10) failed
[h264_cuvid @ 0x5580e6b3c380] ctx->cvdl->cuvidGetDecoderCaps(&ctx->caps12) failed
Stream mapping:
Stream #0:0 -> #0:0 (h264 (h264_cuvid) -> rawvideo (native))
Error while opening decoder for input stream #0:0 : Generic error in an external library

nvidia-smi Log:
Tue Sep 15 13:08:37 2020
±----------------------------------------------------------------------------+
| NVIDIA-SMI 410.129 Driver Version: 410.129 CUDA Version: 10.0 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce RTX 208… Off | 00000000:17:00.0 Off | N/A |
| 36% 32C P8 17W / 250W | 0MiB / 10989MiB | 0% Default |
±------------------------------±---------------------±---------------------+
| 1 GeForce RTX 208… Off | 00000000:65:00.0 On | N/A |
| 37% 36C P8 13W / 250W | 97MiB / 10986MiB | 17% Default |
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
±----------------------------------------------------------------------------+

root@295d3ff3f717:/mnt/app# ldd /usr/local/ffmpeg/bin/ffmpeg
linux-vdso.so.1 (0x00007ffec05f9000)
libavdevice.so.58 => /usr/local/ffmpeg/lib/libavdevice.so.58 (0x00007fe0f27ba000)
libavfilter.so.7 => /usr/local/ffmpeg/lib/libavfilter.so.7 (0x00007fe0f2293000)
libavformat.so.58 => /usr/local/ffmpeg/lib/libavformat.so.58 (0x00007fe0f1e38000)
libavcodec.so.58 => /usr/local/ffmpeg/lib/libavcodec.so.58 (0x00007fe0f0881000)
libpostproc.so.55 => /usr/local/ffmpeg/lib/libpostproc.so.55 (0x00007fe0f0674000)
libswresample.so.3 => /usr/local/ffmpeg/lib/libswresample.so.3 (0x00007fe0f045e000)
libswscale.so.5 => /usr/local/ffmpeg/lib/libswscale.so.5 (0x00007fe0f01ee000)
libavutil.so.56 => /usr/local/ffmpeg/lib/libavutil.so.56 (0x00007fe0efedb000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fe0efb3d000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fe0ef91e000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe0ef52d000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fe0ef305000)
libxcb-shm.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0 (0x00007fe0ef102000)
libxcb-shape.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-shape.so.0 (0x00007fe0eeefe000)
libxcb-xfixes.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-xfixes.so.0 (0x00007fe0eecf6000)
libasound.so.2 => /usr/lib/x86_64-linux-gnu/libasound.so.2 (0x00007fe0ee9ef000)
libSDL2-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 (0x00007fe0ee6bd000)
libsndio.so.6.1 => /usr/lib/x86_64-linux-gnu/libsndio.so.6.1 (0x00007fe0ee4ad000)
libXv.so.1 => /usr/lib/x86_64-linux-gnu/libXv.so.1 (0x00007fe0ee2a8000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fe0edf70000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007fe0edd5e000)
libass.so.9 => /usr/lib/x86_64-linux-gnu/libass.so.9 (0x00007fe0edb2b000)
libnppig.so.10.0 => /usr/local/cuda-10.0/targets/x86_64-linux/lib/libnppig.so.10.0 (0x00007fe0ec144000)
libnppicc.so.10.0 => /usr/local/cuda-10.0/targets/x86_64-linux/lib/libnppicc.so.10.0 (0x00007fe0ebb7a000)
libnppidei.so.10.0 => /usr/local/cuda-10.0/targets/x86_64-linux/lib/libnppidei.so.10.0 (0x00007fe0eb26f000)
libva.so.2 => /usr/lib/x86_64-linux-gnu/libva.so.2 (0x00007fe0eb04e000)
libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007fe0ead9a000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fe0eab7d000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007fe0ea957000)
libfdk-aac.so.1 => /usr/lib/x86_64-linux-gnu/libfdk-aac.so.1 (0x00007fe0ea69f000)
libmp3lame.so.0 => /usr/lib/x86_64-linux-gnu/libmp3lame.so.0 (0x00007fe0ea428000)
libtheoraenc.so.1 => /usr/lib/x86_64-linux-gnu/libtheoraenc.so.1 (0x00007fe0ea1e9000)
libtheoradec.so.1 => /usr/lib/x86_64-linux-gnu/libtheoradec.so.1 (0x00007fe0e9fcb000)
libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007fe0e9da0000)
libvorbisenc.so.2 => /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007fe0e9af7000)
libx264.so.152 => /usr/lib/x86_64-linux-gnu/libx264.so.152 (0x00007fe0e9752000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fe0e954e000)
libva-drm.so.2 => /usr/lib/x86_64-linux-gnu/libva-drm.so.2 (0x00007fe0e934b000)
libva-x11.so.2 => /usr/lib/x86_64-linux-gnu/libva-x11.so.2 (0x00007fe0e9145000)
libvdpau.so.1 => /usr/lib/x86_64-linux-gnu/libvdpau.so.1 (0x00007fe0e8f41000)
/lib64/ld-linux-x86-64.so.2 (0x00007fe0f2c15000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fe0e8d3d000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fe0e8b37000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fe0e892f000)
libpulse.so.0 => /usr/lib/x86_64-linux-gnu/libpulse.so.0 (0x00007fe0e86df000)
libXcursor.so.1 => /usr/lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007fe0e84d5000)
libXinerama.so.1 => /usr/lib/x86_64-linux-gnu/libXinerama.so.1 (0x00007fe0e82d2000)
libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007fe0e80c2000)
libXrandr.so.2 => /usr/lib/x86_64-linux-gnu/libXrandr.so.2 (0x00007fe0e7eb7000)
libXss.so.1 => /usr/lib/x86_64-linux-gnu/libXss.so.1 (0x00007fe0e7cb3000)
libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007fe0e7aad000)
libwayland-egl.so.1 => /usr/lib/x86_64-linux-gnu/libwayland-egl.so.1 (0x00007fe0e78ab000)
libwayland-client.so.0 => /usr/lib/x86_64-linux-gnu/libwayland-client.so.0 (0x00007fe0e769c000)
libwayland-cursor.so.0 => /usr/lib/x86_64-linux-gnu/libwayland-cursor.so.0 (0x00007fe0e7494000)
libxkbcommon.so.0 => /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0 (0x00007fe0e7255000)
libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007fe0e7040000)
libfribidi.so.0 => /usr/lib/x86_64-linux-gnu/libfribidi.so.0 (0x00007fe0e6e29000)
libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007fe0e6be4000)
libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007fe0e6946000)
libnppc.so.10.0 => /usr/local/cuda-10.0/targets/x86_64-linux/lib/libnppc.so.10.0 (0x00007fe0e66be000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fe0e6335000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fe0e611d000)
libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007fe0e5eeb000)
libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007fe0e5ce2000)
libcairo.so.2 => /usr/lib/x86_64-linux-gnu/libcairo.so.2 (0x00007fe0e59c5000)
libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007fe0e57b4000)
libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007fe0e55ae000)
libpulsecommon-11.1.so => /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so (0x00007fe0e5330000)
libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007fe0e50e3000)
libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007fe0e4ed9000)
libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007fe0e4cd1000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007fe0e4a9f000)
libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007fe0e4788000)
libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007fe0e455b000)
libpixman-1.so.0 => /usr/lib/x86_64-linux-gnu/libpixman-1.so.0 (0x00007fe0e42b6000)
libxcb-render.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007fe0e40a9000)
libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007fe0e3e25000)
libwrap.so.0 => /lib/x86_64-linux-gnu/libwrap.so.0 (0x00007fe0e3c1b000)
libsndfile.so.1 => /usr/lib/x86_64-linux-gnu/libsndfile.so.1 (0x00007fe0e39a2000)
libasyncns.so.0 => /usr/lib/x86_64-linux-gnu/libasyncns.so.0 (0x00007fe0e379c000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007fe0e352a000)
liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007fe0e330e000)
libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007fe0e2ff3000)
libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007fe0e2dd9000)
libFLAC.so.8 => /usr/lib/x86_64-linux-gnu/libFLAC.so.8 (0x00007fe0e2b62000)
libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007fe0e2948000)
libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007fe0e2733000)

This error has delayed me 3 days. Hope someone can help me solve