Skip to content

About

Radxa Dragon Q6A (QCS6490): board setup, 24-bit audio and DSP route fixes, Kodi hardware video decoding, LLM on the NPU

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

40 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dragon-q6a

Català

Everything I got working on the Radxa Dragon Q6A (Qualcomm QCS6490) running Ubuntu 26.04.1 LTS (rafaelwms image) with the Armbian edge kernel 7.2.9-edge-qcs6490. Each directory is self-contained and has its own README.

Directory What it is
board/ General setup: GPU acceleration (Adreno 643), CPU/network/zram/writeback tuning, a GPU monitor (gputop).
audio/ Audio: 24-bit headphone path (DKMS with two kernel fixes), DSP routes that no longer get lost, a usable alsamixer, AirPlay 2 (shairport-sync) with hardware volume.
kodi-iris/ Hardware video decoding in Kodi with the iris decoder (V4L2 mem2mem, DRM PRIME), 4K through EGL, and the HDMI colour range with the onboard RA620 DP→HDMI converter.
npu/ LFM3-1.7B (Liquid AI) running entirely on the Hexagon HTP v68 NPU, without the Qualcomm SDK: graphs compiled with onnxruntime-qnn, run by a native QNN runner (11.7 tok/s) or ONNX Runtime.
vl/ LFM3-VL-2B (vision-language): the vision encoder on the Adreno GPU (ncnn/Vulkan) and the language model on the NPU, in one C++ chat program.
d1/ d1-2B (Liquid AI's decision model): calibrated yes/no, choice and score answers about text and pictures in one pass, GPU encoder + NPU with int8 weights, C++ program and JSON service mode.
gpu/ GPU compute experiments: ncnn on Turnip (subgroup bug, a Vulkan MatMul layer), Qualcomm's KGSL driver built for this kernel, OpenCL/CLML/QNN GPU, llama.cpp; results and scripts.

The fixes are done on the board side: kernel modules, configuration and scripts, not settings on the TV or the monitor. Kernel patches sent upstream (2026-11-11) are in audio/hifi/upstream.

History

This repository merges three earlier repositories, with their full history: dragon-q6a-audio → audio/, kodi-iris → kodi-iris/, lfm3-q6a-npu → npu/. The old repositories are archived and point here.

License

MIT (LICENSE). Some parts have their own licence, stated in their directory: the FFmpeg patches in kodi-iris/patches (LGPL-2.1+), audio/alsa-ctl-filter/ctl_filter.c (LGPL-2.1+), and the kernel patches and DKMS-built modules in audio/hifi (GPL-2.0).

About

Radxa Dragon Q6A (QCS6490): board setup, 24-bit audio and DSP route fixes, Kodi hardware video decoding, LLM on the NPU

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages