Bug 294825 - sysutils/nvtop: New port: GPU & Accelerator process monitoring
Summary: sysutils/nvtop: New port: GPU & Accelerator process monitoring
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Vladimir Druzenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-04-27 01:40 UTC by Henry Hu
Modified: 2026-04-27 03:52 UTC (History)
2 users (show)

See Also:


Attachments
patch for new port (1.96 KB, patch)
2026-04-27 01:40 UTC, Henry Hu
no flags Details | Diff
poudriere log for 15.0-RELEASE (44.37 KB, text/plain)
2026-04-27 01:41 UTC, Henry Hu
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henry Hu 2026-04-27 01:40:25 UTC
Created attachment 270169 [details]
patch for new port

This is a port for nvtop.
It's surprisingly simple: no change needed, and it works for my NVidia GPU using the nvidia driver.

Libraries are all dynamically opened (libdrm.so, libnvidia-ml.so, etc.) so no dependency on them is needed. If you can make use of these supported GPUs, then you possibly have the library installed.
Comment 1 Henry Hu 2026-04-27 01:41:00 UTC
Created attachment 270170 [details]
poudriere log for 15.0-RELEASE
Comment 2 Vladimir Druzenko freebsd_committer freebsd_triage 2026-04-27 03:30:44 UTC
I think better category for this port is sysutils.
Comment 3 Vladimir Druzenko freebsd_committer freebsd_triage 2026-04-27 03:50:38 UTC
Work with my GeForce GT 630 with drivers 390.157 at work.
But doesn't work with GeForce 9800 GT with drivers 340-340.108 at home.
Comment 4 commit-hook freebsd_committer freebsd_triage 2026-04-27 03:51:21 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b7c9c5d3b912684d2cc3a528f8bfbe71963ee613

commit b7c9c5d3b912684d2cc3a528f8bfbe71963ee613
Author:     Henry Hu <henry.hu.sh@gmail.com>
AuthorDate: 2026-04-27 03:46:37 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-04-27 03:51:09 +0000

    sysutils/nvtop: New port: GPU & Accelerator process monitoring

    NVTOP stands for Neat Videocard TOP, a (h)top like task monitor for GPUs
    and accelerators. It can handle multiple GPUs and print information
    about them in a htop-familiar way.

    Currently supported vendors are AMD (Linux amdgpu driver), Apple
    (limited M1 & M2 support), Huawei (Ascend), Intel (Linux i915/Xe
    drivers), NVIDIA (Linux proprietary divers), Qualcomm Adreno (Linux MSM
    driver), Broadcom VideoCore (Linux v3d driver), Rockchip, MetaX (MXSML
    driver), Enflame (Linux EFML driver).

    PR:             294825
    Sponsored by:   UNIS Labs

 sysutils/Makefile              |  1 +
 sysutils/nvtop/Makefile (new)  | 19 +++++++++++++++++++
 sysutils/nvtop/distinfo (new)  |  3 +++
 sysutils/nvtop/pkg-descr (new) |  9 +++++++++
 sysutils/nvtop/pkg-plist (new) |  5 +++++
 5 files changed, 37 insertions(+)
Comment 5 Vladimir Druzenko freebsd_committer freebsd_triage 2026-04-27 03:52:10 UTC
Thanks.