Create the file /etc/modprobe.d/nvidia-modeset.conf
.
Add setting options nvidia_drm modeset=1
inside the file.
Then sudo update-initramfs -u
in the terminal.
Restart.
This generates some input lag, but seems comparable to the default Intel setting with the integrated graphics.
Games play fine (e.g. FPS games).