Klaus Dittrich
2023-01-27 10:10:01 UTC
I have a ryzen-7900X cpu but I cannot get the amdgpu driver up and
running with my kernel 6.1.8 (uefi system)
These are the errors dmesg shows:
[ 0.668913] [drm] amdgpu: 512M of VRAM memory ready
[ 0.668915] [drm] amdgpu: 31783M of GTT memory ready.
[ 0.669819] amdgpu 0000:0d:00.0: Direct firmware load for
amdgpu/psp_13_0_5_ta.bin failed with error -2
[ 0.669823] amdgpu 0000:0d:00.0: amdgpu: fail to initialize ta microcode
[ 0.669828] [drm:amdgpu_device_init.cold] *ERROR* sw_init of IP block
<psp> failed -2
[ 0.669831] amdgpu 0000:0d:00.0: amdgpu: amdgpu_device_ip_init failed
[ 0.669833] amdgpu 0000:0d:00.0: amdgpu: Fatal error during GPU init
[ 0.669834] amdgpu 0000:0d:00.0: amdgpu: amdgpu: finishing device.
[ 0.670042] amdgpu: probe of 0000:0d:00.0 failed with error -2
[ 0.670046] amdgpu 0000:0d:00.0: devm_attr_group_remove: removing
group (____ptrval____)
[ 0.670052] [drm] amdgpu: ttm finalized
[ 0.907335] bus: 'pci': add driver pcie_mp2_amd
[ 0.907411] bus: 'platform': add driver amd_pmc
[ 1.007964] amd_hsmp: HSMP is not supported on Fam:19 model:61
[ 1.007967] amd_hsmp: Or Is HSMP disabled in BIOS ?
[ 1.007968] bus: 'platform': add driver amd-pmf
This is my .config
#
# Firmware loader
#
CONFIG_FW_LOADER=y
CONFIG_FW_LOADER_PAGED_BUF=y
CONFIG_FW_LOADER_SYSFS=y
CONFIG_EXTRA_FIRMWARE="amd-ucode/microcode_amd_fam19h.bin
amdgpu/psp_13_0_5_toc.bin"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
CONFIG_FW_LOADER_USER_HELPER=y
# CONFIG_FW_LOADER_USER_HELPER_FALLBACK is not set
CONFIG_FW_LOADER_COMPRESS=y
CONFIG_FW_LOADER_COMPRESS_XZ=y
CONFIG_FW_LOADER_COMPRESS_ZSTD=y
# CONFIG_FW_UPLOAD is not set
# end of Firmware loader
I do not even get a console because of amdgpu gets not loaded.
But I can log into the system via ssh because the system is
a copy of my well running mbr system.
My questions are:
What firmware blobs of linux-firmware has to be installed to support
the gpu of a ryzen-7900X?
CONFIG_EXTRA_FIRMWARE=?
I do not use initrd nor initramfs and all neccessary drivers
are not installed as modules but compiled into the kernel.
I it possible that a that moment the kernel cannot get blobs
because the ext4 filesystem is not mounted already?
So does one have to use initrd to get the blobs loaded?
What is the meaning of "failed with error -2"?
running with my kernel 6.1.8 (uefi system)
These are the errors dmesg shows:
[ 0.668913] [drm] amdgpu: 512M of VRAM memory ready
[ 0.668915] [drm] amdgpu: 31783M of GTT memory ready.
[ 0.669819] amdgpu 0000:0d:00.0: Direct firmware load for
amdgpu/psp_13_0_5_ta.bin failed with error -2
[ 0.669823] amdgpu 0000:0d:00.0: amdgpu: fail to initialize ta microcode
[ 0.669828] [drm:amdgpu_device_init.cold] *ERROR* sw_init of IP block
<psp> failed -2
[ 0.669831] amdgpu 0000:0d:00.0: amdgpu: amdgpu_device_ip_init failed
[ 0.669833] amdgpu 0000:0d:00.0: amdgpu: Fatal error during GPU init
[ 0.669834] amdgpu 0000:0d:00.0: amdgpu: amdgpu: finishing device.
[ 0.670042] amdgpu: probe of 0000:0d:00.0 failed with error -2
[ 0.670046] amdgpu 0000:0d:00.0: devm_attr_group_remove: removing
group (____ptrval____)
[ 0.670052] [drm] amdgpu: ttm finalized
[ 0.907335] bus: 'pci': add driver pcie_mp2_amd
[ 0.907411] bus: 'platform': add driver amd_pmc
[ 1.007964] amd_hsmp: HSMP is not supported on Fam:19 model:61
[ 1.007967] amd_hsmp: Or Is HSMP disabled in BIOS ?
[ 1.007968] bus: 'platform': add driver amd-pmf
This is my .config
#
# Firmware loader
#
CONFIG_FW_LOADER=y
CONFIG_FW_LOADER_PAGED_BUF=y
CONFIG_FW_LOADER_SYSFS=y
CONFIG_EXTRA_FIRMWARE="amd-ucode/microcode_amd_fam19h.bin
amdgpu/psp_13_0_5_toc.bin"
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
CONFIG_FW_LOADER_USER_HELPER=y
# CONFIG_FW_LOADER_USER_HELPER_FALLBACK is not set
CONFIG_FW_LOADER_COMPRESS=y
CONFIG_FW_LOADER_COMPRESS_XZ=y
CONFIG_FW_LOADER_COMPRESS_ZSTD=y
# CONFIG_FW_UPLOAD is not set
# end of Firmware loader
I do not even get a console because of amdgpu gets not loaded.
But I can log into the system via ssh because the system is
a copy of my well running mbr system.
My questions are:
What firmware blobs of linux-firmware has to be installed to support
the gpu of a ryzen-7900X?
CONFIG_EXTRA_FIRMWARE=?
I do not use initrd nor initramfs and all neccessary drivers
are not installed as modules but compiled into the kernel.
I it possible that a that moment the kernel cannot get blobs
because the ext4 filesystem is not mounted already?
So does one have to use initrd to get the blobs loaded?
What is the meaning of "failed with error -2"?
--
regards Klaus
regards Klaus