Print Page | Close Window

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

Printed From: ASRock.com
Category: Technical Support
Forum Name: AMD Motherboards
Forum Description: Question about ASRock AMD motherboards
URL: https://forum.asrock.com/forum_posts.asp?TID=19749
Printed Date: 17 Apr 2024 at 12:16am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: X470D4U/p4.20/Ryzen5600G 'fatal error' @ GPU boot
Posted By: pgnd
Subject: X470D4U/p4.20/Ryzen5600G 'fatal error' @ GPU boot
Date 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?



Replies:
Posted By: Idril
Date 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 :)


Posted By: amissus
Date Posted: 10 Jan 2022 at 1:16am
Same problem Here. Ryzen 5650G and 5750G. BIOSes for X470D4U are very buggy.


Posted By: wondermike
Date 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


Posted By: kerberos_20
Date 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

-------------
http://valid.x86.fr/diq4l4" rel="nofollow">
http://www.userbenchmark.com/UserRun/47132492" rel="nofollow - userbenchmark


Posted By: amissus
Date 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.


Posted By: kerberos_20
Date 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" rel="nofollow - 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" rel="nofollow - https://wiki.gentoo.org/wiki/Genkernel#Firmware_loading

-------------
http://valid.x86.fr/diq4l4" rel="nofollow">
http://www.userbenchmark.com/UserRun/47132492" rel="nofollow - userbenchmark


Posted By: amissus
Date 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.


Posted By: wondermike
Date Posted: 11 Feb 2022 at 5:26am
So what IS actually buggy, the Motherboard or the BIOS?


Posted By: kevin_b1337
Date 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?


