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"?
Hello Klaus,
have you made your kernel again after changing EXTRA_FIRMWARE ?
Maybe you want read this:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/ Manual_kernel_configuration#Driver_needs_Firmware
Greetings,
Peter
Am Freitag, 27. Januar 2023, 11:08:58 CET schrieb Klaus Dittrich:
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"?
The error happens with and without "amdgpu/psp_13_0_5_ta.bin" in CONFIG_EXTRA_FIRMWARE as I discoverd meanwqhile.
CONFIG_EXTRA_FIRMWARE="amd-ucode/microcode_amd_fam19h.bin amdgpu/psp_13_0_5_toc.bin"[...]
CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
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.
as I do not use a initrd or initramfs I am, as far as I know, forced
to compile the driver amdgpu into the kernel, not as modules to be
loaded.
I looked at https://wiki.gentoo.org/wiki/Amdgpu#Unknown_firmware_blobs
but I still do not know what name is relevant to the built-in-gpu
of a AMD-7900X processor.(!?)
Does this gpu really needs all these blobs of the list there?
On 27.01.23 15:30, Julien Roy wrote:
Klaus Dittrich <kladit@t-online.de> writes:
as I do not use a initrd or initramfs I am, as far as I know, forced
to compile the driver amdgpu into the kernel, not as modules to be
loaded.
No, you can use modules even without an initrd.
I looked at https://wiki.gentoo.org/wiki/Amdgpu#Unknown_firmware_blobsNo, these blobs are given as examples. They vary per GPU models and in
but I still do not know what name is relevant to the built-in-gpu
of a AMD-7900X processor.(!?)
Does this gpu really needs all these blobs of the list there?
fact there are several hundred different blobs available:
ls -l /lib/firmware/amdgpu | wc -l
479
So you have to figure out which ones you need. The easiest method is to
let the kernel load them itself by having the driver built as a module,
otherwise it may take several iterations of modifying the
CONFIG_EXTRA_FIRMWARE value until you get it to work.
Julien and Peter,
now I (assume I) understand what you mean.
The kernel needs the entries to CONFIG_EXTRA_FIRMWARE
just for drivers to be compiled in and for modules just
to reduce the seeking in /lib/firmware/amdgpu ?
So when I set CONFIG_DRM_AMDGPU=m and then look at dmesg
of the so compiled kernel it detects the type of
hardware I have (here the type of the cpu-built-in gpui
and tells me (via dmesg) which blobs are needed
to satisfy the driver for the hardware it has detected.
I will try that, moment please ..
[ 0.760009] amdgpu 0000:0d:00.0: amdgpu: RAS: optional ras ta ucode
is not available
[ 0.767012] amdgpu 0000:0d:00.0: amdgpu: RAP: optional rap ta ucode
is not available
[ 0.767016] amdgpu 0000:0d:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
It seems I made a step forward and I will try to get get X11 up next.
Klaus Dittrich <kladit@t-online.de> writes:
as I do not use a initrd or initramfs I am, as far as I know, forced
to compile the driver amdgpu into the kernel, not as modules to be
loaded.
No, you can use modules even without an initrd.
I looked at https://wiki.gentoo.org/wiki/Amdgpu#Unknown_firmware_blobsNo, these blobs are given as examples. They vary per GPU models and in
but I still do not know what name is relevant to the built-in-gpu
of a AMD-7900X processor.(!?)
Does this gpu really needs all these blobs of the list there?
fact there are several hundred different blobs available:
ls -l /lib/firmware/amdgpu | wc -l
479
So you have to figure out which ones you need. The easiest method is to
let the kernel load them itself by having the driver built as a module, otherwise it may take several iterations of modifying the CONFIG_EXTRA_FIRMWARE value until you get it to work.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 302 |
Nodes: | 16 (2 / 14) |
Uptime: | 97:21:16 |
Calls: | 6,766 |
Calls today: | 4 |
Files: | 12,295 |
Messages: | 5,376,373 |
Posted today: | 1 |