Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jtop not working on Orin with Jetpack 5.1 #608

Open
edmorson opened this issue Feb 21, 2025 · 1 comment
Open

jtop not working on Orin with Jetpack 5.1 #608

edmorson opened this issue Feb 21, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@edmorson
Copy link

Describe the bug

jetson-stats (or any of jtop utils) does not run on Orin Jetpack 5.1

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots

If applicable, add screenshots to help explain your problem.

Expected behavior

A clear and concise description of what you expected to happen.

Additional context

Add any other context about the problem here.

Board

Output from jetson_release -v:

  • jetson-stats version: [e.g. 1.8]
  • P-Number: [e.g. pXXXX-XXXX]
  • Module: [e.g. NVIDIA Jetson XXX]
  • Jetpack: [e.g. 4.3]
  • L4T: [e.g. 5.2.1]

Log from jtop.service

Attach here the output from: journalctl -u jtop.service -n 100 --no-pager

orin@tegra-ubuntu:~$ journalctl -u jtop.service -n 100 --no-pager
-- Logs begin at Wed 2023-03-15 11:04:15 EDT, end at Fri 2025-02-21 12:07:43 EST. --
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [INFO] jtop.core.memory - Memory service started
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [INFO] jtop.core.engine - Special Engine group found: [dlaX]
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [INFO] jtop.core.engine - Special Engine group found: [pvaX]
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [INFO] jtop.core.engine - Engines found: [APE DLA0 DLA1 NVDEC NVENC NVJPG OFA PVA0 SE VIC]
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [INFO] jtop.core.temperature - Found thermal "CV0" in thermal_zone2
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [INFO] jtop.core.temperature - Found thermal "CPU" in thermal_zone0
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [INFO] jtop.core.temperature - Found thermal "Tboard" in thermal_zone9
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [INFO] jtop.core.temperature - Found thermal "SOC2" in thermal_zone7
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [INFO] jtop.core.temperature - Found thermal "Tdiode" in thermal_zone10
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [INFO] jtop.core.temperature - Found thermal "SOC0" in thermal_zone5
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [INFO] jtop.core.temperature - Found thermal "CV1" in thermal_zone3
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [INFO] jtop.core.temperature - Found thermal "GPU" in thermal_zone1
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [INFO] jtop.core.temperature - Found thermal "tj" in thermal_zone8
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [INFO] jtop.core.temperature - Found thermal "SOC1" in thermal_zone6
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [INFO] jtop.core.temperature - Found thermal "CV2" in thermal_zone4
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [INFO] jtop.core.temperature - Found temperature sensor: asic
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [INFO] jtop.core.temperature - Found temperature sensor: asic
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [INFO] jtop.core.temperature - Found temperature sensor: asic
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [WARNING] jtop.core.power - Skipped NC /sys/bus/i2c/devices/1-0041/hwmon/hwmon4/in1_label
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [INFO] jtop.core.power - Alarms VDDQ_VDD2_1V8AO - {'crit_alarm': 0, 'max_alarm': 0}
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [WARNING] jtop.core.power - Skipped NC /sys/bus/i2c/devices/1-0041/hwmon/hwmon4/in3_label
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [WARNING] jtop.core.power - Skipped "sum of shunt voltages" /sys/bus/i2c/devices/1-0041/hwmon/hwmon4/in7_label
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [INFO] jtop.core.power - Alarms VDD_GPU_SOC - {'crit_alarm': 0, 'max_alarm': 0}
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [INFO] jtop.core.power - Alarms VDD_CPU_CV - {'crit_alarm': 0, 'max_alarm': 0}
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [INFO] jtop.core.power - Alarms VIN_SYS_5V0 - {'crit_alarm': 0, 'max_alarm': 0}
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [WARNING] jtop.core.power - Skipped "sum of shunt voltages" /sys/bus/i2c/devices/1-0040/hwmon/hwmon3/in7_label
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [INFO] jtop.core.power - Found I2C power monitor
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [INFO] jtop.core.fan - Fan pwmfan(1) found in /sys/class/hwmon/hwmon2
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [INFO] jtop.core.fan - RPM pwm_tach found in /sys/class/hwmon/hwmon0
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [INFO] jtop.core.fan - Found nvfancontrol.service
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: [INFO] jtop.core.jetson_clocks - jetson_clocks found in /usr/bin/jetson_clocks
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: Traceback (most recent call last):
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: File "/usr/local/bin/jtop", line 8, in
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: sys.exit(main())
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: File "/usr/local/lib/python3.8/dist-packages/jtop/main.py", line 104, in main
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: server = JtopServer(force=args.force)
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: File "/usr/local/lib/python3.8/dist-packages/jtop/service.py", line 302, in init
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: self.nvpmodel = NVPModelService(self.jetson_clocks)
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: File "/usr/local/lib/python3.8/dist-packages/jtop/core/nvpmodel.py", line 456, in init
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: name=self._nvpmodel_now['name'],
Feb 21 12:07:33 tegra-ubuntu jtop[13788]: TypeError: 'NoneType' object is not subscriptable
Feb 21 12:07:33 tegra-ubuntu systemd[1]: jtop.service: Main process exited, code=exited, status=1/FAILURE
Feb 21 12:07:33 tegra-ubuntu systemd[1]: jtop.service: Failed with result 'exit-code'.
Feb 21 12:07:43 tegra-ubuntu systemd[1]: jtop.service: Scheduled restart job, restart counter is at 784.
Feb 21 12:07:43 tegra-ubuntu systemd[1]: Stopped jtop service.
Feb 21 12:07:43 tegra-ubuntu systemd[1]: Started jtop service.
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.service - jetson_stats 4.3.1 - server loaded
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.service - Running on Python: 3.8.10
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.hardware - Hardware detected aarch64
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.hardware - NVIDIA Jetson 699-level Part Number=699-13701-0008-500 R.0
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.hardware - NVIDIA Jetson Module=
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.hardware - NVIDIA Jetson detected L4T=35.4.1
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.cpu - Found 12 CPU
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.gpu - GPU "ga10b" status in /sys/devices/platform/17000000.ga10b
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.gpu - GPU "ga10b" frq in /sys/devices/platform/17000000.ga10b/devfreq/17000000.ga10b
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.processes - Process service started
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.memory - Found EMC!
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.memory - Memory service started
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.engine - Special Engine group found: [dlaX]
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.engine - Special Engine group found: [pvaX]
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.engine - Engines found: [APE DLA0 DLA1 NVDEC NVENC NVJPG OFA PVA0 SE VIC]
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.temperature - Found thermal "CV0" in thermal_zone2
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.temperature - Found thermal "CPU" in thermal_zone0
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.temperature - Found thermal "Tboard" in thermal_zone9
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.temperature - Found thermal "SOC2" in thermal_zone7
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.temperature - Found thermal "Tdiode" in thermal_zone10
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.temperature - Found thermal "SOC0" in thermal_zone5
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.temperature - Found thermal "CV1" in thermal_zone3
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.temperature - Found thermal "GPU" in thermal_zone1
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.temperature - Found thermal "tj" in thermal_zone8
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.temperature - Found thermal "SOC1" in thermal_zone6
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.temperature - Found thermal "CV2" in thermal_zone4
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.temperature - Found temperature sensor: asic
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.temperature - Found temperature sensor: asic
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.temperature - Found temperature sensor: asic
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [WARNING] jtop.core.power - Skipped NC /sys/bus/i2c/devices/1-0041/hwmon/hwmon4/in1_label
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.power - Alarms VDDQ_VDD2_1V8AO - {'crit_alarm': 0, 'max_alarm': 0}
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [WARNING] jtop.core.power - Skipped NC /sys/bus/i2c/devices/1-0041/hwmon/hwmon4/in3_label
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [WARNING] jtop.core.power - Skipped "sum of shunt voltages" /sys/bus/i2c/devices/1-0041/hwmon/hwmon4/in7_label
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.power - Alarms VDD_GPU_SOC - {'crit_alarm': 0, 'max_alarm': 0}
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.power - Alarms VDD_CPU_CV - {'crit_alarm': 0, 'max_alarm': 0}
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.power - Alarms VIN_SYS_5V0 - {'crit_alarm': 0, 'max_alarm': 0}
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [WARNING] jtop.core.power - Skipped "sum of shunt voltages" /sys/bus/i2c/devices/1-0040/hwmon/hwmon3/in7_label
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.power - Found I2C power monitor
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.fan - Fan pwmfan(1) found in /sys/class/hwmon/hwmon2
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.fan - RPM pwm_tach found in /sys/class/hwmon/hwmon0
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.fan - Found nvfancontrol.service
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: [INFO] jtop.core.jetson_clocks - jetson_clocks found in /usr/bin/jetson_clocks
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: Traceback (most recent call last):
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: File "/usr/local/bin/jtop", line 8, in
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: sys.exit(main())
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: File "/usr/local/lib/python3.8/dist-packages/jtop/main.py", line 104, in main
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: server = JtopServer(force=args.force)
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: File "/usr/local/lib/python3.8/dist-packages/jtop/service.py", line 302, in init
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: self.nvpmodel = NVPModelService(self.jetson_clocks)
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: File "/usr/local/lib/python3.8/dist-packages/jtop/core/nvpmodel.py", line 456, in init
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: name=self._nvpmodel_now['name'],
Feb 21 12:07:43 tegra-ubuntu jtop[13800]: TypeError: 'NoneType' object is not subscriptable
Feb 21 12:07:43 tegra-ubuntu systemd[1]: jtop.service: Main process exited, code=exited, status=1/FAILURE
Feb 21 12:07:43 tegra-ubuntu systemd[1]: jtop.service: Failed with result 'exit-code'.

Log from jetson-stats installation

Attach here the output from: sudo -H pip3 install --no-cache-dir -v -U jetson-stats

RAW Data

orin@tegra-ubuntu:~$ ll /usr/local/bin
total 36
drwxr-xr-x 2 root root 4096 Feb 20 16:54 ./
drwxr-xr-x 13 root root 4096 Feb 20 16:54 ../
-rwxr-xr-x 1 root root 1651 Jan 17 10:07 gpio*
-rwxr-xr-x 1 root root 217 Feb 20 16:54 jetson_config*
-rwxr-xr-x 1 root root 218 Feb 20 16:54 jetson_release*
-rwxr-xr-x 1 root root 215 Feb 20 16:54 jetson_swap*
-rwxr-xr-x 1 root root 212 Feb 20 16:54 jtop*
-rwxr-xr-x 1 root root 2782 Jan 17 10:07 jtopinfo.sh*

File from jtop --error-log attached

@edmorson edmorson added the bug Something isn't working label Feb 21, 2025
@edmorson
Copy link
Author

edmorson commented Feb 21, 2025

none of the "fixes" posted fix my problem...
It appears the there is an issue during the initialization sequence of jtop.service when the nvpmodel is being interrogated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant