NVIDIA / cuda-samples

Samples for CUDA Developers which demonstrates features in CUDA Toolkit
Other
6.47k stars 1.83k forks source link

nvidia-drm warning while installing the cuda 12.5.1 #286

Open Cecepoi opened 3 months ago

Cecepoi commented 3 months ago

Hi,

I am trying to update the cuda to 12.5.1 and already delete the old cuda. My system is Linux-x86_64. However, when I started to download, it faild and give this warning in the nvidia-installer.log:

Using built-in stream user interface -> Detected 24 CPUs online; setting concurrency level to 24. -> Scanning the initramfs with lsinitramfs... -> Executing: /usr/bin/lsinitramfs -l /boot/initrd.img-5.4.0-150-generic -> Multiple kernel module types are available for this system. Which would you like to use? (Answer: NVIDIA Proprietary) WARNING: An NVIDIA kernel module 'nvidia-drm' appears to be already loaded in your kernel. This may be because it is in use (for example, by an X server, a CUDA program, or the NVIDIA Persistence Daemon), but this may also happen if your kernel was configured without support for module unloading. Some of the sanity checks that nvidia-installer performs to detect potential installation problems are not possible while an NVIDIA kernel module is running. -> Would you like to continue installation and skip the sanity checks? If not, please abort the installation, then close any programs which may be using the NVIDIA GPU(s), and attempt installation again. (Answer: Abort installation) ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

Based on my searching, people would switch to multi-user, uninstall current nvida, and reboot the system. I am using a lab computer now, so I am concern about uninstall nvida and reboot. Can someone tells me the consequences and the solutions?

Thank you!