https://bugs.kde.org/show_bug.cgi?id=501073
--- Comment #1 from andy <a...@digitalsignalperson.com> --- Encountered this again clicking a youtube link without thinking. I got the same hanging, but on a second attempt afterwards it did not hang. The pattern is: - When rtkit-daemon gives firefox higher priority thread as requested for youtube video playback, the system freezes up. When it unfreezes we see the kwin_wayland_drm message that the main thread was hanging. Kind of seems like the firefox thread becomes so high priority it completely blocks the compositor?? - the 2nd attempt shows the same RT priority messages, but for whatever reason it didn't freeze so no messages about kwin_wayland hanging Log messages of first encounter: Mar 05 16:11:54 rtkit-daemon[6414]: Supervising 10 threads of 6 processes of 2 users. Mar 05 16:11:54 rtkit-daemon[6414]: Supervising 10 threads of 6 processes of 2 users. Mar 05 16:12:22 rtkit-daemon[6414]: Supervising 10 threads of 6 processes of 2 users. Mar 05 16:12:22 rtkit-daemon[6414]: Supervising 10 threads of 6 processes of 2 users. Mar 05 16:12:22 rtkit-daemon[6414]: Successfully made thread 1523890 of process 1518008 owned by '1000' RT at priority 10. Mar 05 16:12:22 rtkit-daemon[6414]: Supervising 11 threads of 7 processes of 2 users. Mar 05 16:12:22 rtkit-daemon[6414]: Supervising 11 threads of 7 processes of 2 users. Mar 05 16:12:22 rtkit-daemon[6414]: Supervising 11 threads of 7 processes of 2 users. Mar 05 16:12:25 rtkit-daemon[6414]: Supervising 11 threads of 7 processes of 2 users. Mar 05 16:12:25 rtkit-daemon[6414]: Supervising 11 threads of 7 processes of 2 users. Mar 05 16:12:47 kwin_wayland[6386]: kwin_wayland_drm: The main thread was hanging temporarily! Mar 05 16:12:47 kwin_wayland[6386]: kwin_core: Cannot grant a token to KWin::ClientConnection(0x61b5fce7ca10) Mar 05 16:12:58 kwin_wayland[6386]: kwin_core: Cannot grant a token to KWin::ClientConnection(0x61b5fca9d700) Then I tried clicking the back button, but after about a minute when animation came back I found a different window focused (must have clicked another window by accident). Going back to firefox the youtube video was playing normally. So I tried navigating back, then forward again. Now the youtube video playing normally without the big minute freeze up. The journal shows: Mar 05 16:21:01 rtkit-daemon[6414]: Supervising 10 threads of 6 processes of 2 users. Mar 05 16:21:01 rtkit-daemon[6414]: Supervising 10 threads of 6 processes of 2 users. Mar 05 16:21:01 rtkit-daemon[6414]: Successfully made thread 1528303 of process 1526394 owned by '1000' RT at priority 10. Mar 05 16:21:01 rtkit-daemon[6414]: Supervising 11 threads of 7 processes of 2 users. Mar 05 16:21:01 rtkit-daemon[6414]: Supervising 11 threads of 7 processes of 2 users. Mar 05 16:21:01 rtkit-daemon[6414]: Supervising 11 threads of 7 processes of 2 users. Mar 05 16:21:02 rtkit-daemon[6414]: Supervising 11 threads of 7 processes of 2 users. Mar 05 16:21:02 rtkit-daemon[6414]: Supervising 11 threads of 7 processes of 2 users. Mar 05 16:21:06 kwin_wayland[6386]: kwin_core: Cannot grant a token to KWin::ClientConnection(0x61b5fca9d700) We still see the same RT thread priority messages, but just no "kwin_wayland_drm: The main thread was hanging temporarily!" because it didn't hang. -- You are receiving this mail because: You are watching all bug changes.