Skip to content

Commit 98e50b3

Browse files
committed
fix thor gpu page vram display error
1 parent 645d388 commit 98e50b3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

jtop/core/jetson_variables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
# https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-3231/index.html
145145
# https://docs.nvidia.com/jetson/archives/r35.2.1/DeveloperGuide/text/IN/QuickStart.html
146146
MODULE_NAME_TABLE = {
147-
'p3834-0008': 'NVIDIA Jetson AGX Thor (Developer kit)',
147+
'p3834-0008': 'NVIDIA Jetson AGX Thor (Developer kit)',
148148
'p3767-0005': 'NVIDIA Jetson Orin Nano (Developer kit)',
149149
'p3767-0004': 'NVIDIA Jetson Orin Nano (4GB ram)',
150150
'p3767-0003': 'NVIDIA Jetson Orin Nano (8GB ram)',

jtop/gui/pgpu_thor.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,13 @@ def compact_gpu(stdscr, pos_y, pos_x, width, jetson, mouse=None):
106106
y = pos_y + line_counter
107107
label1_x = pos_x + 1
108108
label1 = "3D scaling: "
109-
field1 = "{" + val3d + "}"
109+
field1 = "[" + val3d + "]"
110110
field1_x = label1_x + len(label1)
111111
field1_x_end = field1_x + len(field1) - 1
112112

113113
label2_x = pos_x + max(width // 2, field1_x_end + 3)
114114
label2 = "Railgate: "
115-
field2 = "{" + valrg + "}"
115+
field2 = "[" + valrg + "]"
116116
field2_x = label2_x + len(label2)
117117
field2_x_end = field2_x + len(field2) - 1
118118

@@ -304,7 +304,7 @@ def draw(self, key, mouse):
304304

305305
chart_ram.draw(
306306
self.stdscr,
307-
[1 + width // 2, width - 2],
307+
[width // 2, width - 3],
308308
size_y,
309309
label=label_mem,
310310
)

0 commit comments

Comments
 (0)