I had problems with my screen resolution after an unfortunate Arch update and this helped
yay -S nvidia-580xx-dkms nvidia-580xx-utils lib32-nvidia-580xx-utils nvidia-settings
This update command assumes you use AUR and your graphics card is similar