| Summary: | Emacs in fullscreen freezes when you run out of GPU memory | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Björn Lindqvist <bjourne> |
| Component: | xwayland | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | normal | CC: | xaver.hugl |
| Priority: | NOR | ||
| Version First Reported In: | 6.4.4 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Emacs in fullscreen does not freeze if I run kwin_x11 only kwin_wayland. KWin doesn't allocate buffers for apps, and the graphics driver has to handle out of memory situations (apps don't generally do that themselves). Please report this at https://forums.developer.nvidia.com/c/gpu-graphics/linux |
My old Nvidia GPU only have 2 GB of VRAM so I frequently run out of memory when I run DNN training on it: [drm:nv_drm_gem_alloc_nvkms_memory_ioctl [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00006500] Failed to allocate NVKMS memory for GEM object When that happens and Emacs is in fullscreen mode Emacs becomes totally unresponsive. It does not happen when Emacs is not in fullscreen mode so I infer that the error is related to how kwin handles out of memory errors.