deviceQuery error after "apt upgrade" on Jetson Nano running "nvidia-l4t-core 32.4.3-20200625213809"

Hi,

Jetson Nano previously having :

  • $ cat /etc/nv_tegra_release
    nvidia-l4t-core 32.4.3-20200625213809
  • $ dpkg-query --show nvidia-l4t-core

R32 (release), REVISION: 4.3, GCID: 21589087, BOARD: t210ref, EABI: aarch64, DATE: Fri Jun 26 04:38:25 UTC 2020

I have just ran a “apt upgrade” and when I execute “./deviceQuery”, the following error appears :
./deviceQuery Starting…
CUDA Device Query (Runtime API) version (CUDART static linking)

cudaGetDeviceCount returned 35
→ CUDA driver version is insufficient for CUDA runtime version

After the “apt upgrade”, the following are observed :
-$ cat /etc/nv_tegra_release

R32 (release), REVISION: 4.4, GCID: 23942405, BOARD: t210ref, EABI: aarch64, DATE: Fri Oct 16 19:44:43 UTC 2020

  • $ dpkg-query --show nvidia-l4t-core
    nvidia-l4t-core 32.4.4-20201016124427

What should I do to fix this CUDA incompatibility problem? I hope I do not need to re-flash the SSD again?

You may try to rebuild this sample:

# Rebuild
sudo su
cd /usr/local/cuda/samples/1_Utilities/deviceQuery
make clean; make
exit

# Test again
/usr/local/cuda/samples/1_Utilities/deviceQuery/deviceQuery

It works now. Thanks.