Kwin_wayland crash with "Out of memory" and "Failed to map NvKmsKapiMemory" during multi-video web rendering (Chromium)

Hi,

I am experiencing severe graphical crashes and session lockups under KDE Plasma Wayland when browsing pages with high-concurrency video/stream playback (e.g., live streaming platforms with multiple auto-playing videos) using Chromium.

When the crash occurs, the kernel logs repeatedly throw out-of-memory assertions followed by a pageflip timeout, crashing the KWin Wayland compositor.

System Environment:

  • OS: Arch Linux

  • Desktop Environment: KDE Plasma 6.7.4 (Wayland)

  • Kernel: 7.1.5-arch1-2 (64-bit)

  • GPU: NVIDIA GeForce RTX 4060 Ti

  • Driver Version: [610.43.03]

  • Browser: Chromium

Error Logs from dmesg:

NVRM: nvAssertOkFailedNoLog: Assertion failed: Out of memory [NV_ERR_NO_MEMORY] (0x80000051) returned from pReuseMapping->pMapCb(...)
[drm:__nv_drm_gem_nvkms_map [nvidia_drm]] *ERROR* Failed to map NvKmsKapiMemory
Pageflip timed out! This is a bug in the nvidia-drm kernel driver

Steps to Reproduce:

  1. Log into a KDE Plasma Wayland session.

  2. Open Chromium and navigate to a page with multiple dynamic/auto-playing video streams (such as a live broadcast square)(me personally titok).

  3. Within a short period of high-concurrency surface creation/rendering, the screen freezes, throwing the NV_ERR_NO_MEMORY and Pageflip timed out errors in the kernel.