[amdgpu] [Fiji] Fedora 32 Linux kernel 5.7.x crashes

Started by tle, August 27, 2020, 11:50:42 PM

Previous topic - Next topic

tle

Wondering if anyone has bumped into the issue with amdgpu crashing the kernel upon booting up? I am trying to isolate if this issue occurs to all radeon gpu or not.... or could it be related to something else.

I've reported the issue at https://bugzilla.redhat.com/show_bug.cgi?id=1855976 and https://gitlab.freedesktop.org/drm/amd/-/issues/1293

Many thanks in advance

P/S: My card is Radeon R9 Nano and the old kernel 5.6 works correctly.

** UPDATE **

I manage to get the card working by adding `amdgpu.dc=0` to the kernel parameter. Verified with 5.7.0

However yet there is likely another regression with kernel 5.8.x and 5.9.x because the driver crashes instantly upon loading up.

** UPDATE **

Kernel 5.8, 5.9 and 5.11 runs perfectly if the kernel is compiled with 4K pages

** UPDATE **

Kernel 5.10.5 to 5.10.24 runs perfectly with either 64K or 4K pages! So if you are on FC33, you don't have to do anything, it would just work! :D
FYI Fedora 33 skips 5.10.24 to jump straight to 5.11.7. If you are looking for the F33 RPMs for the 5.10.x series, check out my fork at https://github.com/runlevel5/fedora-linux-kernel/releases/tag/5.10.24.f33

** UPDATE **

Kernel 5.11.12 or older (64K pages) still suffers the same issue. Please make sure you use 5.11.12 or newer
Faithful Linux enthusiast

My Raptor Blackbird

MauryG5

Hi TLE, I also reported the same problem to the Fedora team. Kernel 5.7.X still does not work with AMD Navi GPUs. We have arrived at version 5.7.15 if I remember correctly, or 5.7.14, but the Kernel still does not boot under Navi. I have the Navi 10 Radeon 5700 XT. They haven't answered me yet, I don't know if any of you have received an answer regarding the problem that has persisted for months now on this Kernel ...

MPC7500


ClassicHasClass

No problem with my WX7100 (Polaris), so it may be specific to Navi cards.

MPC7500

I have a Navi, too with no problem and the R9 Nano is a Fiji-GPU, AFAIK.

MauryG5

Yes guys, the problem is unfortunately specific to Navi 10 Radeon 5700 / 5700XT, or Radeon Nano R9. The problem does not arise on yours. We hope that at least for the 5.8.X Kernel they solve because it seems to me that by now for 5.7.X the thing will remain as it is at this point ...

tle

I've just tried with 5.8.4 (testing kernel from bodhdi build system) and yeah... the problem is still there
Faithful Linux enthusiast

My Raptor Blackbird

MauryG5

With 5.8.X still have not solved?  But it is absurd sorry, possible that they ignore our complaints from various parts ?!

tle

I can confirm this issue also occur on Void Linux 5.8. So it is definitely regressed upstream

Faithful Linux enthusiast

My Raptor Blackbird

MPC7500


MauryG5

Guys at this point I think the only thing to do is report directly to the team that develops the Linux Kernel. There is something they have put that does not go from version 5.7.X onwards and from that moment it seems they are unaware that it no longer works, they do not know that the Kernel is no longer having the Navi or Nano cards ...

tle

I've lodged a new ticket on amd drm repo
Faithful Linux enthusiast

My Raptor Blackbird

MauryG5

Thanks for what you do TLE, your contribution to the Power community is always valuable.  Let's hope someone moves because this problem has been going on for a long time now unfortunately.  Every Kernel that I install with the update, I am forced to delete it immediately after as it does not work, this thing is frustrating ...

pocock

Did anybody test the Navi cards with 4k kernel page size, as described in the other thread?

That fixed the issues for Nouveau
Debian Developer
https://danielpocock.com

MPC7500

I assume it has nothing to do with that, because with kernel 5.4 and the patch it worked perfectly. It's a FP regression (at least for Navi).