Hi,
An issue just happened with the second monitor that I have here, it froze and I checked the logs and found this.
kernel: NVRM: nvAssertFailedNoLog: Assertion failed: CliGetEventInfo(rpc_params->hClient, rpc_params->hEvent, &pEvent) @ kernel_gsp.c:467
kernel: NVRM: _kgspProcessRpcEvent: Failed to process received event 0x1003 (POST_EVENT) from GPU0: status=0x57
kwin_wayland[3283]: kwin_wayland_drm: Pageflip timed out! This is a bug in the nvidia-drm kernel driver
kwin_wayland[3283]: kwin_wayland_drm: Please report this at https://forums.developer.nvidia.com/c/gpu-graphics/linux
kwin_wayland[3283]: kwin_wayland_drm: With the output of 'sudo dmesg' and 'journalctl --user-unit plasma-kwin_wayland --boot 0'
kwin_wayland[3283]: kwin_wayland_drm: Pageflip timed out! This is a bug in the nvidia-drm kernel driver
The only thing that was in dmseg was apparmor logs.
kscreenlocker_greet[75901]: qt.qpa.wayland: Could not create EGL surface (EGL error 0x3003)
kscreenlocker_greet[75901]: qt.qpa.wayland: Could not create EGL surface (EGL error 0x3003)
kscreenlocker_greet[75901]: Failed to write to the pipe: Bad file descriptor.
kwin_wayland[3283]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
kwin_wayland[3283]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
kwin_wayland[3283]: kwin_core: XCB error: 3 (BadWindow), sequence: 23863, resource id: 20971577, major code: 129 (SHAPE), minor code: 6 (Input)
kwin_wayland[3283]: kwin_core: XCB error: 3 (BadWindow), sequence: 23994, resource id: 20971579, major code: 129 (SHAPE), minor code: 6 (Input)
kwin_wayland[3283]: kwin_xwl: Could not create a source from 0x573b4b956d80 0
kwin_wayland[3283]: kwin_core: XCB error: 3 (BadWindow), sequence: 24936, resource id: 20971599, major code: 129 (SHAPE), minor code: 6 (Input)
kwin_wayland[3283]: kwin_core: XCB error: 3 (BadWindow), sequence: 25129, resource id: 20971603, major code: 129 (SHAPE), minor code: 6 (Input)
kwin_wayland[3283]: kwin_core: XCB error: 3 (BadWindow), sequence: 25163, resource id: 20971605, major code: 129 (SHAPE), minor code: 6 (Input)
kwin_wayland[3283]: kwin_core: XCB error: 3 (BadWindow), sequence: 25190, resource id: 20971607, major code: 129 (SHAPE), minor code: 6 (Input)
kwin_wayland[3283]: kwin_core: XCB error: 3 (BadWindow), sequence: 25234, resource id: 20971609, major code: 129 (SHAPE), minor code: 6 (Input)
kwin_wayland[3283]: kwin_core: XCB error: 3 (BadWindow), sequence: 25266, resource id: 20971611, major code: 129 (SHAPE), minor code: 6 (Input)
kwin_wayland[3283]: kwin_core: XCB error: 3 (BadWindow), sequence: 25293, resource id: 20971613, major code: 129 (SHAPE), minor code: 6 (Input)
kwin_wayland[3283]: kwin_core: XCB error: 3 (BadWindow), sequence: 25629, resource id: 20971617, major code: 129 (SHAPE), minor code: 6 (Input)
kwin_wayland[3283]: kwin_wayland_drm: Pageflip timed out! This is a bug in the nvidia-drm kernel driver
kwin_wayland_wrapper[3351]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
kwin_wayland[3283]: kwin_xwl: Could not create a source from 0x735c60058850 0
kwin_wayland[3283]: kwin_xwl: Could not create a source from 0x735c60004700 0
The rest are pretty much repetition in the journalctl command that was recommended to run.
While the second monitor froze, the main monitor and the OS remained functional.
Arch Linux based
Nvidia 570