🇫🇷 | 🇬🇧 | 🇩🇪 | 🇪🇸 | 🇵🇹 | 🇮🇹 | 🇳🇱 | 🇵🇱 | 🇷🇺 | 🇨🇳 | 🇯🇵 | 🇰🇷
Installationsanleitung
Vollständige Anleitung zur Installation des AMD XDNA-Treibers auf Framework Laptop 13 mit Debian 13.
Hardware-Spezifikationen
AMD Ryzen AI 9 HX 370 Prozessor
| Spezifikation | Details |
|---|---|
| Architektur | Zen 5 (4 Kerne) + Zen 5c (8 Kerne) |
| Threads | 24 |
| Integrierte GPU | Radeon 890M (16 CUs RDNA 3.5) |
| NPU | XDNA 2 (Strix) - 50 TOPS |
| TDP | 28W |
Voraussetzungen
NPU-Erkennung überprüfen
lspci | grep -i "Processing"
Build-Tools installieren
sudo apt update
sudo apt install linux-headers-$(uname -r) build-essential git dkms \
libcurl4-openssl-dev libtbb-dev pybind11-dev python3-pybind11
Schritt 1: xdna-driver Repository klonen
cd ~/sources
git clone https://github.com/amd/xdna-driver.git
cd xdna-driver
git submodule update --init --recursive
Schritt 2: Abhängigkeiten installieren
sudo ./tools/amdxdna_deps.sh
Schritt 3: XRT kompilieren
cd xrt/build
./build.sh -npu -opt
Schritt 4: XRT-Pakete installieren
sudo apt reinstall ./Release/xrt_*-amd64-base.deb ./Release/xrt_*-amd64-npu.deb
Schritt 5: XDNA-Treiber kompilieren
cd ~/sources/xdna-driver/build
./build.sh -release
Schritt 6: XDNA-Plugin installieren
sudo apt reinstall ./Release/xrt_plugin.*-x86_64-amdxdna.deb
Nach der Installation
Speicherlimit erhöhen
sudo sh -c 'echo "* soft memlock unlimited" >> /etc/security/limits.conf'
sudo sh -c 'echo "* hard memlock unlimited" >> /etc/security/limits.conf'
Neustart erforderlich.
XRT-Umgebung konfigurieren
echo 'source /opt/xilinx/xrt/setup.sh' >> ~/.bashrc
Überprüfung
source /opt/xilinx/xrt/setup.sh
xrt-smi examine
xrt-smi validate
| ← Startseite | Fehlerbehebung → |