You need to have nvidia-installer-dkms installed first if it’s not to install nvidia. So if it’s not installed then.
sudo pacman -S nvidia-installer-dkms
Then what i would do is install the nvidia drivers with the installer.
sudo nvidia-installer-dkms
Once the install is completely finished don’t reboot.
Now you want to add all the enhancements as per the wiki.
sudo nano /etc/default/grub
add this to the default grub command line
nvidia-drm.modeset=1
Looks like this as an example:
GRUB_CMDLINE_LINUX_DEFAULT="nvidia-drm.modeset=1 resume=UUID=...
Then save the file
ctrl + o then enter to save
ctrl + x to exit nano
Then run
sudo grub-mkconfig -o /boot/grub/grub.cfg
Then
sudo nano /etc/mkinitcpio.conf
add this to MODULES =
MODULES="nvidia nvidia_modeset nvidia_uvm nvidia_drm"
ctrl + o then enter to save
ctrl + x to exit nano
Then run
sudo mkinitcpio -P
Then
sudo nano /etc/X11/xorg.conf.d/20-nvidia.conf
add this to the file so it is the same
Section "Device"
Identifier "Nvidia Card"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "NoLogo" "true"
EndSection
Section "Screen"
Identifier "nvidia"
Option "metamodes" "nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"
Option "TripleBuffer" "on"
Option "AllowIndirectGLXProtocol" "off"
EndSection
ctrl + o then enter to save
ctrl + x to exit nano
Then install the hooks package
sudo pacman -S nvidia-hook
reboot
Edit Your card should be supported by the current nvidia drivers.