DEEPX NPU system monitoring

Commands for monitoring and diagnosing the DEEPX NPU on the Sixfab AI HAT+, the Edge AI Expansion Board, and the ALPON X5 AI: dxtop, dxrt-cli, and the Linux tools for the driver and the runtime service.

Quick reference

Six commands cover monitoring on all three products, one per layer of the DEEPX stack. The rest of the page explains each.

CommandLayerShowsUse when
dxtopRuntimeLive NPU load, temperature, voltage, and clock per coreWatching performance during inference
dxrt-cli -sRuntimeDevice, versions, firmware, memory, PCIe linkChecking the stack after install or before debugging
lspciHardwareWhether the host sees the NPU on PCIeFirst check when nothing responds
lsmod | grep -i dxKernelWhether the DEEPX kernel module is loadeddxrt-cli finds no device
dmesg | grep -i dxKernelDEEPX driver messages from start-upDriver start-up or PCIe link errors
journalctl -xeu dxrt.serviceApplicationThe runtime service logThe runtime starts but inference fails

Installed CLI tools

  • dxrt-cli: hardware status, firmware version, and firmware update. The first command when diagnosing anything.
  • dxtop: live NPU monitor with load, temperature, voltage, and clock per core, like htop for the NPU.
  • run_model: runs a compiled .dxnn file without application code.
# 1. Full hardware status
dxrt-cli -s

# 2. Real-time NPU utilisation (q to quit)
dxtop

# 3. Test a compiled model
run_model --model_path <model_path>.dxnn

# 4. Update NPU firmware (only when a new fw.bin is released)
dxrt-cli -u <firmware_path>.bin

On the AI HAT+ and the Edge AI Expansion Board, the sixfab-dx APT package installs the runtime, the kernel driver (built with DKMS against the running kernel), and the three tools. On the ALPON X5 AI, install the same package from the remote terminal: sudo apt update && sudo apt install sixfab-dx. The commands then work the same on all three.

NPU metrics

Only dxtop and dxrt-cli show NPU-internal telemetry: load, voltage, clock, and die temperature per core. top, htop, and sensors cannot see inside the NPU. For fleet monitoring, collect the dxrt-cli -s output or the dxtop machine-readable feed into your time-series store.

dxtop: real-time NPU monitor

A live terminal view of the NPU: load, memory, voltage, clock, and temperature per core, updated continuously.

dxtop

Press q to quit, n and p to page through devices, h for help.

Output at idle

Captured on the Edge AI Expansion Board (DX-M1) with no inference running. The versions are those installed at capture time; run dxrt-cli -s to see yours.

DX-RT: v3.5.0   NPU Device driver: v2.7.0   DX-TOP: v1.1.1

Device :0  Variant: M1  PCIe Bus Number: 01:00:00  Firmware: v2.7.6
NPU Memory: [3.98 MiB / 3.82 GiB (0.05%)]
  Core :0  Util:  0.0%  Temp: 49 °C  Voltage: 750 mV  Clock: 1000 MHz
  Core :1  Util:  0.0%  Temp: 48 °C  Voltage: 750 mV  Clock: 1000 MHz
  Core :2  Util:  0.0%  Temp: 49 °C  Voltage: 750 mV  Clock: 1000 MHz

Output under inference load

With a model running, all three cores climb to 80 to 95 % load and the temperature rises into the low 50s °C at room temperature. Captured with YOLOv8n at 640 × 640 on the Edge AI Expansion Board (DX-M1), runtime v3.5.0.

Device :0  Variant: M1  PCIe Bus Number: 01:00:00  Firmware: v2.7.6
NPU Memory: [1.20 GiB / 3.82 GiB (31.4%)]
  Core :0  Util: 87.0%  Temp: 52 °C  Voltage: 750 mV  Clock: 1000 MHz
  Core :1  Util: 92.0%  Temp: 51 °C  Voltage: 750 mV  Clock: 1000 MHz
  Core :2  Util: 89.0%  Temp: 52 °C  Voltage: 750 mV  Clock: 1000 MHz

The Variant field reads M1 on all three products.

Typical values

Idle temp 46 to 49°C No inference running
Core voltage 750mV Idle and inference
Core clock 1000MHz Normal operating speed
NPU power (DX-M1 family) 2 to 5W NPU alone, supported AI models
Thermal throttle ~90°C Per DEEPX silicon spec

Temperature climbing toward 65 to 70 °C under sustained load?

Without enough cooling the NPU heats up and throttles from about 90 °C. On the AI HAT+, fit the heatsink or a 3.3 V fan. On the Edge AI Expansion Board, keep the DX-M1 heatsink fitted and the airflow free. The ALPON X5 AI is a sealed fanless enclosure with its own thermal design; place it within its ambient operating range.

dxrt-cli: hardware status and firmware

