NVIDIA / nvidia-container-toolkit

Build and run containers leveraging NVIDIA GPUs
Apache License 2.0
2.46k stars 264 forks source link

Pop!_OS 22.04 LTS #244

Open FilipStadler opened 2 years ago

FilipStadler commented 2 years ago

The template below is mostly useful for bug reports and support questions. Feel free to remove anything which doesn't apply to you and add more information where it makes sense.

Also, before reporting a new issue, please make sure that:


1. Issue or feature description

I need docker wtih cuda on my system

ID_LIKE="ubuntu debian" PRETTY_NAME="Pop!_OS 22.04 LTS" VERSION_ID="22.04" HOME_URL="https://pop.system76.com" SUPPORT_URL="https://support.system76.com" BUG_REPORT_URL="https://github.com/pop-os/pop/issues" PRIVACY_POLICY_URL="https://system76.com/privacy" VERSION_CODENAME=jammy UBUNTU_CODENAME=jammy LOGO=distributor-logo-pop-os

2. Steps to reproduce the issue

1 2 3 | $ distribution=$(. /etc/os-release;echo $ID$VERSION_ID) $ curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add - $ curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list

Does not work for this system

3. Information to attach (optional if deemed irrelevant)

I0822 16:26:00.971531 135628 nvc.c:376] initializing library context (version=1.8.0, build=) I0822 16:26:00.971593 135628 nvc.c:350] using root / I0822 16:26:00.971603 135628 nvc.c:351] using ldcache /etc/ld.so.cache I0822 16:26:00.971612 135628 nvc.c:352] using unprivileged user 1000:1000 I0822 16:26:00.971656 135628 nvc.c:393] attempting to load dxcore to see if we are running under Windows Subsystem for Linux (WSL) I0822 16:26:00.971846 135628 nvc.c:395] dxcore initialization failed, continuing assuming a non-WSL environment W0822 16:26:00.973703 135629 nvc.c:273] failed to set inheritable capabilities W0822 16:26:00.973741 135629 nvc.c:274] skipping kernel modules load due to failure I0822 16:26:00.974176 135630 rpc.c:71] starting driver rpc service I0822 16:26:00.993045 135628 nvc_info.c:759] requesting driver information with '' I0822 16:26:00.996576 135628 nvc_info.c:172] selecting /usr/lib/x86_64-linux-gnu/libnvoptix.so.515.48.07 I0822 16:26:00.997191 135628 nvc_info.c:172] selecting /usr/lib/x86_64-linux-gnu/libnvidia-tls.so.515.48.07 I0822 16:26:00.997800 135628 nvc_info.c:172] selecting /usr/lib/x86_64-linux-gnu/libnvidia-rtcore.so.515.48.07 I0822 16:26:00.998591 135628 nvc_info.c:172] selecting /usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so.515.48.07 I0822 16:26:00.999423 135628 nvc_info.c:172] selecting /usr/lib/x86_64-linux-gnu/libnvidia-opticalflow.so.515.48.07 I0822 16:26:00.999549 135628 nvc_info.c:172] selecting /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.515.48.07 I0822 16:26:01.000267 135628 nvc_info.c:172] selecting /usr/lib/x86_64-linux-gnu/libnvidia-ngx.so.515.48.07 I0822 16:26:01.000336 135628 nvc_info.c:172] selecting /usr/lib/x86_64-linux-gnu/libnvidia-ml.so.515.48.07 I0822 16:26:01.001058 135628 nvc_info.c:172] selecting /usr/lib/x86_64-linux-gnu/libnvidia-glvkspirv.so.515.48.07 I0822 16:26:01.001113 135628 nvc_info.c:172] selecting /usr/lib/x86_64-linux-gnu/libnvidia-glsi.so.515.48.07 I0822 16:26:01.001180 135628 nvc_info.c:172] selecting /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.515.48.07 I0822 16:26:01.001868 135628 nvc_info.c:172] selecting /usr/lib/x86_64-linux-gnu/libnvidia-fbc.so.515.48.07 I0822 16:26:01.001951 135628 nvc_info.c:172] selecting /usr/lib/x86_64-linux-gnu/libnvidia-encode.so.515.48.07 I0822 16:26:01.002047 135628 nvc_info.c:172] selecting /usr/lib/x86_64-linux-gnu/libnvidia-eglcore.so.515.48.07 I0822 16:26:01.002699 135628 nvc_info.c:172] selecting /usr/lib/x86_64-linux-gnu/libnvidia-compiler.so.515.48.07 I0822 16:26:01.002756 135628 nvc_info.c:172] selecting /usr/lib/x86_64-linux-gnu/libnvidia-cfg.so.515.48.07 I0822 16:26:01.003666 135628 nvc_info.c:172] selecting /usr/lib/x86_64-linux-gnu/libnvidia-allocator.so.515.48.07 I0822 16:26:01.003986 135628 nvc_info.c:172] selecting /usr/lib/x86_64-linux-gnu/libnvcuvid.so.515.48.07 I0822 16:26:01.004834 135628 nvc_info.c:172] selecting /usr/lib/x86_64-linux-gnu/libcuda.so.515.48.07 I0822 16:26:01.005138 135628 nvc_info.c:172] selecting /usr/lib/x86_64-linux-gnu/libGLX_nvidia.so.515.48.07 I0822 16:26:01.005813 135628 nvc_info.c:172] selecting /usr/lib/x86_64-linux-gnu/libGLESv2_nvidia.so.515.48.07 I0822 16:26:01.006732 135628 nvc_info.c:172] selecting /usr/lib/x86_64-linux-gnu/libGLESv1_CM_nvidia.so.515.48.07 I0822 16:26:01.006809 135628 nvc_info.c:172] selecting /usr/lib/x86_64-linux-gnu/libEGL_nvidia.so.515.48.07 I0822 16:26:01.007537 135628 nvc_info.c:172] selecting /usr/lib/i386-linux-gnu/libnvidia-tls.so.515.48.07 I0822 16:26:01.008132 135628 nvc_info.c:172] selecting /usr/lib/i386-linux-gnu/libnvidia-ptxjitcompiler.so.515.48.07 I0822 16:26:01.009045 135628 nvc_info.c:172] selecting /usr/lib/i386-linux-gnu/libnvidia-opticalflow.so.515.48.07 I0822 16:26:01.009868 135628 nvc_info.c:172] selecting /usr/lib/i386-linux-gnu/libnvidia-opencl.so.515.48.07 I0822 16:26:01.010683 135628 nvc_info.c:172] selecting /usr/lib/i386-linux-gnu/libnvidia-ml.so.515.48.07 I0822 16:26:01.011546 135628 nvc_info.c:172] selecting /usr/lib/i386-linux-gnu/libnvidia-glvkspirv.so.515.48.07 I0822 16:26:01.012415 135628 nvc_info.c:172] selecting /usr/lib/i386-linux-gnu/libnvidia-glsi.so.515.48.07 I0822 16:26:01.013225 135628 nvc_info.c:172] selecting /usr/lib/i386-linux-gnu/libnvidia-glcore.so.515.48.07 I0822 16:26:01.014113 135628 nvc_info.c:172] selecting /usr/lib/i386-linux-gnu/libnvidia-fbc.so.515.48.07 I0822 16:26:01.015018 135628 nvc_info.c:172] selecting /usr/lib/i386-linux-gnu/libnvidia-encode.so.515.48.07 I0822 16:26:01.015903 135628 nvc_info.c:172] selecting /usr/lib/i386-linux-gnu/libnvidia-eglcore.so.515.48.07 I0822 16:26:01.016711 135628 nvc_info.c:172] selecting /usr/lib/i386-linux-gnu/libnvidia-compiler.so.515.48.07 I0822 16:26:01.017535 135628 nvc_info.c:172] selecting /usr/lib/i386-linux-gnu/libnvcuvid.so.515.48.07 I0822 16:26:01.018612 135628 nvc_info.c:172] selecting /usr/lib/i386-linux-gnu/libcuda.so.515.48.07 I0822 16:26:01.019543 135628 nvc_info.c:172] selecting /usr/lib/i386-linux-gnu/libGLX_nvidia.so.515.48.07 I0822 16:26:01.020408 135628 nvc_info.c:172] selecting /usr/lib/i386-linux-gnu/libGLESv2_nvidia.so.515.48.07 I0822 16:26:01.021140 135628 nvc_info.c:172] selecting /usr/lib/i386-linux-gnu/libGLESv1_CM_nvidia.so.515.48.07 I0822 16:26:01.021933 135628 nvc_info.c:172] selecting /usr/lib/i386-linux-gnu/libEGL_nvidia.so.515.48.07 W0822 16:26:01.021978 135628 nvc_info.c:398] missing library libnvidia-nscq.so W0822 16:26:01.021987 135628 nvc_info.c:398] missing library libnvidia-fatbinaryloader.so W0822 16:26:01.021998 135628 nvc_info.c:398] missing library libnvidia-pkcs11.so W0822 16:26:01.022014 135628 nvc_info.c:398] missing library libvdpau_nvidia.so W0822 16:26:01.022023 135628 nvc_info.c:398] missing library libnvidia-ifr.so W0822 16:26:01.022030 135628 nvc_info.c:398] missing library libnvidia-cbl.so W0822 16:26:01.022040 135628 nvc_info.c:402] missing compat32 library libnvidia-cfg.so W0822 16:26:01.022051 135628 nvc_info.c:402] missing compat32 library libnvidia-nscq.so W0822 16:26:01.022062 135628 nvc_info.c:402] missing compat32 library libnvidia-fatbinaryloader.so W0822 16:26:01.022077 135628 nvc_info.c:402] missing compat32 library libnvidia-allocator.so W0822 16:26:01.022089 135628 nvc_info.c:402] missing compat32 library libnvidia-pkcs11.so W0822 16:26:01.022108 135628 nvc_info.c:402] missing compat32 library libnvidia-ngx.so W0822 16:26:01.022126 135628 nvc_info.c:402] missing compat32 library libvdpau_nvidia.so W0822 16:26:01.022143 135628 nvc_info.c:402] missing compat32 library libnvidia-ifr.so W0822 16:26:01.022157 135628 nvc_info.c:402] missing compat32 library libnvidia-rtcore.so W0822 16:26:01.022171 135628 nvc_info.c:402] missing compat32 library libnvoptix.so W0822 16:26:01.022183 135628 nvc_info.c:402] missing compat32 library libnvidia-cbl.so I0822 16:26:01.022879 135628 nvc_info.c:298] selecting /usr/bin/nvidia-smi I0822 16:26:01.022936 135628 nvc_info.c:298] selecting /usr/bin/nvidia-debugdump I0822 16:26:01.022985 135628 nvc_info.c:298] selecting /usr/bin/nvidia-persistenced I0822 16:26:01.023092 135628 nvc_info.c:298] selecting /usr/bin/nvidia-cuda-mps-control I0822 16:26:01.023149 135628 nvc_info.c:298] selecting /usr/bin/nvidia-cuda-mps-server W0822 16:26:01.023270 135628 nvc_info.c:424] missing binary nv-fabricmanager I0822 16:26:01.027377 135628 nvc_info.c:342] listing firmware path /usr/lib/firmware/nvidia/515.48.07/gsp.bin I0822 16:26:01.027461 135628 nvc_info.c:522] listing device /dev/nvidiactl I0822 16:26:01.027478 135628 nvc_info.c:522] listing device /dev/nvidia-uvm I0822 16:26:01.027492 135628 nvc_info.c:522] listing device /dev/nvidia-uvm-tools I0822 16:26:01.027505 135628 nvc_info.c:522] listing device /dev/nvidia-modeset I0822 16:26:01.027567 135628 nvc_info.c:342] listing ipc path /run/nvidia-persistenced/socket W0822 16:26:01.027621 135628 nvc_info.c:348] missing ipc path /var/run/nvidia-fabricmanager/socket W0822 16:26:01.027659 135628 nvc_info.c:348] missing ipc path /tmp/nvidia-mps I0822 16:26:01.027672 135628 nvc_info.c:815] requesting device information with '' I0822 16:26:01.036615 135628 nvc_info.c:706] listing device /dev/nvidia0 (GPU-a31063d4-789f-e243-e9e3-6942308430fa at 00000000:02:00.0) I0822 16:26:01.036699 135628 nvc.c:430] shutting down library context I0822 16:26:01.044406 135630 rpc.c:95] terminating driver rpc service I0822 16:26:01.044715 135628 rpc.c:132] driver rpc service terminated successfully NVRM: kommando ikke fundet

