AMD Radeon RX 6800 XT not working
I'm new to Arch Linux, and I have it running on a computer with an AMD Radeon RX 6800 XT graphics card, but I can't get the card to work with Arch. I have tried many tutorials, but I always end up with a black screen and a blinking cursor when trying to boot. I know the card isn't defective because it works just fine with windows. I can also run Arch just fine with on-board graphics.
Edit: It's the desktop environment that doesn't work. It worked just fine before I installed the desktop environment.
Edit 2: I think I solved the problem! I switched from lightdm to xdm. I'm not sure how well xdm will work for gaming, but it doesn't seem to be a problem. It's a bit awkward logging in through a text based tty and typing startxfce4 every time, but I bet I can find some way to fix that. Thanks for the help!
Edit 3: My temporary solution isn't so great for gaming, so I would like to try getting lightdm working. Xdm actually wasn't working either. Running lspci -k lists my card as a "VGA compatible controller, which is weird since my card only has hdmi and displayport. Is it supposed to be listed that way?
Edit 4: When I run it without lightdm-gtk-greeter installed, it actually says that lightdm failed.
Edit 5: Silly me. I just had to install the drivers before installing lightdm. That fixed the whole problem.
Edited 6 Jul 2022. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 6 · 67% up
- Kind
- Text
- ID
- vrflyl
40 comments
What drivers are you using for it? Running 6900xt on arch, and it is same driver that should be used for 6800/XT without issue.
I tried a few different drivers, so I'm not sure which one I'm using right now. I'm not even sure I installed them correctly.
Use
lspci -kand look to see what graphics driver is in use, eitherradeonoramdgpu. Whichever one you're using now, you can try the other. The wiki will tell you how to blacklist the one you don't want to use, and you will use the other one by default (assuming it's installed).I have a RX 6700 XT working completely fine. This is the command I use:
pacman -S mesa vulkan-radeon libva-mesa-driver mesa-vdpau gnomeObviously gnome (desktop environment) is a personal preference. libva and vdpau are hardware acceleration libraries so the only "required" packages are mesa and vulkan-radeon. After that I enable GDM using:
systemctl enable gdmI'm using lightdm instead of gdm. I don't know if I have libva-mesa-driver or mesa-vdpau installed though. I'll try installing those.
black screen and a blinking cursoris what happens when the BIOS can't find anything to boot a lot of the time (if you never see any linux text before that). If you do see linux text before that, you should post the Xorg logs from either /var/log/Xorg.0.log or .local/share/xorg/Xorg.0.log (whichever is more recent). You probably also want to add amdgpu to your initcpio.I was able to use grub, and I saw some loading text, but then the screen turned off and turned back on and gave me a blinking cursor. I will try to upload my xorg logs. Also, how do you make pink text? I'm new here.
https://wiki.archlinux.org/title/kernel_mode_setting#Early_KMS_start do this and see if it helps
EDIT: I have no idea what pink text is lol
Disable fast boot? (in EFI settings)
If you can't even see the login tty at all, it probably means there's an issue that's not drivers.
What happens when you press the power button?
The power button turns it off. When I change tty, I can see the login tty. But on tty1, It just loads indefinitely.
Ok, this means is the loading of the display manager, try a different one as a starting point, maybe you already did.
Deleted before we saved it.
The driver you need is amdgpu, radeon is for older AMD gpus.
Make sure you have the linux-firmware package installed as well.
If it still fails, give a tries at early KMS https://wiki.archlinux.org/title/Kernel_mode_setting#Early_KMS_start
If it still fails, look at dmesg (log into a console tty by pressing ctrl+alt+F2 and run sudo dmesg) and look for amdgpu, there should be some errors when loading which could help troubleshoot
I ran dmesg, but I had trouble finding anything in the sea of text that is generated. I don't think it said anything about amdgpu. I'm having trouble telling if amdgpu even loaded. When I type mkinitcpio -M, I can see amdgpu listed, but I'm not sure if that means it actually loaded.
Edit: I tried using lspci -k and checking the id of my graphics card. I searched for that id in the dmesg output, and I found something about it being set as a vga device. I think this might be the problem, since my graphics card has no vga ports. I also saw a few more errors like "SECUREDISPLAY: securedisplay ta ucode is not available" and "SRAT table not found", but I don't know what they mean.
Connect something to the motherboard output and to the gpu output, then you can see if it is taking the other, then it is configuration, not drivers, this can happen to me in my laptop with intel gpu and nvidia gpu also and that is the cause.
In other case it can be something with the display manager (the part before the desktop environment or window manager, the one that gives the login screen) i have seen that problem also in ubuntu mostly.
If the system boots then is something that can be solved, but not many people actually runs systems with more than one gpu outside laptops, and there is mostly intel/nvidia, so, people with the exact same problem can be hard to find, i can only point you to the problems i have seen, the most compatible display manager is the one from x11, is very ugly, but it solved the boot up to that point when i saw an error similar to yours.
When I plug a monitor into the motherboard and one into the gpu, the motherboard one works just fine, but the gpu one says "error: file `/boot/grub/locale/C.gmo' not found.".
Hello, sorry if I'm not going to be much help.
I assume AMD you can simply install mesa drivers? There's also a detailed guide on the arch wiki about AMDGPU which you can find here: https://wiki.archlinux.org/title/AMDGPU I would give that a read and see if you can pinpoint your exact issue.
Try something like:
sudo pacman -S vulkan-radeon mesa xf86-video-amdgpuThis should install mesa and radeon packages, which should get your GPU up and running within arch without much additional setup. For screen resolution etc you can use xrandr or arandr if you prefer UI based things.
Hope this gets you a bit further.
I didn't install radeon, but I will try that.
Edit: I tried installing radeon and it said it couldn't find the package.