You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
then when I execute the sudo ./gtop. I am getting the following error.
root@tegra-ubuntu:~/gstop/gtop-master# ./gtop
terminate called after throwing an instance of 'std::out_of_range'
what(): vector::_M_range_check
Aborted
Even I have increased the c
const int STATS_BUFFER_SIZE = 1024;
Increasing the buffer size is required from R28.2 that logs almost double information with temperatures.
For TX1 on R28.1, cpu index should be 5 and gpu index 7. Note that enabling swap would need to increase these.
The gtop.cc version provided in #1 handles swap (as long as swap info format doesn't change).
If you want to make a new branch with a clean implementation, it would be nice.
It would probably be better to check for keywords (although these change among versions) rather than relying on indexes. I just did that trial and shared as a starting point for anyone it would help, but this may for sure be improved.
I am now using the TX2 with 3.2 Jetpack, could you please tell me how to use this gtop.
This is my output
RAM 2605/7846MB (lfb 691x4MB) CPU [0%@1267,0%@345,0%@345,0%@1267,0%@1267,0%@1266] EMC_FREQ 3%@665 GR3D_FREQ 4%@140 APE 150 MTS fg 4% bg 17% BCPU@40C MCPU@40C GPU@39C PLL@40C Tboard@37C Tdiode@38C PMIC@100C thermal@39.7C VDD_IN 2255/2255 VDD_CPU 229/229 VDD_GPU 152/152 VDD_SOC 458/458 VDD_WIFI 0/0 VDD_DDR 347/347
I am getting some error when I use the $sudo ./gtop
Hi Martin,
I am trying to use your tool of GUI for Tegra TX1.
However I am getting the folling compilation warning
root@tegra-ubuntu:~/gstop/gtop-master# make
g++ -std=c++11 gtop.cc utils.cc display.cc -o gtop -pedantic -Wall -Wextra -lncurses -lpthread
gtop.cc:193:6: warning: unused parameter ‘d’ [-Wunused-parameter]
void display_stats(const dimensions & d, const tegrastats & ts) {
then when I execute the sudo ./gtop. I am getting the following error.
root@tegra-ubuntu:~/gstop/gtop-master# ./gtop
terminate called after throwing an instance of 'std::out_of_range'
what(): vector::_M_range_check
Aborted
Even I have increased the c
const int STATS_BUFFER_SIZE = 1024;
But still nothing works!
This is the output I get from the ~/tegrastats
RAM 748/3854MB (lfb 676x4MB) SWAP 0/0MB (cached 0MB) cpu [14%,43%,11%,12%]@1912 EMC 24%@1600 AVP 82%@13 VDE 0 GR3D 52%@998 EDP limit 1912
RAM 748/3854MB (lfb 676x4MB) SWAP 0/0MB (cached 0MB) cpu [25%,40%,9%,6%]@1912 EMC 19%@1600 AVP 70%@12 VDE 0 GR3D 51%@921 EDP limit 1912
RAM 748/3854MB (lfb 676x4MB) SWAP 0/0MB (cached 0MB) cpu [71%,26%,32%,20%]@1912 EMC 23%@1600 AVP 41%@12 VDE 0 GR3D 83%@921 EDP limit 1912
RAM 748/3854MB (lfb 676x4MB) SWAP 0/0MB (cached 0MB) cpu [96%,27%,38%,30%]@1912 EMC 26%@1600 AVP 13%@12 VDE 0 GR3D 51%@921 EDP limit 1912
Could you please help me fix this problem.
Thanks!
The text was updated successfully, but these errors were encountered: