RX580 amdgpu driver issues

Having some issues getting an RX580 to cooperate with the amdgpu driver, on a fresh install of EndeavourOS. Unless “nomodeset” is included as a kernel parameter, the system hangs. Kernel logs show that the driver is failing with error code -22:

Dec 03 11:35:12 archlinux kernel: ACPI: video: Video Device [VGA] (multi-head: yes rom: no post: no)
Dec 03 11:35:12 archlinux kernel: input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/LNXVIDEO:00/input/input5
Dec 03 11:35:12 archlinux systemd[1]: Started Journal Service.
Dec 03 11:35:12 archlinux kernel: PM: Image not found (code -22)
Dec 03 11:35:13 archlinux kernel: EXT4-fs (sda2): mounted filesystem 839c8dfc-1d5c-4486-8890-2ca5513b6e37 r/w with ordered data mode. Quota mode: none.
Dec 03 11:35:15 archlinux kernel: [drm] amdgpu kernel modesetting enabled.
Dec 03 11:35:15 archlinux kernel: amdgpu: vga_switcheroo: detected switching method _SB_.PCI0.GP17.VGA_.ATPX handle
Dec 03 11:35:15 archlinux kernel: amdgpu: ATPX version 1, functions 0x00000000
Dec 03 11:35:15 archlinux kernel: amdgpu: Virtual CRAT table created for CPU
Dec 03 11:35:15 archlinux kernel: amdgpu: Topology: Add CPU node
Dec 03 11:35:15 archlinux kernel: amdgpu 0000:10:00.0: probe with driver amdgpu failed with error -22
Dec 03 11:35:15 archlinux kernel: amdgpu 0000:38:00.0: probe with driver amdgpu failed with error -22

I have tried a number of solutions, like including additional parameters for Southern Islands and Sea Islands support or disabling DPM, including amdgpu in the modules section of my mkinitcpio.conf file before regenerating the image, or using AMDGPU PRO drivers as well as going as far as flashing a different vBIOS on the card, but none of them proved fruitful.

I can provide further information about the card itself, or a pastebin link of the whole kernel log if necessary. Thanks.

Eos doesn’t use mkinitcpio. It uses dracut. So currently you have eos installed. Could you provide the hardware output? Post the url to this command. I can probably help you since i have the RX590 in this machine.

inxi -Faz | eos-sendlog

The RX580 is Polaris the same as mine. It doesn’t require any additional parameters for Southern Islands or Sea Islands as it is not those generation.

Edit: I think you are going about this all the wrong way and will cause more issues. You need to start from scratch and boot on the live ISO. Does it boot on it and bring you to the desktop? Normally you cannot use nomodeset with amdgpu. So I’m not sure where you are at with so many changes.

Edit: Are you using the latest ISO? How are you creating this ISO? That sometimes is the issue too.

@lambsamwich

So you managed to install endeavouros but are you saying you are using nomodeset? It would be good if you could post the hardware output. You can post the url.

inxi -Faz | eos-sendlog

Edit: Is Secure boot disabled as well as Fastboot and CSM?

May I ask if you can at least verify that the GPU is working properly on a different system ?

This doesn’t make sense to me as i have an RX590 without any issue. You can’t use nomodeset with amdgpu.

nomodeset disables KMS, which is required for AMD cards, so you won’t be able to run a graphical desktop with anything other than the VESA drivers

Edit: If the system can’t run without nomodeset and there are errors then there is another issue.