Nvidia Driver Not Loading and Second Monitor Issues

Well I just ran dkms autoinstall, and you can see the output here. What is interesting is that it yelled at me for a lack of a dkms.conf file for the nvidia drivers for version 525. Which is weird because I don’t have the nvidia-dkms 525.78.01 installed, as seen by pacman:

# pacman -Q nvidia-dkms nvidia-utils
nvidia-dkms 530.41.03-1
nvidia-utils 530.41.03-1

So I’m guessing that’s the reason why the drivers aren’t loading? I’m not sure why that is or what I can do about it though.

I have not yet tested other kernels, but I can do that today. I wasn’t able to get dkms to make the drivers for the only other kernel i have installed, which is the base linux kernel. I’m not sure why but I’ll post the command output anyways:

# dkms autoinstall -k 6.3.1.arch1-1
Error! Could not locate dkms.conf file.
File: /var/lib/dkms/nvidia/525.78.01/source/dkms.conf does not exist.
Error! Your kernel headers for kernel 6.3.1.arch1-1 cannot be found at /usr/lib/modules/6.3.1.arch1-1/build or /usr/lib/modules/6.3.1.arch1-1/source.
Please install the linux-headers-6.3.1.arch1-1 package or use the --kernelsourcedir option to tell DKMS where it's located.
Error! Your kernel headers for kernel 6.3.1.arch1-1 cannot be found at /usr/lib/modules/6.3.1.arch1-1/build or /usr/lib/modules/6.3.1.arch1-1/source.
Please install the linux-headers-6.3.1.arch1-1 package or use the --kernelsourcedir option to tell DKMS where it's located.
dkms autoinstall on 6.3.1.arch1-1/x86_64 failed for hid-xpadneo-v0.9-131(1) hid-xpadneo(1)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information

It does give the same error for no dkms.conf file so I guess I will have to look into that.