Skip to content

Test AMD Radeon Pro W7700 & RX 7700 XT GPUs #680

@geerlingguy

Description

@geerlingguy

I have an AMD Radeon Pro W7700 that I'm planning on testing in an Ampere workstation.

gpu-amd-radeon-pro-w7700

This card runs great on the Pi 5, using @Coreforge's branch we started working on in #222

Two massive features of this card:

  • Support for full DisplayPort 2.1 (for 8K at up to 144 Hz), or 16K at 60 Hz (lol)
  • Built-in AV1 hardware encode/decode

It remains to be seen how many bits of the driver we can get running on this card.

Current steps to get this card working with Pi OS Bookworm

Last updated: 2025-09-22

  1. Clone the Raspberry Pi Linux kernel patching the default Raspberry Pi rpi-6.15.y kernel tree with this patch.
  2. Before compiling the kernel, run make menuconfig and select the options:
    1. Kernel Features > Page Size > 4 KB (for Box86 compatibility)
    4. Device Drivers > Graphics support > AMD GPU (optionally SI/CIK support too)
  3. Recompile the kernel following Raspberry Pi's instructions
  4. Install the AMD firmware: sudo apt install -y firmware-amd-graphics
  5. Reboot the Pi with the card attached using an appropriate PCIe riser and external ATX power supply.

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 Pro W7700 (gfx1101, LLVM 15.0.6, DRM 3.54, 6.6.60-v8-AMDGPU+) (0x7470)
    Version: 23.2.1
    Accelerated: yes
    Video memory: 15360MB
...

(Prepend DISPLAY=:0 if running commands over SSH.)

Hardware video transcoding support

If you would like to enable hardware transcoding, you need to install the Mesa VAAPI drivers:

sudo apt install mesa-va-drivers vainfo

Then you should be able to see the VAAPI info, and apps like OBS (sudo apt install obs-studio) should be able to use the hardware transcoding instead of x264 on the CPU. Confirm it's working with vainfo:

pi@pi5-pcie:~ $ vainfo
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/aarch64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.17 (libva 2.12.0)
vainfo: Driver version: Mesa Gallium driver 23.2.1-1~bpo12+rpt3 for AMD Radeon Pro W7700 (gfx1101, LLVM 15.0.6, DRM 3.54, 6.6.60-v8-AMDGPU+)
vainfo: Supported profile and entrypoints
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointEncSlice
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileHEVCMain10             :	VAEntrypointEncSlice
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileVP9Profile0            :	VAEntrypointVLD
      VAProfileVP9Profile2            :	VAEntrypointVLD
      VAProfileAV1Profile0            :	VAEntrypointVLD
      VAProfileAV1Profile0            :	VAEntrypointEncSlice
      VAProfileNone                   :	VAEntrypointVideoProc

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions