Reinstall all Nvidia GPU drivers?

I'll try that guide, And I'll also use your command to see what drivers I actually ended up with.

Anyways, Thanks trying your best on helping me. I'll come back and tell the results of that guide.

No. These are NOT fix instructions. These are debugging instructions. I need you to post the output of them, so I can provide further assistance. Do not reboot.

2 Likes

The output was of the "debugging instructions" you sent were:

> Removing video-nvidia-470xx-dkms...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/local/pci/video-nvidia-470xx-dkms/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
> Successfully removed video-nvidia-470xx-dkms
[root@Mathias-Linux modprobe.d]# ^C
[root@Mathias-Linux modprobe.d]# sudo mhwd -r pci video-nvidia-390xx-dkms
Error: config 'video-nvidia-390xx-dkms' is not installed!
[root@Mathias-Linux modprobe.d]# pacman -Qs nvidia
local/conky-lua-nv 1.12.2-1
    An advanced system monitor for X based on torsmo with lua and nvidia enabled
local/egl-wayland 2:1.1.9+r3+g582b2d3-1
    EGLStream-based Wayland external platform
local/gwe 0.15.5-1
    A system utility for controlling NVIDIA GPUs
local/lib32-libvdpau 1.5-1
    Nvidia VDPAU library
local/lib32-opencl-nvidia-470xx 470.103.01-1
    OpenCL implemention for NVIDIA (32-bit)
local/libvdpau 1.5-1
    Nvidia VDPAU library
local/libxnvctrl-470xx 470.103.01-1
    NVIDIA NV-CONTROL X extension
local/mhwd-nvidia 510.54-1
    mhwd-nvidia pci id
local/mhwd-nvidia-390xx 390.143-1
    mhwd-nvidia-390xx PCI ID database
local/mhwd-nvidia-470xx 470.94-1
    mhwd-nvidia-470xx PCI ID database
local/nvidia 510.68.02-1
    NVIDIA drivers for linux
local/nvidia-dkms 510.68.02-1
    NVIDIA drivers - module sources
local/nvidia-lts 1:510.68.02-2
    NVIDIA drivers for linux-lts
local/nvidia-prime 1.0-4
    NVIDIA Prime Render Offload configuration and utilities
local/nvidia-utils 510.68.02-1
    NVIDIA drivers utilities
local/opencl-nvidia-470xx 470.103.01-1
    OpenCL implemention for NVIDIA
local/xf86-video-nouveau 1.0.17-2 (xorg-drivers)
    Open Source 3D acceleration driver for nVidia cards```

Please post

mhwd -li
[root@Mathias-Linux modprobe.d]# mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2021.08.29                true            PCI
     video-modesetting            2020.07.13                true            PCI


Warning: No installed USB configs!
[root@Mathias-Linux modprobe.d]#

That is the output.

sudo pacman -R gwe lib32-opencl-nvidia-470xx libxnvctrl-470xx nvidia nvidia-dkms nvidia-lts nvidia-prime nvidia-utils opencl-nvidia-470xx
mhwd -i pci video-nvidia-470xx-dkms

My man you had like 4 NVIDIA drivers installed, how did you even manage that? Please post the output of the commands above.

[root@Mathias-Linux modprobe.d]# sudo pacman -R gwe lib32-opencl-nvidia-470xx libxnvctrl-470xx nvidia nvidia-dkms nvidia-lts nvidia-prime nvidia-utils opencl-nvidia-470xx
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing libxnvctrl-470xx breaks dependency 'libxnvctrl' required by conky-lua-nv
:: removing nvidia-utils breaks dependency 'nvidia-utils' required by python-py3nvml
[root@Mathias-Linux modprobe.d]# mhwd -i pci video-nvidia-470xx-dkms
> Installing video-nvidia-470xx-dkms...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/nvidia-470xx-dkms/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
:: Synchronizing package databases...
 core downloading...
 extra downloading...
 community downloading...
 multilib downloading...
 chaotic-aur downloading...
resolving dependencies...
looking for conflicting packages...
:: nvidia-470xx-utils and nvidia-utils are in conflict (nvidia-libgl). Remove nvidia-utils? [y/N] error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)

:: nvidia-470xx-utils and nvidia-utils are in conflict
Error: pacman failed!
Error: script failed!
[root@Mathias-Linux modprobe.d]#

I got errors like this when trying to install drivers yesterday, trying to resolve it manually only made it worse.

The first command you entered had an error. Of course the second one won't work.
Try again with these:

sudo pacman -R gwe lib32-opencl-nvidia-470xx nvidia nvidia-dkms nvidia-lts nvidia-prime nvidia-utils opencl-nvidia-470xx
mhwd -i pci video-nvidia-470xx-dkms
[root@Mathias-Linux modprobe.d]# pacman -R gwe lib32-opencl-nvidia-470xx nvidia nvidia-dkms nvidia-lts nvidia-prime nvidia-utils opencl-nvidia-470xx
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing nvidia-utils breaks dependency 'nvidia-utils' required by python-py3nvml

Do i remove python-py3nvml?

Remove conky-lua-nv aswell

Won’t that remove conky?

Yes add normal conky

Please just let me handle this.

Aight

Since we are going to be reinstalling the correct versions in a second anyway, this should be fine:

sudo pacman -Rdd gwe lib32-opencl-nvidia-470xx nvidia nvidia-dkms nvidia-lts nvidia-prime nvidia-utils opencl-nvidia-470xx libxnvctrl-470xx
mhwd -i pci video-nvidia-470xx-dkms
[root@Mathias-Linux modprobe.d]# mhwd -i pci video-nvidia-470xx-dkms
> Installing video-nvidia-470xx-dkms...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/nvidia-470xx-dkms/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
:: Synchronizing package databases...
 core downloading...
 extra downloading...
 community downloading...
 multilib downloading...
 chaotic-aur downloading...
resolving dependencies...
looking for conflicting packages...
:: nvidia-470xx-utils and nvidia-utils are in conflict (nvidia-libgl). Remove nvidia-utils? [y/N] error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)

:: nvidia-470xx-utils and nvidia-utils are in conflict
Error: pacman failed!
Error: script failed!

owait you edited it

Please see my edit. The formatting of the post was incorrect.

I did it, Only the pacman command got some errors, Those being
==> ERROR: module not found: 'nvidia'

Now what?

Yeah, that error isn't helping unless you post the rest of the logs. Again, still not a magician here.