Please provide the following info (tick the boxes after creating this topic):
Software Version
[*] DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other
Target Operating System
[*] Linux
QNX
other
Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
[*] DRIVE AGX Orin Developer Kit (not sure its number)
other
SDK Manager Version
1.9.2.10884
[ .] other
[*] 1.9.1.10844
Host Machine Version
[*] native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other
Hi, I flashed drive agx orin and I am trying to run samples application by doing cross-compilation following intructions given in this document Build and Run Sample Applications for DRIVE OS 6.x Linux | NVIDIA Docs.
These are the error messages
For cuda samples->
> nvidia@tegra-ubuntu:~/cuda_samples$ ./deviceQueryDrv
> ./deviceQueryDrv Starting...
>
> CUDA Device Query (Driver API) statically linked version
> libnvrm_gpu.so: NvRmGpuLibOpen failed, error=14
> checkCudaErrors() Driver API error = 0999 "unknown error" from file <deviceQueryDrv.cpp>, line 38.
For tensorrt samples->
nvidia@tegra-ubuntu:~/tensorrt1/bin$ ./sample_onnx_mnist
&&&& RUNNING TensorRT.sample_onnx_mnist [TensorRT v8510] # ./sample_onnx_mnist
[06/19/2023-10:46:28] [I] Building and running a GPU inference engine for Onnx MNIST
libnvrm_gpu.so: NvRmGpuLibOpen failed, error=14
[06/19/2023-10:46:28] [W] [TRT] Unable to determine GPU memory usage
[06/19/2023-10:46:28] [W] [TRT] Unable to determine GPU memory usage
[06/19/2023-10:46:28] [I] [TRT] [MemUsageChange] Init CUDA: CPU +0, GPU +0, now: CPU 28, GPU 0 (MiB)
[06/19/2023-10:46:28] [W] [TRT] CUDA initialization failure with error: 999. Please check your CUDA installation: http://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html
&&&& FAILED TensorRT.sample_onnx_mnist [TensorRT v8510] # ./sample_onnx_mnist
I have given cuda path in bashrc file
export PATH="/usr/local/cuda-11.4/bin:$PATH"
export LD_LIBRARY_PATH="/usr/local/cuda-11.4/lib64:$LD_LIBRARY_PATH"
This is result of nvcc --version command
nvidia@tegra-ubuntu:~$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Thu_Nov_17_10:44:35_PST_2022
Cuda compilation tools, release 11.4, V11.4.327
Build cuda_11.4.r11.4/compiler.32081285_0