You are not logged in.

#1 2022-03-17 20:28:42

gianmarcogg03
Member
Registered: 2022-03-17
Posts: 5

RX 580 driver fails to initialize on Mac Pro 5,1 (mid 2010)

I installed Arch on an Apple Mac Pro 5,1 from mid 2010 with the standard kernel. I have an AMD Radeon RX 580 in it which is NOT the Mac version so it doesn't show the motherboard's firmware boot screen, although the card is found by both Arch and macOS anyway (especially with the latter since it boots fine). When I boot with this card into Arch the systemd log gets stuck at some random point, while if I use another graphics card (in my case an Nvidia GeForce GTX 650) it boots and goes into X11 without problems. I looked for the journalctl and found out that the driver was failing to start. The full journal is here (go to line 965 for the driver error): https://pastebin.com/MH10zxce. I have also tried with AMD's proprietary drivers, but with no luck.

Offline

#2 2022-03-18 01:50:37

loqs
Member
Registered: 2014-03-06
Posts: 18,894

Re: RX 580 driver fails to initialize on Mac Pro 5,1 (mid 2010)

[    1.806989] amdgpu 0000:05:00.0: Direct firmware load for amdgpu/polaris10_mc.bin failed with error -2
[    1.806992] amdgpu: mc: Failed to load firmware "amdgpu/polaris10_mc.bin"
[    1.806993] [drm:gmc_v8_0_sw_init.cold [amdgpu]] *ERROR* Failed to load mc firmware!
[    1.807385] [drm:amdgpu_device_init.cold [amdgpu]] *ERROR* sw_init of IP block <gmc_v8_0> failed -2
[    1.807683] amdgpu 0000:05:00.0: amdgpu: amdgpu_device_ip_init failed
[    1.807685] amdgpu 0000:05:00.0: amdgpu: Fatal error during GPU init
[    1.807687] amdgpu 0000:05:00.0: amdgpu: amdgpu: finishing device.
pacman -Fx polaris10_mc.bin
core/linux-firmware 20220309.cd01f85-1 [installed: 20220209.6342082-1]
    usr/lib/firmware/amdgpu/polaris10_mc.bin.xz

Is linux-firmware installed on the system?

Offline

#3 2022-03-18 15:42:27

gianmarcogg03
Member
Registered: 2022-03-17
Posts: 5

Re: RX 580 driver fails to initialize on Mac Pro 5,1 (mid 2010)

It wasn't installed, so I installed it but it didn't work. The error in the journalctl is the same.

Offline

#4 2022-03-18 17:50:40

loqs
Member
Registered: 2014-03-06
Posts: 18,894

Re: RX 580 driver fails to initialize on Mac Pro 5,1 (mid 2010)

gianmarcogg03 wrote:

It wasn't installed, so I installed it but it didn't work. The error in the journalctl is the same.

Including the failure to load amdgpu/polaris10_mc.bin?

Offline

#5 2022-03-18 19:25:22

gianmarcogg03
Member
Registered: 2022-03-17
Posts: 5

Re: RX 580 driver fails to initialize on Mac Pro 5,1 (mid 2010)

Yes.

Offline

#6 2022-03-18 23:14:53

loqs
Member
Registered: 2014-03-06
Posts: 18,894

Re: RX 580 driver fails to initialize on Mac Pro 5,1 (mid 2010)

Is the amdgpu module include in the initrd?  If so was it rebuilt after you installed linux-firmware?

Offline

#7 2022-03-19 16:37:20

gianmarcogg03
Member
Registered: 2022-03-17
Posts: 5

Re: RX 580 driver fails to initialize on Mac Pro 5,1 (mid 2010)

I rebuilt the image and now the GPU works. Thank you very much.

Offline

Board footer

Powered by FluxBB