Skip to content

Feat: NVIDIA Jetson GPU Backend Support#1538

Open
DanielHou315 wants to merge 3 commits intoaristocratos:mainfrom
DanielHou315:main
Open

Feat: NVIDIA Jetson GPU Backend Support#1538
DanielHou315 wants to merge 3 commits intoaristocratos:mainfrom
DanielHou315:main

Conversation

@DanielHou315
Copy link
Copy Markdown

@DanielHou315 DanielHou315 commented Feb 12, 2026

Closes #891.

Adds GPU monitoring for NVIDIA Jetson platforms (Xavier, Orin, Nano, TX2, etc.) up to JetPack 6. Backend ported from jetson_stats (A.K.A jtop) implementation, which is well-tested across Jetson boards and JetPack versions. Jetpack 7+ includes NVML, so no support is needed.

  • Detects Jetson iGPU via /sys/class/devfreq devicetree OF_NODE names
  • Reports GPU utilization, clock speed, and temperature using sysfs
  • Known GPU devices: gv11b, gp10b, ga10b, gb10b, gpu
  • Skips automatically when NVML is available (JetPack 7+)
  • Adds JETSON_GPU_SUPPORT define for aarch64 Linux (Makefile + CMake)

Tested on Jetson Xavier NX with Jetpack 5.1.1.

[AI Generated]

DanielHou315 and others added 3 commits February 11, 2026 21:13
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
[AI generated]

Split GPU_SUPPORT into vendor-specific compile definitions:
- INTEL_GPU_SUPPORT: only defined on x86_64 (guards intel_gpu_top)
- JETSON_GPU_SUPPORT: defined on aarch64 Linux (Tegra iGPU via sysfs)

Both Makefile and CMake are updated to support the new defines.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
[AI generated]

Add GPU monitoring for NVIDIA Jetson platforms (Xavier, Orin, etc.)
using the sysfs devfreq and thermal interfaces. Supports utilization,
clock speed, and temperature. Known GPU device names: gv11b, gp10b,
ga10b, gb10b (matching jetson_stats). Falls back gracefully when NVML
is available (JetPack 7+).

Strips null bytes from devicetree sysfs reads which include trailing
\0 terminators. GPU load is always divided by 10 (Jetson reports in
tenths of percent, 0-1000 range).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@deckstose deckstose added the AI generated Majority of included code is AI generated label Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI generated Majority of included code is AI generated

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[REQUEST] Nvidia Jetson GPUs

2 participants