CUDA driver version is insufficient for CUDA runtime version

sudo apt-get purge nvidia*

sudo apt-get install nvidia-current

sudo reboot


2. Install cuda

Install on a GTX 780 machine, use the .run version to prompt no cuda capable device detected, and install the *.deb version instead. When making runtest in caffe, there is a prompt that CUDA driver version is insufficient for CUDA runtime version, uninstall and reinstall the nvidia driver.

Add environment variables Configure
in /etc/profile file
Open: sudo gedit /etc/profile
configure Path and Lib
export LD_LIBRARY_PATH=/usr/local/cuda-7.0/lib64
export PATH=$PATH:/usr/local/cuda-7.0 /bin

Application: source /etc/profile

Check if the configuration is successful: echo $PATH

3. Uninstall the graphics card driver
If there is a problem with CUDA driver version is insufficient for CUDA runtime version or the problem Could not insert 'nvidia_352': No such device, it means that there are multiple graphics card drivers installed
. Solution: Uninstall all drivers first, and then manually install the drivers

View all current graphics driver commands:
sudo dpkg –list | grep nvidia-*

Command to uninstall all graphics card drivers:
sudo apt-get –purge remove nvidia-*

Reinstall the graphics card driver:
sudo add-apt-repository ppa:xorg-edgers/ppa
sudo apt-get update

Reinstall the driver:
sudo apt-get install nvidia-352

4. Install openblas, opencv


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325858305&siteId=291194637