Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#63872 - [linux-zen] amdgpu fails to initialize on RX 5700 XT

Attached to Project: Arch Linux
Opened by pcm720 (pcm720) - Saturday, 21 September 2019, 05:30 GMT
Task Type Bug Report
Category Packages: Extra
Status Unconfirmed
Assigned To No-one
Architecture x86_64
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 2
Private No



On most recent Zen kernel (5.3.0-zen1-1-zen), AMDGPU module hits general protection fault while initializing Navi 10 GPU (RX 5700 XT), locking up the system (see dmesg log attached).
System is completely unresponsive and can't be accessed through SSH.
This doesn't happen with the latest mainline kernel or default Arch Linux kernel.

Steps to reproduce:
1. Install the Zen kernel on the system with Navi 10 GPU;
2. Try to boot.
This task depends upon

Comment by TesX (tesfabpel) - Thursday, 03 October 2019, 11:44 GMT
It also happens to me with linux 5.3.1 but it seems a bit different...
After some tries I found out that a line in journalctl that radeonsi needs LLVM 9 or higher and it's also visibile here

LLVM 9 is not in Arch repos though
Comment by pcm720 (pcm720) - Thursday, 03 October 2019, 11:59 GMT
I have Git versions of LLVM 10 and Mesa 19.3 installed on my system, so this has nothing to do with Mesa: amdgpu initializes without issues on Linux 5.3.1-arch1-1.
tesfabpel, most likely your problem is caused by the lack of Navi support in LLVM 8.