Radeon R9700 fails under Ubuntu 24
Computer Type: Desktop
GPU: AMD Radeon AI PRO R9700 32GB (XFX)
CPU: AMD Ryzen 5 5500
Motherboard: Consumer AM4 desktop board (no ACPI TMR exposed)
BIOS Version: July 2025 VBIOS P02 (07/25/2025)
RAM: N/A
PSU: N/A
Case: N/A
Operating System & Version: Ubuntu 24.04
GPU Drivers: amdgpu-dkms 6.16.13 (ROCm 7.2.3)
Kernel Version: 6.17.0-23-generic
Chipset Drivers: N/A
Background Applications: N/A
Description of Original Problem:
amdgpu fails to initialize the AMD Radeon AI PRO R9700 (gfx1201 / Navi48) when using the July 2025 VBIOS (P02). The card never fully initializes for compute:
- no
/dev/accel/accel0 - no KFD
rocminfoshows CPU only
Diagnostic patch output:
amdgpu: ip discovery actual sig: 0xce854377 expected: 0x28211407
Investigation shows the VBIOS now writes a PSP-encrypted IP discovery binary into VRAM using signature 0xce854377 instead of the expected plaintext format 0x28211407.
The payload appears encrypted/ciphertext beyond the first few bytes:
00000000: 77 43 85 ce ...
00000010: 8b e3 d7 42 52 fb ...
amdgpu_discovery_check_binary_valid() rejects the blob immediately, preventing DRM accel/KFD initialization.
Additional findings:
IP_DISCOVERY_V4exists inamdgpu_discovery.c- but there is no actual V4 implementation
- sysmem/ACPI fallback returns
-ENOENT - most consumer Ryzen desktop boards do not expose the required ACPI TMR table
- encrypted blob may exceed
DISCOVERY_TMR_SIZE(10KB)
This appears to affect Navi48/gfx1201 cards shipping with July 2025+ VBIOS revisions.
Troubleshooting:
- Tested with
exp_hw_support=1 - Tested multiple kernels including 6.10.5, 6.16.13, and 6.17
- Confirmed failure occurs in
amdgpu_discovery_check_binary_valid() - Verified actual VRAM discovery signature is
0xce854377 - Confirmed sysmem fallback path returns
-ENOENT - Dumped VRAM discovery region and confirmed payload appears PSP-encrypted
- Observed only reference to device
0x7551in current source iskicker_device_listinamdgpu_discovery.c
Potential fixes:
- Implement PSP/TMR decryption support for IP_DISCOVERY_V4
- Provide compatible non-encrypted VBIOS
- Increase
DISCOVERY_TMR_SIZE
Curious if anyone else with newer Navi48/R9700 boards is seeing this behavior.