Then it’s an Nvidia driver or Nvidia config issue.
You may want to test the nvidia-drm.modeset=1 kernel parameter.
nvidia-drm.modeset=1
See my post on the link below for further details: