Repository navigation
Description
Hello,
I tried the different combinations of conda and pip packages that people suggest to get tensorflow running for the rtx 30 series. Thought it was working after utilizing the gpu with keras tutorial code but moved to a different type of model and something apparently broke.
Now I'm trying the docker route.
docker run --gpus all -it --rm nvcr.io/nvidia/tensorflow:22.11-tf2-py3
docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy' nvidia-container-cli: initialization error: load library failed: libnvidia-ml.so.1: cannot open shared object file: no such file or directory: unknown.
There seems to be a lot of missing libraries.
3. Information to attach (optional if deemed irrelevant)
- [ x] Some nvidia-container information:
nvidia-container-cli -k -d /dev/tty info - I1202 15:15:34.407243 26518 nvc.c:376] initializing library context (version=1.11.0, build=)
I1202 15:15:34.407353 26518 nvc.c:350] using root /
I1202 15:15:34.407365 26518 nvc.c:351] using ldcache /etc/ld.so.cache
I1202 15:15:34.407377 26518 nvc.c:352] using unprivileged user 1000:1000
I1202 15:15:34.407426 26518 nvc.c:393] attempting to load dxcore to see if we are running under Windows Subsystem for Linux (WSL)
I1202 15:15:34.408137 26518 nvc.c:395] dxcore initialization failed, continuing assuming a non-WSL environment
W1202 15:15:34.411623 26519 nvc.c:273] failed to set inheritable capabilities
W1202 15:15:34.411736 26519 nvc.c:274] skipping kernel modules load due to failure
I1202 15:15:34.412602 26520 rpc.c:71] starting driver rpc service
I1202 15:15:34.433974 26521 rpc.c:71] starting nvcgo rpc service
I1202 15:15:34.438005 26518 nvc_info.c:766] requesting driver information with ''
I1202 15:15:34.445181 26518 nvc_info.c:173] selecting /usr/lib/x86_64-linux-gnu/libnvoptix.so.520.56.06
I1202 15:15:34.445313 26518 nvc_info.c:173] selecting /usr/lib/x86_64-linux-gnu/libnvidia-tls.so.520.56.06
I1202 15:15:34.445952 26518 nvc_info.c:173] selecting /usr/lib/x86_64-linux-gnu/libnvidia-rtcore.so.520.56.06
I1202 15:15:34.446254 26518 nvc_info.c:173] selecting /usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so.520.56.06
I1202 15:15:34.446554 26518 nvc_info.c:173] selecting /usr/lib/x86_64-linux-gnu/libnvidia-opticalflow.so.520.56.06
I1202 15:15:34.446877 26518 nvc_info.c:173] selecting /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.520.56.06
I1202 15:15:34.447241 26518 nvc_info.c:173] selecting /usr/lib/x86_64-linux-gnu/libnvidia-ngx.so.520.56.06
I1202 15:15:34.447301 26518 nvc_info.c:173] selecting /usr/lib/x86_64-linux-gnu/libnvidia-ml.so.520.56.06
I1202 15:15:34.447405 26518 nvc_info.c:173] selecting /usr/lib/x86_64-linux-gnu/libnvidia-glvkspirv.so.520.56.06
I1202 15:15:34.447490 26518 nvc_info.c:173] selecting /usr/lib/x86_64-linux-gnu/libnvidia-glsi.so.520.56.06
I1202 15:15:34.447550 26518 nvc_info.c:173] selecting /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.520.56.06
I1202 15:15:34.447813 26518 nvc_info.c:173] selecting /usr/lib/x86_64-linux-gnu/libnvidia-fbc.so.520.56.06
I1202 15:15:34.448099 26518 nvc_info.c:173] selecting /usr/lib/x86_64-linux-gnu/libnvidia-encode.so.520.56.06
I1202 15:15:34.448197 26518 nvc_info.c:173] selecting /usr/lib/x86_64-linux-gnu/libnvidia-eglcore.so.520.56.06
I1202 15:15:34.448693 26518 nvc_info.c:173] selecting /usr/lib/x86_64-linux-gnu/libnvidia-compiler.so.520.56.06
I1202 15:15:34.448755 26518 nvc_info.c:173] selecting /usr/lib/x86_64-linux-gnu/libnvidia-cfg.so.520.56.06
I1202 15:15:34.449075 26518 nvc_info.c:173] selecting /usr/lib/x86_64-linux-gnu/libnvidia-allocator.so.520.56.06
I1202 15:15:34.449417 26518 nvc_info.c:173] selecting /usr/lib/x86_64-linux-gnu/libnvcuvid.so.520.56.06
I1202 15:15:34.450211 26518 nvc_info.c:173] selecting /usr/lib/x86_64-linux-gnu/libcudadebugger.so.520.56.06
I1202 15:15:34.450273 26518 nvc_info.c:173] selecting /usr/lib/x86_64-linux-gnu/libcuda.so.520.56.06
I1202 15:15:34.450625 26518 nvc_info.c:173] selecting /usr/lib/x86_64-linux-gnu/libGLX_nvidia.so.520.56.06
I1202 15:15:34.450896 26518 nvc_info.c:173] selecting /usr/lib/x86_64-linux-gnu/libGLESv2_nvidia.so.520.56.06
I1202 15:15:34.451174 26518 nvc_info.c:173] selecting /usr/lib/x86_64-linux-gnu/libGLESv1_CM_nvidia.so.520.56.06
I1202 15:15:34.451236 26518 nvc_info.c:173] selecting /usr/lib/x86_64-linux-gnu/libEGL_nvidia.so.520.56.06
I1202 15:15:34.451580 26518 nvc_info.c:173] selecting /usr/lib/i386-linux-gnu/libnvidia-tls.so.520.56.06
I1202 15:15:34.451929 26518 nvc_info.c:173] selecting /usr/lib/i386-linux-gnu/libnvidia-ptxjitcompiler.so.520.56.06
I1202 15:15:34.452169 26518 nvc_info.c:173] selecting /usr/lib/i386-linux-gnu/libnvidia-opticalflow.so.520.56.06
I1202 15:15:34.452413 26518 nvc_info.c:173] selecting /usr/lib/i386-linux-gnu/libnvidia-opencl.so.520.56.06
I1202 15:15:34.452680 26518 nvc_info.c:173] selecting /usr/lib/i386-linux-gnu/libnvidia-ml.so.520.56.06
I1202 15:15:34.452975 26518 nvc_info.c:173] selecting /usr/lib/i386-linux-gnu/libnvidia-glvkspirv.so.520.56.06
I1202 15:15:34.453288 26518 nvc_info.c:173] selecting /usr/lib/i386-linux-gnu/libnvidia-glsi.so.520.56.06
I1202 15:15:34.453571 26518 nvc_info.c:173] selecting /usr/lib/i386-linux-gnu/libnvidia-glcore.so.520.56.06
I1202 15:15:34.453833 26518 nvc_info.c:173] selecting /usr/lib/i386-linux-gnu/libnvidia-fbc.so.520.56.06
I1202 15:15:34.454141 26518 nvc_info.c:173] selecting /usr/lib/i386-linux-gnu/libnvidia-encode.so.520.56.06
I1202 15:15:34.454359 26518 nvc_info.c:173] selecting /usr/lib/i386-linux-gnu/libnvidia-eglcore.so.520.56.06
I1202 15:15:34.455059 26518 nvc_info.c:173] selecting /usr/lib/i386-linux-gnu/libnvidia-compiler.so.520.56.06
I1202 15:15:34.455764 26518 nvc_info.c:173] selecting /usr/lib/i386-linux-gnu/libnvidia-allocator.so.520.56.06
I1202 15:15:34.456075 26518 nvc_info.c:173] selecting /usr/lib/i386-linux-gnu/libnvcuvid.so.520.56.06
I1202 15:15:34.456395 26518 nvc_info.c:173] selecting /usr/lib/i386-linux-gnu/libcuda.so.520.56.06
I1202 15:15:34.456750 26518 nvc_info.c:173] selecting /usr/lib/i386-linux-gnu/libGLX_nvidia.so.520.56.06
I1202 15:15:34.457050 26518 nvc_info.c:173] selecting /usr/lib/i386-linux-gnu/libGLESv2_nvidia.so.520.56.06
I1202 15:15:34.457314 26518 nvc_info.c:173] selecting /usr/lib/i386-linux-gnu/libGLESv1_CM_nvidia.so.520.56.06
I1202 15:15:34.457580 26518 nvc_info.c:173] selecting /usr/lib/i386-linux-gnu/libEGL_nvidia.so.520.56.06
W1202 15:15:34.457645 26518 nvc_info.c:399] missing library libnvidia-nscq.so
W1202 15:15:34.457659 26518 nvc_info.c:399] missing library libnvidia-fatbinaryloader.so
W1202 15:15:34.457678 26518 nvc_info.c:399] missing library libnvidia-pkcs11.so
W1202 15:15:34.457694 26518 nvc_info.c:399] missing library libvdpau_nvidia.so
W1202 15:15:34.457709 26518 nvc_info.c:399] missing library libnvidia-ifr.so
W1202 15:15:34.457722 26518 nvc_info.c:399] missing library libnvidia-cbl.so
W1202 15:15:34.457740 26518 nvc_info.c:403] missing compat32 library libnvidia-cfg.so
W1202 15:15:34.457753 26518 nvc_info.c:403] missing compat32 library libnvidia-nscq.so
W1202 15:15:34.457768 26518 nvc_info.c:403] missing compat32 library libcudadebugger.so
W1202 15:15:34.457780 26518 nvc_info.c:403] missing compat32 library libnvidia-fatbinaryloader.so
W1202 15:15:34.457792 26518 nvc_info.c:403] missing compat32 library libnvidia-pkcs11.so
W1202 15:15:34.457808 26518 nvc_info.c:403] missing compat32 library libnvidia-ngx.so
W1202 15:15:34.457828 26518 nvc_info.c:403] missing compat32 library libvdpau_nvidia.so
W1202 15:15:34.457843 26518 nvc_info.c:403] missing compat32 library libnvidia-ifr.so
W1202 15:15:34.457860 26518 nvc_info.c:403] missing compat32 library libnvidia-rtcore.so
W1202 15:15:34.457880 26518 nvc_info.c:403] missing compat32 library libnvoptix.so
W1202 15:15:34.457894 26518 nvc_info.c:403] missing compat32 library libnvidia-cbl.so
I1202 15:15:34.460121 26518 nvc_info.c:299] selecting /usr/bin/nvidia-smi
I1202 15:15:34.460197 26518 nvc_info.c:299] selecting /usr/bin/nvidia-debugdump
I1202 15:15:34.460243 26518 nvc_info.c:299] selecting /usr/bin/nvidia-persistenced
I1202 15:15:34.460336 26518 nvc_info.c:299] selecting /usr/bin/nvidia-cuda-mps-control
I1202 15:15:34.460409 26518 nvc_info.c:299] selecting /usr/bin/nvidia-cuda-mps-server
W1202 15:15:34.460616 26518 nvc_info.c:425] missing binary nv-fabricmanager
I1202 15:15:34.460810 26518 nvc_info.c:343] listing firmware path /usr/lib/firmware/nvidia/520.56.06/gsp.bin
I1202 15:15:34.460876 26518 nvc_info.c:529] listing device /dev/nvidiactl
I1202 15:15:34.460891 26518 nvc_info.c:529] listing device /dev/nvidia-uvm
I1202 15:15:34.460904 26518 nvc_info.c:529] listing device /dev/nvidia-uvm-tools
I1202 15:15:34.460915 26518 nvc_info.c:529] listing device /dev/nvidia-modeset
I1202 15:15:34.460980 26518 nvc_info.c:343] listing ipc path /run/nvidia-persistenced/socket
W1202 15:15:34.461036 26518 nvc_info.c:349] missing ipc path /var/run/nvidia-fabricmanager/socket
W1202 15:15:34.461083 26518 nvc_info.c:349] missing ipc path /tmp/nvidia-mps
I1202 15:15:34.461100 26518 nvc_info.c:822] requesting device information with ''
I1202 15:15:34.468056 26518 nvc_info.c:713] listing device /dev/nvidia0 (GPU-ba9fdcdb-8a2b-d2b6-f69c-5f2ac08dde8b at 00000000:01:00.0)
NVRM version: 520.56.06
CUDA version: 11.8
Device Index: 0
Device Minor: 0
Model: NVIDIA GeForce RTX 3090 Ti
Brand: GeForce
GPU UUID: GPU-ba9fdcdb-8a2b-d2b6-f69c-5f2ac08dde8b
Bus Location: 00000000:01:00.0
Architecture: 8.6
I1202 15:15:34.468151 26518 nvc.c:434] shutting down library context
I1202 15:15:34.468317 26521 rpc.c:95] terminating nvcgo rpc service
I1202 15:15:34.469397 26518 rpc.c:132] nvcgo rpc service terminated successfully
I1202 15:15:34.474156 26520 rpc.c:95] terminating driver rpc service
I1202 15:15:34.474599 26518 rpc.c:132] driver rpc service terminated successfully
- [ x] Kernel version from
uname -a - 5.15.0-53-generic Where is nvcc inside nvidia/caffe? nvidia-docker#59-Ubuntu SMP Mon Oct 17 18:53:30 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
- [ x] Driver information from
nvidia-smi -a - ==============NVSMI LOG==============
Timestamp : Fri Dec 2 09:17:13 2022
Driver Version : 520.56.06
CUDA Version : 11.8
Attached GPUs : 1
GPU 00000000:01:00.0
Product Name : NVIDIA GeForce RTX 3090 Ti
Product Brand : GeForce
Product Architecture : Ampere
Display Mode : Enabled
Display Active : Enabled
Persistence Mode : Enabled
MIG Mode
Current : N/A
Pending : N/A
Accounting Mode : Disabled
Accounting Mode Buffer Size : 4000
Driver Model
Current : N/A
Pending : N/A
Serial Number : N/A
GPU UUID : GPU-ba9fdcdb-8a2b-d2b6-f69c-5f2ac08dde8b
Minor Number : 0
VBIOS Version : 94.02.A0.00.2D
MultiGPU Board : No
Board ID : 0x100
GPU Part Number : N/A
Module ID : 0
Inforom Version
Image Version : G002.0000.00.03
OEM Object : 2.0
ECC Object : 6.16
Power Management Object : N/A
GPU Operation Mode
Current : N/A
Pending : N/A
GSP Firmware Version : N/A
GPU Virtualization Mode
Virtualization Mode : None
Host VGPU Mode : N/A
IBMNPU
Relaxed Ordering Mode : N/A
PCI
Bus : 0x01
Device : 0x00
Domain : 0x0000
Device Id : 0x220310DE
Bus Id : 00000000:01:00.0
Sub System Id : 0x88701043
GPU Link Info
PCIe Generation
Max : 4
Current : 1
Link Width
Max : 16x
Current : 16x
Bridge Chip
Type : N/A
Firmware : N/A
Replays Since Reset : 0
Replay Number Rollovers : 0
Tx Throughput : 1000 KB/s
Rx Throughput : 0 KB/s
Fan Speed : 0 %
Performance State : P8
Clocks Throttle Reasons
Idle : Active
Applications Clocks Setting : Not Active
SW Power Cap : Not Active
HW Slowdown : Not Active
HW Thermal Slowdown : Not Active
HW Power Brake Slowdown : Not Active
Sync Boost : Not Active
SW Thermal Slowdown : Not Active
Display Clock Setting : Not Active
FB Memory Usage
Total : 24564 MiB
Reserved : 310 MiB
Used : 510 MiB
Free : 23742 MiB
BAR1 Memory Usage
Total : 256 MiB
Used : 13 MiB
Free : 243 MiB
Compute Mode : Default
Utilization
Gpu : 6 %
Memory : 5 %
Encoder : 0 %
Decoder : 0 %
Encoder Stats
Active Sessions : 0
Average FPS : 0
Average Latency : 0
FBC Stats
Active Sessions : 0
Average FPS : 0
Average Latency : 0
Ecc Mode
Current : Disabled
Pending : Disabled
ECC Errors
Volatile
SRAM Correctable : N/A
SRAM Uncorrectable : N/A
DRAM Correctable : N/A
DRAM Uncorrectable : N/A
Aggregate
SRAM Correctable : N/A
SRAM Uncorrectable : N/A
DRAM Correctable : N/A
DRAM Uncorrectable : N/A
Retired Pages
Single Bit ECC : N/A
Double Bit ECC : N/A
Pending Page Blacklist : N/A
Remapped Rows
Correctable Error : 0
Uncorrectable Error : 0
Pending : No
Remapping Failure Occurred : No
Bank Remap Availability Histogram
Max : 192 bank(s)
High : 0 bank(s)
Partial : 0 bank(s)
Low : 0 bank(s)
None : 0 bank(s)
Temperature
GPU Current Temp : 36 C
GPU Shutdown Temp : 97 C
GPU Slowdown Temp : 94 C
GPU Max Operating Temp : 92 C
GPU Target Temperature : 83 C
Memory Current Temp : N/A
Memory Max Operating Temp : N/A
Power Readings
Power Management : Supported
Power Draw : 32.45 W
Power Limit : 480.00 W
Default Power Limit : 480.00 W
Enforced Power Limit : 480.00 W
Min Power Limit : 100.00 W
Max Power Limit : 516.00 W
Clocks
Graphics : 210 MHz
SM : 210 MHz
Memory : 405 MHz
Video : 555 MHz
Applications Clocks
Graphics : N/A
Memory : N/A
Default Applications Clocks
Graphics : N/A
Memory : N/A
Max Clocks
Graphics : 2115 MHz
SM : 2115 MHz
Memory : 10501 MHz
Video : 1950 MHz
Max Customer Boost Clocks
Graphics : N/A
Clock Policy
Auto Boost : N/A
Auto Boost Default : N/A
Voltage
Graphics : 740.000 mV
Processes
GPU instance ID : N/A
Compute instance ID : N/A
Process ID : 2283
Type : G
Name : /usr/lib/xorg/Xorg
Used GPU Memory : 259 MiB
GPU instance ID : N/A
Compute instance ID : N/A
Process ID : 2441
Type : G
Name : /usr/bin/gnome-shell
Used GPU Memory : 52 MiB
GPU instance ID : N/A
Compute instance ID : N/A
Process ID : 3320
Type : G
Name : /opt/docker-desktop/Docker Desktop --type=gpu-process --enable-crashpad --enable-crash-reporter=46721d59-e3cc-4241-8f96-57bab71f8674,no_channel --user-data-dir=/home/kanaka/.config/Docker Desktop --gpu-preferences=WAAAAAAAAAAgAAAIAAAAAAAAAAAAAAAAAABgAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAIAAAAAAAAAABAAAAAAAAAAgAAAAAAAAACAAAAAAAAAAIAAAAAAAAAA== --shared-files --field-trial-handle=0,i,777493636119283380,17735576311253417080,131072 --disable-features=SpareRendererForSitePerProcess
Used GPU Memory : 27 MiB
GPU instance ID : N/A
Compute instance ID : N/A
Process ID : 4402
Type : C+G
Name : /opt/google/chrome/chrome --type=gpu-process --enable-crashpad --crashpad-handler-pid=4367 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --gpu-preferences=WAAAAAAAAAAgAAAIAAAAAAAAAAAAAAAAAABgAAEAAAA4AAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAIAAAAAAAAAABAAAAAAAAAAgAAAAAAAAACAAAAAAAAAAIAAAAAAAAAA== --shared-files --field-trial-handle=0,i,1352372760819385498,10632265477078674372,131072
Used GPU Memory : 166 MiB
- [ x] Docker version from
docker version - Client: Docker Engine - Community
Cloud integration: v1.0.29
Version: 20.10.21
API version: 1.41
Go version: go1.18.7
Git commit: baeda1f
Built: Tue Oct 25 18:01:58 2022
OS/Arch: linux/amd64
Context: desktop-linux
Experimental: true
Server: Docker Desktop 4.15.0 (93002)
Engine:
Version: 20.10.21
API version: 1.41 (minimum version 1.12)
Go version: go1.18.7
Git commit: 3056208
Built: Tue Oct 25 18:00:19 2022
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.10
GitCommit: 770bd0108c32f3fb5c73ae1264f7e503fe7b2661
runc:
Version: 1.1.4
GitCommit: v1.1.4-0-g5fd4c4d
docker-init:
Version: 0.19.0
GitCommit: de40ad0
-
[x ] NVIDIA packages version from
dpkg -l '*nvidia*'orrpm -qa '*nvidia*'
-Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===================================-============================-============-========================================================================
un libgldispatch0-nvidia (no description available)
ii libnvidia-cfg1-515:amd64 520.56.06-0lambda0.22.04.3 amd64 Transitional package for libnvidia-cfg1-520
ii libnvidia-cfg1-520:amd64 520.56.06-0lambda0.22.04.3 amd64 NVIDIA binary OpenGL/GLX configuration library
un libnvidia-cfg1-any (no description available)
un libnvidia-common (no description available)
ii libnvidia-common-515 520.56.06-0lambda0.22.04.3 all Transitional package for libnvidia-common-520
ii libnvidia-common-520 520.56.06-0lambda0.22.04.3 all Shared files used by the NVIDIA libraries
un libnvidia-compute (no description available)
ii libnvidia-compute-515:amd64 520.56.06-0lambda0.22.04.3 amd64 Transitional package for libnvidia-compute-520
ii libnvidia-compute-515:i386 520.56.06-0lambda0.22.04.3 i386 Transitional package for libnvidia-compute-520
ii libnvidia-compute-520:amd64 520.56.06-0lambda0.22.04.3 amd64 NVIDIA libcompute package
ii libnvidia-compute-520:i386 520.56.06-0lambda0.22.04.3 i386 NVIDIA libcompute package
ii libnvidia-container-tools 1.11.0+dfsg-0lambda0.22.04.1 amd64 Package for configuring containers with NVIDIA hardware (CLI tool)
ii libnvidia-container1:amd64 1.11.0+dfsg-0lambda0.22.04.1 amd64 Package for configuring containers with NVIDIA hardware (shared library)
un libnvidia-decode (no description available)
ii libnvidia-decode-515:amd64 520.56.06-0lambda0.22.04.3 amd64 Transitional package for libnvidia-decode-520
ii libnvidia-decode-515:i386 520.56.06-0lambda0.22.04.3 i386 Transitional package for libnvidia-decode-520
ii libnvidia-decode-520:amd64 520.56.06-0lambda0.22.04.3 amd64 NVIDIA Video Decoding runtime libraries
ii libnvidia-decode-520:i386 520.56.06-0lambda0.22.04.3 i386 NVIDIA Video Decoding runtime libraries
ii libnvidia-egl-wayland1:amd64 1:1.1.9-1.1 amd64 Wayland EGL External Platform library -- shared library
un libnvidia-encode (no description available)
ii libnvidia-encode-515:amd64 520.56.06-0lambda0.22.04.3 amd64 Transitional package for libnvidia-encode-520
ii libnvidia-encode-515:i386 520.56.06-0lambda0.22.04.3 i386 Transitional package for libnvidia-encode-520
ii libnvidia-encode-520:amd64 520.56.06-0lambda0.22.04.3 amd64 NVENC Video Encoding runtime library
ii libnvidia-encode-520:i386 520.56.06-0lambda0.22.04.3 i386 NVENC Video Encoding runtime library
un libnvidia-encode1 (no description available)
un libnvidia-extra (no description available)
ii libnvidia-extra-515:amd64 520.56.06-0lambda0.22.04.3 amd64 Transitional package for libnvidia-extra-520
ii libnvidia-extra-520:amd64 520.56.06-0lambda0.22.04.3 amd64 Extra libraries for the NVIDIA driver
ii libnvidia-extra-520:i386 520.56.06-0lambda0.22.04.3 i386 Extra libraries for the NVIDIA driver
un libnvidia-fbc1 (no description available)
ii libnvidia-fbc1-515:amd64 520.56.06-0lambda0.22.04.3 amd64 Transitional package for libnvidia-fbc1-520
ii libnvidia-fbc1-515:i386 520.56.06-0lambda0.22.04.3 i386 Transitional package for libnvidia-fbc1-520
ii libnvidia-fbc1-520:amd64 520.56.06-0lambda0.22.04.3 amd64 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-fbc1-520:i386 520.56.06-0lambda0.22.04.3 i386 NVIDIA OpenGL-based Framebuffer Capture runtime library
un libnvidia-gl (no description available)
un libnvidia-gl-390 (no description available)
un libnvidia-gl-410 (no description available)
un libnvidia-gl-470 (no description available)
un libnvidia-gl-495 (no description available)
ii libnvidia-gl-515:amd64 520.56.06-0lambda0.22.04.3 amd64 Transitional package for libnvidia-gl-520
ii libnvidia-gl-515:i386 520.56.06-0lambda0.22.04.3 i386 Transitional package for libnvidia-gl-520
ii libnvidia-gl-520:amd64 520.56.06-0lambda0.22.04.3 amd64 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii libnvidia-gl-520:i386 520.56.06-0lambda0.22.04.3 i386 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
un libnvidia-legacy-390xx-egl-wayland1 (no description available)
un libnvidia-ml1 (no description available)
un nvidia-common (no description available)
un nvidia-compute-utils (no description available)
ii nvidia-compute-utils-515 520.56.06-0lambda0.22.04.3 amd64 Transitional package for nvidia-compute-utils-520
ii nvidia-compute-utils-520 520.56.06-0lambda0.22.04.3 amd64 NVIDIA compute utilities
un nvidia-contaienr-runtime (no description available)
un nvidia-container-runtime (no description available)
un nvidia-container-runtime-hook (no description available)
ii nvidia-container-toolkit 1.11.0-0lambda0.22.04.1 amd64 OCI hook for configuring containers for NVIDIA hardware
ii nvidia-container-toolkit-base 1.11.0-0lambda0.22.04.1 amd64 OCI hook for configuring containers for NVIDIA hardware
ii nvidia-dkms-515 520.56.06-0lambda0.22.04.3 amd64 Transitional package for nvidia-dkms-520
ii nvidia-dkms-520 520.56.06-0lambda0.22.04.3 amd64 NVIDIA DKMS package
un nvidia-dkms-kernel (no description available)
un nvidia-driver (no description available)
ii nvidia-driver-515 520.56.06-0lambda0.22.04.3 amd64 Transitional package for nvidia-driver-520
ii nvidia-driver-520 520.56.06-0lambda0.22.04.3 amd64 NVIDIA driver metapackage
un nvidia-driver-binary (no description available)
un nvidia-egl-wayland-common (no description available)
un nvidia-kernel-common (no description available)
ii nvidia-kernel-common-515 520.56.06-0lambda0.22.04.3 amd64 Transitional package for nvidia-kernel-common-520
ii nvidia-kernel-common-520 520.56.06-0lambda0.22.04.3 amd64 Shared files used with the kernel module
un nvidia-kernel-source (no description available)
ii nvidia-kernel-source-515 520.56.06-0lambda0.22.04.3 amd64 Transitional package for nvidia-kernel-source-520
ii nvidia-kernel-source-520 520.56.06-0lambda0.22.04.3 amd64 NVIDIA kernel source package
un nvidia-libopencl1-dev (no description available)
un nvidia-opencl-icd (no description available)
un nvidia-persistenced (no description available)
ii nvidia-prime 0.8.17.1 all Tools to enable NVIDIA's Prime
ii nvidia-settings 510.47.03-0ubuntu1 amd64 Tool for configuring the NVIDIA graphics driver
un nvidia-settings-binary (no description available)
un nvidia-smi (no description available)
un nvidia-utils (no description available)
ii nvidia-utils-515 520.56.06-0lambda0.22.04.3 amd64 Transitional package for nvidia-utils-520
ii nvidia-utils-520 520.56.06-0lambda0.22.04.3 amd64 NVIDIA driver support binaries
ii xserver-xorg-video-nvidia-515 520.56.06-0lambda0.22.04.3 amd64 Transitional package for xserver-xorg-video-nvidia-520
ii xserver-xorg-video-nvidia-520 520.56.06-0lambda0.22.04.3 amd64 NVIDIA binary Xorg driver -
[ x] NVIDIA container library version from
nvidia-container-cli -V -
cli-version: 1.11.0
lib-version: 1.11.0
build date: 2022-10-25T22:10+00:00
build revision:
build compiler: x86_64-linux-gnu-gcc-11 11.3.0
build platform: x86_64
build flags: -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -std=gnu11 -O2 -g -fdata-sections -ffunction-sections -fplan9-extensions -fstack-protector -fno-strict-aliasing -fvisibility=hidden -Wall -Wextra -Wcast-align -Wpointer-arith -Wmissing-prototypes -Wnonnull -Wwrite-strings -Wlogical-op -Wformat=2 -Wmissing-format-attribute -Winit-self -Wshadow -Wstrict-prototypes -Wunreachable-code -Wconversion -Wsign-conversion -Wno-unknown-warning-option -Wno-format-extra-args -Wno-gnu-alignof-expression -g -O2 -ffile-prefix-map=/build/libnvidia-container-956QFy/libnvidia-container-1.11.0+dfsg=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wl,-zrelro -Wl,-znow -Wl,-zdefs -Wl,--gc-sections -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro
Activity
elezar commentedon Dec 2, 2022
The toolkit explicitly looks for
libnvidia-ml.so.1which should be symlinked tolibnvidia-mk.so.<DRIVER_VERSION>after runningldconfigon your host. Sincenvidia-smiworks (and also useslibnvidia-ml.so.1), I would not expect this to be the case.How is docker installed, could it be that it is installed as a snap and cannot load the system libraries because of this?
Dan-Burns commentedon Dec 2, 2022
I installed docker-desktop after following the "docker engine" link on https://catalog.ngc.nvidia.com/orgs/nvidia/containers/tensorflow
johndpope commentedon Dec 5, 2022
same problem ubuntu 22:04
Linux msi 5.15.0-56-generic NVIDIA/nvidia-docker#62-Ubuntu SMP Tue Nov 22 19:54:14 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
docker desktop
can you unpack this?
The toolkit explicitly looks for libnvidia-ml.so.1 which should be symlinked to libnvidia-mk.so.<DRIVER_VERSION> after running ldconfig on your host. Since nvidia-smi works (and also uses libnvidia-ml.so.1), I would not expect this to be the case.
How is docker installed, could it be that it is installed as a snap and cannot load the system libraries because of this?
I installed
sudo apt-get install -y nvidia-docker2successfully
nvidia-docker2 is already the newest version (2.11.0-1).
johndpope commentedon Dec 5, 2022
not sure it helps - I had originally installed the driver from cuda 11.8 - but then when I did nvidia-docker2 install - the driver broke - so i reverted back to the system (auto install) driver.
UPDATE
reading through docs - for
https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html
this command works fine....
ok
it's basically a problem without using sudo...
UPDATE - FIXED.
I don't know if this helps - but on my installation I had
cudnn-local-repo-ubuntu2204-8.6.0.163_1.0-1_amd64.deb + 11.8 cuda
this is incorrect. i was using cog - and this didn't find the error - just assumed it was all working correctly.
updating to latest cudnn - resolved my original issue.
cudnn-local-repo-ubuntu2204-8.7.0.84_1.0-1_amd64.deb
groucho64738 commentedon Dec 12, 2022
I'm having a similar issue on a system I'm using for K8S, and no containers can run that require nvidia drivers with the same error (about libnvidia-ml.so.1). I'm not sure what specific steps broke it for me though. I was able to reproduce the error message on a command line by running the cuda container directly on our node: docker run --gpus=all --runtime=nvidia nvidia/cuda:11.8.0-base-ubuntu20.04 nvidia-smi
I created a debug log for nvidia-container-toolkit:
Not a lot of help there. If I run nvidia-container-cli -k -d /dev/tty info I get a list of all of the modules and libraries, so that functions. I've tried running the container in privileged mode as well and still get the same error. Each time, I'm root when trying to kick off the container to eliminate that piece as well.
This is an ubuntu 20.04 system, running docker 20.10.18. I've followed the installation directions in the install guide (pretty straightforward to follow)
If there any suggestions of what else to try to debug, I'm willing to give it a try. This has been a real headache.
groucho64738 commentedon Dec 13, 2022
I actually managed to fix this. At some point in time we had uncommented the option root = "/run/nvidia/driver" in /etc/nvidia-container-runtime/config.toml (must have seen directions on this somewhere). My best guess is that we had updated something on the system that made this no longer be a viable option, and after a reboot, everything stopped working. I commented out that option and everything popped up.
To find it, I created a wrapper around nvidia-container-cli:
That showed me a working and a non-working systems' option that were being passed.
Not working:
Working:
johndpope commentedon Dec 13, 2022
From the look of it - first line is 470 second is 511. It does seem like everything can be working fine - and then ubuntu automatically changes driver (rendering a broken system) - I recommend using timeshift to create a snapshot when everything is working (new driver / cuda update etc) - https://github.com/linuxmint/timeshift - it's trivial to roll back to working snapshot and you won't lose any personal files.
ThatCooperLewis commentedon Dec 14, 2022
Trying to build containers on Arch here, installed Docker through docker-desktop originally, but I've also installed
nvidia-docker,cuda,cuda-tools,cudnn, andnvidia-container-toolkiton the host machine in an attempt to resolve this.The only workaround I've found so far is to run docker as root. That resolves this specific issue but, of course, I'd rather not be forced to run all my docker commands via sudo (also Docker Desktop fails to recognize those containers/images).
Some relevant outputs from host machine:
ThatCooperLewis commentedon Dec 15, 2022
I changed distros and still had a very similar issue with Docker Desktop +
nvidia-dockertogether. But adding this workaround to the nvidia runtime config seemed to fix things for me. [UPDATE: It does not]Unsure of whether this was the cause in my old distro (EndeavorOS), but I will try to confirm later.
shiwakant commentedon Dec 26, 2022
All instructions were helpful, but I had to start docker, docker build, and docker run at root privileges to make it work!!!
Even after repeated hard tries, unable to run at a user-level permissions.
pochoi commentedon Jan 8, 2023
I have the same error
[nvidia-container-cli: initialization error: load library failed: libnvidia-ml.so.1](https://github.com/NVIDIA/nvidia-container-toolkit/issues/154)when running docker without sudo.Is there possible ways to get thing work without sudo?
ThatCooperLewis commentedon Jan 8, 2023
@shiwakant @pochoi You can get this working by avoiding Docker Desktop and instead setting up Docker Rootless Mode
lbadi commentedon Jan 19, 2023
I know that this might be a dumb answer, but i was having the same issues and got fixed after i log in into
docker login ghcr.io -u *** --password-stdin.turboazot commentedon Mar 24, 2023
From my side I used:
Worked for me. But in case if you are using docker image with dind and nvidia-docker integration in it, execute this in entrypoint script, otherwise it may not work.
justmiles commentedon Mar 30, 2023
I ran into this as well and was simply missing the
nvidia-driver-<version>andnvidia-dkms-<version>packages. Would be worth double-checking the actual Nvidia drivers are installed.25 remaining items
zebin-huang commentedon Jan 22, 2024
This works for me!
sjmach commentedon Feb 8, 2024
This works for me too. Please replace appropriate version of Ubuntu in the 4 line by running this command first in your terminal and getting the codename string
lsb_release -aclh15683 commentedon Feb 14, 2024
If you encounter this with Docker Desktop, make sure that you enable the WSL integration for your distribution under Settings->Resources->WSL Integration. It seems that Docker Desktop occasionally forgets this setting on Updates.
GabrielDornelles commentedon Feb 25, 2024
I followed this conversation last night, turned off the pc and good. Today I went back to work, and it wasnt working anymore, same error occuring of not finding
libnvidia-ml.so.1.I don't really know how to solve this, its package issues as pointed by others. What I had to do to make it work again was
Removing the docker stuff (the previous long shell command is what worked before, but now it doesnt).
Then re installing everything again from docker instructions:
gerardo8a commentedon Mar 6, 2024
I had the issue with the nvidia library as well and after looking into one of my working nodes the
/usr/local/nvidia/toolkit/.config/nvidia-container-runtime/config.tomlwas different the following two values where set different and that was the root of the error.working
Not working
elezar commentedon Mar 7, 2024
@gerardo8a how was your NVIDIA Container Toolkit and the NVIDIA driver installed? Your non-working config seems to reference a containerized driver insallation (usually under the GPU Operator), whereas your working config references a driver installation on the host (note the
rootandldconfigvalues).iganev commentedon Apr 30, 2024
As Gabe here describes, if reinstalling docker
apt reinstall docker-cefixes your issue temporarily, make sure you don't have another docker installed through snap (snap list).zhangxianwei2015 commentedon May 4, 2024
For my case, configure the container runtime for Docker running in [Rootless mode] (https://docs.docker.com/engine/security/rootless/) works for me.
[CI] Use cuda 12.1 docker image again. (#14179)
EXPX3 commentedon Jul 24, 2024
"apt-get upgrade" helped me resolving the issue
pbanuru commentedon Feb 6, 2025
I had a similar issue, getting the following when using the gpu:
and resolved it by removing Docker from snap using:
sudo snap remove docker --purgeThen, since I still have Docker CE installed, I did:
to bring back my docker socket which got removed from the snap remove.
Things worked after that. It's the second time having a snap package has caused issues for me.
Here's what I'm left with:
github-actions commentedon Nov 5, 2025
This issue is stale because it has been open 90 days with no activity. This issue will be closed in 30 days unless new comments are made or the stale label is removed. To skip these checks, apply the "lifecycle/frozen" label.
elezar commentedon Nov 14, 2025
Docker Desktop on Linux and docker installed using snap are not currently supported.
I am closing this issue. If any problems persist using the latest version of the NVIDIA Container Toolkit, please open a new issue.