The main tool for hardware state and NPU firmware.

Status report

Shows the device type, runtime, driver, and firmware versions, memory, board revision, PCIe link speed, and voltage, clock, and temperature per core. Run it first after installation or when something behaves unexpectedly.

dxrt-cli -s
DXRT v3.5.0
=======================================================
 * Device 0: M1, Accelerator type
---------------------   Version   ---------------------
 * RT Driver version  : v2.7.0
 * PCIe Driver version: v2.7.0
-------------------------------------------------------
 * FW version         : v2.7.6
--------------------- Device Info ---------------------
 * Memory : LPDDR5 5600 Mbps, 3.92 GiB
 * Board  : M.2, Rev 1.0
 * Chip Offset : 0
 * PCIe   : Gen3 X1 [01:00:00]
NPU 0: voltage 750 mV, clock 1000 MHz, temperature 45 °C
NPU 1: voltage 750 mV, clock 1000 MHz, temperature 45 °C
NPU 2: voltage 750 mV, clock 1000 MHz, temperature 45 °C
=======================================================

The layout is the same on all three products; these fields differ:

  • Memory: LPDDR5, 5600 MT/s, 4 GB on the Edge AI Expansion Board (DX-M1 M.2 module); LPDDR4x, 4266 MT/s, 2 GB (DX-M1M) on the AI HAT+. See each product’s specifications.
  • Versions: whatever is installed; the output above shows the versions at capture time.
  • PCIe: Gen3 X1 on the AI HAT+ and the Edge AI Expansion Board once dtparam=pciex1_gen=3 is set; on the ALPON X5 AI the link is set at the factory.

Update NPU firmware

dxrt-cli -u flashes a firmware file to the NPU. Download the file from DEEPX website first:

dxrt-cli -u <firmware_path>.bin

# Verify the new firmware version
dxrt-cli -s

When to update the firmware

Flash only when the runtime reports a firmware version mismatch or a new runtime requires newer firmware. If dxrt-cli -s shows the device without errors, no flash is needed. If the runtime still reports a mismatch after the flash, update the runtime too.

Diagnostic commands

Standard Linux tools that check hardware detection and the kernel driver when the DEEPX tools do not respond.

Is the NPU on the PCIe bus?

lspci

The DEEPX device must be listed; if it is not, the hardware connection has a problem.

0001:01:00.0  Processing accelerators: DEEPX Co., Ltd. DX_M1A

Nothing listed?

On the AI HAT+, check the 16-pin FFC cable at both ends; a latch not fully closed is the most common cause (Troubleshooting). On the Edge AI Expansion Board, check that the DX-M1 is fully seated in M.2-PCIe and the PCIe cable is connected, and read dmesg | grep -i dx (Troubleshooting). On the ALPON X5 AI there is no removable PCIe cabling: a missing device is a system fault; contact Sixfab support.

Is the kernel driver loaded?

lsmod | grep -i dx

No output means the module is not loaded. On the AI HAT+ or the Edge AI Expansion Board, reboot or reinstall dxrt-driver-dkms. On the ALPON X5 AI it points to an OS image problem: reboot, and if the module still does not load, contact Sixfab support.

Driver messages

dmesg | grep -i dx

Kernel messages from the driver start-up: look for PCIe link errors, firmware load failures, or enumeration problems. A healthy start looks like this:

[    2.102285] dx_dma: loading out-of-tree module taints kernel.
[    2.112716] dx_dma_pcie 0001:01:00.0: enabling device (0100 -> 0102)
[    2.112830] dx_dma_pcie 0001:01:00.0: dw->dx_ver: 3
[    2.182700] dx_dma_pcie 0001:01:00.0: [dx_dma_pcie_probe] Probe Done!!
[    2.799076] dxrt_driver_cdev_init: 1 devices

Runtime service log

journalctl -xeu dxrt.service

# Follow live
journalctl -xeuf dxrt.service

# Only last 10 minutes
journalctl -xeu dxrt.service --since "10 minutes ago"

The systemd log of the runtime service, for when the runtime starts but inference fails. -f follows it live; --since limits the time range.

If dmesg or journalctl prints nothing or a permission error, run it with sudo.

Where to start when something fails

Run these in order; each goes one layer down. Stop when one answers the question.

  1. dxrt-cli -s: does the runtime see a healthy device with the expected versions?
  2. lspci: does the host see the NPU on PCIe?
  3. lsmod | grep -i dx: is the kernel module loaded?
  4. dmesg | grep -i dx: did the driver start without errors?
  5. journalctl -xeu dxrt.service: did the runtime service start and stay up?

All three products run Linux with systemd: Raspberry Pi OS on the AI HAT+ and the Edge AI Expansion Board, ALPON OS on the ALPON X5 AI. The commands and their output are the same; product-specific recovery steps are on each Troubleshooting page.