Start by install a fresh jetpack-4.5 image from sdcard.
Purge installed cuda 10 and nvidia-driver.
Install cuda 11.2 and nvidia-driver-460.
Start program which use cuda and this one is not anymore able to detect cuda device while he succeed with a version 10.
Run nvcc --version
NVIDIA ® Cuda compiler driver
Copyright © 2005-2021 NVIDIA Corporation
Built on Thu_Jan_28_19:32:31_PST_2021
Cuda compilation tools, release 11.2, V11.2.142
Run sudo /usr/bin/nvidia-smi
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
Run sudo nvidia-settings
Unable to init server: Could not connect: Connection refused
ERROR: The control display is undefined; please run
nvidia-settings --helpfor usage information.
I have try many things find on this forum and nothing fix my problem.
Please find the nvidia report bug file
nvidia-bug-report.log.gz (283.2 KB)