https://bugs.kde.org/show_bug.cgi?id=471809

            Bug ID: 471809
           Summary: [Wayland] [NVIDIA] Compositing fails under vram
                    exhaustion
    Classification: Plasma
           Product: kwin
           Version: 5.27.6
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: spr...@redhat.com
  Target Milestone: ---

SUMMARY

Under vram exhaustion scenarios, windows, menus, etc, will all fail to render.
Windows show only titlebar and become completely transparent. The following
errors in the log:

Jun 30 21:37:51 graviton.localdomain kwin_wayland_wrapper[50295]:
src/nv_gbm.c:99: GBM-DRV error (nv_gbm_bo_create):
DRM_IOCTL_NVIDIA_GEM_ALLOC_NVKMS_MEMORY failed (ret=-1)
Jun 30 21:37:51 graviton.localdomain kernel:
[drm:nv_drm_gem_alloc_nvkms_memory_ioctl [nvidia_drm]] *ERROR* [nvidia-drm]
[GPU ID 0x00000100] Failed to allocate NVKMS memory for GEM object
Jun 30 21:37:51 graviton.localdomain kwin_wayland_wrapper[50295]: Error getting
buffer



STEPS TO REPRODUCE
1. Run KDE Wayland with Nvidia driver
2. Open applications/games/etc to exhaust vram
3. Attempt to manipulate other windows, minimize/maximize, attempt to open the
start menu, etc, they won't render on the screen

OBSERVED RESULT
Windows render only titlebar, no content. Start menu on the desktop gains the
blue tick like it's opened, but not visible


EXPECTED RESULT
Windows/menus/etc work and are visible


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 38 KDE Plasma Wayland
KDE Plasma Version: plasma-workspace-wayland-5.27.6-1.fc38.x86_64
KDE Frameworks Version: kde-runtime-17.08.3-26.fc38.x86_64
Qt Version: qt5-qtwayland-5.15.10-1.fc38.x86_64

ADDITIONAL INFORMATION
Even after vram is freed up, the windows need to be minimized/maximized again
for them to be visible. Not sure if other stuff is broken elsewhere in the
stack by this behavior. The windows still accept input, despite the broken
compositing.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to