Jetson Nano no CUDA-capable device is detected

Hello, I have a Jetson Nano installed in a remote location, with ssh but no physical access.
Here are some details:

uname -a
Linux ubuntu 4.9.299-tegra #1 SMP PREEMPT Tue Nov 22 09:24:39 PST 2022 aarch64 aarch64 aarch64 GNU/Linux
cat /etc/nv_tegra_release
# R32 (release), REVISION: 7.4, GCID: 33514132, BOARD: t210ref, EABI: aarch64, DATE: Fri Jun  9 04:25:08 UTC 2023
nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Sun_Feb_28_22:34:44_PST_2021
Cuda compilation tools, release 10.2, V10.2.300
Build cuda_10.2_r440.TC440_70.29663091_0
sudo lshw -short
H/W path  Device  Class          Description
============================================
                  system         NVIDIA Jetson Nano Developer Kit
/0                bus            Motherboard
/0/0              processor      cpu
/0/1              processor      cpu
/0/3              processor      cpu
/0/4              processor      cpu
/0/5              processor      idle-states
/0/6              processor      l2-cache
/0/7              memory         3963MiB System memory
/0/2              bridge         NVIDIA Corporation
/0/2/0    eth1    network        RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
/1        usb1    bus            xHCI Host Controller
/1/2              bus            USB2.0 Hub
/1/2/1            communication  DEMO Mobile Boardband
/1/3              storage        USB Storage
/2        usb2    bus            xHCI Host Controller
/2/1              bus            USB3.0 Hub
/3        rndis0  network        Ethernet interface
/4        eth0    network        Ethernet interface
/5        usb0    network        Ethernet interface
/6        dummy0  network        Ethernet interface

I have just remotely resintalled Cuda, DeepStream and other optional packages with SDK Manager but when trying to reach the CUDA device I’m getting the following error.

/usr/local/cuda/samples/1_Utilities/deviceQuery$ ./deviceQuery
./deviceQuery Starting...

 CUDA Device Query (Runtime API) version (CUDART static linking)

cudaGetDeviceCount returned 100
-> no CUDA-capable device is detected
Result = FAIL

Any suggestions?

Moving to Jetson Nano forum.

Hi,

Have you manually set the CUDA_VISIBLE_DEVICES value?

Thanks.

Thanks for the quick reply, I have tried using

export CUDA_VISIBLE_DEVICES=0

and also 1, but still same result on the ./deviceQuery.
Any other idea?

Well, found out that the kernel modules were missing, after copying form another unit and rebooting the CUDA device was detected.
Thanks for the help!

Thanks for the update.
Good to know it works now.

Had a similar issue, which turned out to be a permissions issue. Look at adding the user to the dev group ‘video’. (and don’t forget to logout/login)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.