| Summary: | Frequent 1+ seconds compositor freeze on NVIDIA Wayland | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | westerbly+kde |
| Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | jsbaylor, kde.fossil822, kdedev, martin_konrad_scherer, righn |
| Priority: | NOR | Keywords: | qt6 |
| Version First Reported In: | 6.0.1 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
westerbly+kde
2024-03-14 22:04:21 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 ``` 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?
(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? 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. 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 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. (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. (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? ๐๐งน โ ๏ธ 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! Thanks to your hard work this bug seems fixed! 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. |