ASRock.com Homepage
Forum Home Forum Home > Technical Support > AMD Motherboards
  New Posts New Posts RSS Feed - X470D4U/p4.20/Ryzen5600G 'fatal error' @ GPU boot
  FAQ FAQ  Forum Search Search  Events   Register Register  Login Login

X470D4U/p4.20/Ryzen5600G 'fatal error' @ GPU boot

 Post Reply Post Reply Page  123>
Author
Message
pgnd View Drop Down
Newbie
Newbie


Joined: 27 Oct 2021
Status: Offline
Points: 35
Post Options Post Options   Thanks (1) Thanks(1)   Quote pgnd Quote  Post ReplyReply Direct Link To This Post Topic: X470D4U/p4.20/Ryzen5600G 'fatal error' @ GPU boot
    Posted: 27 Oct 2021 at 12:38am
I've installed

     mobo:   ASRockRack X470D4U
     bios:   vP4.20, 04/14/2021
     cpu:    Ryzen 5 5600G
     OS/kernel: Fedora34/Linux, kernel v5.14.13-200

I have 2 GPUs installed,

(1)     an NVidia PCIe card

     NVIDIA GK208B [GeForce GT 710]
     driver: 'nvidia'

and

(2)     the Ryzen CPU-integrated

     Advanced Micro Devices [AMD/ATI] Cezanne driver: N/A
     driver: 'gpu'


