Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run docker compose #24

Open
LyFl0w opened this issue Feb 11, 2024 · 0 comments
Open

Unable to run docker compose #24

LyFl0w opened this issue Feb 11, 2024 · 0 comments

Comments

@LyFl0w
Copy link

LyFl0w commented Feb 11, 2024

I tried to do the command you wrote below to launch the docker compose after installing the nvidia extension for docker but the container returns this

I tried to change the CUDA_DRIVER in the docker compose file to cuda-drivers-545 but I have the same problem.

46.44 Setting up libcuda1:amd64 (545.23.08-1) ...
46.53 Configuring libcuda1:amd64
46.53 --------------------------
46.53
46.53 Mismatching nvidia kernel module loaded
46.53
46.53 The NVIDIA driver that is being installed (version 545.23.08) does not
46.53 match the nvidia kernel module currently loaded (version 545.29.06).
46.53
46.53 The X server, OpenGL, and GPGPU applications may not work properly.
46.53
46.53 The easiest way to fix this is to reboot the machine once the installation
46.53 has finished. You can also stop the X server (usually by stopping the login
46.53 manager, e.g. gdm3, sddm, or xdm), manually unload the module ("modprobe -r
46.53 nvidia"), and restart the X server.
46.53
46.55 Setting up libnvidia-cfg1:amd64 (545.23.08-1) ...
46.57 Setting up nvidia-opencl-icd:amd64 (545.23.08-1) ...
46.58 Setting up libnvidia-allocator1:amd64 (545.23.08-1) ...
46.60 Setting up libglx-nvidia0:amd64 (545.23.08-1) ...
46.61 Setting up nvidia-kernel-support (545.23.08-1) ...
46.65 Setting up xserver-xorg-video-nvidia (545.23.08-1) ...
46.77 Setting up libnvidia-pkcs11:amd64 (545.23.08-1) ...
46.79 Setting up libnvoptix1:amd64 (545.23.08-1) ...
46.80 Setting up nvidia-vulkan-icd:amd64 (545.23.08-1) ...
46.82 Setting up libnvidia-fbc1:amd64 (545.23.08-1) ...
46.84 Setting up nvidia-vdpau-driver:amd64 (545.23.08-1) ...
46.85 Setting up libgl1-nvidia-glvnd-glx:amd64 (545.23.08-1) ...
46.87 Setting up libgles-nvidia1:amd64 (545.23.08-1) ...
46.88 Setting up libcudadebugger1:amd64 (545.23.08-1) ...
46.90 Setting up libegl-nvidia0:amd64 (545.23.08-1) ...
46.91 Setting up nvidia-settings (545.23.08-1) ...
46.93 Setting up nvidia-smi (545.23.08-1) ...
46.94 Setting up libgles-nvidia2:amd64 (545.23.08-1) ...
46.98 Setting up nvidia-driver-bin (545.23.08-1) ...
47.00 Setting up libnvcuvid1:amd64 (545.23.08-1) ...
47.02 Setting up nvidia-persistenced (545.23.08-1) ...
47.06 adduser: Warning: The home dir /var/run/nvpd/ you specified can't be accessed: No such file or directory
47.06 Adding system user nvpd' (UID 101) ... 47.06 Adding new group nvpd' (GID 107) ...
47.08 Adding new user nvpd' (UID 101) with group nvpd' ...
47.13 Not creating home directory `/var/run/nvpd/'.
47.14 invoke-rc.d: could not determine current runlevel
47.15 invoke-rc.d: policy-rc.d denied execution of start.
47.23 Created symlink /etc/systemd/system/multi-user.target.wants/nvidia-persistenced.service → /lib/systemd/system/nvidia-persistenced.service.
47.24 Setting up libnvidia-opticalflow1:amd64 (545.23.08-1) ...
47.26 Setting up nvidia-egl-icd:amd64 (545.23.08-1) ...
47.27 Setting up libnvidia-encode1:amd64 (545.23.08-1) ...
47.29 Setting up nvidia-driver-libs:amd64 (545.23.08-1) ...
47.41 Processing triggers for nvidia-alternative (545.23.08-1) ...
47.48 update-alternatives: updating alternative /usr/lib/nvidia/current because link group nvidia has changed slave links
47.51 Setting up nvidia-kernel-dkms (545.23.08-1) ...
47.58 Loading new nvidia-current-545.23.08 DKMS files...
47.66 It is likely that 6.5.0-17-generic belongs to a chroot's host
47.66 Building for 6.1.0-18-amd64
47.69 Building initial module for 6.1.0-18-amd64
70.20 Error! Bad return status for module build on kernel: 6.1.0-18-amd64 (x86_64)
70.20 Consult /var/lib/dkms/nvidia-current/545.23.08/build/make.log for more information.
70.20 dpkg: error processing package nvidia-kernel-dkms (--configure):
70.20 installed nvidia-kernel-dkms package post-installation script subprocess returned error exit status 10
70.20 dpkg: dependency problems prevent configuration of nvidia-driver:
70.20 nvidia-driver depends on nvidia-kernel-dkms (= 545.23.08-1) | nvidia-kernel-545.23.08 | nvidia-kernel-open-dkms (= 545.23.08-1); however:
70.20 Package nvidia-kernel-dkms is not configured yet.
70.20 Package nvidia-kernel-545.23.08 is not installed.
70.20 Package nvidia-kernel-dkms which provides nvidia-kernel-545.23.08 is not configured yet.
70.20 Package nvidia-kernel-open-dkms is not installed.
70.20
70.20 dpkg: error processing package nvidia-driver (--configure):
70.20 dependency problems - leaving unconfigured
70.20 dpkg: dependency problems prevent configuration of cuda-drivers-545:
70.20 cuda-drivers-545 depends on nvidia-driver (>= 545.23.08); however:
70.20 Package nvidia-driver is not configured yet.
70.20
70.20 dpkg: error processing package cuda-drivers-545 (--configure):
70.20 dependency problems - leaving unconfigured
70.20 Processing triggers for libgdk-pixbuf-2.0-0:amd64 (2.42.10+dfsg-1+b1) ...
70.24 Processing triggers for libc-bin (2.36-9+deb12u4) ...
70.26 Processing triggers for update-glx (1.2.2) ...
70.29 Processing triggers for glx-alternative-nvidia (1.2.2) ...
70.35 update-alternatives: using /usr/lib/nvidia to provide /usr/lib/glx (glx) in auto mode
70.40 Processing triggers for glx-alternative-mesa (1.2.2) ...
70.44 Processing triggers for libc-bin (2.36-9+deb12u4) ...
70.49 Errors were encountered while processing:
70.49 nvidia-kernel-dkms
70.49 nvidia-driver
70.49 cuda-drivers-545
70.57 W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
70.57 W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list.d/debian.sources:1
70.57 E: Sub-process /usr/bin/dpkg returned an error code (1)

failed to solve: process "/bin/bash -ceuxo pipefail # cuda driver update\napt-get update\napt-get -y install $CUDA_DRIVERS\napt-get -y install $CUDA_VERSION\n" did not complete successfully: exit code: 100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant