You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my Arch Linux system with a 4090, running podman 5.2.2, after doing an update today the following command fails with an error:
podman run -it -d \
--pod my-own-pod \
--gpus all \
my-own-image:latest
The error:
Error: crun: cannot stat `/usr/lib/libnvidia-egl-wayland.so.1.1.13`: No such file or directory: OCI runtime attempted to invoke a command that was not found
This can be temporarily resolved by creating a symlink to the 1.1.16 version, which does exist in /usr/lib:
cd /usr/lib
sudo ln -s libnvidia-egl-wayland.so.1.1.16 libnvidia-egl-wayland.so.1.1.13
Install Arch Linux on bare metal with nvidia drivers, and run pacman -Syu to get the latest of everything. Ensure nvidia-container-toolkit is installed too.
Attempt to run the command I showed above, or probably any other podman command with the --gpus flag
Describe the results you received
Error: crun: cannot stat `/usr/lib/libnvidia-egl-wayland.so.1.1.13`: No such file or directory: OCI runtime attempted to invoke a command that was not found
Describe the results you expected
I should not need to create a symlink to resolve the issue; it should be able to detect the correct .so file.
podman info output
host:
arch: amd64buildahVersion: 1.37.2cgroupControllers:
- cpu
- memory
- pidscgroupManager: systemdcgroupVersion: v2conmon:
package: conmon-1:2.1.12-1path: /usr/bin/conmonversion: 'conmon version 2.1.12, commit: e8896631295ccb0bfdda4284f1751be19b483264'cpuUtilization:
idlePercent: 96.9systemPercent: 1.38userPercent: 1.72cpus: 12databaseBackend: sqlitedistribution:
distribution: archversion: unknowneventLogger: journaldfreeLocks: 1917hostname: "4090"idMappings:
gidmap:
- container_id: 0host_id: 1000size: 1
- container_id: 1host_id: 100000size: 65536uidmap:
- container_id: 0host_id: 1000size: 1
- container_id: 1host_id: 100000size: 65536kernel: 6.10.9-arch1-2linkmode: dynamiclogDriver: journaldmemFree: 109240987648memTotal: 134953447424networkBackend: netavarknetworkBackendInfo:
backend: netavarkdns:
package: aardvark-dns-1.12.2-1path: /usr/lib/podman/aardvark-dnsversion: aardvark-dns 1.12.2package: netavark-1.12.2-1path: /usr/lib/podman/netavarkversion: netavark 1.12.2ociRuntime:
name: crunpackage: crun-1.17-1path: /usr/bin/crunversion: |- crun version 1.17 commit: 000fa0d4eeed8938301f3bcf8206405315bc1017 rundir: /run/user/1000/crun spec: 1.0.0 +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +YAJLos: linuxpasta:
executable: /usr/bin/pastapackage: passt-2024_09_06.6b38f07-1version: | pasta 2024_09_06.6b38f07 Copyright Red Hat GNU General Public License, version 2 or later <https://www.gnu.org/licenses/old-licenses/gpl-2.0.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.remoteSocket:
exists: falsepath: /run/user/1000/podman/podman.sockrootlessNetworkCmd: pastasecurity:
apparmorEnabled: falsecapabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOTrootless: trueseccompEnabled: trueseccompProfilePath: /etc/containers/seccomp.jsonselinuxEnabled: falseserviceIsRemote: falseslirp4netns:
executable: /usr/bin/slirp4netnspackage: slirp4netns-1.3.1-1version: |- slirp4netns version 1.3.1 commit: e5e368c4f5db6ae75c2fce786e31eef9da6bf236 libslirp: 4.8.0 SLIRP_CONFIG_VERSION_MAX: 5 libseccomp: 2.5.5swapFree: 4294963200swapTotal: 4294963200uptime: 0h 21m 14.00svariant: ""plugins:
authorization: nulllog:
- k8s-file
- none
- passthrough
- journaldnetwork:
- bridge
- macvlan
- ipvlanvolume:
- localregistries: {}store:
configFile: /home/user/.config/containers/storage.confcontainerStore:
number: 42paused: 0running: 41stopped: 1graphDriverName: overlaygraphOptions: {}graphRoot: /home/user/.local/share/containers/storagegraphRootAllocated: 1999843098624graphRootUsed: 1527613612032graphStatus:
Backing Filesystem: btrfsNative Overlay Diff: "true"Supports d_type: "true"Supports shifting: "false"Supports volatile: "true"Using metacopy: "false"imageCopyTmpDir: /var/tmpimageStore:
number: 40runRoot: /run/user/1000/containerstransientStore: falsevolumePath: /home/user/.local/share/containers/storage/volumesversion:
APIVersion: 5.2.2Built: 1724352649BuiltTime: Thu Aug 22 11:50:49 2024GitCommit: fcee48106a12dd531702d729d17f40f6e152027fGoVersion: go1.23.0Os: linuxOsArch: linux/amd64Version: 5.2.2
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
Arch Linux on bare metal
AMD ryzen CPU
Nvidia 4090
Additional information
Only happens when trying to use the --gpus flag. Also, I am not using wayland - only x11.
The text was updated successfully, but these errors were encountered:
If you change the device or CUDA driver configuration, you must generate a new CDI specification. A configuration change can occur when MIG devices are created or removed, or when the driver is upgraded.
So yes it is expected that you have to regenerate the config
Issue Description
On my Arch Linux system with a 4090, running podman 5.2.2, after doing an update today the following command fails with an error:
The error:
This can be temporarily resolved by creating a symlink to the 1.1.16 version, which does exist in
/usr/lib
:cd /usr/lib sudo ln -s libnvidia-egl-wayland.so.1.1.16 libnvidia-egl-wayland.so.1.1.13
I have also posted this at NVIDIA/nvidia-container-toolkit#692.
Steps to reproduce the issue
Steps to reproduce the issue
pacman -Syu
to get the latest of everything. Ensurenvidia-container-toolkit
is installed too.--gpus
flagDescribe the results you received
Describe the results you expected
I should not need to create a symlink to resolve the issue; it should be able to detect the correct
.so
file.podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
Arch Linux on bare metal
AMD ryzen CPU
Nvidia 4090
Additional information
Only happens when trying to use the
--gpus
flag. Also, I am not using wayland - only x11.The text was updated successfully, but these errors were encountered: