6.2.3 Monitor screen freeze when playing Video

Since the 6.2.3 update I now had several times one of my Monitor completely freeze when playing a Youtube Video in my browser (Firefox).
Most times full screen but it even happened once just playing in the window and while most times at the same (second) Monitor at least one time it happened with the third.
Sound continues but I can not move my Mousepointer on that screen or interact with it any other way. Even killing Firefox does not help to Unfreeze.
What works is to log out that unfreezes the Monitor and after relogin everything works again like nothing ever happened.

Just took a look at the log for yesterdays incident and all I got in that one to two minutes time frame until realizing that it is not just a still image shown but frozen is:

kwin_wayland_drm: Pageflip timed out! This is a kernel bug

18 times, nothing else.

Google found a relatively recent KDE bugtracker entry about that, but they talk about that it is in the AMD driver part of the Kernel (and fixed now).

Well, I do not have anything AMD or use that driver.
Around the same time when 6.2.3 came out I got a update to Nvidia 565.57.01 as well and while /usr/bin/kwin_wayland runs with 2MiB used on that driver (according to nvidia-smi) I do not prime-run my browser, the intel iGPU with its i915 driver should be in use for that video.
Kernel got probably updated at least twice or trice since.


Operating System: Arch Linux 
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.11.9-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 32 × 13th Gen Intel® Core™ i9-13900HX
Memory: 62.5 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: TUXEDO
Product Name: TUXEDO Gemini Gen2

Anyone any clue?

Little bit more “plasmashell” error output in the Log today:

