Fixing ROCm Boot Issues: amdgpu Module Blacklisted
A quick fix for when a blacklist entry keeps the amdgpu kernel module from loading, so ROCm sees no GPU on AMD Strix Halo.
SmartTechLabs
SmartTechLabs - Intelligent Solutions for IoT, Edge Computing & AI
Update, November 2026
The blacklist problem and its fix are unchanged. What has changed around it:
- ROCm versioning: AMD has moved from the 7.x numbering to ROCm Core SDK 10.x (10.2.0 is dated 2026-11-18). Since 7.14, ROCm is built and released with TheRock. The release notes list gfx1151 (Ryzen AI Max 300 series, “Strix Halo”) as supported.
- Kernel: a working
amdgpumodule is not enough on older kernels. AMD’s Strix Halo guide lists Ubuntu 24.04 HWE kernel 6.17.0-19.19~24.04.2 or later, Ubuntu 24.04 OEM kernel 6.14.0-1018 or later, and 6.18.4 or later on other distributions. Older kernels are marked unstable or unsupported, and compute workloads may fail to initialize. Ubuntu 26.04, Fedora 43 and Arch (2026.02.01 or later) ship the fixes. - Ubuntu 22.04 is not in AMD’s current Ryzen support list; use 24.04 or 26.04.
If /dev/kfd is missing on a current system, check the blacklist first (below), then the kernel version with uname -r.
The Problem
After installing ROCm on a fresh Linux system, you reboot and… your AMD GPU isn’t detected. Running lsmod | grep amdgpu returns nothing.
What happened? The amdgpu kernel module is on a modprobe blacklist, so it does not load at boot. Typically the blacklist comes from an NVIDIA or CUDA driver installation (see below), not from ROCm itself.
Symptoms
You might encounter this issue if:
rocm-smishows no devices after a reboot/dev/kfdis missing, orrocminfofinds no agents- The GPU worked before a driver installation (for example NVIDIA or CUDA)
/etc/modprobe.d/contains blacklist entries foramdgpudmesg | grep amdgpushows no driver initialization
The Fix
We’ve created a simple script that resolves this issue: strix-halo-amdgpu-blacklisted
What It Does
- Removes the blacklist file: deletes
/etc/modprobe.d/blacklist-amdgpu.confif it exists. Other files containingblacklist amdgpuare not touched. - Writes driver options and boot loading: creates
/etc/modprobe.d/amdgpu.conf(dc=1,dpm=1,si_support=0,cik_support=0) and/etc/modules-load.d/amdgpu.conf. - Rebuilds initramfs with
update-initramfs -u, so the script targets Ubuntu and Debian. - Loads the module and verifies: runs
modprobe amdgpu, then checks/dev/kfd, the render nodes,lsmodandrocminfo.
Read the script before you run it: it overwrites the two amdgpu.conf files and needs root.
Usage
| |
Manual Fix
If you prefer to fix this manually:
| |
Why This Happens
A blacklist entry for amdgpu usually comes from another GPU driver package. NVIDIA and CUDA installers blacklist competing GPU drivers to avoid conflicts, and the entry stays after you switch to the AMD GPU:
| Cause | Effect |
|---|---|
| NVIDIA or CUDA installer, or an earlier manual fix attempt | amdgpu doesn’t load at boot |
| Outdated initramfs | Old blacklist cached in boot image |
Prevention
To avoid this issue in future ROCm installations:
- Check blacklists after installing any GPU driver:
grep -r "blacklist" /etc/modprobe.d/ - Rebuild initramfs (
update-initramfs -u) after changing modprobe files - Test before rebooting:
sudo modprobe amdgpuloads the module even if it is blacklisted, so it shows that the driver works, not that the boot configuration is fixed. Verify after a reboot withlsmod | grep amdgpu
Affected Systems
This issue has been observed on:
- Ubuntu 22.04/24.04 with ROCm 6.x
- AMD Ryzen AI Max+ 395 (Strix Halo), where the script was tested
Get the Script
Repository: smarttechlabs-projects/strix-halo-amdgpu-blacklisted
A simple fix for a frustrating problem. Star the repo if it helped you!
Running into other ROCm issues? Reach out—we’ve likely seen it before.
SmartTechLabs
Building Intelligent Solutions: IoT, Edge Computing, AI & LLM Integration
Related Articles
Real-Time ROCm GPU Monitoring with Web Dashboard
Update, November 2026 rocm_info collects its data by running rocm-smi, and the README lists Ubuntu …
Read moreRunning ComfyUI on AMD Ryzen AI Max 395 (Strix Halo)
Update, November 2026 The situation described below has changed. Official support: AMD’s ROCm …
Read moreInstalling LM Studio with Vulkan Support on AMD Strix Halo
Update, November 2026 LM Studio has changed a lot since January (0.4.x, with 0.4.21 listed in July …
Read more