Posted By: jwbrown77
Date Posted: 12 Feb 2022 at 5:31am
Also hitting this :( - have already verified newest BIOS is installed.

uname -a
Linux server 5.16.7-arch1-1 #1 SMP PREEMPT Sun, 06 Feb 2022 16:47:29 +0000 x86_64 GNU/Linux

---

AMD 5750G on X570D4U:

Motherboard:
*-core
       description: Motherboard
       product: X570D4U
       vendor: ASRockRack
       physical id: 0
       serial: 215407990000092
     *-firmware
          description: BIOS
          vendor: American Megatrends International, LLC.
          physical id: 0
          version: P1.20
          date: 05/19/2021
          size: 64KiB
          capacity: 16MiB
          capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppynec int13floppytoshiba int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int14serial int17printer int10video acpi usb biosbootspecification uefi

---

lscpu:

Architecture:            x86_64
CPU op-mode(s):        32-bit, 64-bit
Address sizes:        48 bits physical, 48 bits virtual
Byte Order:            Little Endian
CPU(s):                  16
On-line CPU(s) list:   0-15
Vendor ID:               AuthenticAMD
BIOS Vendor ID:        Advanced Micro Devices, Inc.
Model name:            AMD Ryzen 7 PRO 5750G with Radeon Graphics
    BIOS Model name:     AMD Ryzen 7 PRO 5750G with Radeon Graphics
    CPU family:          25
    Model:               80
    Thread(s) per core: 2
    Core(s) per socket: 8
    Socket(s):           1
    Stepping:            0
    Frequency boost:     enabled
    CPU max MHz:        4672.0698
    CPU min MHz:        1400.0000
    BogoMIPS:            7602.48
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl no
                         nstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy
                          abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmc
                         all fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local
                          clzero irperf xsaveerptr rdpru wbnoinvd arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_sp
                         ec_ctrl umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca fsrm

---

The actual error in the dmesg on startup:

[    4.322788] [drm] amdgpu kernel modesetting enabled.
[    4.322810] vga_switcheroo: detected switching method \_SB_.PCI0.GP17.VGA_.ATPX handle
[    4.322927] ATPX version 1, functions 0x00000000
[    4.328753] amdgpu: Virtual CRAT table created for CPU
[    4.328760] amdgpu: Topology: Add CPU node
[    4.328825] amdgpu 0000:30:00.0: enabling device (0000 -> 0003)
[    4.328854] [drm] initializing kernel modesetting (RENOIR 0x1002:0x1638 0x1002:0x1636 0xD8).
[    4.328857] amdgpu 0000:30:00.0: amdgpu: Trusted Memory Zone (TMZ) feature enabled
[    4.328863] [drm] register mmio base: 0xFCD00000
[    4.328864] [drm] register mmio size: 524288
[    4.329962] [drm] add ip block number 0 <soc15_common>
[    4.329963] [drm] add ip block number 1 <gmc_v9_0>
[    4.329963] [drm] add ip block number 2 <vega10_ih>
[    4.329964] [drm] add ip block number 3 <psp>
[    4.329965] [drm] add ip block number 4 <smu>
[    4.329965] [drm] add ip block number 5 <dm>
[    4.329966] [drm] add ip block number 6 <gfx_v9_0>
[    4.329967] [drm] add ip block number 7 <sdma_v4_0>
[    4.329968] [drm] add ip block number 8 <vcn_v2_0>
[    4.329969] [drm] add ip block number 9 <jpeg_v2_0>
[    4.336166] [drm] BIOS signature incorrect 0 0
[    4.336168] amdgpu 0000:30:00.0: BAR 6: can't assign [??? 0x00000000 flags 0x20000000] (bogus alignment)
[    4.341687] [drm] BIOS signature incorrect 0 0
[    4.341688] amdgpu 0000:30:00.0: amdgpu: Unable to locate a BIOS ROM
[    4.341689] amdgpu 0000:30:00.0: amdgpu: Fatal error during GPU init
[    4.341690] amdgpu 0000:30:00.0: amdgpu: amdgpu: finishing device.
[    4.341697] BUG: unable to handle page fault for address: ffffffffffffffe0
[    4.341713] #PF: supervisor read access in kernel mode
[    4.341722] #PF: error_code(0x0000) - not-present page
[    4.341730] PGD 236015067 P4D 236015067 PUD 236017067 PMD 0
[    4.341740] Oops: 0000 [#1] PREEMPT SMP NOPTI
[    4.341747] CPU: 12 PID: 2169 Comm: systemd-udevd Tainted: P        W OE     5.16.7-arch1-1 #1 bfe93919463c4b684e2777983a4bf36298ffe741
[    4.341765] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./X570D4U, BIOS P1.20 05/19/2021
[    4.341778] RIP: 0010:ttm_device_clear_dma_mappings+0x4e/0x220 [ttm]
[    4.341791] Code: 83 ec 18 e8 c4 a7 6d d7 eb 09 09 ca 78 3d 4d 85 e4 75 44 48 8b 83 28 08 00 00 4c 39 e8 0f 84 91 00 00 00 48 8b ab 28 08 00 00 <8b> 55 e0 4c 8d a5 80 fe ff ff 48 8d 7d e0 85 d2 74
d7 8d 4a 01 89
[    4.341816] RSP: 0018:ffffb093c19cf9d8 EFLAGS: 00010213
[    4.341824] RAX: 0000000000000000 RBX: ffffa0c4e70e5280 RCX: 0000000000000000
[    4.341834] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[    4.341844] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[    4.341853] R10: 0000000000000000 R11: 0000000000000000 R12: ffffa0c4e70e5280
[    4.341863] R13: ffffa0c4e70e5aa8 R14: ffffa0c4e70e5a90 R15: ffffa0c4e70e0000
[    4.341873] FS: 00007fb7cfb63a40(0000) GS:ffffa0e35e500000(0000) knlGS:0000000000000000
[    4.341884] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    4.341892] CR2: ffffffffffffffe0 CR3: 000000012cf2e000 CR4: 0000000000750ee0
[    4.341903] PKRU: 55555554


Posted By: amissus
Date Posted: 13 Feb 2022 at 7:53pm
All of you with this issue, write to the Asrock support as I did. There has to be something wrong with BIOS.


Posted By: jwbrown77
Date Posted: 14 Feb 2022 at 11:25am
Originally posted by amissus amissus wrote:

All of you with this issue, write to the Asrock support as I did. There has to be something wrong with BIOS.


Yep - I did yesterday. Anyone else who hasn't should do so.


Posted By: jwbrown77
Date Posted: 24 Feb 2022 at 6:49am
As I have not received any reply from AsRock regarding my ticket:

Bump.


Posted By: amissus
Date Posted: 03 Mar 2022 at 5:00pm
I have sent again question to european central what is status of this problem, because they are silent for a few weeks and they answer me, they waiting for message from HQ and their engineers. It's quite misery, such technical support.


Posted By: jwbrown77
Date Posted: 04 Mar 2022 at 10:18pm
Originally posted by amissus amissus wrote:

I have sent again question to european central what is status of this problem, because they are silent for a few weeks and they answer me, they waiting for message from HQ and their engineers. It's quite misery, such technical support.


Thanks for the update. I haven't received any ticket reply at all other than the initial autoresponder that they received it.

I don't think it's too much for us to ask that this works considering the CPU is on their HCL.

Hopefully they are able to work it out soon.


Posted By: amissus
Date Posted: 04 Mar 2022 at 10:30pm
CPU is on HCL, but provided BIOS contains AGESA version only with "initial" support what I have googled and also older microcode for 5000G CPUs. I am disappointed. Asrock server boards - obsolete BIOSes and slow or none support. Asrock motherboards for desktop segment have regular updates.


Posted By: jwbrown77
Date Posted: 13 Mar 2022 at 5:12am
Still no reply to the ticket I opened one month ago today. I would be satisfied with a "we're looking into it" or at least some acknowledgement.

Bump.


Posted By: Xaltar
Date Posted: 13 Mar 2022 at 5:49am
I am afraid I don't have any contacts in ASRock's server/workstation support
division, at least I suspect it's under a different support division, it only makes
sense.

I will see if my contacts in their regular support channels can assist.

-------------


Posted By: amissus
Date Posted: 15 Mar 2022 at 7:11pm
From today for x470d4u there is available "beta zone", where BIOS 4.24 can be downloaded:

https://www.asrockrack.com/general/productdetail.asp?Model=X470D4U#Download" rel="nofollow - https://www.asrockrack.com/general/productdetail.asp?Model=X470D4U#Download

Trying it now.


Posted By: amissus
Date Posted: 15 Mar 2022 at 8:00pm
[    4.025842] [drm] BIOS signature incorrect 0 0
[    4.025843] amdgpu 0000:30:00.0: amdgpu: Unable to locate a BIOS ROM
[    4.025844] amdgpu 0000:30:00.0: amdgpu: Fatal error during GPU init
[    4.025846] amdgpu 0000:30:00.0: amdgpu: amdgpu: finishing device.

Nothing with 4.24. Same error when initializing gpu as 4.20. Same old agesa, same old microcode.


Posted By: Registered55
Date Posted: 22 Mar 2022 at 2:47pm
Hello, i also had some issues, but after spending...a lot of time searching and trying, i found a solution for myself.

the issue for me was the CSM legacy layer causing issue, UEFI mod only worked.
i'm usinf bios 4.24 beta

in BIOS

boot option filter "UEFI only"

CSM (compatibility support module) "Custom" other and video both change to UEFI only

now restart

my unraid booted up with the GPU working, and all the errors before about reading bios rom and things are gone.



Posted By: Xaltar
Date Posted: 22 Mar 2022 at 2:58pm
Thanks for sharing your solution Registered55

-------------


Posted By: jwbrown77
Date Posted: 24 Mar 2022 at 11:01am
@Registered55 amazing, it looks like it works! Thanks so much for finding and sharing this.

@amissus see post above ^.

ls -l /dev/dri
total 0
drwxr-xr-x 2 root root        100 Mar 24 02:50 by-path
crw-rw---- 1 root video 226,   0 Mar 24 02:50 card0
crw-rw---- 1 root video 226,   1 Mar 24 02:50 card1
crw-rw-rw- 1 root render 226, 128 Mar 24 02:50 renderD128

inxi -FZ | grep -A4 'Graphics:'
Graphics:
Device-1: ASPEED Graphics Family driver: ast v: kernel
Device-2: AMD Cezanne driver: amdgpu v: kernel
Display: server: No display server data found. Headless machine? tty: 160x40
Message: GL data unavailable in console for root.

Mar 24 02:50:10 server kernel: [drm] amdgpu kernel modesetting enabled.
Mar 24 02:50:10 server kernel: vga_switcheroo: detected switching method \_SB_.PCI0.GP17.VGA_.ATPX handle
Mar 24 02:50:10 server kernel: ATPX version 1, functions 0x00000000
Mar 24 02:50:10 server systemd-networkd[2501]: Enumeration completed
Mar 24 02:50:10 server systemd[1]: Started Network Configuration.
Mar 24 02:50:10 server audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-networkd comm="systemd" exe="/usr/lib/systemd/syste>
Mar 24 02:50:10 server kernel: amdgpu: Virtual CRAT table created for CPU
Mar 24 02:50:10 server kernel: amdgpu: Topology: Add CPU node
Mar 24 02:50:10 server kernel: [drm] initializing kernel modesetting (RENOIR 0x1002:0x1638 0x1002:0x1636 0xD8).
Mar 24 02:50:10 server kernel: amdgpu 0000:30:00.0: amdgpu: Trusted Memory Zone (TMZ) feature enabled
Mar 24 02:50:10 server kernel: [drm] register mmio base: 0xFCD00000
Mar 24 02:50:10 server kernel: [drm] register mmio size: 524288
Mar 24 02:50:10 server kernel: [drm] add ip block number 0 <soc15_common>
Mar 24 02:50:10 server kernel: [drm] add ip block number 1 <gmc_v9_0>
Mar 24 02:50:10 server kernel: [drm] add ip block number 2 <vega10_ih>
Mar 24 02:50:10 server kernel: [drm] add ip block number 3 <psp>
Mar 24 02:50:10 server kernel: [drm] add ip block number 4 <smu>
Mar 24 02:50:10 server kernel: [drm] add ip block number 5 <dm>
Mar 24 02:50:10 server kernel: [drm] add ip block number 6 <gfx_v9_0>
Mar 24 02:50:10 server kernel: [drm] add ip block number 7 <sdma_v4_0>
Mar 24 02:50:10 server kernel: [drm] add ip block number 8 <vcn_v2_0>
Mar 24 02:50:10 server kernel: [drm] add ip block number 9 <jpeg_v2_0>
Mar 24 02:50:10 server kernel: amdgpu 0000:30:00.0: amdgpu: Fetched VBIOS from VFCT
Mar 24 02:50:10 server kernel: amdgpu: ATOM BIOS: 113-CEZANNE-018
Mar 24 02:50:10 server kernel: [drm] VCN decode is enabled in VM mode
Mar 24 02:50:10 server kernel: [drm] VCN encode is enabled in VM mode
Mar 24 02:50:10 server kernel: [drm] JPEG decode is enabled in VM mode
Mar 24 02:50:10 server kernel: amdgpu 0000:30:00.0: amdgpu: PCIE atomic ops is not supported
Mar 24 02:50:10 server kernel: [drm] vm size is 262144 GB, 4 levels, block size is 9-bit, fragment size is 9-bit
Mar 24 02:50:10 server kernel: amdgpu 0000:30:00.0: amdgpu: VRAM: 512M 0x000000F400000000 - 0x000000F41FFFFFFF (512M used)
Mar 24 02:50:10 server kernel: amdgpu 0000:30:00.0: amdgpu: GART: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
Mar 24 02:50:10 server kernel: amdgpu 0000:30:00.0: amdgpu: AGP: 267419648M 0x000000F800000000 - 0x0000FFFFFFFFFFFF
Mar 24 02:50:10 server kernel: [drm] Detected VRAM RAM=512M, BAR=512M
Mar 24 02:50:10 server kernel: [drm] RAM width 128bits DDR4
Mar 24 02:50:10 server kernel: [drm] amdgpu: 512M of VRAM memory ready
Mar 24 02:50:10 server kernel: [drm] amdgpu: 3072M of GTT memory ready.
Mar 24 02:50:10 server kernel: [drm] Found VCN firmware Version ENC: 1.16 DEC: 5 VEP: 0 Revision: 3
Mar 24 02:50:10 server kernel: amdgpu 0000:30:00.0: amdgpu: Will use PSP to load VCN firmware


Posted By: threadzipper1957
Date Posted: 24 Mar 2022 at 5:34pm
Did you check the contact us page?
https://www.asrockrack.com/general/contact.asp" rel="nofollow - https://www.asrockrack.com/general/contact.asp
And also please check your spam folders, for replies, it can happen replies end up in the spam folder

-------------
Kind Regards


Posted By: threadzipper1957
Date Posted: 24 Mar 2022 at 5:51pm
Regarding the tip from registered55
When CSM is disabled, the graphics card MUST support Graphics Output Protocol (GOP) and a 710 card definitely does not support GOP.
On a dekstop board, it means that the system will go back into BIOS.
The only way to solve this, is to enable CSm, set launch Storage OpROM Policy to UEFI only, and launch Video OpROM Policy, to Legacy.
This way the card will work in legacy mode, while the OS can run in UEFI mode.
With a card that does support GOP, UEFI assumes, the card supports certain standards, and initialize it, using that standard.
So there is a difference between the handling of Legacy hardware versus GOP supported hardware.
On newer boards, it can be that Intel/AMD no longer support legacy hardware

-------------
Kind Regards


Posted By: anthr76
Date Posted: 06 May 2022 at 2:51am
I'm currently facing this issue with a Ryzen 2400GE

[    5.867964] cdc_ether 1-14.3:2.0 enxaec692820ee6: renamed from usb0
[    5.885969] [drm] BIOS signature incorrect ff ff
[    5.886634] amdgpu 0000:30:00.0: BAR 6: can't assign [??? 0x00000000 flags 0x20000000] (bogus alignment)
[    5.899524] [drm] BIOS signature incorrect ff ff
[    5.900203] amdgpu 0000:30:00.0: amdgpu: Unable to locate a BIOS ROM
[    5.900839] amdgpu 0000:30:00.0: amdgpu: Fatal error during GPU init
[    5.902865] amdgpu 0000:30:00.0: amdgpu: amdgpu: finishing device.

Flipping CSM seems to have no effect for this. I am on BIOS L4.21


Posted By: omnimod
Date Posted: 26 Jan 2023 at 10:07pm
I would like to thank @Registered55 for the solution.

I had the similar issue with X470D4U, Ryzen 5700G, and Windows 10H2. Device Manager showed code 43 error on AMD Radeon(TM) Graphics device. AMD Software didn't start as well.

After updating to beta BIOS 4.26, setting CSM to custom and oprom to UEFI I was able to fix the issue.


Posted By: asrockrules
Date Posted: 13 Oct 2023 at 11:36am
it's infuriating that this issue still lingers ;(

I have the X470D4U2-2T board and even when I look in the BETA downloads I get no further than 4.14 BIOS that I have installed.

Still the same issue.

I am losing faith in asrock rack.

Did anyone find a more "official" solution in the meantime?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net