568 Commits

Author SHA1 Message Date
Maxime Schmitt
4bf5db248d Merge pull request #413 from polluks/master
Update nvtop manpage with additional options
2025-10-25 14:54:27 +02:00
Maxime Schmitt
5f6d3df19c Merge pull request #411 from sbhavani/master
Add unified memory support for NVIDIA DGX Spark
2025-10-25 14:50:39 +02:00
Maxime Schmitt
0131238c03 Merge pull request #406 from KaeLL/master
Add device_field for memory clock
2025-10-25 14:42:58 +02:00
Maxime Schmitt
2005d0bb7e Merge pull request #401 from cipri-tom/master
Add F5 and Ctrl+L screen refresh functionality
2025-10-25 14:40:20 +02:00
Maxime Schmitt
79de353cdc Merge pull request #398 from zhenyu-xu-metax/add-feature-support-metax
Feat: add support for METAX GPU
2025-10-25 14:32:20 +02:00
Maxime Schmitt
d823a796e7 Merge pull request #400 from mintyleaf/snapshot_rich_memory_output
add rich memory stats for snapshot option
2025-10-25 14:27:22 +02:00
Stefan
7563806184 Update nvtop manpage with additional options 2025-10-17 10:54:55 +02:00
Santosh Bhavani
667860919c Fix unified memory GPU reporting to use actual GPU allocations
Query running processes to sum actual GPU memory usage instead of
reporting system-wide memory consumption (MemTotal - MemAvailable).
2025-10-15 21:00:08 -07:00
Santosh Bhavani
d955f945a3 Fix unified memory reporting to use MemAvailable
Use /proc/meminfo MemAvailable instead of sysinfo freeram to properly
account for reclaimable cache. Now matches free -h output accurately.
2025-10-10 21:06:29 -07:00
nvmd
62f753f51c Add device_field for memory clock
Currently, GPU clocks and GPU memory clocks have
the same same field width size in the interface,
which is presumed to be in the thousands of MHz.
However, memory clocks reported by the GPU can be
in the tens of thousands range, presumably to
account for memory features such as PAM4 (like on
the RTX 4090). This causes the GPU memory clock
field to be one byte short when 5 digit clocks
are reported, cutting the 'z' from MHz.
This commit fixes that by adding a new
device_field for the memory clock that's one char
longer than the device_field for the GPU clocks,
and makes the appropriate changes in usage and
calculations that rely on these values.
2025-09-13 01:48:27 -03:00
Ciprian Tomoiaga
86fe3a7da6 Add automatic screen redraw on tmux reconnection
Implements comprehensive terminal state handling to fix display
corruption when reconnecting to tmux sessions:

- Add SIGCONT signal handler to detect process resumption
- Add KEY_RESIZE event handling for ncurses-detected state changes
- Both events trigger complete window reinitialization
- Eliminates garbage display issues after tmux disconnect/reconnect

This matches the behavior of well-behaved terminal applications
like htop that properly handle terminal state transitions.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-15 21:05:20 +00:00
Ciprian Tomoiaga
aca612ddcf Add F5 and Ctrl+L screen refresh functionality
Implements keyboard shortcuts to manually refresh the display:
- F5: Refresh screen and redraw all interface elements
- Ctrl+L: Same as F5, common terminal refresh shortcut

Uses complete window reinitialization to ensure proper redraw
of all elements including window borders and frames.

Fixes #394

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-15 20:52:40 +00:00
mintyleaf
df62414555 add rich memory stats 2025-08-11 11:47:56 +04:00
zxu
ac29e8e9a0 Feat: add support for METAX GPU 2025-07-21 19:43:28 +08:00
Maxime Schmitt
339ee0b10a Merge pull request #393 from Steve-Tech/xe2
Fix power draw metrics on Intel Battlemage (Xe)
2025-06-28 15:30:10 +02:00
Maxime Schmitt
a48ce79234 Merge pull request #387 from larunbe/utilisation-rate-use-engine-count
Use fdinfo's engine count when refreshing utilisation rate
2025-06-28 15:24:46 +02:00
Maxime Schmitt
1589b63593 Merge pull request #385 from feilongfl/impl-rknpu
Add support for Rockchip NPU
2025-06-28 15:22:20 +02:00
Stephen Horvath
8e731910a4 Fix power draw metrics on Intel Battlemage 2025-06-18 20:39:28 +10:00
Adrián Larumbe
54e301ab5f Use fdinfo's engine count when refreshing utilisation rate
I originally moved gpuinfo_refresh_utilisation_rate() from Mali code
into src/extract_gpuinfo.c when I realised utilisation rate could be
calculated in a device-independent way simply by following the
percentage utilisation guidelines given in
Documentation/gpu/drm-usage-stats.rst

However, I forgot to replace the magic number '2' which stood for the
engine count in Mali GPUs with a value that make sense for different
devices.

Source the engine count from gpu_info's static information values.

