-
-
Notifications
You must be signed in to change notification settings - Fork 170
Open
Labels
Description
I just bought a PowerColor AMD RX 9070 XT Reaper, with 16GB of GDDR6 RAM.
I am testing it with yanghaku's 15 line DRM patch to see if it works 'out of the box' as the other AMD GPUs have—it may need some updated firmware that's not already in the firmware-amd-graphics package on Debian.
Current steps to get this card working with Pi OS Bookworm
Last updated: 2025-10-01
- Clone the Raspberry Pi Linux kernel patching the default Raspberry Pi
rpi-6.17.ykernel tree with this patch. - Before compiling the kernel, run
make menuconfigand select the options:
1. Kernel Features > Page Size > 4 KB (for Box86 compatibility)
2. Device Drivers > Graphics support > AMD GPU (optionally SI/CIK support too) - Recompile the kernel following Raspberry Pi's instructions
- Install the AMD firmware:
sudo apt install -y firmware-amd-graphics - Install additional firmware for this card (see 'Install Additional Firmware')
- ONLY if running Bookworm (Pi OS 12): Update Mesa to the latest version (version 25+)
- Reboot the Pi with the card attached using an appropriate PCIe riser and external ATX power supply.
Install Additional Firmware
cd /usr/lib/firmware/amdgpu && \
sudo wget -q -o -nc https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/amdgpu/psp_14_0_3_sos.bin & \
sudo wget -q -o -nc https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/amdgpu/psp_14_0_3_ta.bin & \
sudo wget -q -o -nc https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/amdgpu/smu_14_0_3.bin & \
sudo wget -q -o -nc https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/amdgpu/dcn_4_0_1_dmcub.bin & \
sudo wget -q -o -nc https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/amdgpu/gc_12_0_1_pfp.bin & \
sudo wget -q -o -nc https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/amdgpu/gc_12_0_1_me.bin & \
sudo wget -q -o -nc https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/amdgpu/gc_12_0_1_mec.bin & \
sudo wget -q -o -nc https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/amdgpu/gc_12_0_1_rlc.bin & \
sudo wget -q -o -nc https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/amdgpu/gc_12_0_1_imu.bin & \
sudo wget -q -o -nc https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/amdgpu/sdma_7_0_1.bin & \
sudo wget -q -o -nc https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/amdgpu/vcn_5_0_0.bin & \
sudo wget -q -o -nc https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/amdgpu/gc_12_0_1_uni_mes.bin
Confirm everything's working
Confirm everything is working by plugging a monitor into the graphics card; then confirm the card's GPU is in use by running glxinfo -B (part of the mesa-utils package), for example:
$ DISPLAY=:0 glxinfo -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: AMD (0x1002)
Device: AMD Radeon Graphics (radeonsi, gfx1201, ACO, DRM 3.63, 6.15.11-v8-4k-gpu+) (0x7550)
Version: 25.0.7
Accelerated: yes
Video memory: 16384MB
...
