Skip to content

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?

0 points12 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 50% up
Kind
Text
ID
ipj63q

Author

5
posts
23
comments
0
media
View profile

12 comments

Did you create an xorg file for Nvidia?

If so then delete it.

6 points

Yes tnx man. But I forgot where is that xD. I will try to find it.

0 points

The wiki mentions this location:

/etc/X11/xorg.conf.d/20-nvidia.conf   

Try to use locate nvidia.conf to find it.

8 points

Have you:

  • Uninstalled the nvidia driver before
  • made sure that Kernel Mode Settings will work (are not blocklisted somewhere)
  • made sure that amdgpu is not blocklisted somewhere
  • removed every xorg configuration from /etc/X11 that contains graphics or output related things
  • rebuild your initram image maybe also with amdgpu included (modules section)

?

lspci -nnk | grep "VGA\|300" -A 3
find /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

3 points

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).

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.