AMD Navi 14 problem

Hi,
I can not make work last stable or test Manjaro with KDE. I have a new graphics card AMD RX 5500 XT (Navi 14, released few weeks ago, it should be supported from kernel 5.4 and Mesa 19.3 - https://www.phoronix.com/scan.php?page=article&item=amd-rx5500xt-linux&num=2) and I think it is the problem. If I was trying to install Manjaro from flash disc (I've try more tools for making bootflash), eachtime I got this screen: https://ibb.co/XSRw7Jq loading stopped (I was waiting 30 minutes and nothing happens) and I can't do anything. My BIOS is updated.
I've try Manjaro Architect and it works (because it is CLI installation). I can install Manjaro KDE (through Manjaro Architect) but after reboot Manjaro stop during booting (black screen).
I've found some tips: iommu=pt, amdgpu.dpm=0 and iommu=soft. Nothing make it works.
Do you have any ideas how to make it works?
My HW:
Ryzen 2600
AMD RX 5500 XT
MSI B450 Tomahawk
Thank you.

you should read more carefully. You need Kernel 5.5 for the 5500 to get a working GUI:

support is there so as long as you are using the latest bits of Linux 5.5 and Mesa 19.3/20.0-devel. When I received the review sample, I was still running Linux 5.4 stable but unfortunately that is not new enough

You should be able to install 5.5 in architect or from TTY on your existing installation.

I was facing similar issues with my setup (AMD Ryzen 5 3600, AMD Radeon RX 5500 XT) and I was able to boot Manjaro successfully with Kernel 5.5 installed via Manjaro Architect and the following Kernel Boot Parameters:

amd_iommu=off iommu=off amdgpu.noretry=0

The issue apparently being, that IOMMU groups could not be assigned successfully so the Kernel wasn't able to talk to the GPU anymore, hence apparent "hangups" and black-screens. So I disabled IOMMU completely and the machine booted up successfully.

Give it a try

with 5.5rc6, all those parameters should not be necessary anymore.

You say "should" but I still needed those to boot my machine. Removing just one parameter would cause the machine to freeze. Kernel 5.5 is still in development, tho, so things can change on a weekly basis until the final gets released late January to early February. Also, I'm on an X570 chipset, so maybe things are slightly different with those.

rc6 is not in the repo's yet - I just thought that it already is ... Check again when it is here.

Thank you. It works.

Do you have idea when 5.5rc6+ could be in official Manjaro KDE release? I'd like to have official Manjaro KDE and not KDE installed via Manjaro Architect. Thanks.

up until the 18.1 ISO's, the iso's in general had only LTS kernels, which means the current 19.X series should use Kernel 5.4 and the next LTS kernels is not coming out for several months at least.

With 18.1.X, for hardware enablement, non-LTS kernels were used on ISO's.

I am not sure if the general approach will now go towards non-LTS kernels, but I doubt it will.

You might need to spin your own ISO with Kernel 5.5:
https://wiki.manjaro.org/Build_Manjaro_ISOs_with_buildiso

I just upgraded one of my machines from a nVidia GT 740 to a RX 5500 XT and was unable to boot to a GUI. Using the options suggested above has got me up and running, thanks :slight_smile:

Running Kernel 5.5.2-1, Mesa 19.3.4-0.2

could you check if you have a xorg.conf file in /etc/X11/ ? Because coming from a nvidia-system, that file is the most common cause of no-GUI after a switch. xorg.conf generated by the proprietary driver tries to forceload the nvidia driver although it is no longer present.
The boot parameters mentioned by you (which were only quoted by me) could be a workaround for the xorg.conf problem.

Thanks for the response, I wasn't expecting that, just thought I'd post to thank and help/reassure anyone else having the issue, thanks! :slight_smile:

There's nothing I can see that I would expect to interfere...

$ ls /etc/X11 -laR
/etc/X11:
total 40
drwxr-xr-x   5 root root  4096 Mar 12  2019 .
drwxr-xr-x 114 root root 12288 Feb 26 11:44 ..
drwxr-xr-x   2 root root  4096 Feb 26 11:23 mhwd.d
drwxr-xr-x   3 root root  4096 Mar 12  2019 xinit
drwxr-xr-x   2 root root  4096 Feb 26 11:23 xorg.conf.d

/etc/X11/mhwd.d:
total 12
drwxr-xr-x 2 root root 4096 Feb 26 11:23 .
drwxr-xr-x 5 root root 4096 Mar 12  2019 ..

/etc/X11/xinit:
total 28
drwxr-xr-x 3 root root 4096 Mar 12  2019 .
drwxr-xr-x 5 root root 4096 Mar 12  2019 ..
-rw-r--r-- 1 root root  739 Mar  4  2019 xinitrc
drwxr-xr-x 2 root root 4096 Feb 10 11:09 xinitrc.d
-rw-r--r-- 1 root root   45 Mar  4  2019 xserverrc

/etc/X11/xinit/xinitrc.d:
total 20
drwxr-xr-x 2 root root 4096 Feb 10 11:09 .
drwxr-xr-x 3 root root 4096 Mar 12  2019 ..
-rwxr-xr-x 1 root root  318 Nov  9  2018 40-libcanberra-gtk-module.sh
-rwxr-xr-x 1 root root  203 Jan 22 22:16 50-systemd-user.sh

/etc/X11/xorg.conf.d:
total 16
drwxr-xr-x 2 root root 4096 Feb 26 11:23 .
drwxr-xr-x 5 root root 4096 Mar 12  2019 ..
-rw-r--r-- 1 root root  266 May 22  2019 00-keyboard.conf

$ mhwd-gpu --status
:: status
warning: could not find '/etc/X11/xorg.conf.d/90-mhwd.conf'!

1 Like

Looks like I might have spoken too soon! GUI froze after a few hours, ctrl+alt+fX didn't work, but SSH still worked.

Feb 26 13:12:40 butchjaro kernel: divide error: 0000 [#1] PREEMPT SMP PTI
Feb 26 13:12:43 butchjaro kernel: CPU: 2 PID: 1214 Comm: Xorg Tainted: G           OE     5.5.2-1-MANJARO #1
Feb 26 13:12:43 butchjaro kernel: Hardware name: ASUS All Series/H81M-PLUS, BIOS 2205 05/26/2015
Feb 26 13:12:43 butchjaro kernel: RIP: 0010:CalculatePrefetchSourceLines+0x1f4/0x200 [amdgpu]

I then rebooted and it's back up and running again, no boot options needed... Very odd, will have to see how it goes!

try switching to Kernel 5.6 to check if it helps.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by