DSP Monitor Deployment
Introduction
DSP Monitor is a tool for monitoring DSP performance, helping users understand the real-time operating status and performance metrics of the DSP.
Supported Platforms
| Platform | Running Method |
|---|---|
| IQ9075 | Ubuntu 24.04 |
Prerequisites
IQ9075 hardware
Ubuntu 24.04 system
System Dependency Configuration
Configure the AidLux Repository
# Download the correct public key
sudo wget -O- https://archive.aidlux.com/ubuntu24/public.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/private-aidlux.gpg > /dev/null
# Edit the source file
sudo vim /etc/apt/sources.list.d/private-aidlux.list
# Add the private key provided by AidLux to the source file
deb [arch=arm64 signed-by=/etc/apt/trusted.gpg.d/private-aidlux.gpg] https://archive.aidlux.com/ubuntu24 noble main
# Update the cache
sudo apt updateAfter the update, you can obtain the official AidLux SDK dependencies with the following command:
sudo apt list | grep aid | grep unknown# Install software
# Must be installed first; not included with the system
sudo apt install python3 python3-pip libopencv-dev python3-opencv net-tools
# Required before installing aidlite
sudo apt install aidlux-aistack-base aidrtcm
# Install aidlite and its dependencies
sudo apt install aid-lms aidlms-sdk aidlite-sdk cmake
sudo apt-get install libfmt-dev nlohmann-json3-dev
sudo apt install aidlite-*
# Enable DSP support
sudo apt-get install qcom-fastrpc1
sudo apt-get install qcom-fastrpc-dev
# Install the aidgen SDK
sudo apt install aidgen-qnn240-sdk
# Install the mms service
sudo apt install aid-mms
# Enable GPU support
sudo apt-add-repository -s ppa:ubuntu-qcom-iot/qcom-ppa
sudo apt install qcom-adreno-cl1
sudo ln -s /usr/lib/aarch64-linux-gnu/libOpenCL.so.1 /usr/lib/aarch64-linux-gnu/libOpenCL.soAfter installation, check that the aidlite and aidgen directories have been added under /usr/local/share.

Device Authorization
Obtain the Device SN Code
cat /sys/devices/soc0/serial_numberObtain the License File
Provide the SN code to the Aplux technical staff to generate a device-specific License file, and place it under /etc/opt/aidlux/license/AidLuxLics.
Activate Authorization
sudo /opt/aidlux/cpf/aid-lms/manager.sh restartDSP Monitor Installation and Usage
sudo apt install aplux-aistack-dsp-monitor-v73After installation, you can start the DSP Monitor service with the following command:
# npu 0
dsp_mon --all --cdsp_index 0
# npu 1
dsp_mon --all --cdsp_index 1After startup, the system displays the current DSP performance metrics and operating status:
# npu 0
dsp arch: V73
dsp current freq: 921.599976 (MHz), current sample time(ms): 1001.742981
qdsp6 utilization: 0.449458 (%)
hvx utilization: 0.000000 (%)
hmx utilization: 0.000000 (%)
# npu 1
dsp arch: V73
dsp current freq: 921.599976 (MHz), current sample time(ms): 1001.710022
qdsp6 utilization: 0.445005 (%)
hvx utilization: 0.000000 (%)
hmx utilization: 0.000000 (%)