Open hpetty3d opened 1 year ago
I set the mode with sudo nvpmodel -m 0 and now it's working after a reboot.
I meet the same issue with hpetty3d. The hardware is Orin NX, L4T 35.4.1. Is there any solution?
Hi @ztbupt which kind of issue do you have?
have you updated to the latest jetson-stats version?
Hi @ztbupt which kind of issue do you have?
have you updated to the latest jetson-stats version?
yes, the latest version. Finally, I copied jetson_stats/services/jtop.service to /usr/local/lib/python3.8/dist-packages. Then it works now.
@ztbupt please update to new release 4.2.6 that fix this bug
Update with:
sudo -H pip3 install -U jetson-stats
@ztbupt please update to new release 4.2.6 that fix this bug
Update with:
sudo -H pip3 install -U jetson-stats
bad news. updated to 4.2.6. but meet new issue:
:~$ jtop
Traceback (most recent call last):
File "/usr/local/bin/jtop", line 8, in
Strang bug, can you please share with me the output from:
journalctl -u jtop.service -n 100 --no-pager
and the file from
jtop --error-log
Thank you in advance
Strang bug, can you please share with me the output from:
journalctl -u jtop.service -n 100 --no-pager
and the file from
jtop --error-log
Thank you in advance
sorry for the late response. attaching the logs. Uploading again. log_jtop.txt jtop-error.log
hi rbonghi, Do you have a solution to my bug? Thanks in advance!
@ztbupt please update to new release 4.2.6 that fix this bug Update with:
sudo -H pip3 install -U jetson-stats
bad news. updated to 4.2.6. but meet new issue: :~$ jtop Traceback (most recent call last): File "/usr/local/bin/jtop", line 8, in sys.exit(main()) File "/usr/local/lib/python3.8/dist-packages/jtop/main.py", line 160, in main curses.wrapper(JTOPGUI, jetson, pages, init_page=args.page, File "/usr/lib/python3.8/curses/init.py", line 105, in wrapper return func(stdscr, *args, kwds) File "/usr/local/lib/python3.8/dist-packages/jtop/gui/jtopgui.py", line 100, in init* self.run(loop, seconds) File "/usr/local/lib/python3.8/dist-packages/jtop/gui/jtopgui.py", line 129, in run self.draw() File "/usr/local/lib/python3.8/dist-packages/jtop/gui/jtopgui.py", line 143, in draw page.draw(self.key, self.mouse) File "/usr/local/lib/python3.8/dist-packages/jtop/gui/pall.py", line 190, in draw func(self.stdscr, pos_y_mini_menu, column_width nline, column_width, column_height, self.jetson) File "/usr/local/lib/python3.8/dist-packages/jtop/gui/pengine.py", line 115, in compact_engines size_eng = size_table // len(row) - 1 ZeroDivisionError: integer division or modulo by zero
change the "pass_orin" function in /usr/local/lib/python3.8/dist-packages/jtop/gui/pengine.py file. and then replace with the following code: def pass_orin(engine): return [ add_engine_in_list('APE', engine, 'APE', 'APE') + add_engine_in_list('PVA0a', engine, 'PVA0', 'PVA0_CPU_AXI'), add_engine_in_list('DLA0c', engine, 'DLA0', 'DLA0_CORE') + add_engine_in_list('DLA1c', engine, 'DLA1', 'DLA1_CORE') + add_engine_in_list('DLA1c', engine, 'DLA', 'DLA1_CORE'), add_engine_in_list('NVENC', engine, 'NVENC', 'NVENC') + add_engine_in_list('NVDEC', engine, 'NVDEC', 'NVDEC'), add_engine_in_list('NVJPG', engine, 'NVJPG', 'NVJPG') + add_engine_in_list('NVJPG1', engine, 'NVJPG', 'NVJPG1'), add_engine_in_list('SE', engine, 'SE', 'SE') + add_engine_in_list('VIC', engine, 'VIC', 'VIC'), ]
@ztbupt please update to new release 4.2.6 that fix this bug Update with:
sudo -H pip3 install -U jetson-stats
bad news. updated to 4.2.6. but meet new issue: :~$ jtop Traceback (most recent call last): File "/usr/local/bin/jtop", line 8, in sys.exit(main()) File "/usr/local/lib/python3.8/dist-packages/jtop/main.py", line 160, in main curses.wrapper(JTOPGUI, jetson, pages, init_page=args.page, File "/usr/lib/python3.8/curses/init.py", line 105, in wrapper return func(stdscr, *args, kwds) File "/usr/local/lib/python3.8/dist-packages/jtop/gui/jtopgui.py", line 100, in init* self.run(loop, seconds) File "/usr/local/lib/python3.8/dist-packages/jtop/gui/jtopgui.py", line 129, in run self.draw() File "/usr/local/lib/python3.8/dist-packages/jtop/gui/jtopgui.py", line 143, in draw page.draw(self.key, self.mouse) File "/usr/local/lib/python3.8/dist-packages/jtop/gui/pall.py", line 190, in draw func(self.stdscr, pos_y_mini_menu, column_width nline, column_width, column_height, self.jetson) File "/usr/local/lib/python3.8/dist-packages/jtop/gui/pengine.py", line 115, in compact_engines size_eng = size_table // len(row) - 1 ZeroDivisionError: integer division or modulo by zero
change the "pass_orin" function in /usr/local/lib/python3.8/dist-packages/jtop/gui/pengine.py file. and then replace with the following code: def pass_orin(engine): return [ add_engine_in_list('APE', engine, 'APE', 'APE') + add_engine_in_list('PVA0a', engine, 'PVA0', 'PVA0_CPU_AXI'), add_engine_in_list('DLA0c', engine, 'DLA0', 'DLA0_CORE') + add_engine_in_list('DLA1c', engine, 'DLA1', 'DLA1_CORE') + add_engine_in_list('DLA1c', engine, 'DLA', 'DLA1_CORE'), add_engine_in_list('NVENC', engine, 'NVENC', 'NVENC') + add_engine_in_list('NVDEC', engine, 'NVDEC', 'NVDEC'), add_engine_in_list('NVJPG', engine, 'NVJPG', 'NVJPG') + add_engine_in_list('NVJPG1', engine, 'NVJPG', 'NVJPG1'), add_engine_in_list('SE', engine, 'SE', 'SE') + add_engine_in_list('VIC', engine, 'VIC', 'VIC'), ]
Thank you, zgfbupt.
/usr/local/lib/python3.8/dist-packages ζ¨ηεε€εΎζη¨γθ°’θ°’γ
for me I tried to fix the /usr/local/lib/python3.8/dist-packages/jtop/core/nvpmodel.py file: in NVPModelService class command: #except (OSError, Command.CommandException): add: except: and it works
Describe the bug
I am using a commercial model of the Jetson AGX Orin 32GB and having some trouble getting jtop to work. After following all of the usual install steps and running jtop, I am met with the message:
After running the command I get:
Failed to restart jtop.service: Unit jtop.service not found.
When running
sudo jtop --health
I see "FAIL Fix jetson-stats service" but the other two entries say OK. If I try to "Fix all" or navigate to the failed one I get the following error:To Reproduce
Steps to reproduce the behavior:
Not sure if it is reproducible since I'm on a commercial model.
Screenshots
Expected behavior
Jetson GUI to pop up
Additional context
I have also tried all of the fixes I could find online and none of them seem to work.
Board
Output from
jetson_release -v
:I get an error after running this command:
Log from jtop.service
Attach here the output from:
journalctl -u jtop.service -n 100 --no-pager
Log from jetson-stats installation
Attach here the output from:
sudo -H pip3 install --no-cache-dir -U jetson-stats