Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qengineering/rtop-kde
rtop, a performance monitor for the Rockchips RK3566/68/88
https://github.com/qengineering/rtop-kde
cpu-monitoring gpu-monitoring htop npu npu-monitoring rga rk3566 rk3568 rk3582 rk3588 rk3588s
Last synced: 25 days ago
JSON representation
rtop, a performance monitor for the Rockchips RK3566/68/88
- Host: GitHub
- URL: https://github.com/qengineering/rtop-kde
- Owner: Qengineering
- License: bsd-3-clause
- Created: 2024-08-08T10:29:27.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-09-16T10:21:21.000Z (3 months ago)
- Last Synced: 2024-09-17T11:13:21.447Z (3 months ago)
- Topics: cpu-monitoring, gpu-monitoring, htop, npu, npu-monitoring, rga, rk3566, rk3568, rk3582, rk3588, rk3588s
- Language: C++
- Homepage: https://qengineering.eu/
- Size: 72.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rtop
**rtop** is a performance monitor designed for the Rockchip RK3566/68/88 processors.![Screenshot_20240807_111347](https://github.com/user-attachments/assets/7cace014-41de-4bfb-ba25-27138e74c6f3)
## rtop for the original Rock OS.
[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)
Specifically built for Rockchip processors using Qt5 by [Q-engineering](https://qengineering.eu/)##### If you have the Ubuntu OS by Joshua Riek, please install https://github.com/Qengineering/rtop-Ubuntu
------------
## Installing rtop.
To install **rtop**, download the repository, make the install script executable, and run it:
```script
$ git clone https://github.com/Qengineering/rtop-KDE.git rtop
$ cd rtop
$ sudo chmod +x ./install_rtop.sh
$ sudo ./install_rtop.sh
```If your system complains about missing the `libQt5Widgets.so.5` library, you can install it with the next command:
```
sudo apt-get install libqt5widgets5
```------------
## Running rtop.
To run **rtop** from the command line in the terminal:
```
$ rtop
```
![Screenshot_20240807_111431](https://github.com/user-attachments/assets/ae2d2d4f-0154-46cd-8f80-5e80482ceb3b)------------
## Permissions.
As noted in the appendix, some information requires sudo permissions.
The installation script should handle this automatically.
If you don't see RGA bars, it could indicate a permissions issue.
To resolve this, try running **rtop** with sudo:
```
$ sudo /usr/local/bin/rtop
```
Alternatively, you can disable the password prompt globally using `sudo visudo`.
If the NPU bars are not visible, ensure the NPU is enabled by following the commands provided in the appendix.------------
## Qt5.
For your convenience, the Qt5 code is included.
------------
### Appendix.
The used commands are:
```
#CPU load
$ cat /proc/stat
#CPU freq
$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq (or cpu1, cpu2 etc)
#GPU load
$ cat /sys/class/devfreq/fb000000.gpu/load
#GPU freq
$ cat /sys/class/devfreq/fb000000.gpu/cur_freq
#NPU load
$ sudo cat /sys/kernel/debug/rknpu/load
#NPU freq
$ cat /sys/class/devfreq/fdab0000.npu/cur_freq
#RGA load
$ sudo cat /sys/kernel/debug/rkrga/load
#RGA freq
$ sudo cat /sys/kernel/debug/clk/clk_summary | grep rga
#MEM
auto memInfo = readMemInfo(); (C++)
#SWAP
auto memInfo = readMemInfo(); (C++)
#TEMP
$ cat /sys/class/thermal/thermal_zone0/temp
#FAN
$ cat /sys/class/thermal/cooling_device4/cur_state
#DEVICE
$ cat /sys/firmware/devicetree/base/compatible```
------------
[![paypal](https://qengineering.eu/images/TipJarSmall4.png)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CPZTM5BB3FCYL)