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.