JasonAtNvidia / JetsonTFBuild

Assistance script to build TensorFlow on an NVIDIA Jetson Module
MIT License
66 stars 22 forks source link

helperscript deviceQuery fails - CUDA driver version is insufficient for CUDA runtime version #10

Closed jreuben11 closed 6 years ago

jreuben11 commented 6 years ago

helperscript calls make -s (silent) in /usr/local/cuda/samples/1_Utilities/deviceQuery when trying to execute manually from this directory: make -> Nothing to be done for 'all' make clean -> permission denied if I do:

sudo make clean
sudo make

it works, copying deviceQuery to /usr/bin/aarch64/linux/release if I try to run sudo make or make after this, I again get Nothing to be done for 'all' ... which means that A) this op step must be run with escalated privilege and B) make clean must be a precursor step, as it is not reentrant !

jreuben11 commented 6 years ago

when I execute ./deviceQuery I get

cudaGetDeviceCount returned 35
-> CUDA driver version is insufficient for CUDA runtime version
Result = FAIL

I'm using JetPack 3.3 which is supposed to be BSP: L4T 28.2.1 for Jetson TX2/TX2i

I leveraged JetPack 3.3 to install CUDA software on TX2 (without flashing) - BSP (L4T 28.2.1 for Jetson TX2/TX2i)

jreuben11 commented 6 years ago

After flashing the image from JetPack 3.3, and reinstalling all software linux for tegra R28 (release) REVISION 1.0 -> REVISION 2.1 deviceQuery reports:

CUDA_TOOLKIT_PATH=/usr/local/cuda
TF_CUDA_VERSION=9.0
TF_CUDA_COMPUTE_CAPABILITIES=5.3,6.2
CUDNN_INSTALL_PATH=/usr/lib/aarch64-linux-gpu
TF_CUDNN_VERSION=7.1.5