sudo mhwd -r pci video-linux
then
sudo mhwd -i pci video-nvidia
On gnome you might have to enable early kms. As administrator edit the /etc/mkinitcpio.conf
and make the MODULES=
line like this
MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)
then run from terminal:
sudo mkinitcpio -P
sudo update-grub
Also, you probably have autologin on and is trying wayland session and not always starts (at least on my end does funky things)