Hi DGX Spark users,
I am sharing a modified version of btop tailored for DGX Spark. I decided to fork and modify the project because the standard version does not display GPU resource information on aarch64 architectures like the DGX Spark.
Key Changes:
-
Aarch64 GPU Support: The upstream Makefile restricts GPU support to
x86_64only. I updated it to enable onaarch64platforms. -
GCC 13 Compatibility: The latest btop requires GCC 14+ due to C++23 (
std::ranges::to) usage. I refactored this to C++20 compatible logic, allowing successful builds on GCC 13.x environments commonly used on these systems.
Repository:
🔗 GitHub - haven-jeon/btop: A monitor of resources for DGX Spark
Quick Start:
Bash
# Clone
git clone https://github.com/haven-jeon/btop.git
cd btop
# sudo apt install lowdown
# Build (Automatically detects aarch64 and enables GPU support)
gmake -j$(nproc)
# Install
sudo gmake install
After installation, run btop and press 5 to view the GPU metrics.
Hope this helps others working on DGX Spark.