Signed-off-by: Adrián Larumbe <adrian.larumbe@collabora.com>
2025-05-23 02:40:06 +01:00
FeiLong
192aaaeac6 Add support for Rockchip NPU
Rockchip is a Chinese fabless semiconductor company based in Fuzhou, Fujian province.
This commit adds the load monitoring capabilities of Rockchip's NPU products to NVTOP.
2025-05-17 00:52:25 -04:00
Maxime Schmitt
7959210269 Merge pull request #373 from Quentium-Forks/feat/ppa
Replace unmaintained ppa with quentiumyt
2025-04-19 14:54:41 +02:00
Maxime Schmitt
cc690f7957 Merge pull request #375 from Syllo/runner-update
[CI] Remove retired ubuntu runner
2025-04-19 14:53:00 +02:00
Maxime Schmitt
61fbb99db6 [CI] Remove retired ubuntu runner 2025-04-19 14:49:22 +02:00
Maxime Schmitt
b37ecdded3 Merge pull request #370 from michel-slm/fix-icon-path
Fix icon path
2025-04-19 14:41:19 +02:00
Maxime Schmitt
41babff2b1 Merge pull request #369 from michel-slm/fix-appstream-path
Fix the installed filename of the appstream metainfo
2025-04-19 14:34:59 +02:00
QuentiumYT
7fb5758239 Replace unmaintained ppa with quentiumyt 2025-04-14 12:39:44 +02:00
Michel Lind
aefba7e6ac Fix icon path
SVG icons should go to hicolor/scalable/apps

Signed-off-by: Michel Lind <salimma@fedoraproject.org>
2025-04-04 21:36:35 -05:00
Michel Lind
f2ba0d1789 Fix the installed filename of the appstream metainfo
Per `appstream-util validate-relax`, the filename should match the
application ID.

Signed-off-by: Michel Lind <salimma@fedoraproject.org>
2025-04-04 21:34:28 -05:00
Maxime Schmitt
73291884d9 Bump version 3.2.0 3.2.0 2025-03-29 12:00:25 +01:00
Maxime Schmitt
a280e5f0da Fix division by zero on intel xe
Fixes: #354
2025-03-23 17:40:52 +01:00
Maxime Schmitt
72312d89b0 Reorder percentage associativity and max to 100
Fixes: #361
2025-03-23 13:18:29 +01:00
Maxime Schmitt
25d475cb5a Fix cpu fan selection 2025-03-23 12:56:05 +01:00
Maxime Schmitt
13963beca6 Merge pull request #360 from rdyro/libtpuinfo
Adding TPU support via libtpuinfo
2025-03-23 12:32:16 +01:00
Robert Dyro
c412a67d28 adding TPU metrics via libtpuinfo 2025-03-22 11:26:06 -07:00
Maxime Schmitt
ca52d04f2e Merge pull request #358 from jwilkins88/master 2025-03-22 14:22:19 +01:00
Maxime Schmitt
26d24bed38 Merge pull request #362 from kaiwu-astro/master 2025-03-22 12:58:18 +01:00
Kai Wu
4eeb30a89e fix readme: make DESTDIR will prepend DESTDIR; switch to CMAKE_INSTALL_PREFIX 2025-03-07 22:36:13 +01:00
Joel Wilkins
f439a2f89b Convert output to json 2025-02-22 08:42:09 -06:00
Maxime Schmitt
33cf46840f Merge pull request #357 from YoussefEssDS/npu_support
Fix minor build issue for ascend nvtop
2025-02-20 10:54:38 +01:00
Maxime Schmitt
2fd2250335 Merge pull request #344 from Steve-Tech/intel-pcie
Workaround broken PCIe speeds on Intel Arc
2025-02-20 10:54:12 +01:00
Stephen Horvath
949d62895c Add Intel Xe driver temp support
Requires drm-xe-next commit dac328dea701 (drm/xe/hwmon: expose package and vram temperature) which hasn't been mainlined yet
2025-02-18 20:58:49 +10:00
Joel Wilkins
02d81990af Remove fat fingered character 2025-02-12 13:32:45 -06:00
Joel Wilkins
286b912d67 One more accidental formatting fix 2025-02-11 08:45:05 -06:00
Joel Wilkins
5e07499688 Revert added spaces 2025-02-11 08:44:12 -06:00
Joel Wilkins
9784d78c1d Add snapshot command to nvtop for scripting purposes 2025-02-11 08:42:44 -06:00
YoussefEssDS
782a9eaa7f Fix build issue for ascend nvtop 2025-02-10 12:23:01 -05:00
Maxime Schmitt
f901275e5b Merge pull request #351 from peter15914/fix_no_va_end
Add missing va_end() call
2025-01-19 09:13:14 +01:00
Maxime Schmitt
3e8c6aeb84 Merge pull request #353 from Steve-Tech/amd-enc
Fix shared encode/decode not being displayed on AMD
2025-01-19 09:11:17 +01:00
Stephen Horvath
cff83faee2 Make shared encoder/decoder utilisation longer
Previously "ENC/DEC" took up most of the space leaving only 2 characters for the percentage & bar.
2025-01-16 17:04:54 +10:00
Stephen Horvath
35b8e44743 Fix some compiler warnings
Fix some compiler warnings that didn't show on my desktop.
2025-01-16 11:44:59 +10:00