Author Topic: [amdgpu] [Fiji] Fedora 32 Linux kernel 5.7.x crashes  (Read 12365 times)

tle

  • Sr. Member
  • ****
  • Posts: 425
  • Karma: +47/-0
    • View Profile
    • Trung's Personal Website
[amdgpu] [Fiji] Fedora 32 Linux kernel 5.7.x crashes
« on: August 27, 2020, 11:50:42 pm »
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
« Last Edit: April 24, 2021, 07:12:44 am by tle »
Faithful Linux enthusiast

My Raptor Blackbird

MauryG5

  • Hero Member
  • *****
  • Posts: 729
  • Karma: +22/-1
    • View Profile
Re: Fedora 32 Linux kernel 5.7.x crashes
« Reply #1 on: August 28, 2020, 03:52:37 am »
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

  • Hero Member
  • *****
  • Posts: 572
  • Karma: +40/-1
    • View Profile
    • Twitter
« Last Edit: August 28, 2020, 10:31:11 am by MPC7500 »

ClassicHasClass

  • Sr. Member
  • ****
  • Posts: 443
  • Karma: +34/-0
  • Talospace Earth Orbit
    • View Profile
    • Floodgap
Re: Fedora 32 Linux kernel 5.7.x crashes
« Reply #3 on: August 28, 2020, 11:14:42 am »
No problem with my WX7100 (Polaris), so it may be specific to Navi cards.

MPC7500

  • Hero Member
  • *****
  • Posts: 572
  • Karma: +40/-1
    • View Profile
    • Twitter
Re: Fedora 32 Linux kernel 5.7.x crashes
« Reply #4 on: August 28, 2020, 11:35:02 am »
I have a Navi, too with no problem and the R9 Nano is a Fiji-GPU, AFAIK.

MauryG5

  • Hero Member
  • *****
  • Posts: 729
  • Karma: +22/-1
    • View Profile
Re: Fedora 32 Linux kernel 5.7.x crashes
« Reply #5 on: August 28, 2020, 05:53:46 pm »
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

  • Sr. Member
  • ****
  • Posts: 425
  • Karma: +47/-0
    • View Profile
    • Trung's Personal Website
Re: Fedora 32 Linux kernel 5.7.x crashes
« Reply #6 on: August 28, 2020, 07:07:26 pm »
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

  • Hero Member
  • *****
  • Posts: 729
  • Karma: +22/-1
    • View Profile
Re: Fedora 32 Linux kernel 5.7.x crashes
« Reply #7 on: August 29, 2020, 05:55:50 am »
With 5.8.X still have not solved?  But it is absurd sorry, possible that they ignore our complaints from various parts ?!

tle

  • Sr. Member
  • ****
  • Posts: 425
  • Karma: +47/-0
    • View Profile
    • Trung's Personal Website
Re: Fedora 32 Linux kernel 5.7.x crashes
« Reply #8 on: September 11, 2020, 10:57:07 am »
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

  • Hero Member
  • *****
  • Posts: 572
  • Karma: +40/-1
    • View Profile
    • Twitter
Re: Fedora 32 Linux kernel 5.7.x crashes
« Reply #9 on: September 11, 2020, 12:04:35 pm »
Yes, since Kernel 5.8.6 I get also a black screen.

MauryG5

  • Hero Member
  • *****
  • Posts: 729
  • Karma: +22/-1
    • View Profile
Re: Fedora 32 Linux kernel 5.7.x crashes
« Reply #10 on: September 11, 2020, 05:23:11 pm »
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

  • Sr. Member
  • ****
  • Posts: 425
  • Karma: +47/-0
    • View Profile
    • Trung's Personal Website
Re: Fedora 32 Linux kernel 5.7.x crashes
« Reply #11 on: September 15, 2020, 08:20:31 pm »
I've lodged a new ticket on amd drm repo
Faithful Linux enthusiast

My Raptor Blackbird

MauryG5

  • Hero Member
  • *****
  • Posts: 729
  • Karma: +22/-1
    • View Profile
Re: [amdgpu] [Fiji] Fedora 32 Linux kernel 5.7.x crashes
« Reply #12 on: September 19, 2020, 06:58:56 am »
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

  • Sr. Member
  • ****
  • Posts: 280
  • Karma: +31/-0
    • View Profile
Re: [amdgpu] [Fiji] Fedora 32 Linux kernel 5.7.x crashes
« Reply #13 on: September 22, 2020, 06:32:27 pm »
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

  • Hero Member
  • *****
  • Posts: 572
  • Karma: +40/-1
    • View Profile
    • Twitter
Re: [amdgpu] [Fiji] Fedora 32 Linux kernel 5.7.x crashes
« Reply #14 on: September 23, 2020, 03:22:04 am »
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).