Can't load system using nvidia driver

Hey @megavolt, thx for staying with me .
Yeah, i think the point #1 is to fix this err.
So, first of all, i reinstalled my kernel to 5.10, becouse i got this error on 5.4, that i previously being running.

After i tried to reinstall nvidia-utils, but got bunch of conflict file in /usr/lib.
I checked the folder, and all of them was symlinks to files with bad version - 470.57.02 in their name. So i grepped the and deleted.

After this nvidia-utils, been installed.

Then i tried to reinstall nvidia-driver with:
sudo mhwd -i pci video-nvidia
bot got same confilict files, but for this time in /usr/lib32 folder, done same operation again. Done, driver installed.

Previosly i got those errors, but lust time to reinstall packages i used --overwrite flag for pacman, which basicly told system to ignore them. So for this time i deleted some extra nvidia proproetary files.

As well i reinstalled
video-modesetting and video-linux
drivers.

After i regenerated kernel snap with:
mkinitcpio -P
just to be sure i’m no fighting with cache.

Ok, cool, now i tried to boot on nvidia chip, previosly generated config with:

nvidia-xconfig --prime

and i’m stuck with same error.

I cannot find anymore files in /usr/lib* folders, tried with:

sudo find /usr/lib32 | grep .57.02
sudo find /usr/lib | grep .57.02

If i search through all system, that’s output i got:

/var/cache/pacman/pkg/nvidia-utils-470.57.02-1-x86_64.pkg.tar.zst
/var/cache/pacman/pkg/lib32-nvidia-utils-470.57.02-1-x86_64.pkg.tar.zst.sig
/var/cache/pacman/pkg/nvidia-utils-470.57.02-1-x86_64.pkg.tar.zst.sig
/var/cache/pacman/pkg/linux414-nvidia-470.57.02-3-x86_64.pkg.tar.zst.sig
/var/cache/pacman/pkg/lib32-nvidia-utils-470.57.02-1-x86_64.pkg.tar.zst
/var/cache/pacman/pkg/mhwd-nvidia-470.57.02-1-any.pkg.tar.zst
/var/cache/pacman/pkg/linux414-nvidia-470.57.02-3-x86_64.pkg.tar.zst

but im not sure that pacman cache can somehow affect boot process.
So the question for a moment is:

Any ideas where to search for files that causing this version conflict error?

Nope, --prime means: display with intel. Look: sudo mhwd -i pci video-nvidia also creates /etc/X11/xorg.conf.d/mhwd-gpu.conf which contains everything for nvidia only. So no need to create a new configuration.

If you really need this, then this should work for you:

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "intel"
    Inactive "nvidia"
    Option "AllowNVIDIAGPUScreens"
EndSection

Section "Device"
    Identifier "intel"
    Driver "modesetting"
    BusID "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier "intel"
    Device "intel"
EndSection

Section "Device"
    Identifier "nvidia"
    Driver "nvidia"
    BusID "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "nvidia"
    Device "nvidia"
EndSection

Version 470.57.02-1 is the older one, current one is: 470.63.01-1

The paths which are used by the nvidia installer are here listed: Chapter 5. Listing of Installed Components

1 Like

So, congrats, we did it! I finally launched my system under NVIDIA GPU.

So, the steps that i did to clean to do this:

  • I uninstalled drivers via nvidia-installer --uninstall
  • All of the drivers that didn’t unistalled via installer, i deleted manually using list from the bottom of the page - Chapter 5. Listing of Installed Components

CAUTION: there is libGl files in this list, deleting this module you will fall into blank screen, if you did so, just run:

sudo pacman -S libgl
  • Then i installed the new one with
sudo mhwd -i pci video-nvidia

On last(5) step, follow SDDM instructions, but paste only line with –auto, other one will throw you into blank screen again.

  • And finnaly, reboot and check you’r renderer
glxinfo | grep "OpenGL renderer"

Many thanks to @megavolt and all other guys who participated in this thread, together we are the power, without you i would never fix this. I took almost 3 months, so with you’r help i became happy!)

1 Like

Just to clarify the guide is not mine it was written by @jonathon but he left. AS it was stored on the old forum I tough it would be a nice idea to have it saved in a another place.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.