On boot, NVidia has no issues.
But, amd-gpu reports a 'fatal error' and 'failed' probe,

     dmesg | grep -i amdgpu
          ...
          [    5.201715] [drm] amdgpu kernel modesetting enabled.
          [    5.201902] amdgpu: Virtual CRAT table created for CPU
          [    5.201909] amdgpu: Topology: Add CPU node
          [    5.201968] checking generic (e1000000 1d5000) vs hw (c0000000 10000000)
          [    5.201969] checking generic (e1000000 1d5000) vs hw (d0000000 200000)
          [    5.201970] checking generic (e1000000 1d5000) vs hw (fc500000 80000)
          [    5.201988] amdgpu 0000:30:00.0: enabling device (0000 -> 0003)
          [    5.202020] [drm] initializing kernel modesetting (RENOIR 0x1002:0x1638 0x1002:0x1636 0xC9).
          [    5.202024] amdgpu 0000:30:00.0: amdgpu: Trusted Memory Zone (TMZ) feature enabled
          [    5.202033] [drm] register mmio base: 0xFC500000
          [    5.202033] [drm] register mmio size: 524288
          [    5.202035] [drm] PCIE atomic ops is not supported
          [    5.203075] [drm] add ip block number 0 <soc15_common>
          [    5.203076] [drm] add ip block number 1 <gmc_v9_0>
          [    5.203077] [drm] add ip block number 2 <vega10_ih>
          [    5.203078] [drm] add ip block number 3 <psp>
          [    5.203078] [drm] add ip block number 4 <smu>
          [    5.203079] [drm] add ip block number 5 <gfx_v9_0>
          [    5.203079] [drm] add ip block number 6 <sdma_v4_0>
          [    5.203080] [drm] add ip block number 7 <dm>
          [    5.203081] [drm] add ip block number 8 <vcn_v2_0>
          [    5.203081] [drm] add ip block number 9 <jpeg_v2_0>
          [    5.208784] [drm] BIOS signature incorrect 0 0
          [    5.208789] amdgpu 0000:30:00.0: BAR 6: can't assign [??? 0x00000000 flags 0x20000000] (bogus alignment)
          [    5.214038] [drm] BIOS signature incorrect 0 0
          [    5.214042] amdgpu 0000:30:00.0: amdgpu: Unable to locate a BIOS ROM
          [    5.214044] amdgpu 0000:30:00.0: amdgpu: Fatal error during GPU init
          [    5.214045] amdgpu 0000:30:00.0: amdgpu: amdgpu: finishing device.
          [    5.214048] ------------[ cut here ]------------
          [    5.214049] WARNING: CPU: 5 PID: 539 at kernel/workqueue.c:3044 __flush_work.isra.0+0x1ef/0x200
          [    5.214054] Modules linked in: fjes(-) amdgpu(+) raid1 ast drm_vram_helper drm_ttm_helper iommu_v2 ttm gpu_sched drm_kms_helper igb crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel cec dca i2c_algo_bit sp5100_tco ccp drm uas usb_storage wmi video sunrpc tcp_bbr nct6775 hwmon_vid k10temp
          [    5.214065] CPU: 5 PID: 539 Comm: systemd-udevd Not tainted 5.14.13-200.fc34.x86_64 #1
          [    5.214067] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./X470D4U, BIOS P4.20 04/14/2021
          [    5.214068] RIP: 0010:__flush_work.isra.0+0x1ef/0x200
          [    5.214070] Code: 8b 4d 00 48 8b 55 08 83 e1 08 48 0f ba 6d 00 03 80 c9 f0 e9 37 ff ff ff 0f 0b 48 83 c4 48 44 89 e0 5b 5d 41 5c 41 5d 41 5e c3 <0f> 0b 45 31 e4 e9 46 ff ff ff 0f 1f 80 00 00 00 00 0f 1f 44 00 00
          [    5.214071] RSP: 0018:ffff9d5f00f0fa80 EFLAGS: 00010246
          [    5.214073] RAX: 0000000000000011 RBX: 0000000000000000 RCX: 0000000000000027
          [    5.214074] RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffff88bc91e25ab8
          [    5.214074] RBP: ffff88bc91e25ab8 R08: 0000000000000000 R09: ffff9d5f00f0f898
          [    5.214075] R10: ffff9d5f00f0f890 R11: ffff88c39e1fcfe8 R12: 0000000000000001
          [    5.214075] R13: ffff88bc92622800 R14: ffff88bc91e20000 R15: ffff9d5f00f0fde0
          [    5.214076] FS: 00007f231d7deb40(0000) GS:ffff88c37df40000(0000) knlGS:0000000000000000
          [    5.214077] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
          [    5.214078] CR2: 00007fa1bbfa5ff0 CR3: 0000000104b94000 CR4: 0000000000750ea0
          [    5.214078] PKRU: 55555554
          [    5.214079] Call Trace:
          [    5.214082] ? dev_printk_emit+0x3e/0x40
          [    5.214085] __cancel_work_timer+0xea/0x170
          [    5.214086] ? del_timer_sync+0x57/0x80
          [    5.214089] ttm_bo_lock_delayed_workqueue+0x11/0x20 [ttm]
          [    5.214093] amdgpu_device_fini_hw+0x33/0x2c5 [amdgpu]
          [    5.214225] amdgpu_driver_load_kms.cold+0x72/0x94 [amdgpu]
          [    5.214338] amdgpu_pci_probe+0x110/0x1a0 [amdgpu]
          [    5.214420] local_pci_probe+0x42/0x80
          [    5.214423] ? __cond_resched+0x16/0x40
          [    5.214426] pci_device_probe+0xd9/0x190
          [    5.214427] really_probe+0x1f5/0x3f0
          [    5.214429] __driver_probe_device+0xfe/0x180
          [    5.214430] driver_probe_device+0x1e/0x90
          [    5.214431] __driver_attach+0xc0/0x1c0
          [    5.214433] ? __device_attach_driver+0xe0/0xe0
          [    5.214434] ? __device_attach_driver+0xe0/0xe0
          [    5.214434] bus_for_each_dev+0x64/0x90
          [    5.214436] bus_add_driver+0x12b/0x1e0
          [    5.214438] driver_register+0x8f/0xe0
          [    5.214439] ? 0xffffffffc0d62000
          [    5.214440] do_one_initcall+0x44/0x1d0
          [    5.214443] ? kmem_cache_alloc_trace+0x15c/0x280
          [    5.214445] do_init_module+0x5c/0x270
          [    5.214448] __do_sys_init_module+0x11d/0x180
          [    5.214450] do_syscall_64+0x3b/0x90
          [    5.214452] ? handle_mm_fault+0xcf/0x2a0
          [    5.214454] ? do_user_addr_fault+0x1d5/0x680
          [    5.214457] ? syscall_exit_to_user_mode+0x18/0x40
          [    5.214458] ? exc_page_fault+0x72/0x150
          [    5.214459] entry_SYSCALL_64_after_hwframe+0x44/0xae
          [    5.214461] RIP: 0033:0x7f231e42a0fe
          [    5.214463] Code: 48 8b 0d 7d 1d 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 4a 1d 0c 00 f7 d8 64 89 01 48
          [    5.214463] RSP: 002b:00007ffd8d40e9e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000af
          [    5.214465] RAX: ffffffffffffffda RBX: 000055f6d5e2b7f0 RCX: 00007f231e42a0fe
          [    5.214465] RDX: 00007f231e57d32c RSI: 0000000000d4ebde RDI: 00007f231bc53010
          [    5.214466] RBP: 00007f231bc53010 R08: 000055f6d5e0e050 R09: 0000000000d4ebf0
          [    5.214466] R10: 000055f38ab3874e R11: 0000000000000246 R12: 00007f231e57d32c
          [    5.214467] R13: 000055f6d5e0f840 R14: 0000000000000007 R15: 000055f6d5deff30
          [    5.214468] ---[ end trace ce1b3e6fbbcac425 ]---
          [    5.214481] x86/PAT: systemd-udevd:539 freeing invalid memtype [mem 0x00000000-0xffffffffffffffff]
          [    5.214539] amdgpu: probe of 0000:30:00.0 failed with error -22
          ...


