Skip to content

Generating Container Device Interface for NVIDIA: Management Library not found: could not load NVML library: libnvidia-ml.so.1: cannot open shared object file: No such file or directory #1640

@fujisan43

Description

@fujisan43

Describe the bug
I'm running a desktop with Fedora Workstation 41.
After downloading and creating a container, I cannot enter it. It tries to generate a 'Container Device Interface for NVIDIA'. Problem is, I do not have nvidia installed. I'm using the Nouveau driver.
I suspect the problem is linked to nvidia, but from this thread (#1578), the user seems to be able to go beyond the message 'Generating Container Device Interface for NVIDIA: skipping'.

Steps how to reproduce the behaviour

  1. toolbox create
  2. toolbox enter

Expected behaviour
I expect to enter the container.

Actual behaviour

$ toolbox enter -v 
DEBU Running as real user ID 1010                 
DEBU Resolved absolute path to the executable as /usr/bin/toolbox 
DEBU Running on a cgroups v2 host                 
DEBU Looking up sub-GID and sub-UID ranges for user user01 
DEBU TOOLBX_DELAY_ENTRY_POINT is                  
DEBU TOOLBX_FAIL_ENTRY_POINT is                   
DEBU TOOLBOX_PATH is /usr/bin/toolbox             
DEBU Migrating to newer Podman                    
DEBU Toolbx config directory is /home/user01/.config/toolbox 
WARN[0000] Failed to decode the keys ["storage.options.remap-uids" "storage.options.remap-gids" "storage.options.remap-user" "storage.options.remap-group" "storage.options.ostree_repo" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries"] from "/home/user01/.config/containers/storage.conf" 
DEBU Current Podman version is 5.4.2              
DEBU Creating runtime directory /run/user/1010/toolbox 
DEBU Old Podman version is 5.4.2                  
DEBU Migration not needed: Podman version 5.4.2 is unchanged 
DEBU Setting up configuration                     
DEBU Setting up configuration: file /home/user01/.config/containers/toolbox.conf not found 
DEBU Resolving container and image names          
DEBU Container: ''                                
DEBU Distribution (CLI): ''                       
DEBU Image (CLI): ''                              
DEBU Release (CLI): ''                            
DEBU Resolved container and image names           
DEBU Container: 'fedora-toolbox-41'               
DEBU Image: 'fedora-toolbox:41'                   
DEBU Release: '41'                                
DEBU Resolving container and image names          
DEBU Container: ''                                
DEBU Distribution (CLI): ''                       
DEBU Image (CLI): ''                              
DEBU Release (CLI): ''                            
DEBU Resolved container and image names           
DEBU Container: 'fedora-toolbox-41'               
DEBU Image: 'fedora-toolbox:41'                   
DEBU Release: '41'                                
DEBU Checking if container fedora-toolbox-41 exists 
WARN[0000] Failed to decode the keys ["storage.options.remap-uids" "storage.options.remap-gids" "storage.options.remap-user" "storage.options.remap-group" "storage.options.ostree_repo" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries"] from "/home/user01/.config/containers/storage.conf" 
DEBU Inspecting container fedora-toolbox-41       
WARN[0000] Failed to decode the keys ["storage.options.remap-uids" "storage.options.remap-gids" "storage.options.remap-user" "storage.options.remap-group" "storage.options.ostree_repo" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries" "storage.options.thinpool.xfs_nospace_max_retries"] from "/home/user01/.config/containers/storage.conf" 
DEBU Entry point of container fedora-toolbox-41 is toolbox (PID=0) 
DEBU Inspecting mounts of container fedora-toolbox-41 
DEBU Generating Container Device Interface for NVIDIA 
DEBU Generating Container Device Interface for NVIDIA: Management Library not found: could not load NVML library: libnvidia-ml.so.1: cannot open shared object file: No such file or directory 
DEBU Generating Container Device Interface for NVIDIA: not a Tegra system: /sys/devices/soc0/family file not found 
DEBU Generating Container Device Interface for NVIDIA: skipping 
DEBU Starting container fedora-toolbox-41         
Error: failed to start container fedora-toolbox-41

Output of toolbox --version (v0.0.90+)
toolbox version 0.1.1

Toolbx package info (rpm -q toolbox)
toolbox-0.1.1-1.fc41.x86_64

Output of podman version
e.g.,

Client:        Podman Engine
Version:       5.4.2
API Version:   5.4.2
Go Version:    go1.23.7
Git Commit:    be85287fcf4590961614ee37be65eeb315e5d9ff
Built:         Wed Apr  2 02:00:00 2025
Build Origin:  Fedora Project
OS/Arch:       linux/amd64

Podman package info (rpm -q podman)
podman-5.4.2-1.fc41.x86_64

Info about your OS
Fedora Workstation 41

Additional context
The user logged in on the workstation is a freeipa user.

$ toolbox list
IMAGE ID      IMAGE NAME                                    CREATED
0f3bd7e6a1bf  registry.fedoraproject.org/fedora-toolbox:41  3 hours ago

CONTAINER ID  CONTAINER NAME     CREATED        STATUS   IMAGE NAME
7889dd825c79  fedora-toolbox-41  9 minutes ago  created  registry.fedoraproject.org/fedora-toolbox:41
$ rpm -qa|grep -i nvidia
$ rpm -qa|grep -i nouveau
xorg-x11-drv-nouveau-1.0.17-11.fc41.x86_64
$ lsmod|grep nouveau
nouveau              3866624  2
drm_ttm_helper         16384  1 nouveau
gpu_sched              65536  1 nouveau
drm_gpuvm              45056  1 nouveau
drm_exec               12288  2 drm_gpuvm,nouveau
mxm_wmi                12288  1 nouveau
i2c_algo_bit           20480  2 i915,nouveau
ttm                   114688  3 drm_ttm_helper,i915,nouveau
drm_display_helper    303104  2 i915,nouveau
video                  81920  3 dell_wmi,i915,nouveau
wmi                    32768  10 video,intel_wmi_thunderbolt,dell_wmi,dell_wmi_aio,wmi_bmof,dell_smm_hwmon,dell_smbios,dell_wmi_descriptor,mxm_wmi,nouveau

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions