Try New Technology

Removing the last parts of NVIDIA from Manjaro KDE (after switching to AMD GPU)

by on Jun.02, 2023, under Linux, Techie

I thought I had gotten all of the NVIDIA out of my machine now that I am running on and AMD GPU, but recently when installing an update to the kernel I saw the “kernel-nvidia###” being installed so I went hunting. Below is what I ended up needing to do, and I learned all this by piecing together multiple forums discussions online plus a little bit of guesswork.

Running find /etc/X11/ -name "*.conf" reported there was a “/etc/X11/mhwd.d/nvidia.conf” file found. I removed the file…actually I moved it to another location to be safe.

Running mhwd -l showed everything as expect:

0000:03:00.0 (0300:1002:73a5) Display controller ATI Technologies Inc:
——————————————————————————–
NAME                           VERSION      FREEDRIVER      TYPE
——————————————————————————–
video-linux                    2018.05.04            true                  PCI
video-modesetting       2020.01.13            true                  PCI
video-vesa                   2017.03.12            true                  PCI

Running mhwd -li showed there was a “video-hybrid-amd-nvidia-prime” config still loaded. I had to do the following to fully remove it:

  1. Log Off
  2. Press CTRL+ALT+F2 to launch TTY2
  3. Run sudo mhwd --remove pci video-hybrid-amd-nvidia-prime
  4. Run sudo reboot

NOTE: During the removal process it will look for and resolve/remove any dependency files automatically.

Now when running any of the following: find /etc/X11/ -name "*.conf", mhwd -l, or mhwd -li there is no sign of NVIDIA anywhere.


Comments are closed.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...