I've posted full details in a thread on "amd-gfx" ML,

     amdgpu "Fatal error during GPU init"; Ryzen 5600G integrated GPU + kernel 5.14.13
      https://lists.freedesktop.org/archives/amd-gfx/2021-October/070709.html

In that thread, upstream suggests it's a BIOS issue:

     "The driver is not able to find the vbios image which is required for
     the driver to properly enumerate the hardware. I would guess it's a
     platform issue. Is there a newer sbios image available for your
     platform? You might try that or check if there are any options in the
     sbios regarding the behavior of the integrated graphics when an
     external GPU is present. I suspect the one of the following is the
     problem:
     1. The sbios should disable the integrated graphics when a dGPU is
     present, but due to a bug in the sbios or a particular sbios settings
     it has failed to.
     2. The sbios should be providing a vbios image for the integrated
     graphics, but due to a bug in the sbios or a particular sbios settings
     it has failed to.
     3. The platform uses some alternative method to provide access to the
     vbios image for the integrated graphics that Linux does not yet
     handle."

Beyond the trace , and comments, above it's not clear how to confirm/exclude the BIOS as problem.

Screenshots of current BIOS settings are:




Are there different/additional settings @ BIOS &/or kernel config options req'd to get amdgpu to boot without error?

Or is this a BIOS bug?
Back to Top
Idril View Drop Down
Newbie
Newbie


Joined: 05 Jan 2022
Location: Germany
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote Idril Quote  Post ReplyReply Direct Link To This Post Posted: 05 Jan 2022 at 3:34am
Hi,

I have the same problem with this board and the Ryzen 7 5700G CPU.

On Linux installs (Ubuntu as well as Proxmox) I get
       amdgpu 0000:30:00.0: amdgpu: Unable to locate a BIOS ROM

I also tried a Windows install and get an error 43 for the APU.

Is there a Bios Update I'm currently running P4.20 or a Setting I need?

Thanks for any help :)
Back to Top
amissus View Drop Down
Newbie
Newbie


