Ok, the logs were right this time.
On your system, you’ll either have to create the file
/etc/modprobe.d/99-prime-sync.conf containing
options nvidia-drm modeset=1
and run
sudo update-initramfs -u
afterwards and reboot.
Alternatively, insert a kernel parameter
nvidia-drm.modeset=1
https://askubuntu.com/questions/19486/how-do-i-add-a-kernel-boot-parameter
to test whether the module option is active, running
sudo cat /sys/module/nvidia_drm/parameters/modeset
should return ‘Y’