Thanks. I can see the external display is connected by HDMI to the NVIDIA GPU. And you seem to be using Xorg exclusively so this is a bug between Xorg and the NVIDIA driver.
I think it's likely the issue correlates with these error messages:
[drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership
Because that means the NVIDIA driver has lost control of its displays (the external monitor).
As a possible workaround you might like to try adding a kernel parameter:
nvidia_drm.modeset=0
which should at least disable the code path causing the above error message. But to use Wayland you will need to keep the default (nvidia_drm.modeset=1).
Thanks. I can see the external display is connected by HDMI to the NVIDIA GPU. And you seem to be using Xorg exclusively so this is a bug between Xorg and the NVIDIA driver.
I think it's likely the issue correlates with these error messages:
[drm:nv_ drm_master_ set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership
Because that means the NVIDIA driver has lost control of its displays (the external monitor).
As a possible workaround you might like to try adding a kernel parameter:
nvidia_ drm.modeset= 0
which should at least disable the code path causing the above error message. But to use Wayland you will need to keep the default (nvidia_ drm.modeset= 1).