Quick diagnostics
Run these six commands first. Their output narrows most issues to one of the entries below.
# 1. Full NPU status: runtime/firmware versions, PCIe link speed, per-core voltages and temperatures
dxrt-cli -s
# 2. Confirm the DX-M1 is visible on the PCIe bus
lspci
# 3. Confirm the USB bridge, NVMe, and cellular modem are enumerated on USB
lsusb
# 4. Confirm the DEEPX kernel module (dx_dma) is loaded
lsmod | grep -i dx
# 5. Check the kernel ring buffer for driver / PCIe errors
dmesg | grep -i dx
# 6. Live NPU telemetry: per-core utilisation, temperature, throttle observation
dxtop
Common issues
Symptom
lspci lists no DEEPX device and dxrt-cli -s reports no device found, although the runtime is installed.
Cause
Almost always the 40 mm PCIe cable is reversed or partly seated, or loose M2.5 spacers keep the pogo pins from making contact. The Raspberry Pi 5 sees no PCIe link, so the DX-M1 never appears.
Fix
-
Power off and check cable orientation.
The board is not hot-pluggable: disconnect the USB-C supply first. The
RPi5end goes to the Raspberry Pi 5, theEDGE AIend to the board; labels face out, contacts face the board. A reversed cable gives no link. -
Reseat cable at both ends.
Open both latches, reinsert the cable firmly, and close the latches. A latch that feels closed but is not flush with the connector body leaves the cable without contact.
-
Tighten M2.5 spacers.
The board powers the Raspberry Pi 5 through four pogo pins (2 × 5 V, 2 × GND) under its GPIO header. Loose spacers leave the pins without pressure: the Raspberry Pi 5 may not power on, or boot without a PCIe link. Tighten the four spacers by hand, firmly.
-
Check kernel log.
dmesg | grep -i dxA healthy stack shows
dx_dma_pcieprobe messages ending inProbe Done!!.PCIe link failed,link training timeout, or nothing after the boot lines means no link: go back to the cable and the pogo pins. -
Check that the PCIe lane is enabled.
Both lines must be in
/boot/firmware/config.txtand not commented out; without them no link comes up. Reboot after a change.dtparam=pciex1 dtparam=pciex1_gen=3 -
Check bus after reboot.
lspciThe DEEPX device is listed:
00:00.0 PCI bridge: Broadcom Inc. BCM2712 x1 PCI Express Bridge (rev 21) 01:00.0 Processing accelerators: DEEPX Co., Ltd. DX-M1 AI Accelerator (rev 01)
Symptom
sixfab-dx is installed and dxrt-cli is on the PATH, but dxrt-cli -s prints no device found. lspci may or may not list the DEEPX device.
Cause
The DEEPX kernel module (dx_dma) is not loaded. DKMS normally rebuilds it after a kernel update, but the load fails if the build failed against the running kernel or the system was not rebooted after the install.
Fix
-
Check kernel module.
lsmod | grep -i dxA
dx_dmaline means it is loaded; no output means it is not. -
Reboot.
Right after a fresh install the module is often loaded only after a reboot. Check again with
lsmod | grep -i dxanddxrt-cli -s.sudo reboot -
Reinstall
dxrt-driver-dkms.This rebuilds the module with DKMS for the running kernel.
sudo apt update sudo apt install --reinstall dxrt-driver-dkms -
Read kernel log.
dmesg | grep -i dxIf the module is still missing, the log shows why: look for DKMS build errors or missing kernel headers.
Started after an OS update? See Driver stopped working after a Raspberry Pi OS update: the recovery is different.
Symptom
dmesg | grep -i dx shows link failed, link training timeout, or enumeration messages followed by nothing. dxrt-cli -s finds the device only sometimes, reports Gen2 X1 instead of Gen3 X1, or inference fails.
Cause
An unstable PCIe link: the cable partly seated or reversed, dtparam=pciex1_gen=3 missing from config.txt, or another cable used instead of the included one.
Fix
-
Power off and reseat cable.
Open both latches, reinsert the cable firmly, close the latches, and check that each sits flush with the connector body.
-
Check cable orientation.
The ends are not interchangeable:
RPi5to the Raspberry Pi 5,EDGE AIto the board. Labels face out, contacts face the board. -
Use only included cable.
Signal integrity is validated for the included 40 mm cable only; a longer or different cable is not recommended.
-
Check that the PCIe lane is enabled.
The Raspberry Pi 5 runs the lane at Gen 2 unless Gen 3 is set. Both lines must be in
/boot/firmware/config.txtand not commented out; reboot after a change.dtparam=pciex1 dtparam=pciex1_gen=3 -
Check link after reboot.
dxrt-cli -sThe
PCIeline should readGen3 X1(800 to 900 MB/s; Gen 2 gives 400 to 450 MB/s). If errors persist, the cable is damaged: contact Sixfab support for a replacement.
Symptom
An NVMe SSD is in the M.2-SSD slot, but lsblk shows no /dev/sda or lsusb does not list the Realtek USB-to-NVMe bridge.
Cause
The slot is USB-attached: the SSD sits behind a Realtek RTL9210B-CG bridge on the board’s USB 3.0 hub, which reaches the Raspberry Pi 5 through the USB Bridge. A loose module or a loose USB Bridge breaks the path. The SSD is a USB storage device, so check it with lsblk, not nvme list.
Fix
-
Power off and reseat SSD.
Loosen the M2 flat-head screw, remove the SSD, reinsert it at 30° with the contacts fully seated, lower it flat, and tighten the screw by hand. The SSD should sit parallel to the board.
-
Reseat USB Bridge.
It carries both the SSD and the modem data; when it is loose, both disappear even though the modules are fitted correctly. Reseat it firmly at both ends.
-
Check USB and block devices.
lsusb lsblklsusblistsRTL9210 NVMe Bridge, andlsblkshows/dev/sdaat the SSD’s size. If the bridge is listed but/dev/sdahas no partition, prepare it as on NVMe storage. -
Check power.
A weak supply makes USB devices drop out. If the SSD appears and disappears, see System reboots, shows an under-voltage warning, or pauses at boot. Use 27 W or more; 45 W with the NPU, SSD, and modem fitted.
Symptom
A modem is in the CELLULAR LTE/5G slot, but lsusb does not list it and no modem network interface appears.
Cause
The modem is USB-attached, on the board’s USB 3.0 hub behind the USB Bridge. A loose USB Bridge or a modem not fully seated in the Key-B slot keeps it from appearing.
Fix
-
Power off and reseat modem.
Loosen the M2 flat-head screw, remove the modem, reinsert it at 30° with the contacts fully seated, lower it flat, and tighten the screw by hand.
-
Reseat USB Bridge.
It carries both the modem and the SSD data; when it is loose, both disappear.
-
Check for modem on USB.
lsusb | grep 2c7cA Quectel modem shows the vendor ID
2c7c; the product IDs are listed on Cellular connectivity. -
Find network interface.
ip aIn QMI mode, as set up on the cellular page, the interface is
wwan0; in other USB modes the name differs (for exampleusb0). Test with that name:ping -I wwan0 -c 3 8.8.8.8 -
If it appears but does not register, continue on the cellular page.
Registration, APN, SIM activation, and signal checks are on Cellular connectivity.
Symptom
One of three: the Raspberry Pi 5 pauses at boot and asks you to press its button to allow more USB current; the taskbar shows a yellow lightning bolt; or the system reboots under inference load, or the SSD disconnects now and then.
Cause
Almost always the power supply. The board powers the whole stack from one USB-C PD input and back-powers the Raspberry Pi 5 through four pogo pins; below 27 W the system crashes, the SSD disconnects, and under-voltage warnings appear. The boot pause comes from the Raspberry Pi 5 USB current limit when it boots from the SSD. Loose M2.5 spacers give the pogo pins too little pressure, which looks like under-voltage.
Fix
-
Use 27 W supply or more.
The Raspberry Pi 27 W USB-C PD supply is the minimum; with the NPU, SSD, and modem all fitted, use the Raspberry Pi 45 W supply.
-
Booting from SSD? Lift USB current limit.
Add this line to the end of
/boot/firmware/config.txtand reboot. Without it, a Raspberry Pi 5 booting from the SSD stops and asks you to press its button to allow more than 1.6 A of USB current. Not needed when booting from the microSD card.usb_max_current_enable=1 -
Tighten M2.5 spacers.
The four pogo pins carry all the power to the Raspberry Pi 5. Tighten the four spacers by hand, firmly; loose ones give intermittent power that looks like under-voltage.
-
Use one power input only.
Power comes from the board’s USB-C port. With a supply also in the Raspberry Pi 5’s own USB-C port, only the Raspberry Pi 5 runs and the M.2 modules stay silent. Keep the included cap on that port.
-
Check that the warning has cleared.
vcgencmd get_throttledthrottled=0x0means no under-voltage since boot; any other value means one was recorded.
Unplugging under power
Pulling the USB-C cable does no physical damage, but unsaved data is lost and the SSD filesystem may need repair. Shut down with sudo shutdown -h now before unplugging.
Symptom
Inference starts at the expected frame rate, then slows after several minutes of continuous load. It settles lower and recovers when the load pauses; the system does not crash.
Cause
The NPU reaches its throttling temperature, about 90 °C, and the runtime lowers its clocks. Passive cooling covers bursty workloads, but sustained 100 % load in a closed enclosure or a warm room can push the cores past that point.
Fix
-
Watch NPU temperature.
dxtopIt shows voltage, clock, temperature, and load for each core. Run it in a second terminal during the load and look for a steady rise toward 90 °C;
dxrt-cli -sgives a single snapshot. -
Add active cooling for sustained full load.
Recommended for benchmarks, continuous multi-camera inference, and sealed enclosures. The board has no fan connector; the Raspberry Pi Active Cooler runs from the Raspberry Pi 5 fan header.
-
Check ambient temperature and ventilation.
Near the top of the operating range the thermal headroom shrinks. Move the system somewhere cooler or improve the airflow before suspecting the hardware. Ventilation needs depend on the ambient temperature, the duty cycle, and whether a fan is fitted.
-
Log temperature over time.
Continuous NPU telemetry is covered on System monitoring.
Symptom
Inference runs without errors, but well below the published figure for the model.
Cause
One of four: the PCIe link runs at Gen 2, the model runs on the CPU (a raw .onnx file), a YOLO model was compiled without PPU so post-processing runs on the CPU, or CPU capture and pre-processing keep the NPU waiting.
Fix
-
Check that the link is at Gen 3.
dxrt-cli -sThe
PCIeline should readGen3 X1. At Gen 2 the link carries 400 to 450 MB/s instead of 800 to 900 MB/s: adddtparam=pciex1_gen=3to/boot/firmware/config.txtand reboot. -
Run compiled model.
A raw
.onnxfile passed to the runtime falls back to the CPU, one to two orders of magnitude slower. Compile it to.dxnnwith DX-COM first; see Custom models (DXNN SDK). -
Compile YOLO models with PPU.
Without the Post-Processing Unit, the confidence filtering and class selection of the detection head run on the CPU after every inference and limit the frame rate. With the PPU flag in DX-COM they run on the NPU; non-maximum suppression stays on the CPU.
-
Check NPU load.
Run
dxtopin a second terminal. NPU load near 100 % with a low frame rate means the model is too heavy for the NPU: use a smaller model or a lower input resolution. A low NPU load means CPU capture and pre-processing keep the NPU waiting: fix those first. -
Use asynchronous API.
The
dxrtAPI can submit the next frame while the NPU processes the current one. This hides pre-processing time and raises throughput.
SSD and cellular traffic do not slow NPU
The DX-M1 has its own PCIe link; the SSD and modem share the USB path. SSD writes and LTE/5G traffic during inference cause no measurable drop in AI throughput. If inference slows with disk or network activity, the CPU is the bottleneck, not the NPU.
Symptom
The board worked before sudo apt upgrade or a kernel update. After the reboot, dxrt-cli -s reports no device found, lsmod | grep -i dx prints nothing, and lspci may or may not list the DEEPX device.
Cause
DKMS should rebuild the DEEPX module for every new kernel, and usually does. When it cannot (no matching kernel headers, or a build that failed silently), dx_dma is missing from the new kernel and the NPU disappears. Reinstalling dxrt-driver-dkms rebuilds it for the running kernel.
Fix
-
Check kernel version.
uname -rIf the kernel did not change, the update is not the cause: run the quick diagnostics first.
-
Check module.
lsmod | grep -i dxNo output matches this cause.
-
Reinstall
dxrt-driver-dkms.sudo apt update sudo apt install --reinstall dxrt-driver-dkms--reinstallrebuilds the module for the running kernel even if the package version did not change. The build takes most of the time and prints a lot of compiler output. -
Reboot.
The rebuilt module then loads cleanly.
sudo reboot -
Check result.
lsmod | grep -i dx dxrt-cli -sThe module is listed, and the runtime reports the device:
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.92GiB * 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 =======================================================
DKMS build errors
The usual cause is missing kernel headers. Install them with sudo apt install linux-headers-rpi-2712, then run the reinstall again. If the reinstall still fails, follow the Quickstart from the start.
Still need help?
Contact Sixfab support with the output of the six quick diagnostic commands; it is usually enough to pinpoint the issue.