https://bugs.kde.org/show_bug.cgi?id=506650
--- Comment #2 from [email protected] --- Still happening on 6.4.5, kernel 6.17. Do you need me to run a debug build of KWin as well, or just enable DRM logs and save a snapshot covering this issue happening? I get these "atomic modeset failed" errors for other reasons too, like switching between my HDMI outputs with a kscreen-doctor command. My workaround helps most of the time by restarting everything, it's just a KWin script doing this: print("Started plasmashell-fix watcher script") let restarted = false; const x = new QTimer() const y = new QTimer() x.timeout.connect(function() { print("timeout") callDBus( "org.freedesktop.systemd1", "/org/freedesktop/systemd1", "org.freedesktop.systemd1.Manager", "RestartUnit", "plasma-plasmashell.service", "replace", reply => { print(reply) restarted = true; y.start(5000); } ); }) x.singleShot = true y.timeout.connect(function() { print("restarted=false on a timer"); restarted = false; }); y.singleShot = true; workspace.windowRemoved.connect(function(client) { print(`DEBUG: windowRemoved - resourceClass: ${client.resourceClass}, dock? ${JSON.stringify(client.dock)}`); if (client.resourceClass === "plasmashell" && client.dock) { print("plasmashell dock disappeared") if (restarted) { print("ignoring this since we are post-restart"); restarted = false; } else { x.start(3000); } } }) -- You are receiving this mail because: You are watching all bug changes.