Nov 21 19:19:05 xxxxxxxx kwin_wayland[1480]: kwin_wayland_drm: atomic commit failed: Das Argument ist ungĂĽltig
Nov 21 19:25:01 xxxxxxxx kwin_wayland[1480]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 21 19:25:06 xxxxxxxx kwin_wayland[1480]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 21 19:25:11 xxxxxxxx kwin_wayland[1480]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 21 19:25:16 xxxxxxxx kwin_wayland[1480]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 21 19:25:21 xxxxxxxx kwin_wayland[1480]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 21 19:25:26 xxxxxxxx kwin_wayland[1480]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 21 19:25:31 xxxxxxxx kwin_wayland[1480]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 21 19:25:36 xxxxxxxx kwin_wayland[1480]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 21 19:25:41 xxxxxxxx kwin_wayland[1480]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 21 19:25:46 xxxxxxxx kwin_wayland[1480]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 21 19:25:51 xxxxxxxx kwin_wayland[1480]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 21 19:25:56 xxxxxxxx kwin_wayland[1480]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 21 19:26:01 xxxxxxxx kwin_wayland[1480]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 21 19:26:20 xxxxxxxx plasmashell[1716]: KPackageStructure of KPluginMetaData(pluginId:"org.kde.plasma.kclock_1x2", fileName: "/usr/share/plasma/plasmoids/org.kde.plasma.kcl>
Nov 21 19:26:22 xxxxxxxx plasmashell[1716]: KPackageStructure of KPluginMetaData(pluginId:"org.kde.plasma.kclock_1x2", fileName: "/usr/share/plasma/plasmoids/org.kde.plasma.kcl>
Nov 21 19:26:23 xxxxxxxx kwin_wayland[1480]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 21 19:26:28 xxxxxxxx plasmashell[1716]: KPackageStructure of KPluginMetaData(pluginId:"org.kde.plasma.kclock_1x2", fileName: "/usr/share/plasma/plasmoids/org.kde.plasma.kcl>
Nov 21 19:26:33 xxxxxxxx plasmashell[1716]: The cached device pixel ratio value was stale on window update.  Please file a QTBUG which explains how to reproduce.
Nov 21 19:26:36 xxxxxxxx plasmashell[1716]: qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x0
Nov 21 19:26:36 xxxxxxxx plasmashell[1716]: kf.plasma.quick: Exposed with no visual parent. Window positioning broken.
Nov 21 19:26:36 xxxxxxxx plasmashell[1716]: The cached device pixel ratio value was stale on window expose.  Please file a QTBUG which explains how to reproduce.
Nov 21 19:26:36 xxxxxxxx plasmashell[1716]: kf.windowsystem.wayland: Failed to recreate shadow for ToolTipDialog(0x64a30d30f090)
Nov 21 19:26:36 xxxxxxxx plasmashell[1716]: qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x0
Nov 21 19:26:36 xxxxxxxx plasmashell[1716]: error creating screencast "Could not find window id {fbf0f065-9a4b-4881-b397-be52fe3b2ee0}"
Nov 21 19:26:36 xxxxxxxx plasmashell[1716]: error creating screencast "Could not find window id {fbf0f065-9a4b-4881-b397-be52fe3b2ee0}"
Nov 21 19:26:36 xxxxxxxx systemd[1394]: app-firefox@af524077d93d4ef0b9ce8acda2ef6de0.service: Consumed 41min 21.590s CPU time, 4.2G memory peak.
Nov 21 19:26:36 xxxxxxxx kwin_wayland[1480]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 21 19:26:41 xxxxxxxx plasmashell[1716]: KPackageStructure of KPluginMetaData(pluginId:"org.kde.plasma.kclock_1x2", fileName: "/usr/share/plasma/plasmoids/org.kde.plasma.kcl>
Nov 21 19:26:41 xxxxxxxx plasmashell[1716]: The cached device pixel ratio value was stale on window update.  Please file a QTBUG which explains how to reproduce.
Nov 21 19:26:46 xxxxxxxx kwin_wayland[1480]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 21 19:26:51 xxxxxxxx kwin_wayland[1480]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 21 19:26:52 xxxxxxxx plasmashell[1716]: The cached device pixel ratio value was stale on window update.  Please file a QTBUG which explains how to reproduce.
Nov 21 19:26:56 xxxxxxxx kwin_wayland[1480]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 21 19:27:01 xxxxxxxx kwin_wayland[1480]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug

Just in case you hadn’t already seen it, there’s also an Arch Linux Forums thread on what might be a related topic if even the presence of an Nvidia card is making a difference: NVIDIA Wayland KDE Plasma Monitor Freeze / Newbie Corner / Arch Linux Forums

On the other hand, there are also quite a few issues reported around the i915 drivers:

Seemingly all from folks running Arch, the first one of those (10395) with some workaround suggestions - hopefully one of those might help in your case?

1 Like

I’ve been seeing the same for 6.2.2 and 6.2.3 for about a month. I’m running Bazzite with Nvidia drivers (565.57.01).

Journalctl shows the same error message when the freeze happens. Toggling the TTY back and forth seems to work around the issue temporarily. I’ve also noticed that when I’m connected to a second machine with Barrier/Input-Leap that the second machine continues to get input and that it no longer perceives any resolution size on the KDE host machine to move the cursor too, effectively locking it to the client.

I’ve noticed this happen while streaming music in electron flatpak apps (Tidal)

As a little follow up slash rant:

With 6.2.4 and Kernel 6.12 (and whatever got a update as well) it is now, from almost daily, down to approximately once a week but still happening.

And I wonder if I just should wait and hope that it magically vanishes with the following updates?

How to even approach and find the culprit of a bug that is, even for me, impossible to reliably reproduce (as in reliably/directly to trigger)
I mean steps to reproduce:
Watch YT video and do nothing else, if nothing happens (even after hours of playtime), watch next and so on and on, and maybe or maybe not you stumble upon it. I mean, who in the right mind would do this?

This is happening to me as well. Did you find a solution?

As the only thing I tried I worked my way though the arch wiki to make sure everything for the Nvidia and Intel GPU is set up correctly and especially for Intel it is rather complicated as to what exactly apples to my integrated GPU and what of the mentioned (sub-)features mine even has.

But that has not fully helped, it is way way less frequent but still happens occasionally, for example every time I start to think “oh so many days since the last Kernel and or Nividia driver update, maybe it is gone/fixed now” I can be sure it happens just minutes after :face_with_peeking_eye:
And by the way not only YT even other streaming services.

Ya, in my case I don’t have an (active) Intel IGP. Only a couple nVidia cards.
I’m going to boot back into my Bazzite setup to see if it’s happening there, too. It’s happening frequently in Arch - and ya, with any/every streaming service. Even VLC will do it.

Same thing happens in Bazzite. So it’s not just an Arch issue.
I was able to force the issue to happen in Bazzite by starting OBS. So maybe it’s something with pipewire?

If I am not mistaken, not looked myself but seen at another thread, the Kernel log should now contain a link to the Nvidia Forums aka “where to complain” maybe it is worth a try. At this point they should already know but to add more pressure.

Found today another way to recover without logging out “SUPER+L” to Lock the system and then “ESC” to turn off the screens. It takes roughly 10 seconds until the frozen one turns off but after that it reactivates on (the next) mouse move and I can unlock back in.
I wonder if I just can turn off the screens kscreen-doctor --dpms off wait until they go black and then reactivate them all with a mouse move. That way I have not even (to Lock and) Unlock the whole system. I have set that command to a key combination, and now have to wait for the next occurrence to test that out. If that works that would probably be the fastest way to recover.