https://bugs.kde.org/show_bug.cgi?id=519856
Bug ID: 519856
Summary: 4k HDMI High SSD usage because of systemd logs
Classification: Plasma
Product: kwin
Version First 6.6.4
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: scene-opengl
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 192088
--> https://bugs.kde.org/attachment.cgi?id=192088&action=edit
Screenshot of usage
SUMMARY
When i attached the HDMI from my laptop towards a 4k monitor, my ssd starts to
be used (I/O) to 100%. And when i remove it, it goes back down. The issue is an
OpenGL error spam from kwin_wayland.
STEPS TO REPRODUCE
1. Boot into a KDE Plasma Wayland session on a laptop with AMD integrated
graphics (Radeon 780M) and a 4K external monitor.
2. Connect the 4K monitor via HDMI (hot-plug).
3. Observe disk I/O (e.g., with iotop) and the system journal (journalctl -f).
OBSERVED RESULT
A continuous spam of the following two error lines appears in the journal,
repeated hundreds of times per second:
kwin_wayland[PID]: Invalid framebuffer status:
"GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT"
kwin_wayland[PID]: 0x500: GL_INVALID_ENUM error generated. Invalid <face>.
systemd-journald writes this storm to disk at ~20 MB/s, causing 100% SSD
utilization (as shown by iotop). CPU usage may also be elevated.
The problem disappears immediately when the 4K monitor is disconnected or when
using a Plasma X11 session.
EXPECTED RESULT
Connecting the external monitor should not produce any continuous log spam, and
disk I/O should remain at idle levels.
SOFTWARE/OS VERSIONS
Windows: -
macOS: -
Linux/KDE Plasma: Arch Linux (rolling)
KDE Plasma Version: 6.6.4
KDE Frameworks Version: 6.25.0
Qt Version: 6.11.0
Kernel Version: 7.0.3-arch1-2 (64-bit)
Graphics Platform: Wayland
ADDITIONAL INFORMATION
Sometimes it stops by itself, sometimes it starts, it is sometimes intermittent
(maybe because i used sudo journalctl --flush && sudo systemctl restart
systemd-journald --runtime). But usually it runs continuously.
Log spam:
...
May 06 20:54:23 CmL kwin_wayland[2457]: 0x500: GL_INVALID_ENUM error generated.
Invalid <face>.
May 06 20:54:23 CmL kwin_wayland[2457]: Invalid framebuffer status:
"GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT"
May 06 20:54:23 CmL kwin_wayland[2457]: 0x500: GL_INVALID_ENUM error generated.
Invalid <face>.
May 06 20:54:23 CmL kwin_wayland[2457]: Invalid framebuffer status:
"GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT"
May 06 20:54:23 CmL kwin_wayland[2457]: 0x500: GL_INVALID_ENUM error generated.
Invalid <face>.
May 06 20:54:23 CmL kwin_wayland[2457]: Invalid framebuffer status:
"GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT"
May 06 20:54:23 CmL kwin_wayland[2457]: 0x500: GL_INVALID_ENUM error generated.
Invalid <face>.
May 06 20:54:23 CmL kwin_wayland[2457]: Invalid framebuffer status:
"GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT"
May 06 20:54:23 CmL kwin_wayland[2457]: 0x500: GL_INVALID_ENUM error generated.
Invalid <face>.
May 06 20:54:23 CmL kwin_wayland[2457]: Invalid framebuffer status:
"GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT"
May 06 20:54:23 CmL kwin_wayland[2457]: 0x500: GL_INVALID_ENUM error generated.
Invalid <face>.
May 06 20:54:23 CmL kwin_wayland[2457]: Invalid framebuffer status:
"GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT"
May 06 20:54:23 CmL kwin_wayland[2457]: 0x500: GL_INVALID_ENUM error generated.
Invalid <face>.
May 06 20:54:23 CmL kwin_wayland[2457]: Invalid framebuffer status:
"GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT"
...
System information:
Processors: 16 × AMD Ryzen 7 8845HS w/ Radeon 780M Graphics
Memory: 16 GiB of RAM (14.9 GiB usable)
Graphics Processor 1: AMD Radeon 780M Graphics
Graphics Processor 2: NVIDIA GeForce RTX 4060 Laptop GPU/PCIe/SSE2
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: ASUS TUF Gaming A14 FA401UV_FA401UV
System Version: 1.0
[cmlaurg@CmL ~]$ lspci -k | grep -A 3 -E "VGA|3D"
pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation not
permitted
01:00.0 VGA compatible controller: NVIDIA Corporation AD107M [GeForce RTX 4060
Max-Q / Mobile] (rev a1)
Subsystem: ASUSTeK Computer Inc. Device 37b8
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia
--
66:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
HawkPoint1 (rev cc)
Subsystem: ASUSTeK Computer Inc. Device 37b8
Kernel driver in use: amdgpu
Kernel modules: amdgpu
[cmlaurg@CmL ~]$ glxinfo | grep "OpenGL renderer"
OpenGL renderer string: AMD Radeon 780M Graphics (radeonsi, phoenix, ACO, DRM
3.64, 7.0.3-arch1-2)
--
You are receiving this mail because:
You are watching all bug changes.