https://bugs.kde.org/show_bug.cgi?id=501073
Bug ID: 501073 Summary: kwin gets locked up playing a youtube video in firefox and "kwin_wayland_drm: The main thread was hanging temporarily!" Classification: Plasma Product: kwin Version: 6.3.2 Platform: Arch Linux OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: core Assignee: kwin-bugs-n...@kde.org Reporter: a...@digitalsignalperson.com Target Milestone: --- SUMMARY Clicking a youtube link in firefox completely freezes up the graphics on all monitors but audio is playing. I can't see any visual changes. Clicking the back button on the mouse will do nothing initially, but after a long lag navigates away from the page and animation to the desktop is restored. STEPS TO REPRODUCE 1. wayland desktop & running firefox native wayland 2. navigate to e.g. https://news.ycombinator.com/item?id=43255446 3. click the link to youtube 4. Click back button on mouse immediately OBSERVED RESULT - hear the audio from the video without any issues - entire desktop frozen. Ctrl+Alt+Fkeys also doesn't affect the output - after about a minute the back button press seems to go through, return to desktop with firefox navigated to the previous page and everything back to normal It's repeatable for me. Timeline: - 12:58:51: The timestamp when the clock is initially frozen on my desktop - 12:59:16: the image on the desktop changed once: I see the firefox page navigate backwards, but desktop & clock still frozen - 12:59:41: finally animation and mouse etc restored The journal: Mar 04 12:58:51 rtkit-daemon[6414]: Supervising 7 threads of 4 processes of 2 users. Mar 04 12:58:51 rtkit-daemon[6414]: Supervising 7 threads of 4 processes of 2 users. Mar 04 12:58:51 rtkit-daemon[6414]: Successfully made thread 680723 of process 680474 owned by '1000' RT at priority 10. Mar 04 12:58:51 rtkit-daemon[6414]: Supervising 8 threads of 5 processes of 2 users. Mar 04 12:58:51 rtkit-daemon[6414]: Supervising 8 threads of 5 processes of 2 users. Mar 04 12:58:51 rtkit-daemon[6414]: Supervising 8 threads of 5 processes of 2 users. Mar 04 12:58:51 rtkit-daemon[6414]: Supervising 8 threads of 5 processes of 2 users. Mar 04 12:58:51 rtkit-daemon[6414]: Supervising 8 threads of 5 processes of 2 users. Mar 04 12:58:54 rtkit-daemon[6414]: Supervising 8 threads of 5 processes of 2 users. Mar 04 12:58:54 rtkit-daemon[6414]: Supervising 8 threads of 5 processes of 2 users. Mar 04 12:59:15 systemd[1]: systemd-timedated.service: Deactivated successfully. Mar 04 12:59:16 kwin_wayland[6386]: kwin_wayland_drm: The main thread was hanging temporarily! Mar 04 12:59:16 plasmashell[6583]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/items/PlasmoidItem.qml:24: TypeError: Cannot read property 'toolTipMainText' of null Mar 04 12:59:41 kwin_wayland[6386]: kwin_wayland_drm: The main thread was hanging temporarily! Mar 04 12:59:41 kwin_wayland[6386]: kwin_wayland_drm: The main thread was hanging temporarily! Mar 04 12:59:41 kwin_wayland[6386]: kwin_wayland_drm: atomic commit failed: Invalid argument Mar 04 12:59:41 kwin_wayland[6386]: kwin_wayland_drm: atomic commit failed: Invalid argument Mar 04 12:59:41 kwin_wayland[6386]: kwin_core: Cannot grant a token to KWin::ClientConnection(0x61b5fca9d700) Mar 04 12:59:41 kwin_wayland[6386]: kwin_wayland_drm: atomic commit failed: Permission denied Specific events at the relevant timestamps I recorded: - 12:58:51: initial freezing correpsonds to rtkit-daemon messages - 12:59:16: momentary un-freezing corresponds to "kwin_wayland_drm: The main thread was hanging temporarily!" - 12:59:41: final unfreezing corresponds with more kwin_wayland_drm and kwin_core messages Also after this a lot of ` bluetoothd[4766]: Endpoint unregistered` then ` bluetoothd[4766]: Endpoint registered:` and org.kde.pulseaudio messages. E.g: Mar 04 12:59:42 bluetoothd[4766]: Endpoint registered: sender=:1.450 path=/MediaEndpoint/A2DPSource/opus_05 Mar 04 12:59:42 bluetoothd[4766]: Endpoint registered: sender=:1.450 path=/MediaEndpoint/A2DPSink/opus_05_duplex Mar 04 12:59:42 bluetoothd[4766]: Endpoint registered: sender=:1.450 path=/MediaEndpoint/A2DPSource/opus_05_duplex Mar 04 12:59:42 kded6[268459]: org.kde.pulseaudio: No object for name "auto_null" Mar 04 12:59:42 kded6[268459]: org.kde.pulseaudio: No object for name "auto_null.monitor" Mar 04 12:59:42 plasmashell[268485]: org.kde.pulseaudio: No object for name "auto_null" Mar 04 12:59:42 plasmashell[268485]: org.kde.pulseaudio: No object for name "auto_null.monitor" Mar 04 12:59:42 kded6[268459]: org.kde.pulseaudio: No object for name "@DEFAULT_SINK@" Mar 04 12:59:42 kded6[268459]: org.kde.pulseaudio: No object for name "@DEFAULT_SOURCE@" Mar 04 12:59:42 plasmashell[268485]: org.kde.pulseaudio: No object for name "@DEFAULT_SINK@" Mar 04 12:59:42 plasmashell[268485]: org.kde.pulseaudio: No object for name "@DEFAULT_SOURCE@" Mar 04 12:59:42 kded6[268459]: org.kde.pulseaudio: No object for name "@DEFAULT_SINK@" Mar 04 12:59:42 kded6[268459]: org.kde.pulseaudio: No object for name "@DEFAULT_SOURCE@" Mar 04 12:59:42 kded6[268459]: org.kde.pulseaudio: No object for name "alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor" Mar 04 12:59:42 plasmashell[268485]: org.kde.pulseaudio: No object for name "@DEFAULT_SINK@" Mar 04 12:59:42 plasmashell[268485]: org.kde.pulseaudio: No object for name "@DEFAULT_SOURCE@" Mar 04 12:59:42 plasmashell[268485]: org.kde.pulseaudio: No object for name "alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor" Mar 04 12:59:42 kded6[268459]: org.kde.pulseaudio: No object for name "alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor" Mar 04 12:59:42 plasmashell[268485]: org.kde.pulseaudio: No object for name "alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor" Mar 04 12:59:42 bluetoothd[4766]: Endpoint unregistered: sender=:1.450 path=/MediaEndpoint/A2DPSource/ldac Mar 04 12:59:42 bluetoothd[4766]: Endpoint unregistered: sender=:1.450 path=/MediaEndpoint/A2DPSink/aptx_hd Mar 04 12:59:42 bluetoothd[4766]: Endpoint unregistered: sender=:1.450 path=/MediaEndpoint/A2DPSource/aptx_hd EXPECTED RESULT - firefox shouldn't break the compositor SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux, 6.12.17-1-lts (64-bit) KDE Plasma Version: 6.3.2 KDE Frameworks Version: 6.11.0 Qt Version: 6.8.2 Firefox 135.0.1 ADDITIONAL INFORMATION This is new, I just updated my system. Previous version without this issue included KDE Plasma Version: 6.2.4, Qt: 6.8.1. My session is running with `KWIN_DRM_DEVICES=/dev/dri/card1 exec startplasma-wayland` as I have two graphics cards. No issues with chromium -- You are receiving this mail because: You are watching all bug changes.