Timestamp : Mon Aug 22 18:28:31 2022 Driver Version : 515.48.07 CUDA Version : 11.7

Attached GPUs : 1 GPU 00000000:02:00.0 Product Name : NVIDIA GeForce GTX 1660 SUPER Product Brand : GeForce Product Architecture : Turing Display Mode : Enabled Display Active : Disabled Persistence Mode : Disabled 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-a31063d4-789f-e243-e9e3-6942308430fa Minor Number : 0 VBIOS Version : 90.16.4F.00.E1 MultiGPU Board : No Board ID : 0x200 GPU Part Number : N/A Module ID : 0 Inforom Version Image Version : G001.0000.02.04 OEM Object : 1.1 ECC Object : N/A 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 : 0x02 Device : 0x00 Domain : 0x0000 Device Id : 0x21C410DE Bus Id : 00000000:02:00.0 Sub System Id : 0x873A1043 GPU Link Info PCIe Generation Max : 2 Current : 2 Link Width Max : 16x Current : 16x Bridge Chip Type : N/A Firmware : N/A Replays Since Reset : 0 Replay Number Rollovers : 0 Tx Throughput : 63000 KB/s Rx Throughput : 474000 KB/s Fan Speed : 0 % Performance State : P5 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 : 6144 MiB Reserved : 200 MiB Used : 645 MiB Free : 5297 MiB BAR1 Memory Usage Total : 256 MiB Used : 13 MiB Free : 243 MiB Compute Mode : Default Utilization Gpu : 27 % Memory : 9 % 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 : N/A Pending : N/A 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 : N/A Temperature GPU Current Temp : 53 C GPU Shutdown Temp : 96 C GPU Slowdown Temp : 93 C GPU Max Operating Temp : 91 C GPU Target Temperature : 83 C Memory Current Temp : N/A Memory Max Operating Temp : N/A Power Readings Power Management : Supported Power Draw : 25.53 W Power Limit : 125.00 W Default Power Limit : 125.00 W Enforced Power Limit : 125.00 W Min Power Limit : 70.00 W Max Power Limit : 150.00 W Clocks Graphics : 660 MHz SM : 660 MHz Memory : 810 MHz Video : 615 MHz Applications Clocks Graphics : N/A Memory : N/A Default Applications Clocks Graphics : N/A Memory : N/A Max Clocks Graphics : 2145 MHz SM : 2145 MHz Memory : 7001 MHz Video : 1950 MHz Max Customer Boost Clocks Graphics : N/A Clock Policy Auto Boost : N/A Auto Boost Default : N/A Voltage Graphics : N/A Processes GPU instance ID : N/A Compute instance ID : N/A Process ID : 44000 Type : G Name : /usr/lib/xorg/Xorg Used GPU Memory : 162 MiB GPU instance ID : N/A Compute instance ID : N/A Process ID : 44111 Type : G Name : /usr/bin/gnome-shell Used GPU Memory : 59 MiB GPU instance ID : N/A Compute instance ID : N/A Process ID : 50645 Type : G Name : /opt/google/chrome/chrome --type=gpu-process --enable-crashpad --crashpad-handler-pid=50609 --enable-crash-reporter=, --change-stack-guard-on-fork=enable --gpu-preferences=WAAAAAAAAAAgAAAIAAAAAAAAAAAAAAAAAABgAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAIAAAAAAAAAABAAAAAAAAAAgAAAAAAAAACAAAAAAAAAAIAAAAAAAAAA== --shared-files --field-trial-handle=0,i,15529812744641548662,7218497464550427539,131072 Used GPU Memory : 311 MiB GPU instance ID : N/A Compute instance ID : N/A Process ID : 87582 Type : G Name : /usr/lib/thunderbird/thunderbird Used GPU Memory : 44 MiB GPU instance ID : N/A Compute instance ID : N/A Process ID : 130815 Type : G Name : obs Used GPU Memory : 60 MiB

Server: Engine: Version: 20.10.12 API version: 1.41 (minimum version 1.12) Go version: go1.17.3 Git commit: 20.10.12-0ubuntu4 Built: Mon Mar 7 15:57:50 2022 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.5.9-0ubuntu3 GitCommit:
runc: Version: 1.1.0-0ubuntu1 GitCommit:
docker-init: Version: 0.19.0 GitCommit:

elezar commented 2 years ago

You can specify DIST as ubuntu18.04 directly in the command to install the repository.

Note that you may need to change the priority of this repository over the ones included in pop by default.