Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] Graphics card firmware not loaded

Need help with peripherals or devices?
Post Reply
Message
Author
User avatar
PsySc0rpi0n
Posts: 322
Joined: 2012-10-24 13:54
Location: Bitcoin World
Has thanked: 8 times
Been thanked: 1 time

[SOLVED] Graphics card firmware not loaded

#1 Post by PsySc0rpi0n »

Hello...

Recently I've been noticing errors in dmesg about my graphics card firmware. I'm using Debian 9.8 and my kernel is 4.19.0-0.bpo.2-amd64.
I have an ATI Radeon HD7970M, which is supposed to use a pitcairn_mc.bin firmware. dmesg says it fails to load:

Code: Select all

.
.
.
.

[  855.291290] [drm] amdgpu kernel modesetting enabled.
[  855.334068] amdgpu 0000:01:00.0: enabling device (0000 -> 0003)
[  855.564675] amdgpu 0000:01:00.0: kfd not supported on this ASIC
[  855.633495] amdgpu 0000:01:00.0: firmware: failed to load amdgpu/pitcairn_mc.bin (-2)
[  855.633499] amdgpu 0000:01:00.0: Direct firmware load for amdgpu/pitcairn_mc.bin failed with error -2
[  855.633503] amdgpu 0000:01:00.0: si_mc: Failed to load firmware "amdgpu/pitcairn_mc.bin"
[  855.633505] amdgpu 0000:01:00.0: Failed to load mc firmware!
[  855.633600] [drm:amdgpu_device_init [amdgpu]] *ERROR* sw_init of IP block <gmc_v6_0> failed -2
[  855.633602] amdgpu 0000:01:00.0: amdgpu_device_ip_init failed
[  855.633605] amdgpu 0000:01:00.0: Fatal error during GPU init
[  855.633608] [drm] amdgpu: finishing device.
[  855.634193] amdgpu: probe of 0000:01:00.0 failed with error -2
This firmware file is in:

Code: Select all

~$ ls -la /lib/firmware/radeon/pitcairn_mc.bin 
-rw-r--r-- 1 root root 31644 out 13 20:27 /lib/firmware/radeon/pitcairn_mc.bin
I also have 2 other folders related to amd inside /lib/firmware but none of these 2 contains that file:

Code: Select all

