Bug 483611 - Frequent 1+ seconds compositor freeze on NVIDIA Wayland
Summary: Frequent 1+ seconds compositor freeze on NVIDIA Wayland
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 6.0.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-14 22:04 UTC by westerbly+kde
Modified: 2025-03-18 19:12 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description westerbly+kde 2024-03-14 22:04:21 UTC
SUMMARY
On a KDE 6 Wayland session, I get frequent freezes (including mouse cursor) that last for about 1-5 seconds. Frequency is about 5 minutes or so, depending on what I'm doing. It seems some applications trigger the bug more often, but I consistently get them during normal usage. For example I just got one right now while typing this.


STEPS TO REPRODUCE
Use the system normally (web browsing, watching videos or gaming) in a Wayland session (possibly with an NVIDIA card) for an extended period of time.

OBSERVED RESULT
Frequent but irregular compositor freezes that take as long as 5 seconds to resolve.

EXPECTED RESULT
Smooth usage under normal conditions.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux 6.7.9-arch1-1 (64-bit)
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.0.2

ADDITIONAL INFORMATION
journalctl -ab -e shows right after the freeze:

```
mar 14 18:43:10 peco kwin_wayland[1151]: kwin_scene_opengl: 0x501: GL_INVALID_VALUE error generated. <levels>, <width> and <height> must be 1 or greater.
mar 14 18:43:10 peco kwin_wayland[1151]: kwin_scene_opengl: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
mar 14 18:43:10 peco kwin_wayland[1151]: kwin_scene_opengl: Can't enable invalid framebuffer object!
mar 14 18:43:10 peco kwin_wayland[1151]: kwin_scene_opengl: 0x506: GL_INVALID_FRAMEBUFFER_OPERATION error generated. Operation is not valid because a bound framebuffer is not framebuffer complete.
mar 14 18:43:10 peco kwin_wayland[1151]: kwin_scene_opengl: 0x501: GL_INVALID_VALUE error generated. <levels>, <width> and <height> must be 1 or greater.
mar 14 18:43:10 peco kwin_wayland[1151]: kwin_scene_opengl: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
mar 14 18:43:10 peco kwin_wayland[1151]: kwin_scene_opengl: Can't enable invalid framebuffer object!
mar 14 18:43:10 peco kwin_wayland[1151]: kwin_scene_opengl: 0x506: GL_INVALID_FRAMEBUFFER_OPERATION error generated. Operation is not valid because a bound framebuffer is not framebuffer complete.
mar 14 18:43:10 peco kwin_wayland[1151]: kwin_scene_opengl: 0x501: GL_INVALID_VALUE error generated. <levels>, <width> and <height> must be 1 or greater.
mar 14 18:43:10 peco kwin_wayland[1151]: kwin_scene_opengl: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
mar 14 18:43:10 peco kwin_wayland[1151]: kwin_scene_opengl: Can't enable invalid framebuffer object!
mar 14 18:43:10 peco kwin_wayland[1151]: kwin_scene_opengl: 0x506: GL_INVALID_FRAMEBUFFER_OPERATION error generated. Operation is not valid because a bound framebuffer is not framebuffer complete.
mar 14 18:43:10 peco kwin_wayland[1151]: kwin_scene_opengl: 0x501: GL_INVALID_VALUE error generated. <levels>, <width> and <height> must be 1 or greater.
mar 14 18:43:10 peco kwin_wayland[1151]: kwin_scene_opengl: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
mar 14 18:43:10 peco kwin_wayland[1151]: kwin_scene_opengl: Can't enable invalid framebuffer object!
mar 14 18:43:10 peco kwin_wayland[1151]: kwin_scene_opengl: 0x506: GL_INVALID_FRAMEBUFFER_OPERATION error generated. Operation is not valid because a bound framebuffer is not framebuffer complete.
mar 14 18:43:10 peco kwin_wayland[1151]: kwin_scene_opengl: 0x501: GL_INVALID_VALUE error generated. <levels>, <width> and <height> must be 1 or greater.
mar 14 18:43:10 peco kwin_wayland[1151]: kwin_scene_opengl: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
mar 14 18:43:10 peco kwin_wayland[1151]: kwin_scene_opengl: Can't enable invalid framebuffer object!
mar 14 18:43:10 peco kwin_wayland[1151]: kwin_scene_opengl: 0x506: GL_INVALID_FRAMEBUFFER_OPERATION error generated. Operation is not valid because a bound framebuffer is not framebuffer complete.
mar 14 18:43:10 peco kate[82553]: kf.sonnet.core: No language dictionaries for the language: "en_US"
mar 14 18:43:10 peco kate[82553]: kf.sonnet.core: No language dictionaries for the language: "en_US"
mar 14 18:43:10 peco kded6[222724]: xsettingsd: Reloading configuration
mar 14 18:43:10 peco kded6[222724]: xsettingsd: Loaded 14 settings from /home/radge/.config/xsettingsd/xsettingsd.conf
mar 14 18:43:17 peco kwin_wayland[1151]: This plugin does not support raise()
mar 14 18:43:31 peco kwin_wayland[1151]: This plugin does not support raise()
```

