Linux 5.3 boot fail with RX 5700

I have been having a heck of a time getting my new desktop to boot. So far Arch has been the only operating system I have been able to install. However, when I upgrade to version 5.3 of the kernel it fails to boot. I have the last 7 dmesg logs listed below. I can list more if need be. I also have a Ryzen 3600 and an Asus x570 tuf gaming mobo.

amdgpu 0000:0c:00.0: remove_conflicting_pci_framebuffers: bar0: 0xe0000000 -> 0xefffffff
amdgpu 0000:0c:00.0: remove_conflicting_pci_framebuffers: bar 2: 0xf0000000 -> 0xf01ffff
amdgpu 0000:0c:00.0: remove_conflicting_pci_framebuffers: bar 5: 0xfcb00000 -> 0xfcb7ffff
checking generic (e0000000 7f0000) vs hw (e0000000 10000000)
fb0: switching to andgpudrmfb from VESA to VGA
kvm: disabled by bios
MCE: In-kernel MCE decoding enabled.

The my system freezes.

I am getting something similar and have this in my start logs.

[    4.668883] amdgpu 0000:0c:00.0: 00000000c69e9eaa pin failed
[    4.668941] [drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -12

I ran a system upgrade to fedora 31 and I am booting 5.3.0-1.fc31.x86_64

It seems the latest kernel has some issues still with the new 5000 series.

I am running an ssh session from a laptop to my desktop as it boots but no graphical session loads. I am running dmesg this way.

Did you guys build the kms and make cure mkinitcpio built correctly?
Only applies to ArchLinux I think, https://wiki.archlinux.org/index.php/Kernel_mode_setting#Early_KMS_start

You may need to actually turn off kms to get to graphical with vesa drivers. Then possibly install the pro driver.

That is an arch specific tooling and doesn’t work for fedora.

Figured so. I mentioned it since OP mentioned that Arch was the only one that installed. I use Arch and Debian have nut run anything else in decades.

Maybe try this kernel boot option to see if you can get more info in what is dying?

   initcall_debug  [KNL] Trace initcalls as they are executed.  Useful
                    for working out where the kernel is dying during
                    startup.
1 Like