rbonghi / jetson_stats

📊 Simple package for monitoring and control your NVIDIA Jetson [Orin, Xavier, Nano, TX] series
https://rnext.it/jetson_stats
GNU Affero General Public License v3.0
2.14k stars 261 forks source link

Error connection in the newest release (4.0) #328

Closed AmrElGendyy closed 1 year ago

AmrElGendyy commented 1 year ago

After installing jetson_stats using sudo -H pip install -U jetson-stats and rebooting the board, running jtop produces the error message 'Error connection'.

Steps to reproduce the behavior: 1 - Connect to Jetson via ssh 2 - Install jetson_stats using the above command 3 - Reboot 4 - Run jtop

This is the log coming from journalctl -u jetson_stats.service

jtop_log.txt

My Setup: NVIDIA Jetson Xavier NX Jetpack 4.5.1 [L4T 32.5.1] Jetson-Stats version: 4.0.0

rbonghi commented 1 year ago

Hi @AmrElGendyy ,

thank you for your message! I catch the issue and I fix it soon! Just for curiosity can share me the output from:

sudo jetson_clocks --show
AmrElGendyy commented 1 year ago

@rbonghi

This is the output

SOC family:tegra194 Machine:NVIDIA Jetson Xavier NX Developer Kit Online CPUs: 0-5 cpu0: Online=1 Governor=schedutil MinFreq=1190400 MaxFreq=1420800 CurrentFreq=1190400 IdleStates: C1=1 c6=1 cpu1: Online=1 Governor=schedutil MinFreq=1190400 MaxFreq=1420800 CurrentFreq=1190400 IdleStates: C1=1 c6=1 cpu2: Online=1 Governor=schedutil MinFreq=1190400 MaxFreq=1420800 CurrentFreq=1190400 IdleStates: C1=1 c6=1 cpu3: Online=1 Governor=schedutil MinFreq=1190400 MaxFreq=1420800 CurrentFreq=1190400 IdleStates: C1=1 c6=1 cpu4: Online=1 Governor=schedutil MinFreq=1190400 MaxFreq=1420800 CurrentFreq=1190400 IdleStates: C1=1 c6=1 cpu5: Online=1 Governor=schedutil MinFreq=1190400 MaxFreq=1420800 CurrentFreq=1190400 IdleStates: C1=1 c6=1 GPU MinFreq=114750000 MaxFreq=1109250000 CurrentFreq=114750000 cat: /sys/kernel/debug/bpmp/debug/clk/emc/max_rate: No such file or directory /usr/bin/jetson_clocks: line 384: [: : integer expression expected cat: /sys/kernel/debug/bpmp/debug/clk/emc/min_rate: No such file or directory cat: /sys/kernel/debug/bpmp/debug/clk/emc/max_rate: No such file or directory cat: /sys/kernel/debug/bpmp/debug/clk/emc/rate: No such file or directory cat: /sys/kernel/debug/bpmp/debug/clk/emc/mrq_rate_locked: No such file or directory EMC MinFreq= MaxFreq= CurrentFreq= FreqOverride= Fan: PWM=0 NV Power Mode: MODE_15W_6CORE

rbonghi commented 1 year ago

I see a bug on jetson_clocks, and doesn't read the status from the EMC. I add an extra check before uploading this data! Thank you!