Closed ratsputin closed 11 months ago
Could you try using LD_LIBRARY_PATH to specify the location to libnvidia-ml.so? See my message in #150
Hmm... This is odd:
wyer@jetson:~/nvtop/build/src$ LD_LIBRARY_PATH=/usr/local/cuda-11.4/targets/aarch64-linux/lib/stubs/ ./nvtop
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING:
You should always run with libnvidia-ml.so that is installed with your
NVIDIA Display Driver. By default it's installed in /usr/lib and /usr/lib64.
libnvidia-ml.so in GDK package is a stub library that is attached only for
build purposes (e.g. machine that you build your application doesn't have
to have Display Driver installed).
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
lsof: WARNING: can't stat() overlay file system /var/lib/docker/overlay2/afcdfcfb4534acdd7367e1bcc31f9a9c5870e0a7b573eb74790acd0103dbc8fa/merged
Output information may be incomplete.
lsof: WARNING: can't stat() nsfs file system /run/docker/netns/c44ec58f90c3
Output information may be incomplete.
Linked to libnvidia-ml library at wrong path : /usr/local/cuda-11.4/targets/aarch64-linux/lib/stubs/libnvidia-ml.so
No GPU to monitor.
Where I'm seeing this:
root@jetson:~# find / -type f -name libnvidia-ml\* -ls
find: ‘/run/user/1000/gvfs’: Permission denied
16126706 44 -rw-r--r-- 1 root root 42720 Sep 14 2022 /var/lib/docker/overlay2/wnl288uwknio4g7vxyoysy90f/diff/usr/local/cuda-11.4/targets/aarch64-linux/lib/stubs/libnvidia-ml.so
661475 44 -rw-r--r-- 1 root root 42720 Sep 14 2022 /usr/local/cuda-11.4/targets/aarch64-linux/lib/stubs/libnvidia-ml.so
root@jetson:~#
Apparently, the required library isn't installed on Jetpack 5.1 [L4T 35.2.1]?
Based on what I'm reading, NVML is not supported on the Jetson. Looks like this is a fool's errand.
Trying to get
nvtop
to run on NVIDIA Jetson Orin NX platform as the NVIDIA-recommendedjtop
utility is abysmal and crashes every 2-3 minutes. This is on Jetpack 5.1 [L4T 35.2.1].When I build and run
nvtop
, I receive the following:Here's a log of the complete build and run:
Any suggestions? That error message doesn't give me much to go on.