Hello,
I have a strange issue. I am on one of AMD's Raven Ridge APUs (Ryzen 5 2400G).
Everything was working fine, with the 4.18.x series kernels. However I wanted to
experiment with the ROCm drivers[1] that are under development. I managed to install
after some fiddling, but the firmware kept on failing to load. I had to forcefully
regenerate all the initrd a few times. Not having succeeded, I decided to uninstall ROCm
and go back to my original kernels. However, I still receive the same error even though I
have reinstalled my kernels, installed newer kernels from the repo, and what not. Here
are the messages from my journal:
[drm] amdgpu kernel modesetting enabled.
[drm] initializing kernel modesetting (RAVEN 0x1002:0x15DD 0x1458:0xD000 0xC6).
[drm] register mmio base: 0xFE600000
[drm] register mmio size: 524288
[drm] add ip block number 0 <soc15_common>
[drm] add ip block number 1 <gmc_v9_0>
[drm] add ip block number 2 <vega10_ih>
[drm] add ip block number 3 <psp>
[drm] add ip block number 4 <powerplay>
[drm] add ip block number 5 <dm>
[drm] add ip block number 6 <gfx_v9_0>
[drm] add ip block number 7 <sdma_v4_0>
[drm] add ip block number 8 <vcn_v1_0>
amdgpu 0000:06:00.0: Direct firmware load for amdgpu/raven_gpu_info.bin failed with
error -2
amdgpu 0000:06:00.0: Failed to load gpu_info firmware
"amdgpu/raven_gpu_info.bin"
amdgpu 0000:06:00.0: Fatal error during GPU init
[drm] amdgpu: finishing device.
amdgpu: probe of 0000:06:00.0 failed with error -2
This is strange because the firmware files are in their rightful place:
# lt /lib/firmware/amdgpu/raven_*
-rw-r--r--. 1 root root 334K Aug 15 17:36 /lib/firmware/amdgpu/raven_vcn.bin
-rw-r--r--. 1 root root 17K Aug 15 17:36 /lib/firmware/amdgpu/raven_sdma.bin
-rw-r--r--. 1 root root 39K Aug 15 17:36 /lib/firmware/amdgpu/raven_rlc.bin
-rw-r--r--. 1 root root 22K Aug 15 17:36 /lib/firmware/amdgpu/raven_pfp.bin
-rw-r--r--. 1 root root 262K Aug 15 17:36 /lib/firmware/amdgpu/raven_mec.bin
-rw-r--r--. 1 root root 262K Aug 15 17:36 /lib/firmware/amdgpu/raven_mec2.bin
-rw-r--r--. 1 root root 18K Aug 15 17:36 /lib/firmware/amdgpu/raven_me.bin
-rw-r--r--. 1 root root 316 Aug 15 17:36 /lib/firmware/amdgpu/raven_gpu_info.bin
-rw-r--r--. 1 root root 9.2K Aug 15 17:36 /lib/firmware/amdgpu/raven_ce.bin
-rw-r--r--. 1 root root 37K Aug 15 17:36 /lib/firmware/amdgpu/raven_asd.bin
Any thoughts on how I can debug this? I have also openned an issue on the ROCm repo[2],
but I have yet to receive a useful response.
Thanks,
[1]
https://rocm.github.io/
[2]
https://github.com/RadeonOpenCompute/ROCm/issues/576
--
Suvayu
Open source is the future. It sets us free.