JTop no longer works on JP 6.0 DP

I’ve created an issue for this Jetpack missing [L4T 6.0] · Issue #470 · rbonghi/jetson_stats · GitHub it seems developer needs Nvidia’s help

A comment on this error:

FileNotFoundError: [Errno 2] No such file or directory: '/sys/kernel/actmon_avg_activity/mc_all'

I am thinking JTop is not an NVIDIA app, but I might be wrong. When going from Ubuntu 20 (R34.x) to Ubuntu 22 (from the new sdkmanager, which I have not yet flashed from), it is quite likely a number of applications will need porting. However, the above is from a kernel driver which is not configured. I am curious, what do you see on the Jetson you noticed this issue from for “uname -r”? Since I have not installed Ubuntu 22 yet, perhaps it is using a 5.15 kernel or a 6.2 kernel.

Either way, there is a missing kernel driver. That is what creates a “/sys” file. If this is a 5.15 kernel, then it should be simple to enable this by adding just a module. If it is a 6.x kernel, then it might be that the driver itself has changed and no longer exists like that. Should it be the latter case, then JTop will require porting; for the former case, a kernel module would be added.

I forgot to mention: You’d probably be better off putting this in the forum for the exact hardware you are using. You need to mention your exact hardware.

When I type

uname -r

in my Jetson Orin Nano 8GB, I got the following output:
image

Further more, I found some information related to this problem while comparing docs between r36.2 and r35.4.1/
Jetson Orin Nano Series, Jetson Orin NX Series and Jetson AGX Orin Series — NVIDIA Jetson Linux Developer Guide 1 documentation
It seems that we can calculate the EMC freq rather than accessing sysfs to get it.

I am only guessing, but odds are high that JTop would need some tweak if the same issue exists in R35.x and R36.x. I don’t know what that specific /sys content is driven by, maybe someone knows which kernel config to enable for that. However, in some cases missing just one /sys file might still leave other parts functional. Does JTop itself have a support URL?

I found the new sysfs path by using strace. It’s /sys/kernel/debug/cactmon/mc_all. A PR is opened by me which will make jtop work (only) for JetPack 6.0 DP. Later I will dig into it and try to find a way to make the changes compatible with JP5.1.

1 Like

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