Joined: 10 Jan 2022
Status: Offline
Points: 165
Post Options Post Options   Thanks (0) Thanks(0)   Quote amissus Quote  Post ReplyReply Direct Link To This Post Posted: 10 Jan 2022 at 1:16am
Same problem Here. Ryzen 5650G and 5750G. BIOSes for X470D4U are very buggy.
Back to Top
wondermike View Drop Down
Newbie
Newbie
Avatar

Joined: 29 Jan 2022
Status: Offline
Points: 80
Post Options Post Options   Thanks (0) Thanks(0)   Quote wondermike Quote  Post ReplyReply Direct Link To This Post Posted: 10 Feb 2022 at 5:28am
I have the same issue with:
  • Asock Rack X570D4U-2L2T
  • AMD Ryzen 7 PRO 5750G with Radeon Graphics
Back to Top
kerberos_20 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 06 Dec 2017
Location: czech republic
Status: Offline
Points: 3672
Post Options Post Options   Thanks (1) Thanks(1)   Quote kerberos_20 Quote  Post ReplyReply Direct Link To This Post Posted: 10 Feb 2022 at 9:35am
The driver tries multiple methods to fetch the vbios depending on the platform. One of the methods fails and this message is the result.

anyway, your linux needs updates

i believe kernel 5.11 and mesa 21.3 are minimum for 5600G

with command inxi -Fxrz you can check your kernel and mesa versions

Edited by kerberos_20 - 10 Feb 2022 at 9:37am
Back to Top
amissus View Drop Down
Newbie
Newbie


Joined: 10 Jan 2022
Status: Offline
Points: 165
Post Options Post Options   Thanks (1) Thanks(1)   Quote amissus Quote  Post ReplyReply Direct Link To This Post Posted: 10 Feb 2022 at 6:41pm
Tried kernels 5.15, 5.16, 5.17 RC and the latest firmware for Cezanne APUs (codename Green Sardine) of course, no change. ASrock sent me unofficial BIOS L4.23 for x470d4u motherboard, it didn't work. I am waiting for their next message.
Back to Top
kerberos_20 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 06 Dec 2017
Location: czech republic
Status: Offline
Points: 3672
Post Options Post Options   Thanks (0) Thanks(0)   Quote kerberos_20 Quote  Post ReplyReply Direct Link To This Post Posted: 11 Feb 2022 at 4:52am
tbh linux is quite user friendly...
you could load gpu firmware (bios image) manually
https://wiki.gentoo.org/wiki/AMDGPU
cezanne has mentioned this path for firmware blob
amdgpu/green_sardine_{asd,ce,dmcub,me,mec2,mec,pfp,rlc,sdma,ta,vcn}.bin
load it up with https://wiki.gentoo.org/wiki/Genkernel#Firmware_loading
Back to Top
amissus View Drop Down
Newbie
Newbie


Joined: 10 Jan 2022
Status: Offline
Points: 165
Post Options Post Options   Thanks (0) Thanks(0)   Quote amissus Quote  Post ReplyReply Direct Link To This Post Posted: 11 Feb 2022 at 5:01am
Using Gentoo many years and exactly this firmware was used. No luck. When I swap motherboard to Asus B450, kernel module loads without error.
Back to Top
wondermike View Drop Down
Newbie
Newbie
Avatar

Joined: 29 Jan 2022
Status: Offline
Points: 80
Post Options Post Options   Thanks (0) Thanks(0)   Quote wondermike Quote  Post ReplyReply Direct Link To This Post Posted: 11 Feb 2022 at 5:26am
So what IS actually buggy, the Motherboard or the BIOS?
Back to Top
kevin_b1337 View Drop Down
Newbie
Newbie


Joined: 12 Feb 2022
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote kevin_b1337 Quote  Post ReplyReply Direct Link To This Post Posted: 12 Feb 2022 at 2:39am
I have the same problem and was about to get crazy as I wanted to use the iGPU to fasten ffmpeg processes on the server.

ASRockRack X570D4U / Ryzen 7 PRO 5750G

Any hints for solutions?
Back to Top
 Post Reply Post Reply Page  123>
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 2.422 seconds.