This is consistent. I have quite a few instances of this exact log, and I spent some time monitoring so I could catch and verify that these are (pretty much) always the last messages after a freeze.

I am using an RTX3080 with the 550.54.14 proprietary drivers.
Comment 1 westerbly+kde 2024-03-29 17:55:22 UTC
Update: after a few updates to KDE and the NVIDIA drivers, I don't get the same error messages anymore in journalctl, although the problem persists. This seems to be the message associated with the stutters now:

```
mar 29 14:53:36 peco kded6[2175562]: xsettingsd: Reloading configuration
mar 29 14:53:36 peco kded6[2175562]: xsettingsd: Loaded 14 settings from /home/radge/.config/xsettingsd/xsettingsd.conf
mar 29 14:53:41 peco kwin_wayland[2172457]: This plugin does not support raise()
mar 29 14:53:41 peco kwin_wayland_wrapper[2172457]: src/gbm_drv_common.c:130: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 875708738
mar 29 14:53:41 peco kwin_wayland_wrapper[2172457]: src/gbm_drv_common.c:130: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 875708738
```
Comment 2 ghoste 2024-09-02 20:02:17 UTC
SOFTWARE/OS VERSIONS
Kernel: Linux 6.10.7-arch1-1 (64-bit)
KDE Plasma Version: 6.1.4 (Wayland)
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
NVIDIA Driver: 560.35.03 (proprietary, not open modules) w/ RTX 4080

I'm seeing something similar (or the same) as this. Everything appears to be fine until apps and plasma itself suddenly start to hang or become unresponsive sporadically. Can't seem to isolate a particular cause either. This last time I was playing Just Cause 3 and the game started to repeatedly freeze for several seconds at a time and then I saw it was everything, not just the game. Other times it has happened I was doing basic things like using Firefox. IIRC, it has resolved itself once in the past when I let the system sit, but it can take a while so I just reboot at first sight now.

