You are not logged in.
So I figured out I had the wrong drivers installed for my GPU, so I went out and tried to install them from the AUR. When building the package, I was met with the following error message:
Error! Module version 470.199.02 for nvidia.ko.zst
is not newer than what is already found in kernel 6.4.12-arch1-1 (535.104.05).
You may override by specifying --force.
Error! Module version 470.199.02 for nvidia-modeset.ko.zst
is not newer than what is already found in kernel 6.4.12-arch1-1 (535.104.05).
You may override by specifying --force.
Error! Module version 470.199.02 for nvidia-drm.ko.zst
is not newer than what is already found in kernel 6.4.12-arch1-1 (535.104.05).
You may override by specifying --force.
Error! Module version 470.199.02 for nvidia-peermem.ko.zst
is not newer than what is already found in kernel 6.4.12-arch1-1 (535.104.05).
You may override by specifying --force.
I then tried running makepkg -si --force in the directory so I could override those modules and get my driver working, but then, I was met with:
==> Making package: nvidia-470xx-utils 470.199.02-4 (Tue 29 Aug 2023 07:07:54 PM -03)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found nvidia-drm-outputclass.conf
-> Found nvidia-470xx-utils.sysusers
-> Found nvidia-470xx.rules
-> Found NVIDIA-Linux-x86_64-470.199.02.run
-> Found kernel-6.4.patch
-> Found kernel-6.5.patch
==> Validating source files with sha512sums...
nvidia-drm-outputclass.conf ... Passed
nvidia-470xx-utils.sysusers ... Passed
nvidia-470xx.rules ... Passed
NVIDIA-Linux-x86_64-470.199.02.run ... Passed
kernel-6.4.patch ... Passed
kernel-6.5.patch ... Passed
==> Extracting sources...
==> Starting prepare()...
Creating directory NVIDIA-Linux-x86_64-470.199.02
The directory 'NVIDIA-Linux-x86_64-470.199.02' already exists. Please either
move the existing directory out of the way, or specify a
different directory with the '--target' option.
==> ERROR: A failure occurred in prepare().
Aborting...
But when I try to enter that directory:
cd NVIDIA-Linux-x86_64-470.199.02
cd: no such file or directory: NVIDIA-Linux-x86_64-470.199.02
I managed to do some sort of workaround by just doing
dkms install --no-depmod nvidia/470.199.02 -k 6.4.12-arch1-1
which did get my drivers installed, but I reckon it didn't complete the installation as the old modules are still in place, which I think is causing some issues in games such as Overwatch 2, I could play it fine on Manjaro (which installs the GPU drivers automatically), but since I believe I have messed up my installation of my drivers on Arch it just open and gives me the no graphics hardware detected error message. I'm also sort of new to Arch, so I ask for your patience. Thanks.
Offline
What nvidia packages are installed to cause the initial issue or have you installed 535.104.05 without using a package?
pacman -Qs nvidia
You may override by specifying --force.
Is to be used with dkms not with makepkg
NVIDIA-Linux-x86_64-470.199.02 will be inside $srcdir
cd src/NVIDIA-Linux-x86_64-470.199.02
You can also clean $srcdir before building makepkg.8
$ makepkg -Csi --force
Offline