Hi folks. I bought myself a gift a new AMD 6900 XT graphics card to replace the AMD Radeon VII. But all joy was overshadowed that this video card did not working in Linux. Output on the my boot screen was ended with message "fb0: switching to amdgpudrmfb from EFI VGA" and videocard not switched to graphic mode. https://photos.app.goo.gl/zwpErNrusq9CNyES7
I suppose the root of cause my problem here:
[ 3.961326] amdgpu 0000:0b:00.0: Direct firmware load for amdgpu/sienna_cichlid_sos.bin failed with error -2 [ 3.961359] amdgpu 0000:0b:00.0: amdgpu: failed to init sos firmware [ 3.961433] [drm:psp_sw_init [amdgpu]] *ERROR* Failed to load psp firmware! [ 3.961529] [drm:amdgpu_device_init.cold [amdgpu]] *ERROR* sw_init of IP block <psp> failed -2 [ 3.961549] amdgpu 0000:0b:00.0: amdgpu: amdgpu_device_ip_init failed [ 3.961569] amdgpu 0000:0b:00.0: amdgpu: Fatal error during GPU init [ 3.961911] amdgpu: probe of 0000:0b:00.0 failed with error -2
Can anybody here help me get firmware? my distro: Fedora Rawhide kernel: 5.10 rc6 mesa: from git 21.0.0 devel
Sorry for disturb and merry xmas.
-- Best Regards, Mike Gavrilov.
On Sun, 27 Dec 2020 at 21:39, Mikhail Gavrilov mikhail.v.gavrilov@gmail.com wrote:
I suppose the root of cause my problem here:
[ 3.961326] amdgpu 0000:0b:00.0: Direct firmware load for amdgpu/sienna_cichlid_sos.bin failed with error -2 [ 3.961359] amdgpu 0000:0b:00.0: amdgpu: failed to init sos firmware [ 3.961433] [drm:psp_sw_init [amdgpu]] *ERROR* Failed to load psp firmware! [ 3.961529] [drm:amdgpu_device_init.cold [amdgpu]] *ERROR* sw_init of IP block <psp> failed -2 [ 3.961549] amdgpu 0000:0b:00.0: amdgpu: amdgpu_device_ip_init failed [ 3.961569] amdgpu 0000:0b:00.0: amdgpu: Fatal error during GPU init [ 3.961911] amdgpu: probe of 0000:0b:00.0 failed with error -2
# dnf provides */sienna_cichlid_sos.bin Last metadata expiration check: 3:01:27 ago on Sun 27 Dec 2020 06:53:25 PM +05. linux-firmware-20201218-116.fc34.noarch : Firmware files used by the Linux kernel Repo : @System Matched from: Filename : /usr/lib/firmware/amdgpu/sienna_cichlid_sos.bin
linux-firmware-20201218-116.fc34.noarch : Firmware files used by the Linux kernel Repo : rawhide Matched from: Filename : /usr/lib/firmware/amdgpu/sienna_cichlid_sos.bin
# dnf install linux-firmware-20201218-116.fc34.noarch Last metadata expiration check: 3:02:11 ago on Sun 27 Dec 2020 06:53:25 PM +05. Package linux-firmware-20201218-116.fc34.noarch is already installed. Dependencies resolved. Nothing to do. Complete!
Looks like firmware is present. So I didn't understand why the kernel cannot read firmware.
-- Best Regards, Mike Gavrilov.
-2 means no such file or directory. Perhaps you need to rebuild your ramdisk manually for some reason.
Regards //Ernst
Den sön 27 dec. 2020 kl 17:58 skrev Mikhail Gavrilov < mikhail.v.gavrilov@gmail.com>:
On Sun, 27 Dec 2020 at 21:39, Mikhail Gavrilov mikhail.v.gavrilov@gmail.com wrote:
I suppose the root of cause my problem here:
[ 3.961326] amdgpu 0000:0b:00.0: Direct firmware load for amdgpu/sienna_cichlid_sos.bin failed with error -2 [ 3.961359] amdgpu 0000:0b:00.0: amdgpu: failed to init sos firmware [ 3.961433] [drm:psp_sw_init [amdgpu]] *ERROR* Failed to load psp
firmware!
[ 3.961529] [drm:amdgpu_device_init.cold [amdgpu]] *ERROR* sw_init of IP block <psp> failed -2 [ 3.961549] amdgpu 0000:0b:00.0: amdgpu: amdgpu_device_ip_init failed [ 3.961569] amdgpu 0000:0b:00.0: amdgpu: Fatal error during GPU init [ 3.961911] amdgpu: probe of 0000:0b:00.0 failed with error -2
# dnf provides */sienna_cichlid_sos.bin Last metadata expiration check: 3:01:27 ago on Sun 27 Dec 2020 06:53:25 PM +05. linux-firmware-20201218-116.fc34.noarch : Firmware files used by the Linux kernel Repo : @System Matched from: Filename : /usr/lib/firmware/amdgpu/sienna_cichlid_sos.bin
linux-firmware-20201218-116.fc34.noarch : Firmware files used by the Linux kernel Repo : rawhide Matched from: Filename : /usr/lib/firmware/amdgpu/sienna_cichlid_sos.bin
# dnf install linux-firmware-20201218-116.fc34.noarch Last metadata expiration check: 3:02:11 ago on Sun 27 Dec 2020 06:53:25 PM +05. Package linux-firmware-20201218-116.fc34.noarch is already installed. Dependencies resolved. Nothing to do. Complete!
Looks like firmware is present. So I didn't understand why the kernel cannot read firmware.
-- Best Regards, Mike Gavrilov. _______________________________________________ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx
[AMD Public Use]
It looks like the driver is not able to access the firmware for some reason. Please make sure it is available in your initrd or compiled into the kernel depending on your config.
Alex
________________________________ From: amd-gfx amd-gfx-bounces@lists.freedesktop.org on behalf of Mikhail Gavrilov mikhail.v.gavrilov@gmail.com Sent: Sunday, December 27, 2020 11:58 AM To: amd-gfx list amd-gfx@lists.freedesktop.org; Linux List Kernel Mailing linux-kernel@vger.kernel.org; dri-devel dri-devel@lists.freedesktop.org Subject: Re: [bug] Radeon 3900XT not switch to graphic mode on kernel 5.10
On Sun, 27 Dec 2020 at 21:39, Mikhail Gavrilov mikhail.v.gavrilov@gmail.com wrote:
I suppose the root of cause my problem here:
[ 3.961326] amdgpu 0000:0b:00.0: Direct firmware load for amdgpu/sienna_cichlid_sos.bin failed with error -2 [ 3.961359] amdgpu 0000:0b:00.0: amdgpu: failed to init sos firmware [ 3.961433] [drm:psp_sw_init [amdgpu]] *ERROR* Failed to load psp firmware! [ 3.961529] [drm:amdgpu_device_init.cold [amdgpu]] *ERROR* sw_init of IP block <psp> failed -2 [ 3.961549] amdgpu 0000:0b:00.0: amdgpu: amdgpu_device_ip_init failed [ 3.961569] amdgpu 0000:0b:00.0: amdgpu: Fatal error during GPU init [ 3.961911] amdgpu: probe of 0000:0b:00.0 failed with error -2
# dnf provides */sienna_cichlid_sos.bin Last metadata expiration check: 3:01:27 ago on Sun 27 Dec 2020 06:53:25 PM +05. linux-firmware-20201218-116.fc34.noarch : Firmware files used by the Linux kernel Repo : @System Matched from: Filename : /usr/lib/firmware/amdgpu/sienna_cichlid_sos.bin
linux-firmware-20201218-116.fc34.noarch : Firmware files used by the Linux kernel Repo : rawhide Matched from: Filename : /usr/lib/firmware/amdgpu/sienna_cichlid_sos.bin
# dnf install linux-firmware-20201218-116.fc34.noarch Last metadata expiration check: 3:02:11 ago on Sun 27 Dec 2020 06:53:25 PM +05. Package linux-firmware-20201218-116.fc34.noarch is already installed. Dependencies resolved. Nothing to do. Complete!
Looks like firmware is present. So I didn't understand why the kernel cannot read firmware.
-- Best Regards, Mike Gavrilov. _______________________________________________ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.free...
On Tue, 29 Dec 2020 at 20:15, Deucher, Alexander Alexander.Deucher@amd.com wrote:
It looks like the driver is not able to access the firmware for some reason. Please make sure it is available in your initrd or compiled into the kernel depending on your config.
Exactly! Thanks!
# lsinitrd /boot/initramfs-5.10.0-0.rc6.20201204git34816d20f173.92.fc34.x86_64.img | grep sienna_cichlid
# ls /usr/lib/firmware/amdgpu | grep sienna_cichlid sienna_cichlid_ce.bin sienna_cichlid_dmcub.bin sienna_cichlid_me.bin sienna_cichlid_mec2.bin sienna_cichlid_mec.bin sienna_cichlid_pfp.bin sienna_cichlid_rlc.bin sienna_cichlid_sdma.bin sienna_cichlid_smc.bin sienna_cichlid_sos.bin sienna_cichlid_ta.bin sienna_cichlid_vcn.bin
# dracut -f --regenerate-all
# lsinitrd /boot/initramfs-5.10.0-0.rc6.20201204git34816d20f173.92.fc34.x86_64.img | grep sienna_cichlid -rw-r--r-- 1 root root 263296 Dec 15 14:00 usr/lib/firmware/amdgpu/sienna_cichlid_ce.bin -rw-r--r-- 1 root root 80244 Dec 15 14:00 usr/lib/firmware/amdgpu/sienna_cichlid_dmcub.bin -rw-r--r-- 1 root root 263424 Dec 15 14:00 usr/lib/firmware/amdgpu/sienna_cichlid_me.bin -rw-r--r-- 2 root root 268592 Dec 15 14:00 usr/lib/firmware/amdgpu/sienna_cichlid_mec2.bin -rw-r--r-- 2 root root 0 Dec 15 14:00 usr/lib/firmware/amdgpu/sienna_cichlid_mec.bin -rw-r--r-- 1 root root 263424 Dec 15 14:00 usr/lib/firmware/amdgpu/sienna_cichlid_pfp.bin -rw-r--r-- 1 root root 128592 Dec 15 14:00 usr/lib/firmware/amdgpu/sienna_cichlid_rlc.bin -rw-r--r-- 1 root root 34048 Dec 15 14:00 usr/lib/firmware/amdgpu/sienna_cichlid_sdma.bin -rw-r--r-- 1 root root 247396 Dec 15 14:00 usr/lib/firmware/amdgpu/sienna_cichlid_smc.bin -rw-r--r-- 1 root root 215152 Dec 15 14:00 usr/lib/firmware/amdgpu/sienna_cichlid_sos.bin -rw-r--r-- 1 root root 333568 Dec 15 14:00 usr/lib/firmware/amdgpu/sienna_cichlid_ta.bin -rw-r--r-- 1 root root 504224 Dec 15 14:00 usr/lib/firmware/amdgpu/sienna_cichlid_vcn.bin
# grep '20201204git34816d20f173|linux-firmware-20201218-116' /var/log/dnf.rpm.log 2020-12-06T12:40:44+0500 SUBDEBUG Installed: kernel-core-5.10.0-0.rc6.20201204git34816d20f173.92.fc34.x86_64 2020-12-06T12:40:46+0500 SUBDEBUG Installed: kernel-modules-5.10.0-0.rc6.20201204git34816d20f173.92.fc34.x86_64 2020-12-06T12:41:03+0500 SUBDEBUG Installed: kernel-5.10.0-0.rc6.20201204git34816d20f173.92.fc34.x86_64 2020-12-06T12:41:03+0500 SUBDEBUG Installed: kernel-modules-extra-5.10.0-0.rc6.20201204git34816d20f173.92.fc34.x86_64 2020-12-21T10:52:43+0500 SUBDEBUG Upgrade: linux-firmware-20201218-116.fc34.noarch
I think every update of linux-firmware should regenerate initramfs. But my downstream report was closed: https://bugzilla.redhat.com/show_bug.cgi?id=1911745
-- Best Regards, Mike Gavrilov.
[AMD Official Use Only - Internal Distribution Only]
If you want to pick up the firmware directly it is maintained at...
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/...
-rw-r--r-- sienna_cichlid_ce.bin 263296 logstatsplain -rw-r--r-- sienna_cichlid_dmcub.bin 80244 logstatsplain -rw-r--r-- sienna_cichlid_me.bin 263424 logstatsplain -rw-r--r-- sienna_cichlid_mec.bin 268592 logstatsplain -rw-r--r-- sienna_cichlid_mec2.bin 268592 logstatsplain -rw-r--r-- sienna_cichlid_pfp.bin 263424 logstatsplain -rw-r--r-- sienna_cichlid_rlc.bin 128592 logstatsplain -rw-r--r-- sienna_cichlid_sdma.bin 34048 logstatsplain -rw-r--r-- sienna_cichlid_smc.bin 247396 logstatsplain -rw-r--r-- sienna_cichlid_sos.bin 215152 logstatsplain -rw-r--r-- sienna_cichlid_ta.bin 333568 logstatsplain -rw-r--r-- sienna_cichlid_vcn.bin 504224 logstatsplain
My understanding was that the firmware was also added to Fedora back in November but I'm having a tough time finding confirmation of that.
________________________________ From: amd-gfx amd-gfx-bounces@lists.freedesktop.org on behalf of Mikhail Gavrilov mikhail.v.gavrilov@gmail.com Sent: December 27, 2020 11:39 AM To: amd-gfx list amd-gfx@lists.freedesktop.org; Linux List Kernel Mailing linux-kernel@vger.kernel.org; dri-devel dri-devel@lists.freedesktop.org Subject: [bug] Radeon 3900XT not switch to graphic mode on kernel 5.10
Hi folks. I bought myself a gift a new AMD 6900 XT graphics card to replace the AMD Radeon VII. But all joy was overshadowed that this video card did not working in Linux. Output on the my boot screen was ended with message "fb0: switching to amdgpudrmfb from EFI VGA" and videocard not switched to graphic mode. https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fphotos.app...
I suppose the root of cause my problem here:
[ 3.961326] amdgpu 0000:0b:00.0: Direct firmware load for amdgpu/sienna_cichlid_sos.bin failed with error -2 [ 3.961359] amdgpu 0000:0b:00.0: amdgpu: failed to init sos firmware [ 3.961433] [drm:psp_sw_init [amdgpu]] *ERROR* Failed to load psp firmware! [ 3.961529] [drm:amdgpu_device_init.cold [amdgpu]] *ERROR* sw_init of IP block <psp> failed -2 [ 3.961549] amdgpu 0000:0b:00.0: amdgpu: amdgpu_device_ip_init failed [ 3.961569] amdgpu 0000:0b:00.0: amdgpu: Fatal error during GPU init [ 3.961911] amdgpu: probe of 0000:0b:00.0 failed with error -2
Can anybody here help me get firmware? my distro: Fedora Rawhide kernel: 5.10 rc6 mesa: from git 21.0.0 devel
Sorry for disturb and merry xmas.
-- Best Regards, Mike Gavrilov.
dri-devel@lists.freedesktop.org