~$ ls -la /lib/firmware/amdgpu/
total 8092
drwxr-xr-x  2 root root  12288 nov 10 16:15 .
drwxr-xr-x 35 root root  12288 nov 10 16:15 ..
-rw-r--r--  1 root root   8832 out 13 20:27 carrizo_ce.bin
-rw-r--r--  1 root root  17024 out 13 20:27 carrizo_me.bin
-rw-r--r--  1 root root 262784 out 13 20:27 carrizo_mec2.bin
-rw-r--r--  1 root root 262784 out 13 20:27 carrizo_mec.bin
-rw-r--r--  1 root root  17024 out 13 20:27 carrizo_pfp.bin
-rw-r--r--  1 root root  18932 out 13 20:27 carrizo_rlc.bin
-rw-r--r--  1 root root  10624 out 13 20:27 carrizo_sdma1.bin
-rw-r--r--  1 root root  10624 out 13 20:27 carrizo_sdma.bin
-rw-r--r--  1 root root 268000 out 13 20:27 carrizo_uvd.bin
-rw-r--r--  1 root root 175840 out 13 20:27 carrizo_vce.bin
-rw-r--r--  1 root root   8832 out 13 20:27 fiji_ce.bin
-rw-r--r--  1 root root  16028 out 13 20:27 fiji_mc.bin
-rw-r--r--  1 root root  17024 out 13 20:27 fiji_me.bin
-rw-r--r--  1 root root 262784 out 13 20:27 fiji_mec2.bin
-rw-r--r--  1 root root 262784 out 13 20:27 fiji_mec.bin
-rw-r--r--  1 root root  17024 out 13 20:27 fiji_pfp.bin
-rw-r--r--  1 root root  16616 out 13 20:27 fiji_rlc.bin
-rw-r--r--  1 root root  10624 out 13 20:27 fiji_sdma1.bin
-rw-r--r--  1 root root  10644 out 13 20:27 fiji_sdma.bin
-rw-r--r--  1 root root 129604 out 13 20:27 fiji_smc.bin
-rw-r--r--  1 root root 261776 out 13 20:27 fiji_uvd.bin
-rw-r--r--  1 root root 161024 out 13 20:27 fiji_vce.bin
-rw-r--r--  1 root root   8832 out 13 20:27 polaris10_ce.bin
-rw-r--r--  1 root root  32708 out 13 20:27 polaris10_mc.bin
-rw-r--r--  1 root root  17024 out 13 20:27 polaris10_me.bin
-rw-r--r--  1 root root 262784 out 13 20:27 polaris10_mec2.bin
-rw-r--r--  1 root root 262784 out 13 20:27 polaris10_mec.bin
-rw-r--r--  1 root root  17024 out 13 20:27 polaris10_pfp.bin
-rw-r--r--  1 root root  23984 out 13 20:27 polaris10_rlc.bin
-rw-r--r--  1 root root  12692 out 13 20:27 polaris10_sdma1.bin
-rw-r--r--  1 root root  12692 out 13 20:27 polaris10_sdma.bin
-rw-r--r--  1 root root 130196 out 13 20:27 polaris10_smc.bin
-rw-r--r--  1 root root 130196 out 13 20:27 polaris10_smc_sk.bin
-rw-r--r--  1 root root 369696 out 13 20:27 polaris10_uvd.bin
-rw-r--r--  1 root root 166816 out 13 20:27 polaris10_vce.bin
-rw-r--r--  1 root root   8832 out 13 20:27 polaris11_ce.bin
-rw-r--r--  1 root root  32724 out 13 20:27 polaris11_mc.bin
-rw-r--r--  1 root root  17024 out 13 20:27 polaris11_me.bin
-rw-r--r--  1 root root 262784 out 13 20:27 polaris11_mec2.bin
-rw-r--r--  1 root root 262784 out 13 20:27 polaris11_mec.bin
-rw-r--r--  1 root root  17024 out 13 20:27 polaris11_pfp.bin
-rw-r--r--  1 root root  23184 out 13 20:27 polaris11_rlc.bin
-rw-r--r--  1 root root  12692 out 13 20:27 polaris11_sdma1.bin
-rw-r--r--  1 root root  12692 out 13 20:27 polaris11_sdma.bin
-rw-r--r--  1 root root 130196 out 13 20:27 polaris11_smc.bin
-rw-r--r--  1 root root 130196 out 13 20:27 polaris11_smc_sk.bin
-rw-r--r--  1 root root 369696 out 13 20:27 polaris11_uvd.bin
-rw-r--r--  1 root root 166816 out 13 20:27 polaris11_vce.bin
-rw-r--r--  1 root root   8832 out 13 20:27 stoney_ce.bin
-rw-r--r--  1 root root  17024 out 13 20:27 stoney_me.bin
-rw-r--r--  1 root root 262784 out 13 20:27 stoney_mec.bin
-rw-r--r--  1 root root  17024 out 13 20:27 stoney_pfp.bin
-rw-r--r--  1 root root  17236 out 13 20:27 stoney_rlc.bin
-rw-r--r--  1 root root  10624 out 13 20:27 stoney_sdma.bin
-rw-r--r--  1 root root 272480 out 13 20:27 stoney_uvd.bin
-rw-r--r--  1 root root 166816 out 13 20:27 stoney_vce.bin
-rw-r--r--  1 root root   8832 out 13 20:27 tonga_ce.bin
-rw-r--r--  1 root root 130460 out 13 20:27 tonga_k_smc.bin
-rw-r--r--  1 root root  31352 out 13 20:27 tonga_mc.bin
-rw-r--r--  1 root root  17024 out 13 20:27 tonga_me.bin
-rw-r--r--  1 root root 262784 out 13 20:27 tonga_mec2.bin
-rw-r--r--  1 root root 262784 out 13 20:27 tonga_mec.bin
-rw-r--r--  1 root root  17024 out 13 20:27 tonga_pfp.bin
-rw-r--r--  1 root root  14736 out 13 20:27 tonga_rlc.bin
-rw-r--r--  1 root root  10624 out 13 20:27 tonga_sdma1.bin
-rw-r--r--  1 root root  10644 out 13 20:27 tonga_sdma.bin
-rw-r--r--  1 root root 130460 out 13 20:27 tonga_smc.bin
-rw-r--r--  1 root root 323392 out 13 20:27 tonga_uvd.bin
-rw-r--r--  1 root root 161024 out 13 20:27 tonga_vce.bin
-rw-r--r--  1 root root   8832 out 13 20:27 topaz_ce.bin
-rw-r--r--  1 root root  80544 out 13 20:27 topaz_k_smc.bin
-rw-r--r--  1 root root  32100 out 13 20:27 topaz_mc.bin
-rw-r--r--  1 root root  17024 out 13 20:27 topaz_me.bin
-rw-r--r--  1 root root 262784 out 13 20:27 topaz_mec2.bin
-rw-r--r--  1 root root 262784 out 13 20:27 topaz_mec.bin
-rw-r--r--  1 root root  17024 out 13 20:27 topaz_pfp.bin
-rw-r--r--  1 root root   8448 out 13 20:27 topaz_rlc.bin
-rw-r--r--  1 root root   8576 out 13 20:27 topaz_sdma1.bin
-rw-r--r--  1 root root   8576 out 13 20:27 topaz_sdma.bin
-rw-r--r--  1 root root  80544 out 13 20:27 topaz_smc.bin
and:

Code: Select all

~$ ls -la /lib/firmware/amd-ucode/
total 44
drwxr-xr-x  2 root root  4096 jun 22  2017 .
drwxr-xr-x 35 root root 12288 nov 10 16:15 ..
-rw-r--r--  1 root root 12684 nov 30  2016 microcode_amd.bin
-rw-r--r--  1 root root  7876 nov 30  2016 microcode_amd_fam15h.bin
-rw-r--r--  1 root root  3510 nov 30  2016 microcode_amd_fam16h.bin
What can I do to try to fix this???
Last edited by PsySc0rpi0n on 2019-03-13 19:07, edited 1 time in total.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Graphics card firmware not loaded

#2 Post by Head_on_a_Stick »

https://bugs.debian.org/cgi-bin/bugrepo ... bug=908632

Install the firmware-linux-nonfree package from stretch-backports.
deadbang

User avatar
PsySc0rpi0n
Posts: 322
Joined: 2012-10-24 13:54
Location: Bitcoin World
Has thanked: 8 times
Been thanked: 1 time

Re: Graphics card firmware not loaded

#3 Post by PsySc0rpi0n »

Head_on_a_Stick wrote:https://bugs.debian.org/cgi-bin/bugrepo ... bug=908632

Install the firmware-linux-nonfree package from stretch-backports.
It's fixed... It was almost that.

I had to install linux-amd-graphics package but from stretch-backports...

Thanks

[SOLVED]

User avatar
sunrat
Administrator
Administrator
Posts: 6470
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 117 times
Been thanked: 474 times

Re: [SOLVED] Graphics card firmware not loaded

#4 Post by sunrat »

firmware-amd-graphics is installed by firmware-linux-nonfree as a dependency so it was exactly that.
Thanks for marking as solved.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

User avatar
PsySc0rpi0n
Posts: 322
Joined: 2012-10-24 13:54
Location: Bitcoin World
Has thanked: 8 times
Been thanked: 1 time

Re: [SOLVED] Graphics card firmware not loaded

#5 Post by PsySc0rpi0n »

sunrat wrote:firmware-amd-graphics is installed by firmware-linux-nonfree as a dependency so it was exactly that.
Thanks for marking as solved.
Yes but somehow the .bin files were missing from some of the folders probably due to some disk errors I faced and after a forced fsck, probably those files were corrupted or something...

User avatar
sjukfan
Posts: 386
Joined: 2010-03-01 19:39

Re: [SOLVED] Graphics card firmware not loaded

#6 Post by sjukfan »

PsySc0rpi0n wrote:

Code: Select all

[  855.633499] amdgpu 0000:01:00.0: Direct firmware load for [b]amdgpu/pitcairn_mc.bin[/b] failed with error -2
[  855.633503] amdgpu 0000:01:00.0: si_mc: Failed to load firmware "amdgpu/pitcairn_mc.bin"
[  855.633505] amdgpu 0000:01:00.0: Failed to load mc firmware!
This firmware file is in:

Code: Select all

~$ ls -la /lib/firmware/radeon/pitcairn_mc.bin 
-rw-r--r-- 1 root root 31644 out 13 20:27 /lib/firmware/[b]radeon/pitcairn_mc.bin[/b]
This was the error. The pitcain firmware were only in radeon/ earlier but in the version in stretch-backport and buster it's also in amdgpu/.
Bullseye amd64, AMD Ryzen 5 3600
Buster amd64, Intel Xeon E3-1240 v3
Sid ppc, PowerPC 7447a
Sid ppc64, PowerPC 970FX

Post Reply