Summary: | Electron apps running natively on wayland will visually freeze when going fullscreen | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Leia <leia> |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED WORKSFORME | ||
Severity: | major | CC: | nate, xaver.hugl |
Priority: | NOR | ||
Version First Reported In: | 6.2.91 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=499612 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | The bug happening with multi monitor |
Description
Leia
2025-02-02 20:38:10 UTC
Oh also i just realized it could be related to direct scanout after i sent the bug report and it is! setting `KWIN_DRM_NO_DIRECT_SCANOUT=1` fixes the issue Please attach the output of
> journalctl --user-unit plasma-kwin_wayland --boot 0
after triggering the issue.
i don't think there's anything useful but sure short log because i did a fresh boot to remove the environment variable that disables direct scanout i triggered it multiple times before copying the logs and nothing showed up Feb 05 03:23:25 archlinux systemd[893]: Starting KDE Window Manager... Feb 05 03:23:25 archlinux systemd[893]: Started KDE Window Manager. Feb 05 03:23:25 archlinux kwin_wayland[980]: No backend specified, automatically choosing drm Feb 05 03:23:27 archlinux kwin_wayland_wrapper[1076]: The XKEYBOARD keymap compiler (xkbcomp) reports: Feb 05 03:23:27 archlinux kwin_wayland_wrapper[1076]: > Warning: Unsupported maximum keycode 708, clipping. Feb 05 03:23:27 archlinux kwin_wayland_wrapper[1076]: > X11 cannot support keycodes above 255. Feb 05 03:23:27 archlinux kwin_wayland_wrapper[1076]: > Warning: Could not resolve keysym XF86KbdInputAssistPrevgrou Feb 05 03:23:27 archlinux kwin_wayland_wrapper[1076]: > Warning: Could not resolve keysym XF86KbdInputAssistNextgrou Feb 05 03:23:27 archlinux kwin_wayland_wrapper[1076]: Errors from xkbcomp are not fatal to the X server Feb 05 03:23:27 archlinux kcminit[1078]: Initializing "/usr/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_fonts.so" Feb 05 03:23:27 archlinux kcminit[1078]: Initializing "/usr/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_style.so" Feb 05 03:23:42 archlinux kwin_wayland[980]: kwin_core: Cannot grant a token to KWin::ClientConnection(0x5fc378f021c0) Feb 05 03:23:42 archlinux kwin_wayland[980]: kwin_core: Cannot grant a token to KWin::ClientConnection(0x5fc378f021c0) Created attachment 177982 [details] The bug happening with multi monitor so here's it happening with 2 monitors, the konsole window on the right screen is running > journalctl --user-unit plasma-kwin_wayland -e --follow and no new logs show up when it happens, the GL_INVALID_OPERATION warns seem to happen completely unrelated and also happen when direct scanout is off with the env var it apparently fixes itself after direct scanout gets disabled in any way by a single frame like moving a window to that monitor like how i opened the electron dev tools while the window was frozen and it only showed up after direct scanout got disabled by moving another window on top ๐๐งน โ ๏ธ 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! Please get a drm debug output for when this freeze happens; see https://invent.kde.org/plasma/kwin/-/wikis/Debugging/Debugging-DRM-issues for how to do that. ๐๐งน โ ๏ธ 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! ๐๐งน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME. |