Steam-Headless / docker-steam-headless

A Headless Steam Docker image supporting NVIDIA GPU and accessible via Web UI
GNU General Public License v2.0
730 stars 79 forks source link

[Bug]: [ /etc/cont-init.d/60-configure_gpu_driver.sh: executing... ] ... **** Found NVIDIA device 'Please also try adding directory that contains libnvidia-ml.so to your system PATH.' **** #114

Open danimauden opened 7 months ago

danimauden commented 7 months ago

Describe the Bug

Hi,

I tried running the docker compose privileged, setting the variables to use the Nvidia GPU (GTX 1050Ti) but the pod keeps rebooting and gives this error:

[ /etc/cont-init.d/10-setup_user.sh: executing... ] Configure default user - Setting default user uid=1000(default) gid=1000(default) usermod: no changes - Adding default user to any additional required device groups - Adding user 'default' to group: 'video' - Adding user 'default' to group: 'audio' - Adding user 'default' to group: 'input' - Adding user 'default' to group: 'pulse' - Adding user 'default' to group: 'kvm' for device: /dev/input/event0 - Setting umask to 000 - Create the user XDG_RUNTIME_DIR path '/tmp/.X11-unix/run' - Setting ownership of all log files in '/home/default/.cache/log' - Setting root password - Setting user password DONE

[ /etc/cont-init.d/11-setup_sysctl_values.sh: executing... ] Configure some system kernel parameters - The vm.max_map_count is already greater than '524288' DONE

[ /etc/cont-init.d/30-configure_dbus.sh: executing... ] Configure container dbus - Container configured to run its own dbus DONE

[ /etc/cont-init.d/30-configure_udev.sh: executing... ] Configure udevd - Disable udevd - /run/udev does not exist - Enable dumb-udev service - Ensure the default user has permission to r/w on input devices DONE

[ /etc/cont-init.d/40-setup_locale.sh: executing... ] Configure local - Locales already set correctly to us_US.UTF-8 UTF-8 DONE

[ /etc/cont-init.d/50-configure_pulseaudio.sh: executing... ] Configure pulseaudio - Enable pulseaudio service. - Configure pulseaudio to pipe audio to a socket DONE

[ /etc/cont-init.d/60-configure_gpu_driver.sh: executing... ] ** No Intel device found ** ** No AMD device found ** ** Found NVIDIA device 'Please also try adding directory that contains libnvidia-ml.so to your system PATH.' ** - Downloading driver vfind

the log ends there and the pod continues to restart.

Maybe I am doing something wrong?

Steps to Reproduce

No response

Expected Behavior

No response

Screenshots

No response

Relevant Settings

I already have a container with Plex Server that vents HW acceleration through the nvidia GPU, so I know that per se the system is set up to properly use this resource

Version

Build: [2023-12-02 02:37:16] [master] [6cc9f56155f3c7f9fc6bc9c22ef2cbf555029c00] [debian]

Platform

Relevant log output

No response

Josh5 commented 6 months ago

Possibly an idsue with your nvidia setup on the host. I need more information. Have you tested that nvidia-smi workis in the nvidia container runtime on any image?