Steam games freezing after few minutes

kate (an editor) is installed ?

then you’ll need to edit the grub and mkinitcpio with sudo rights. if you use kate you’re simply asked for sudo-passwd at saving.

edit /etc/default/grub and add

nvidia_drm.modeset=1 

to the existing

GRUB_CMDLINE_LINUX_DEFAULT="

edit /ect/mkinitcpio.conf

MODULES=(nvidia_modeset nvidia_uvm nvidia_drm)

run

sudo mkinitcpio -P
sudo update-grub

done ? we can proceed with the next steps if succesful edited.