I switch gpu from nvidia to amd and now arch linux does not work
As it says in the title now I am left with blank screen btw gpu that I use now is rx580 and it works in windows 10 but in arch linux it does not work. My previous gpu was gtx 1050 and I uninstall drivers from that gpu in arch "sudo pacman -R nvidia..." and insert rx 580 and now it says lightdm fail to start so I went to tty1 and reinstall and reenable lightdm now it only showes blinking white line. What should I do now? Should I reinstall arch or is there anyway to just switch from one gpu to another withouth reinstalling whole system from scratch?
About this post
- Posted
- Archived
- Score
- 0 · 50% up
- Kind
- Text
- ID
- ipj63q
12 comments
Did you create an xorg file for Nvidia?
If so then delete it.
Yes tnx man. But I forgot where is that xD. I will try to find it.
The wiki mentions this location:
Try to use locate nvidia.conf to find it.
Have you:
?
lspci -nnk | grep "VGA\|300" -A 3find /etc/X11 -iname "*.conf" -print -execdir cat "{}" \;find /etc/modules-load.d /etc/modprobe.d -iname "*.conf" -print -execdir cat "{}" \;lsmod | grep -i "nvidia\|amd\|kms"a few helping commands
Did you install the drivers for the AMD GPU?
I only installed mesa, is there anything more I should install?
Yes. Mesa is just an OpenGL implementation. It is not a graphics driver proper.
https://wiki.archlinux.org/index.php/AMDGPU
You want
xf86-video-amdgpu. You probably also wantvulkan-radeon.First things first, you definitely do not need to install from scratch. I made the switch a few months ago myself.
Lutris's docs repo has a one-liner for installing graphics drivers. I would uninstall the Nvidia packages, install the AMD ones, remove any Nvidia-specific configuration on the machine (you can use 'ack' in the terminal to search for leftover stuff).
Tnx I will try it