LOGS:
>Sep 02 12:03:40 ArchPC kwin_wayland[4262]: This plugin does not support raise()
>Sep 02 12:03:40 ArchPC kwin_wayland_wrapper[4262]: src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 875708754
>Sep 02 12:03:40 ArchPC kwin_wayland_wrapper[4262]: src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 875708754
>Sep 02 12:03:40 ArchPC kwin_wayland[4262]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
>Sep 02 12:03:40 ArchPC kwin_wayland[4262]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
>Sep 02 12:03:40 ArchPC kwin_wayland[4262]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
>Sep 02 12:03:41 ArchPC kwin_wayland[4262]: kwin_wayland_drm: atomic commit failed: Invalid argument
>Sep 02 12:04:43 ArchPC kwin_wayland_wrapper[4262]: src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 875708754
>Sep 02 12:04:43 ArchPC kwin_wayland_wrapper[4262]: src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 875708754
>Sep 02 12:04:43 ArchPC kwin_wayland[4262]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
>Sep 02 12:04:43 ArchPC kwin_wayland[4262]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
>Sep 02 12:04:43 ArchPC kwin_wayland[4262]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
>Sep 02 12:04:43 ArchPC kwin_wayland[4262]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
>Sep 02 12:04:43 ArchPC kwin_wayland[4262]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
>Sep 02 12:04:48 ArchPC kwin_wayland_wrapper[4262]: src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 875708754
>Sep 02 12:04:48 ArchPC kwin_wayland_wrapper[4262]: src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 875708754
>Sep 02 12:04:48 ArchPC kwin_wayland[4262]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
>Sep 02 12:04:48 ArchPC kwin_wayland[4262]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
>Sep 02 12:04:48 ArchPC kwin_wayland[4262]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
>Sep 02 12:04:48 ArchPC kwin_wayland[4262]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
>Sep 02 12:04:48 ArchPC kwin_wayland[4262]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
>Sep 02 12:04:48 ArchPC kwin_wayland[4262]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
>Sep 02 12:04:50 ArchPC kwin_wayland_wrapper[4262]: src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 875708754
>Sep 02 12:04:50 ArchPC kwin_wayland_wrapper[4262]: src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 875708754
>Sep 02 12:04:50 ArchPC kwin_wayland[4262]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
>Sep 02 12:04:50 ArchPC kwin_wayland[4262]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
>Sep 02 12:04:50 ArchPC kwin_wayland[4262]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
>Sep 02 12:04:50 ArchPC kwin_wayland[4262]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
>Sep 02 12:06:35 ArchPC plasmashell[4707]: kf.kio.core: "/var/lib/flatpak/exports/share/applications/com.discordapp.Discord.desktop" contains supported protocols but doesn't use %u or %U in its Exec line! This is inconsistent.
>Sep 02 12:06:35 ArchPC systemd[4074]: Started Discord - Internet Messenger.
>Sep 02 12:06:36 ArchPC systemd[4074]: Started app-flatpak-com.discordapp.Discord-432416.scope.
>Sep 02 12:06:36 ArchPC flatpak[432428]: 2024/09/02 12:06:36 socat[3] E "/run/user/1000/app/com.discordapp.Discord/discord-ipc-0" exists
>Sep 02 12:06:36 ArchPC flatpak[432429]: Disabling updates already done
>Sep 02 12:06:36 ArchPC systemd[4074]: Started app-flatpak-com.discordapp.Discord-432445.scope.
>Sep 02 12:06:36 ArchPC flatpak[432430]: [5:0902/120636.208124:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
>Sep 02 12:06:38 ArchPC kwin_wayland[4262]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
>Sep 02 12:06:38 ArchPC flatpak[32741]: DiscordProcessObserver: Skipping ''
>Sep 02 12:06:38 ArchPC flatpak[32741]: DiscordProcessObserver: Skipping ''
>Sep 02 12:06:38 ArchPC kernel: x86/split lock detection: #AC: CHTTPClientThre/432703 took a split_lock trap at address: 0xe6d141df
>Sep 02 12:06:41 ArchPC steam[132273]: (process:136907): GLib-GObject-CRITICAL **: 12:06:41.709: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
>Sep 02 12:06:41 ArchPC steam[132273]: WARNING: discarding _NET_WM_PID 5 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
>Sep 02 12:06:41 ArchPC flatpak[432430]: blackbox: 2024-09-02T17:06:41.837Z 0
>Sep 02 12:06:41 ArchPC flatpak[432430]: ----------------------------------------------
>Sep 02 12:06:41 ArchPC flatpak[432975]: src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000
>Sep 02 12:06:41 ArchPC flatpak[432975]: src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000
>Sep 02 12:06:41 ArchPC flatpak[432975]: src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000
>Sep 02 12:06:41 ArchPC flatpak[432975]: src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000
>Sep 02 12:06:41 ArchPC flatpak[432975]: src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 808530000
>Sep 02 12:06:41 ArchPC steam[132273]: WARNING: discarding _NET_WM_PID 5 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
>Sep 02 12:06:46 ArchPC steam[132273]: WARNING: discarding _NET_WM_PID 5 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
>Sep 02 12:07:07 ArchPC kwin_wayland[4262]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
>Sep 02 12:07:17 ArchPC kwin_wayland_wrapper[4262]: src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 875708754
>Sep 02 12:07:17 ArchPC kwin_wayland_wrapper[4262]: src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 875708754
>Sep 02 12:07:17 ArchPC kwin_wayland_wrapper[4262]: src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 875708754
>Sep 02 12:07:17 ArchPC kwin_wayland_wrapper[4262]: src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 875708754
>Sep 02 12:07:17 ArchPC kwin_wayland_wrapper[4262]: src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 875708754
>Sep 02 12:07:17 ArchPC kwin_wayland_wrapper[4262]: src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 875708754
>Sep 02 12:07:17 ArchPC steam[132273]: reaping pid: 136907 -- gameoverlayui
>Sep 02 12:07:17 ArchPC steam[132273]: WARNING: discarding _NET_WM_PID 5 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
>Sep 02 12:07:17 ArchPC steam[132273]: WARNING: discarding _NET_WM_PID 5 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
>Sep 02 12:07:17 ArchPC steam[132273]: WARNING: discarding _NET_WM_PID 5 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
>Sep 02 12:07:17 ArchPC steam[132273]: WARNING: discarding _NET_WM_PID 5 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
>Sep 02 12:07:17 ArchPC flatpak[32741]: DiscordProcessObserver: Skipping ''
>Sep 02 12:07:07 ArchPC kwin_wayland[4262]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
>Sep 02 12:07:17 ArchPC flatpak[32514]: blackbox: 2024-09-02T17:07:15.353Z 14 window.close win2
>Sep 02 12:07:07 ArchPC kwin_wayland[4262]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
>Sep 02 12:07:07 ArchPC kwin_wayland[4262]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
>Sep 02 12:07:07 ArchPC kwin_wayland[4262]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
>Sep 02 12:07:12 ArchPC kwin_wayland[4262]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
>Sep 02 12:07:15 ArchPC kwin_wayland[4262]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
>Sep 02 12:07:17 ArchPC kwin_wayland[4262]: kwin_core: XCB error: 3 (BadWindow), sequence: 9376, resource id: 65011777, major code: 129 (SHAPE), minor code: 6 (Input)
>Sep 02 12:07:07 ArchPC kwin_wayland[4262]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
>Sep 02 12:07:17 ArchPC kwin_wayland_wrapper[4262]: src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 875708754
>Sep 02 12:07:17 ArchPC kwin_wayland_wrapper[4262]: src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 875708754
>Sep 02 12:07:17 ArchPC kwin_wayland_wrapper[4262]: src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 875708754
>Sep 02 12:07:17 ArchPC kwin_wayland_wrapper[4262]: src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 875708754
>Sep 02 12:07:17 ArchPC kwin_wayland_wrapper[4262]: src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 875708754
>Sep 02 12:07:17 ArchPC kwin_wayland_wrapper[4262]: src/gbm_drv_common.c:131: GBM-DRV error (get_bytes_per_component): Unknown or not supported format: 875708754
>Sep 02 12:07:17 ArchPC steam[132273]: reaping pid: 136907 -- gameoverlayui
>Sep 02 12:07:17 ArchPC steam[132273]: WARNING: discarding _NET_WM_PID 5 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
>Sep 02 12:07:17 ArchPC steam[132273]: WARNING: discarding _NET_WM_PID 5 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
>Sep 02 12:07:17 ArchPC steam[132273]: WARNING: discarding _NET_WM_PID 5 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
>Sep 02 12:07:17 ArchPC steam[132273]: WARNING: discarding _NET_WM_PID 5 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
>Sep 02 12:07:17 ArchPC flatpak[32741]: DiscordProcessObserver: Skipping ''
>Sep 02 12:07:07 ArchPC kwin_wayland[4262]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
>Sep 02 12:07:17 ArchPC flatpak[32514]: blackbox: 2024-09-02T17:07:15.353Z 14 window.close win2
>Sep 02 12:07:07 ArchPC kwin_wayland[4262]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
>Sep 02 12:07:07 ArchPC kwin_wayland[4262]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
>Sep 02 12:07:07 ArchPC kwin_wayland[4262]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
>Sep 02 12:07:12 ArchPC kwin_wayland[4262]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
>Sep 02 12:07:15 ArchPC kwin_wayland[4262]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
>Sep 02 12:07:17 ArchPC kwin_wayland[4262]: kwin_core: XCB error: 3 (BadWindow), sequence: 9376, resource id: 65011777, major code: 129 (SHAPE), minor code: 6 (Input)
>Sep 02 12:07:32 ArchPC plasmashell[4707]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/ToolTipDelegate.qml:76:9: QML ScrollView: Binding loop detected for property "implicitWidth"
I'm just not sure how useful these logs are given I see these errors occasionally even when I see nothing going wrong. Would attaching a debugger to kwin until it happens again be more appropriate?
Comment 3 Vlad Zahorodnii 2024-09-27 08:52:16 UTC
(In reply to westerbly+kde from comment #1)
> Update: after a few updates to KDE and the NVIDIA drivers, I don't get the
> same error messages anymore in journalctl, although the problem persists.
> This seems to be the message associated with the stutters now:
> 
> ```
> mar 29 14:53:36 peco kded6[2175562]: xsettingsd: Reloading configuration
> mar 29 14:53:36 peco kded6[2175562]: xsettingsd: Loaded 14 settings from
> /home/radge/.config/xsettingsd/xsettingsd.conf
> mar 29 14:53:41 peco kwin_wayland[2172457]: This plugin does not support
> raise()
> mar 29 14:53:41 peco kwin_wayland_wrapper[2172457]:
> src/gbm_drv_common.c:130: GBM-DRV error (get_bytes_per_component): Unknown
> or not supported format: 875708738
> mar 29 14:53:41 peco kwin_wayland_wrapper[2172457]:
> src/gbm_drv_common.c:130: GBM-DRV error (get_bytes_per_component): Unknown
> or not supported format: 875708738
> ```

Are these warning messages printed when you have the task switcher open?
Comment 4 Martin K. Scherer 2024-11-12 15:47:00 UTC
I can confirm that this only occurs if the task switcher renders previews of the windows. Since the messages are so excessive users with slower hardware (storage) will experience hick ups.

If I set a task switcher style which does not involve window previews, no messages pop up in the logs.

This behaviour does not seem to have changed during the versions (kwin-5.x to 6.x).

As the previews of the windows are correctly rendered,  I recommend to catch the message (exception?) and lower its verbosity to debug etc., if the hardware configuration is based on Nvidia DRM.
Comment 5 Martin K. Scherer 2024-11-12 16:48:32 UTC
Because I just forgot, my logs are flooded with only entries of these entity during task switching:

kwin_wayland[$pid]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.

Used versions: 
kwin-6.2.3
nvidia-open-dkms-565.57.01
Comment 6 righn 2024-12-15 18:49:58 UTC
I'll start with the fact that I use a laptop, but it has an NVIDIA GPU and an external monitor is connected that uses said GPU, so I'm guessing my issue is related. 

I also get frequent 1-5 seconds freezes and I get nothing in the logs besides these.

`gruod. 15 20:40:40 archomen kwin_wayland[1058]: kwin_scene_opengl: Wait failed
gruod. 15 20:42:12 archomen kwin_wayland[1058]: kwin_scene_opengl: Wait failed
gruod. 15 20:42:35 archomen kwin_wayland[1058]: kwin_scene_opengl: Wait failed
gruod. 15 20:42:41 archomen kwin_wayland[1058]: kwin_scene_opengl: Wait failed
gruod. 15 20:42:56 archomen kwin_wayland[1058]: kwin_scene_opengl: Wait failed
gruod. 15 20:43:11 archomen kwin_wayland[1058]: kwin_scene_opengl: Wait failed
gruod. 15 20:43:17 archomen kwin_wayland[1058]: kwin_scene_opengl: Wait failed
gruod. 15 20:43:27 archomen kwin_wayland[1058]: kwin_scene_opengl: Wait failed
gruod. 15 20:43:32 archomen kwin_wayland[1058]: kwin_scene_opengl: Wait failed
gruod. 15 20:43:56 archomen kwin_wayland[1058]: kwin_scene_opengl: Wait failed
`

Kernel: 6.12.4-2-cachyos (64-bit)
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.1

RTX 3060 Max-Q with proprietary 565.77 drivers.
Comment 7 westerbly+kde 2025-03-02 00:35:44 UTC
(In reply to Vlad Zahorodnii from comment #3)
> (In reply to westerbly+kde from comment #1)
> > Update: after a few updates to KDE and the NVIDIA drivers, I don't get the
> > same error messages anymore in journalctl, although the problem persists.
> > This seems to be the message associated with the stutters now:
> > 
> > ```
> > mar 29 14:53:36 peco kded6[2175562]: xsettingsd: Reloading configuration
> > mar 29 14:53:36 peco kded6[2175562]: xsettingsd: Loaded 14 settings from
> > /home/radge/.config/xsettingsd/xsettingsd.conf
> > mar 29 14:53:41 peco kwin_wayland[2172457]: This plugin does not support
> > raise()
> > mar 29 14:53:41 peco kwin_wayland_wrapper[2172457]:
> > src/gbm_drv_common.c:130: GBM-DRV error (get_bytes_per_component): Unknown
> > or not supported format: 875708738
> > mar 29 14:53:41 peco kwin_wayland_wrapper[2172457]:
> > src/gbm_drv_common.c:130: GBM-DRV error (get_bytes_per_component): Unknown
> > or not supported format: 875708738
> > ```
> 
> Are these warning messages printed when you have the task switcher open?

Sorry for taking so long. I do not have this issue anymore.
Comment 8 TraceyC 2025-03-03 20:26:50 UTC
(In reply to westerbly+kde from comment #7)
> Sorry for taking so long. I do not have this issue anymore.

That's great news. 

Is anyone else still seing the freezes on Plasma 6.3.2?
If so, are the log messages the same?
Comment 9 Bug Janitor Service 2025-03-18 03:51:06 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Martin K. Scherer 2025-03-18 09:02:46 UTC
Thanks to your hard work this bug seems fixed!
Comment 11 TraceyC 2025-03-18 19:12:22 UTC
Good to hear! Since at this is fixed for at least two people, I'll close this report out. If anyone is still experiencing freezing, please open a new report since the cause is likely different.