Switching to nvidia video-575 without breaking dependencies?

I would like to change my device driver to nvidia-575xx. I am currently using video-hybrid-intel-nvidia-prime. Through the manjaro settings manager, I choose to use the 575 driver or remove the video-hybrid driver but it breaks all kinda of dependencies, steam, vulkan and other random apps that I have. I figured its unreasonable to try and uninstall all the dependencies and that there must be some other way of doing things. I don’t mind using the terminal as long as I have clear documentation. any tips would be much appreciated, thank you

There are more than one method…

I would start with

$ mhwd -l

It lists available drivers.

$ mhwd -li

will tell you what driver is installed.

$ sudo mhwd -r pci {video-nvidia}

can be used to remove existing driver, whereas {video-nvidia} needs to be replaced by the real name of it.

sudo mhwd -i pci {video-nvidia-475xx}

will install the selected driver, again {video-nvidia-475xx} needs to be replaced by real name.

Install git & base-devel, if not already installed:

$ sudo pacman -S git base-devel

In some cases

$ sudo mhwd -i pci video-nvidia-dkms

could be helpful, too.

Make sure to have the linux-headers installed for your kernel:

$ sudo pacman -S $(mhwd-kernel -li | grep '*' | cut -d ' ' -f5 | awk '{print $0,"-headers"}' | sed s'/ //'g)

will install the kernel-headers for your kernel(s).

If everything has been successfully installed, reboot.

2 Likes

Here is my approach:

I had listed the installed driver

mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2025.09.29               false            PCI
     video-modesetting            2020.01.13                true            PCI
           video-linux            2024.05.06                true            PCI

I had tried to uninstall it:

$ sudo mhwd -r pci video-hybrid-intel-nvidia-prime
...
Abhängigkeiten werden geprüft …
Fehler: Vorgang konnte nicht vorbereitet werden (Kann Abhängigkeiten nicht erfüllen)
:: Entfernen von linux617-nvidia verletzt Abhängigkeit »linux617-nvidia«, benötigt von linux-nvidia-meta
Error: pacman failed!
Error: script failed!

But there were some dependencies. So I removed this packages

sudo pacman -R linux-nvidia-meta linux617-nvidia

After that, $ sudo mhwd -r pci video-nvidia works.
Next I’ve rebooted, in this session the nouveau-driver was used.
I’ve lisetd all available drivers

mhwd -la

the next older prime driver was video-hybrid-intel-nvidia-470xx-prime, but when I tried to install it, I got another dependency.

sudo mhwd -i pci video-hybrid-intel-nvidia-470xx-prime
Nach in Konflikt stehenden Paketen wird gesucht …
:: libxnvctrl-470xx-470.256.02-2 and libxnvctrl-580.119.02-1 are in conflict. Remove libxnvctrl? [j/N] Fehler: Nicht auflösbare Paketkonflikte gefunden
Fehler: Vorgang konnte nicht vorbereitet werden (In Konflikt stehende Abhängigkeiten)

:: libxnvctrl-470xx-470.256.02-2 and libxnvctrl-580.119.02-1 are in conflict
Error: pacman failed!
Error: script failed!

So I’ve treid to remove the package libxnvctrl

sudo pacman -R libxnvctrl
                              
Abhängigkeiten werden geprüft …
Fehler: Vorgang konnte nicht vorbereitet werden (Kann Abhängigkeiten nicht erfüllen)
:: Entfernen von libxnvctrl verletzt Abhängigkeit »libxnvctrl«, benötigt von conky
:: Entfernen von libxnvctrl verletzt Abhängigkeit »libXNVCtrl.so=0-64«, benötigt von conky
:: Entfernen von libxnvctrl verletzt Abhängigkeit »libxnvctrl«, benötigt von xfce4-sensors-plugin

but that ended up in yet another dependency.
In the end, I removed all of these packages and was then able to install the driver.

sudo pacman -R xfce4-sensors-plugin conky libxnvctrl

So I was able to install the older prime-driver

sudo mhwd -i pci video-hybrid-intel-nvidia-470xx-prime

Since then everything works fine.

1 Like

Ok it went mostly right, I just had to make that anything related to steam was uninstalled. After installing the kernel headers I had some errors.

==> ERROR: Missing 6.12.62-1-MANJARO kernel modules tree for module xone/0.5.0.
==> ERROR: Missing 6.12.62-1-MANJARO kernel modules tree for module vmware-workstation/25H2_24995812.
==> ERROR: Missing 6.12.62-1-MANJARO kernel modules tree for module hid-xpadneo/v0.9.7.

I’ll restart anyways since xone is for xbox controllers, and the xpad im assuming is for my touch pad? Doesn’t seem like a big deal

Everything is good. Thank you for your help.

1 Like

Beware. That command has broken my system completely. Now it can’t load , the loading stops at bios screen end the line

“Verifying dmi pool data”.

As I understand, I somehow damaged my efi or boot sector, and even recovery of this partition using clonezilla doesn’t help.

It is extremely unlikely this command was the problem. So extremely, I’d almost say impossible.

Except if you ran and used it on an unmaintained system, which I suspect was the case.

1 Like