apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Cannot install nvidia driver in docker on rc3.5

Open simon750324 opened this issue 7 years ago • 1 comments

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 14.04): 14.04
  • Apollo installed from (source or binary): source
  • Apollo version (1.0, 1.5, 2.0, 2.5, 3.0): rc3.5
  • **Nvidia driver version : 410.72

I follow the document of "How to Run Perception Module on Your Local Computer". After I install nvidia driver as below, I get errors.

[How to install nvidia driver] sudo ./NVIDIA-Linux-x86_64-410.72.run --no-opengl-files -a -s

[Error log] ERROR: An NVIDIA kernel module 'nvidia-drm' appears to already be 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. Please be sure to exit any programs that may be using the GPU(s) before attempting to upgrade your driver. If no GPU-based programs are running, you know that your kernel supports module unloading, and you still receive this message, then an error may have occured that has corrupted an NVIDIA kernel module's usage count, for which the simplest remedy is to reboot your computer.

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.

simon750324 avatar Dec 27 '18 09:12 simon750324

After use below command to install nvidia driver, the problem is resolved.

sudo apt update
apt search nvidia-xxx
sudo apt install nvidia-xxx
nvidia-smi

simon750324 avatar Jan 04 '19 09:01 simon750324