Linux kernel 5.1+ brings back *ERROR* IB test failed on gfx issue

Newbie here,

I’m currently using fedora 30 with kernel 5.0.17 which is the last version that works with dpm on with my RX 580. Any kernel version after 5.1.0 ex. 5.1.5 (fedora) or 5.1.6 (mainline) brings back the IB test failed on gfx bug/issue.

This kernels are usable with amdgpu.dpm=0 command line. But you loose the dynamic clock scaling and temp reading etc.

I think amd botched the driver when they updated powerplay codes for the vega and upcoming gpus.

Anyone else having the same issue? I know my hardware is on the old side. But still would like to use the new performance upgrades that comes with kernel 5.1.

Any help, suggestion, advice is welcomed and appreciated.
Fedora Bug report link: booting with kernel version 5.1.5 on RX 580 hangs
Mainline Bug report link: booting with kernel version 5.1.6 on RX 580 hangs
Freedesktop Bug report link: booting with kernel version 5.1.0 or higher on RX 580 hangs

I have an rx580 + 5.1.6 kernel running arch. AMDGPU is running fine, but I haven’t tried dynamic clock scaling. I can get the temp from my GPU just fine, though. I could try some commands and give you the output if you’d like. It might be related to Fedora.

Thanks for the reply. I’m currently using Sapphire RX 580 8 GB Pulse with VBios version 113-1E3870U-O4B.

I’ve also tried the vanilla mainline kernel but got the same result.
My log is filled with these errors
Jun 02 09:54:05 kernel: amdgpu: [powerplay] last message was failed ret is 65535
Jun 02 09:54:06 kernel: amdgpu: [powerplay] failed to send message 15b ret is 65535
Jun 02 09:54:07 kernel: amdgpu: [powerplay] last message was failed ret is 65535
Jun 02 09:54:07 kernel: amdgpu: [powerplay] failed to send message 148 ret is 65535
Jun 02 09:54:07 kernel: amdgpu: [powerplay] last message was failed ret is 65535
Jun 02 09:54:07 kernel: amdgpu: [powerplay] failed to send message 145 ret is 65535
Jun 02 09:54:08 kernel: amdgpu: [powerplay] last message was failed ret is 65535
Jun 02 09:54:08 kernel: amdgpu: [powerplay] failed to send message 146 ret is 65535
Jun 02 09:54:13 kernel: amdgpu: [powerplay] last message was failed ret is 65535
Jun 02 09:54:13 kernel: amdgpu: [powerplay] failed to send message 260 ret is 65535
Jun 02 09:54:14 kernel: amdgpu: [powerplay] last message was failed ret is 65535
Jun 02 09:54:14 kernel: amdgpu: [powerplay] failed to send message 260 ret is 65535
Jun 02 09:54:14 kernel: amdgpu: [powerplay] last message was failed ret is 65535
Jun 02 09:54:14 kernel: amdgpu: [powerplay] failed to send message 260 ret is 65535
Jun 02 09:54:14 kernel: amdgpu: [powerplay] last message was failed ret is 65535
Jun 02 09:54:14 kernel: amdgpu: [powerplay] failed to send message 260 ret is 65535
Jun 02 09:54:14 kernel: amdgpu: [powerplay] last message was failed ret is 65535
Jun 02 09:54:14 kernel: amdgpu: [powerplay] failed to send message 260 ret is 65535
Jun 02 09:54:14 kernel: amdgpu: [powerplay] last message was failed ret is 65535
Jun 02 09:54:14 kernel: amdgpu: [powerplay] failed to send message 260 ret is 65535
Jun 02 09:54:14 kernel: amdgpu: [powerplay] last message was failed ret is 65535
Jun 02 09:54:14 kernel: amdgpu: [powerplay] failed to send message 260 ret is 65535
Jun 02 09:54:14 kernel: amdgpu: [powerplay] last message was failed ret is 65535
Jun 02 09:54:14 kernel: amdgpu: [powerplay] failed to send message 260 ret is 65535
Jun 02 09:54:14 kernel: amdgpu: [powerplay] last message was failed ret is 65535
Jun 02 09:54:15 kernel: amdgpu: [powerplay] failed to send message 260 ret is 65535
Jun 02 09:54:15 kernel: amdgpu: [powerplay] last message was failed ret is 65535
Jun 02 09:54:15 kernel: amdgpu: [powerplay] failed to send message 260 ret is 65535
Jun 02 09:54:15 kernel: amdgpu: [powerplay] last message was failed ret is 65535
Jun 02 09:54:16 kernel: amdgpu: [powerplay] failed to send message 260 ret is 65535
Jun 02 09:54:16 kernel: amdgpu: [powerplay] last message was failed ret is 65535
Jun 02 09:54:16 kernel: amdgpu: [powerplay] failed to send message 260 ret is 65535
Jun 02 09:54:16 kernel: amdgpu: [powerplay] last message was failed ret is 65535
Jun 02 09:54:16 kernel: amdgpu: [powerplay] failed to send message 260 ret is 65535
Jun 02 09:54:16 kernel: amdgpu: [powerplay] last message was failed ret is 65535
Jun 02 09:54:16 kernel: amdgpu: [powerplay] failed to send message 260 ret is 65535
Jun 02 09:54:16 kernel: amdgpu: [powerplay] last message was failed ret is 65535
Jun 02 09:54:16 kernel: amdgpu: [powerplay] failed to send message 260 ret is 65535
Jun 02 09:54:16 kernel: amdgpu: [powerplay] last message was failed ret is 65535
Jun 02 09:54:16 kernel: amdgpu: [powerplay] failed to send message 260 ret is 65535
Jun 02 09:54:16 kernel: amdgpu: [powerplay] last message was failed ret is 65535
Jun 02 09:54:16 kernel: amdgpu: [powerplay] failed to send message 260 ret is 65535
Jun 02 09:54:17 kernel: [drm] Initialized amdgpu 3.30.0 20150101 for 0000:04:00.0 on minor 0
Jun 02 09:54:20 kernel: amdgpu 0000:04:00.0: [drm:amdgpu_ib_ring_tests [amdgpu]] *ERROR* IB test failed on gfx (-110).
Jun 02 09:54:21 kernel: [drm:amdgpu_device_ip_late_init_func_handler [amdgpu]] *ERROR* ib ring test failed (-110).

Eventually the boot just hangs with no disk activity.

What motherboard are you using?

I’m using Gigabyte G1.Sniper3 (z77) with latest bios.

Interested parties can track the progress here: booting with kernel version 5.1.0 or higher on RX 580 hangs