Closed flomaurer closed 10 months ago
I see the same issue on a TX2 NX when running through NFS. Jtop v4.1.0 works OK though.
Thanks for this hint. I'm able to install v4.1.0 and also v4.1.5 (only tested these two out of the v4.1.X series). It seems like the problem comes with the v4.2.X series (v4.2.0 and v4.2.2 are stuck as described above).
So it would be great, if in the future also the latest releases which are selected when doing sudo -H python3 -m pip install jetson_stats -v
get installed without problems.
I'm also experience this issue while installing in a Jetson Orin NX 8GB, the pip instalation completes, but at the end no jtop group, no jtop service, jtop does not work
i think this version is error version. to install. there is no jtop group, no jtop service. in my case, i found jetson_config jetson_release jetson_swap jtop file in /usr/local/bin. when i try sudo pip3 install jetson-stats if you install this version. you can't jtop in terminal when you reboot or sudo systemctl restart. i found one case to run sudo jtop. follow 1.sudo pip3 install jetson-stats 2.sudo find / -name jtop.service ( you can find where is jtop.py is) 3.sudo mv /usr/local/jetson_stats/jtop.service /etc/systemd/system/ (for input jtop.service) 4.sudo systemctl daemon-reload 5.sudo systemctl start jtop.service 6.sudo systemctl enable jtop.service 7.sudo systemctl status jtop.service (then you can see service status. and now you need to reboot. 8.jtop or sudo jtop 9.sudo jtop --health (you can try fix. but i catch there is not file for fix). i hope you can run jtop. but good way is install downgrade version or wait for next version for fix bug.
and i get this log for sudo jtop --health fix FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.8/dist-packages/scripts/jtop_env.sh
thank you to write this message, I think the error is the same on this issue #488 and #470
Can you please share me the output from
sudo pip3 install --no-cache-dir -v -U jetson-stats
journalctl -u jtop.service -n 100 --no-pager
if the output from the latest command is empty can you please me share also the output from this command:
sudo JTOP_SERVICE=True jtop --force
hi@localhost:~$ journalctl -u jtop.service -n 100 --no-pager
-- Logs begin at Thu 2024-01-25 04:03:05 UTC, end at Thu 2024-01-25 04:52:43 UTC. --
-- No entries --
hi@localhost:~$ sudo JTOP_SERVICE=True jtop --force
[INFO] jtop.core.config - Build service folder in /usr/local/jtop
[INFO] jtop.service - jetson_stats 4.2.5 - server loaded
[INFO] jtop.service - Running on Python: 3.6.9
[INFO] jtop.core.hardware - Hardware detected aarch64
[INFO] jtop.core.hardware - NVIDIA Jetson 699-level Part Number=699-13448-0002-401 G.0
[INFO] jtop.core.hardware - NVIDIA Jetson Module=NVIDIA Jetson Nano module (16Gb eMMC)
[INFO] jtop.core.hardware - NVIDIA Jetson detected L4T=32.5.1
[INFO] jtop.core.cpu - Found 4 CPU
[INFO] jtop.core.gpu - GPU "gpu" status in /sys/devices/57000000.gpu
[INFO] jtop.core.gpu - GPU "gpu" frq in /sys/devices/57000000.gpu/devfreq/57000000.gpu
[INFO] jtop.core.processes - Process service started
[INFO] jtop.core.memory - Found EMC!
[INFO] jtop.core.memory - Found IRAM!
[INFO] jtop.core.memory - Memory service started
[INFO] jtop.core.engine - Engines found: [APE NVDEC NVENC NVJPG SE VIC]
[INFO] jtop.core.temperature - Found thermal "PLL" in thermal_zone3
[INFO] jtop.core.temperature - Found thermal "CPU" in thermal_zone1
[WARNING] jtop.core.temperature - Skipped PMIC
[INFO] jtop.core.temperature - Found thermal "GPU" in thermal_zone2
[INFO] jtop.core.temperature - Found thermal "AO" in thermal_zone0
[INFO] jtop.core.temperature - Found thermal "thermal" in thermal_zone5
[INFO] jtop.core.power - Found I2C power monitor
[INFO] jtop.core.fan - Fan tegra_pwmfan(1) found in /sys/class/hwmon/hwmon1
[INFO] jtop.core.fan - RPM tegra_pwmfan(1) found in /sys/class/hwmon/hwmon1
[INFO] jtop.core.fan - Fan temp controller tegra_pwmfan found in /sys/class/hwmon/hwmon1/temp_control
[INFO] jtop.core.jetson_clocks - jetson_clocks found in /usr/bin/jetson_clocks
Traceback (most recent call last):
File "/usr/local/bin/jtop", line 11, in <module>
load_entry_point('jetson-stats==4.2.5', 'console_scripts', 'jtop')()
File "/usr/local/lib/python3.6/dist-packages/jtop/__main__.py", line 104, in main
server = JtopServer(force=args.force)
File "/usr/local/lib/python3.6/dist-packages/jtop/service.py", line 302, in __init__
self.nvpmodel = NVPModelService(self.jetson_clocks)
File "/usr/local/lib/python3.6/dist-packages/jtop/core/nvpmodel.py", line 441, in __init__
name=self._nvpmodel_now['name'],
TypeError: 'NoneType' object is not subscriptable
The TypeError can be fixed by configuring the Power Model (NVPModel):
sudo nvpmodel -m 0
Try sudo JTOP_SERVICE=True jtop --force
again:
vhq@localhost:~$ sudo JTOP_SERVICE=True jtop --force
[INFO] jtop.service - jetson_stats 4.2.5 - server loaded
[INFO] jtop.service - Running on Python: 3.6.9
[INFO] jtop.core.hardware - Hardware detected aarch64
[INFO] jtop.core.hardware - NVIDIA Jetson 699-level Part Number=699-13448-0002-401 G.0
[INFO] jtop.core.hardware - NVIDIA Jetson Module=NVIDIA Jetson Nano module (16Gb eMMC)
[INFO] jtop.core.hardware - NVIDIA Jetson detected L4T=32.5.1
[INFO] jtop.core.cpu - Found 4 CPU
[INFO] jtop.core.gpu - GPU "gpu" status in /sys/devices/57000000.gpu
[INFO] jtop.core.gpu - GPU "gpu" frq in /sys/devices/57000000.gpu/devfreq/57000000.gpu
[INFO] jtop.core.processes - Process service started
[INFO] jtop.core.memory - Found EMC!
[INFO] jtop.core.memory - Found IRAM!
[INFO] jtop.core.memory - Memory service started
[INFO] jtop.core.engine - Engines found: [APE NVDEC NVENC NVJPG SE VIC]
[INFO] jtop.core.temperature - Found thermal "PLL" in thermal_zone3
[INFO] jtop.core.temperature - Found thermal "CPU" in thermal_zone1
[WARNING] jtop.core.temperature - Skipped PMIC
[INFO] jtop.core.temperature - Found thermal "GPU" in thermal_zone2
[INFO] jtop.core.temperature - Found thermal "AO" in thermal_zone0
[INFO] jtop.core.temperature - Found thermal "thermal" in thermal_zone5
[INFO] jtop.core.power - Found I2C power monitor
[INFO] jtop.core.fan - Fan tegra_pwmfan(1) found in /sys/class/hwmon/hwmon1
[INFO] jtop.core.fan - RPM tegra_pwmfan(1) found in /sys/class/hwmon/hwmon1
[INFO] jtop.core.fan - Fan temp controller tegra_pwmfan found in /sys/class/hwmon/hwmon1/temp_control
[INFO] jtop.core.jetson_clocks - jetson_clocks found in /usr/bin/jetson_clocks
[INFO] jtop.core.nvpmodel - nvpmodel running in [0]MAXN - Default: 0
[ERROR] jtop.service - Group jtop does not exist!
sudo jtop --health
is able to solve the permission issue ✅
Then run sudo JTOP_SERVICE=True jtop --force
again:
vhq@localhost:~$ sudo JTOP_SERVICE=True jtop --force
[INFO] jtop.service - jetson_stats 4.2.5 - server loaded
[INFO] jtop.service - Running on Python: 3.6.9
[INFO] jtop.core.hardware - Hardware detected aarch64
[INFO] jtop.core.hardware - NVIDIA Jetson 699-level Part Number=699-13448-0002-401 G.0
[INFO] jtop.core.hardware - NVIDIA Jetson Module=NVIDIA Jetson Nano module (16Gb eMMC)
[INFO] jtop.core.hardware - NVIDIA Jetson detected L4T=32.5.1
[INFO] jtop.core.cpu - Found 4 CPU
[INFO] jtop.core.gpu - GPU "gpu" status in /sys/devices/57000000.gpu
[INFO] jtop.core.gpu - GPU "gpu" frq in /sys/devices/57000000.gpu/devfreq/57000000.gpu
[INFO] jtop.core.processes - Process service started
[INFO] jtop.core.memory - Found EMC!
[INFO] jtop.core.memory - Found IRAM!
[INFO] jtop.core.memory - Memory service started
[INFO] jtop.core.engine - Engines found: [APE NVDEC NVENC NVJPG SE VIC]
[INFO] jtop.core.temperature - Found thermal "PLL" in thermal_zone3
[INFO] jtop.core.temperature - Found thermal "CPU" in thermal_zone1
[WARNING] jtop.core.temperature - Skipped PMIC
[INFO] jtop.core.temperature - Found thermal "GPU" in thermal_zone2
[INFO] jtop.core.temperature - Found thermal "AO" in thermal_zone0
[INFO] jtop.core.temperature - Found thermal "thermal" in thermal_zone5
[INFO] jtop.core.power - Found I2C power monitor
[INFO] jtop.core.fan - Fan tegra_pwmfan(1) found in /sys/class/hwmon/hwmon1
[INFO] jtop.core.fan - RPM tegra_pwmfan(1) found in /sys/class/hwmon/hwmon1
[INFO] jtop.core.fan - Fan temp controller tegra_pwmfan found in /sys/class/hwmon/hwmon1/temp_control
[INFO] jtop.core.jetson_clocks - jetson_clocks found in /usr/bin/jetson_clocks
[INFO] jtop.core.nvpmodel - nvpmodel running in [0]MAXN - Default: 0
[INFO] jtop.service - Initialization service
[INFO] jtop.core.jetson_clocks - Store jetson_clocks configuration in /usr/local/jtop/l4t_dfs.conf
[INFO] jtop.service - service ready
Can you test this release candidate for me? Looks fixed @LudeeD @ProToTime3560 @danielzhangau
sudo -H pip3 install -v jetson-stats==4.2.6rc1
if you confirm I'll make a new version stable Otherwise can you copy and paste the output of this installation
Thank you very much
Fixed with new release 4.2.6
Update with:
sudo -H pip3 install -U jetson-stats
Describe the bug
When trying to install jetson_stats on our Nvidia nano 4GB Board, which runs duckietown (https://docs.duckietown.com/daffy/opmanual-duckiebot/setup/setup_sd_card/index.html) the installation gets stuck at 'INFO:jtop.service: - ENABLE jtop.service'
To Reproduce
Steps to reproduce the behavior:
Screenshots
sudo -H python3 -m pip install ./4.2.2.zip -v
Expected behavior
the installation to finish to use jtop
Additional context
when flashing the SD-Card with the NVIDIA toolchain I can install jtop on the very same board but with the duckietown image it doesn't work
Board
Log from jtop.service
journalctl -u jtop.service -n 100 --no-pager: Failed to start jtop.service.
Log from jetson-stats installation
see above