CUDA Mac Driver Latest Version: CUDA 418.163 driver for MAC Release Date: Previous Releases: CUDA 418.105 driver for MAC Release Date: CUDA 410.130 driver for MAC Release Date: CUDA 396.148 driver for MAC Release Date: CUDA 396.64 driver for MAC.
I run a Debian Jessie on a Tegra-K1 board (Toradex Apalis-TK1), installed the CUDA toolkit 7.0 and the nvidia_drivers.tbz2
from the Jetson TK1 21.5 package.
Now I get
I was able to build the NVIDIA_CUDA-7.0_Samples
(using make SMS=53
to avoid linking problems), but
How can I narrow the cause of the problem?
1 Answer
After consulting the developer forum I found out: The error message is correct (this happens sometimes). Cuda toolkit 7 requires the R23 release of the cuda driver, but the latest release available for Tegra K1 is R21.
So you need an older toolkit version, but only version 7 is available for download on the nvidia site. Older versions are only accessible via JetPack, but JetPack is Ubuntu-only (fails to install on Debian).
But they gave me instructions to work around the problem:
- download JetPack 2.3.1
- extract the content of the archive:
bash JetPack-L4T-2.3.1-linux-x64.run –noexec
- go to the
_installer
directory where you will find aChooser
binary ./Chooser
-> it may ask for a libpng12 so I installed this lib in my home then:export LD_LIBRARY_PATH+=:path_to_libpng/lib
then retry./Chooser
- the GUI appears but this is not what is important: you may notice that a
repository.json
file is created which contains all the link to the cuda, etc packages. Just find the link corresponding to your CUDA version and that's it.
Download the .deb
package from the URL given in the json file with wget
, install it with dpkg -i
, then
Obviously, Nvidia wants us to head for TX1 and TX2, not stick to TK1 ...
Not the answer you're looking for? Browse other questions tagged debiannvidiaarmproprietary-drivers or ask your own question.
When running the CUDA example /usr/local/cuda/samples/1_Utilities/deviceQuery$
with the sudo ./deviceQuery
command, the output was :
On using the lspci -v | grep -i
command I get :
![Cuda Driver Version Is Insufficient For Cuda Runtime Version Cuda Driver Version Is Insufficient For Cuda Runtime Version](https://user-images.githubusercontent.com/35773560/49597379-4dcb7e00-f9a2-11e8-8804-277c8b086fb8.png)
The lshw -c video
command gives :
So might it be that CUDA doesn't work because the i915 driver is in play instead of the nvidia one ?If so how do I get this working ?
The last guide I followed to install the nvidia drivers really messed up my system and it needed a reinstall, please suggest a guide that works well for Ubuntu 14.04.
1 Answer
You appear to be using a laptop. Usually, after the Nvidia drivers are installed, the Intel GPU is used by default to conserve power. However, you can run any program with the Nvidia GPU by running it with optirun
:
or
though I don't think you'd need sudo
for CUDA samples
Edit: As pointed out by Pilot6, optirun
is available through the bumblebee
package in Ubuntu. Check the project's website for more details.