[lattedock] [Bug 464528] Latte tasks applet is broken because of drag handling change in plasma starting from 5.27 beta
https://bugs.kde.org/show_bug.cgi?id=464528 Lewis Lakerink changed: What|Removed |Added Ever confirmed|0 |1 CC||le...@retsim.com Status|REPORTED|CONFIRMED --- Comment #2 from Lewis Lakerink --- Yep, same. I can confirm that "Comment out line `dragIconSize: units.iconSizes.medium` in `main.qml` of latte tasks applet" does at least get the tasks applet showing again. Thanks for that. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 438097] [AnimationEffect] kwin_wayland sometimes crashes when xwayland tries to display a popup
https://bugs.kde.org/show_bug.cgi?id=438097 --- Comment #42 from Lewis Lakerink --- *** Bug 438381 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 438381] plasma is terminated because "invalid arguments for zwp_linux_buffer_params_v1.add"
https://bugs.kde.org/show_bug.cgi?id=438381 Lewis Lakerink changed: What|Removed |Added Resolution|--- |DUPLICATE Status|REPORTED|RESOLVED --- Comment #8 from Lewis Lakerink --- I believe this is now fixed as a duplicate of 438097 *** This bug has been marked as a duplicate of bug 438097 *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 438097] [AnimationEffect] kwin_wayland sometimes crashes when xwayland tries to display a popup
https://bugs.kde.org/show_bug.cgi?id=438097 --- Comment #38 from Lewis Lakerink --- +1, your patch prevents the uncontrolled growth of fds for me Vlad! Thanks! -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 438381] plasma is terminated because "invalid arguments for zwp_linux_buffer_params_v1.add"
https://bugs.kde.org/show_bug.cgi?id=438381 --- Comment #7 from Lewis Lakerink --- Likely related to https://bugs.kde.org/show_bug.cgi?id=438097 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 438097] [AnimationEffect] kwin_wayland sometimes crashes when xwayland tries to display a popup
https://bugs.kde.org/show_bug.cgi?id=438097 --- Comment #28 from Lewis Lakerink --- Ok, so setting the hard/soft fd limit to a high value appears to be an effective solution for me for now until this issue is resolved. Using Ash's xdotool script modified for pycharm, I got the kwin fd count up over 50,000 (took ~35 minutes) and no kwin crash, plasmashell is also still working fine before I stopped the xdotool script. I measured the fd's open by kwin using watch -n 1 "sudo ls -la /proc/`pidof kwin_wayland`/fd | wc -l" $ ulimit -Sn 1048576 $ ulimit -Hn 1048576 $ sudo ls -la /proc/`pidof kwin_wayland`/fd | wc -l 50074 For posterity sake, I changed my limits by editing /etc/security/limits.conf and adding the following lines to the end and rebooting. lewis softnofile 1048576 lewis hardnofile 1048576 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 438097] [AnimationEffect] kwin_wayland sometimes crashes when xwayland tries to display a popup
https://bugs.kde.org/show_bug.cgi?id=438097 --- Comment #26 from Lewis Lakerink --- Firstly can I just say Ash, thanks for your in depth analysis! It's been super educational for me to see your process and how you use GDB to debug the issue. Nice find with the fds, I can confirm that that is the same for me. Watching the fd count while opening/closing popups in pycharm shows that fds are increasing until they reach ~the soft limit of 1024 on my system before plasma goes crazy/kwin crashes. I've just set the soft/hard fd limit to a million and will see if that prevents pycharm/clion crashing kwin as regularly. I'll post my findings after some testing. (Less than ideal workaround for sure, but if that temporarily resolves this problem until it can be fixed - I can live with that!) > wl_display@1: error 1: invalid arguments for > zwp_linux_buffer_params...@30.add > [266 00:35:18.863341] [glfw error 65544]: Wayland: fatal display error: > Invalid argument Looks exactly like the same symptoms I had for https://bugs.kde.org/show_bug.cgi?id=438381, so I'd go so far as to say that issue is related to this issue. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 438097] [AnimationEffect] kwin_wayland sometimes crashes when xwayland tries to display a popup
https://bugs.kde.org/show_bug.cgi?id=438097 --- Comment #13 from Lewis Lakerink --- (In reply to Aleix Pol from comment #10) > @Lewis, you mentioned that you were using 5.21.90, maybe you could try > 5.22.90? > > Could you mention which effects you have enabled? Exactly the same symptoms for me with Pycharm and CLion. After some time (sometimes half an hour, sometimes several hours) triggering the intellisense popup will eventually trigger this error. I haven't seen this crash with any other xwayland applications however. I've been running kwin master (updated once or twice a week) more or less since I reported this bug, however since 5.22.90 was tagged I've changed to Plasma/5.23. My effects: $ qdbus-qt5 org.kde.KWin /Effects loadedEffects kwin4_effect_windowaperture kwin4_effect_squash zoom kwin4_effect_sessionquit kwin4_effect_morphingpopups kwin4_effect_maximize kwin4_effect_logout kwin4_effect_login kwin4_effect_fullscreen kwin4_effect_frozenapp kwin4_effect_fadingpopups kwin4_effect_fade kwin4_effect_dialogparent slidingpopups slide screenshot desktopgrid colorpicker presentwindows highlightwindow blur contrast startupfeedback screentransform kscreen -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 438097] [AnimationEffect] kwin_wayland sometimes crashes when xwayland tries to display a popup
https://bugs.kde.org/show_bug.cgi?id=438097 --- Comment #8 from Lewis Lakerink --- Possibly related issue: https://bugs.kde.org/show_bug.cgi?id=440094 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 442539] [Wayland] mouse cursor turns into X in GTK and SDL apps running through XWayland
https://bugs.kde.org/show_bug.cgi?id=442539 Lewis Lakerink changed: What|Removed |Added CC||le...@retsim.com --- Comment #6 from Lewis Lakerink --- +1 for me as well. Games such as factorio only have the X cursor in Xwayland. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 441400] [Wayland] Screen edges don't appear to be correct for multi-monitor layouts
https://bugs.kde.org/show_bug.cgi?id=441400 --- Comment #3 from Lewis Lakerink --- Thanks Nate! One day I'll learn the BUG line needs to go in the commit description... -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 409798] Image copied from Spectacle appears incorrectly on Wayland
https://bugs.kde.org/show_bug.cgi?id=409798 --- Comment #35 from Lewis Lakerink --- (In reply to Méven Car from comment #34) > There is a fix that should help here in some scenarios > https://codereview.qt-project.org/c/qt/qtwayland/+/366769 it is already in > KDE qt patch collection > https://invent.kde.org/qt/qt/qtwayland/-/commit/ > 6072c1dc87e185f30c014f764737ac97b906640f that should land in arch soonish if > not already. Yup, this fixes it for me! I built the kde qtwayland 5.12 branch with this patch applied and spectacle copies to the clipboard exactly how I expect it to, and I can paste the copied images in to any program. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 441400] New: [Wayland] Screen edges don't appear to be correct for multi-monitor layouts
https://bugs.kde.org/show_bug.cgi?id=441400 Bug ID: 441400 Summary: [Wayland] Screen edges don't appear to be correct for multi-monitor layouts Product: kwin Version: git master Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: wayland-generic Assignee: kwin-bugs-n...@kde.org Reporter: le...@retsim.com Target Milestone: --- Created attachment 140962 --> https://bugs.kde.org/attachment.cgi?id=140962&action=edit Display configuration SUMMARY Using the wayland session, with the (see attached) monitor layout, screen edges seem completely broken. 1. The standard screen edge highlight desktop effect does not work on any monitor. 2. My panel (on the right of my Laptop Screen) is set to autohide, in the attached screen layout, the panel never hides. When I mouse to the edge of the Laptop Screen and move the cursor off the panel it will hide the panel and immediately show it again as if the screen edge is instantly retriggered (I can provide a video of this behaviour if required). 3. If I disconnect my extra monitors (undock) the screen edge desktop effect on my Laptop Screen starts working correctly again, as does the autohide of the panel. I have not tested different layout configurations to check if it's just an issue with that specific display configuration. STEPS TO REPRODUCE 1. Use a plasma wayland session 2. Configure the displays as in the attached display config. OBSERVED RESULT Panel autohide and right hand side screen edge highlight stop working when using multiple displays. EXPECTED RESULT Panel should autohide as expected and the screen edge highlight should work. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.22.4 KDE Frameworks Version: 5.85.0 Qt Version: 5.15.2 Kernel Version: 5.10.56-1-lts (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 PRO 4650U with Radeon Graphics Memory: 14.9 GiB of RAM Graphics Processor: AMD RENOIR ADDITIONAL INFORMATION I'm using kwin master -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 438097] [AnimationEffect] kwin_wayland sometimes crashes when xwayland tries to display a popup
https://bugs.kde.org/show_bug.cgi?id=438097 --- Comment #6 from Lewis Lakerink --- Ok, the issue with core dumps was that my HDD was almost full. I collected another trace today with the same problem, this time kwin was built from the 5.22 branch - commit: https://invent.kde.org/plasma/kwin/-/commit/9169445b9bbb91f27577baf7ecb247c2e31d5b0a Core was generated by `kwin_wayland --wayland_fd 4 --xwayland /usr/lib/startplasma-waylandsession'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x7f200b5e4c4d in KWin::AnimationEffect::postPaintScreen (this=0x55b1bd381e60) at /home/lewis/Documents/kwin-arch/kwin/src/kwin/src/libkwineffects/kwinanimationeffect.cpp:713 warning: Source file is more recent than executable. b713entry.key()->addLayerRepaint(entry->second); [Current thread is 1 (Thread 0x7f2003fb5240 (LWP 1757))] (gdb) bt #0 0x7f200b5e4c4d in KWin::AnimationEffect::postPaintScreen() (this=0x55b1bd381e60) at /home/lewis/Documents/kwin-arch/kwin/src/kwin/src/libkwineffects/kwinanimationeffect.cpp:713 #1 0x7f200b8c12c1 in KWin::EffectsHandlerImpl::postPaintScreen() (this=0x55b1bcf2b6d0) at /home/lewis/Documents/kwin-arch/kwin/src/kwin/src/effects.cpp:419 #2 0x7f200b95843f in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, KWin::RenderLoop*, QMatrix4x4 const&) (this=this@entry=0x55b1bc6bf580, mask=mask@entry=0x7ffc6f25b034, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7ffc6f25b038, validRegion=validRegion@entry=0x7ffc6f25b040, renderLoop=, projection=) at /home/lewis/Documents/kwin-arch/kwin/src/kwin/src/scene.cpp:209 #3 0x7f2001510981 in KWin::SceneOpenGL::paint(int, QRegion const&, QList const&, KWin::RenderLoop*) (this= 0x55b1bc6bf580, screenId=0, damage=, toplevels=, renderLoop=) at /home/lewis/Documents/kwin-arch/kwin/src/kwin/src/plugins/scenes/opengl/scene_opengl.cpp:695 #4 0x7f200b8862f8 in KWin::Compositor::composite(KWin::RenderLoop*) (this=, renderLoop=) at /home/lewis/Documents/kwin-arch/kwin/src/kwin/src/composite.cpp:628 #5 0x7f2009da13bb in () at /usr/lib/libQt5Core.so.5 #6 0x7f200b8359d2 in KWin::RenderLoop::frameRequested(KWin::RenderLoop*) (this=, _t1=) at /home/lewis/Documents/kwin-arch/kwin/src/build/src/kwin_autogen/EWIEGA46WW/moc_renderloop.cpp:206 #7 0x7f200b943453 in KWin::RenderLoopPrivate::dispatch() (this=0x55b1bc63f910) at /home/lewis/Documents/kwin-arch/kwin/src/kwin/src/renderloop.cpp:162 #8 0x7f2009da13bb in () at /usr/lib/libQt5Core.so.5 #9 0x7f2009da538b in QTimer::timeout(QTimer::QPrivateSignal) () at /usr/lib/libQt5Core.so.5 #10 0x7f2009d9707f in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5 #11 0x7f200ab46d62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5 #12 0x7f2009d6a00a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5 #13 0x7f2009dc1fad in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5 #14 0x7f2009dc0489 in QEventDispatcherUNIX::processEvents(QFlags) () at /usr/lib/libQt5Core.so.5 #15 0x55b1bbcfc86e in QUnixEventDispatcherQPA::processEvents(QFlags) () #16 0x7f2009d6897c in QEventLoop::exec(QFlags) () at /usr/lib/libQt5Core.so.5 #17 0x7f2009d70ee4 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5 #18 0x55b1bbc96406 in main(int, char**) (argc=, argv=) at /home/lewis/Documents/kwin-arch/kwin/src/kwin/src/main_wayland.cpp:727 -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 438381] plasma is terminated because "invalid arguments for zwp_linux_buffer_params_v1.add"
https://bugs.kde.org/show_bug.cgi?id=438381 Lewis Lakerink changed: What|Removed |Added Version|5.22.0 |5.22.1 -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 438381] plasmashell crashes occasionally when the dock hides/shows
https://bugs.kde.org/show_bug.cgi?id=438381 --- Comment #5 from Lewis Lakerink --- Created attachment 139362 --> https://bugs.kde.org/attachment.cgi?id=139362&action=edit WAYLAND_DEBUG=1 plasmashell - same error without screenshare troubles I had a crash with the same wayland error - but this time without any problem referencing screensharing. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 438097] [AnimationEffect] kwin_wayland sometimes crashes when xwayland tries to display a popup
https://bugs.kde.org/show_bug.cgi?id=438097 Lewis Lakerink changed: What|Removed |Added Version|git master |5.22.1 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 438097] [AnimationEffect] kwin_wayland sometimes crashes when xwayland tries to display a popup
https://bugs.kde.org/show_bug.cgi?id=438097 --- Comment #5 from Lewis Lakerink --- Annoyingly, I'm still seeing weird behaviour after time with xwayland and sometimes kwin crashing and restarting the session - however, I no longer get coredumps for kwin, and I've no idea why that is. The only evidence I have that a segfault occurred is in dmesg. I've set a huge max size on my core dumps, so no processes should be excluded from dumping, I'm not sure what else to do. -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 438381] plasmashell crashes occasionally when the dock hides/shows
https://bugs.kde.org/show_bug.cgi?id=438381 --- Comment #4 from Lewis Lakerink --- Created attachment 139357 --> https://bugs.kde.org/attachment.cgi?id=139357&action=edit WAYLAND_DEBUG=1 Plasma shell crash with same error It looks like both crashes have been caused by pipewire streams failing perhaps? Which is unusual, since plasmashell works fine, often for hours - including the thumbnails of applications in the launcher. -- You are receiving this mail because: You are watching all bug changes.
[Spectacle] [Bug 409798] Spectacle Copy To Clipboard Doesn't Work Properly Under Wayland Session
https://bugs.kde.org/show_bug.cgi?id=409798 --- Comment #17 from Lewis Lakerink --- (In reply to cauchy from comment #16) > Hi, > > unfortunately bug is still present in the Spectacle 21.04.2 on Arch Linux > with KDE 5.22 running full wayland. > > There is no difference if I use a shortcut to take a screenshot and copy it > into the clipboard or copy it from the GUI still the result is the same - no > screenshot in the clipboard thus no way to paste it anywhere. > Yea, still a +1 for me too. I've been using spectacle on wayland by saving the screenshot to disk and uploading/opening the saved screenshots in the programs I need. -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 438381] plasmashell crashes occasionally when the dock hides/shows
https://bugs.kde.org/show_bug.cgi?id=438381 --- Comment #2 from Lewis Lakerink --- Is there a stack trace that's usable if the process doesn't actually segfault, but terminates itself? Do you need a wayland debug trace? -- You are receiving this mail because: You are watching all bug changes.
[plasmashell] [Bug 438381] New: plasmashell crashes occasionally when the dock hides/shows
https://bugs.kde.org/show_bug.cgi?id=438381 Bug ID: 438381 Summary: plasmashell crashes occasionally when the dock hides/shows Product: plasmashell Version: 5.22.0 Platform: Archlinux Packages OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: generic-crash Assignee: plasma-b...@kde.org Reporter: le...@retsim.com Target Milestone: 1.0 SUMMARY Sometimes plasmashell will crash after a while when either trying to hide or show the dock. I have my plasmashell dock (Not latte, just the standard dock shipped with plasma) on the right side of my monitor. It often works perfectly for a few hours, but then after some time plasmashell terminates (not a segfault). Usually I don't notice it's crashed until after I try to show the dock with my cursor, and it no longer opens. The crash can happen after 10 minutes, other times it happens after several hours. STEPS TO REPRODUCE 1. Run plasmashell (Or use plasmashell that's launched at login) 2. After some time of using the desktop, plasmashell will terminate. 3. If I'm lucky enough to have a terminal open (Usually I do), I can relaunch plasmashell, but it too will crash after some time. Plasmashell works fine initially after launching it again. Task thumbnails are fine, everything is functional until it's next random crash. OBSERVED RESULT ❯ plasmashell kf.plasma.quick: Applet preload policy set to 1 trying to show an empty dialog file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height" file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height" qt.qpa.wayland: Wayland does not support QWindow::requestActivate() Error: cannot change the containment to AppletsLayout Plasma Shell startup completed qt.qpa.wayland: Wayland does not support QWindow::requestActivate() qt.qpa.wayland: Wayland does not support QWindow::requestActivate() qt.qpa.wayland: Wayland does not support QWindow::requestActivate() trying to show an empty dialog file:///usr/share/plasma/plasmoids/org.kde.panel/contents/ui/main.qml:30:1: QML DropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumHeight" trying to show an empty dialog file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:208: Error: Invalid write to global property "prefix" qt.qpa.wayland: Wayland does not support QWindow::requestActivate() libkcups: CUPS-Get-Printers last error: 0 successful-ok libkcups: Get-Jobs last error: 0 successful-ok libkcups: Get-Jobs last error: 0 successful-ok libkcups: Create-Printer-Subscriptions last error: 0 successful-ok QFont::setPointSizeF: Point size <= 0 (0.00), must be greater than 0 Cyclic dependency detected between "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationHeader.qml" libkcups: 3 "Brother_MFC-9335CDW" libkcups: 3 libkcups: 3 Error: cannot change the containment to AppletsLayout Both point size and pixel size set. Using pixel size. file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/Tooltip.qml:66:9: QML GridLayout (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth" file:///usr/share/plasma/plasmoids/org.kde.panel/contents/ui/main.qml:30:1: QML DropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumHeight" QFont::setPointSizeF: Point size <= 0 (0.00), must be greater than 0 qml: SystemTray ItemLoader: Invalid state, cannot determine source! qml: SystemTray ItemLoader: Invalid state, cannot determine source! qml: SystemTray ItemLoader: Invalid state, cannot determine source! qt.qpa.wayland: Wayland does not support QWindow::requestActivate() trying to show an empty dialog trying to show an empty dialog file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/LeaveButtons.qml:69:5: QML ToolButton: Binding loop detected for property "display" file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Panel.qml:26:1: QML Panel: Binding loop detected for property "state" kscreen.kwayland: Loading Wayland backend. kf5idletime_kwayland: This plugin does not support polling idle time file:///usr/lib/qt/qml/org/kde/plasma/components/ModelContextMenu.qml:38:1: QML ModelContextMenu: Accessible must be attached to an Item qrc:/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/PopupDialog.qml:120: TypeError: Cannot call method 'destroy' of null QFont::setPointSizeF: Point size <= 0 (0.00), must be greater than 0 QFont::setPointSizeF: Point size <= 0 (0.00), must be greater than 0 qt.svg: :406:376: Co
[kwin] [Bug 438097] [AnimationEffect] kwin_wayland sometimes crashes when xwayland tries to display a popup
https://bugs.kde.org/show_bug.cgi?id=438097 --- Comment #4 from Lewis Lakerink --- What can I do to help provide more details/debug info that might help with this? -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 438097] [AnimationEffect] kwin_wayland sometimes crashes when xwayland tries to display a popup
https://bugs.kde.org/show_bug.cgi?id=438097 Lewis Lakerink changed: What|Removed |Added Summary|[AnimationEffect] |[AnimationEffect] |kwin_wayland sometimes |kwin_wayland sometimes |crashes when right clicking |crashes when xwayland tries |in an xwayland program |to display a popup -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 438097] [AnimationEffect] kwin_wayland sometimes crashes when right clicking in an xwayland program
https://bugs.kde.org/show_bug.cgi?id=438097 --- Comment #2 from Lewis Lakerink --- I'm not sure if it's related - but sometimes kwin_wayland won't crash - but instead all my xwayland clients die (I guess xwayland itself crashes), and I'm not able to start an xwayland client again without logging out of my session and back in. Perhaps if the xwayland server crashes midway through a render xwayland related animations lose their EffectWindow? I don't know how that works internally, I'm merely speculating - and xwayland dying may be unrelated to this ticket. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 438097] [AnimationEffect] kwin_wayland sometimes crashes when right clicking in an xwayland program
https://bugs.kde.org/show_bug.cgi?id=438097 --- Comment #1 from Lewis Lakerink --- Another related backtrace. Similar cause, the line in question is "entry.key()->addLayerRepaint(entry->second);" This time the trigger for the crash was a code completion popup in PyCharm. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00030001 in ?? () [Current thread is 1 (Thread 0x7f50f658b840 (LWP 12571))] (gdb) bt #0 0x00030001 in () #1 0x7f50fd4174c3 in KWin::AnimationEffect::postPaintScreen() (this=0x55fa962bccb0) at /home/lewis/Documents/kwin-arch/kwin/src/kwin/src/libkwineffects/kwinanimationeffect.cpp:713 #2 0x7f50fd6f8351 in KWin::EffectsHandlerImpl::postPaintScreen() (this=0x55fa95f75110) at /home/lewis/Documents/kwin-arch/kwin/src/kwin/src/effects.cpp:419 #3 0x7f50fd78f0a7 in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, KWin::RenderLoop*, QMatrix4x4 const&) (this=this@entry=0x55fa9552d240, mask=mask@entry=0x7fff6b332894, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7fff6b332898, validRegion=validRegion@entry=0x7fff6b3328a0, renderLoop=, projection=) at /home/lewis/Documents/kwin-arch/kwin/src/kwin/src/scene.cpp:206 #4 0x7f50f466b1f1 in KWin::SceneOpenGL::paint(int, QRegion const&, QList const&, KWin::RenderLoop*) (this= 0x55fa9552d240, screenId=0, damage=, toplevels=, renderLoop=) at /home/lewis/Documents/kwin-arch/kwin/src/kwin/src/plugins/scenes/opengl/scene_opengl.cpp:696 #5 0x7f50fd6bd388 in KWin::Compositor::composite(KWin::RenderLoop*) (this=, renderLoop=) at /home/lewis/Documents/kwin-arch/kwin/src/kwin/src/composite.cpp:628 #6 0x7f50fbbf83bb in () at /usr/lib/libQt5Core.so.5 #7 0x7f50fd66cb72 in KWin::RenderLoop::frameRequested(KWin::RenderLoop*) (this=, _t1=) at /home/lewis/Documents/kwin-arch/kwin/src/build/src/kwin_autogen/EWIEGA46WW/moc_renderloop.cpp:206 #8 0x7f50fd77b703 in KWin::RenderLoopPrivate::dispatch() (this=0x55fa95e12a90) at /home/lewis/Documents/kwin-arch/kwin/src/kwin/src/renderloop.cpp:162 #9 0x7f50fbbf83bb in () at /usr/lib/libQt5Core.so.5 #10 0x7f50fbbfc38b in QTimer::timeout(QTimer::QPrivateSignal) () at /usr/lib/libQt5Core.so.5 #11 0x7f50fbbee07f in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5 #12 0x7f50fcb4fd62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5 #13 0x7f50fbbc100a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5 #14 0x7f50fbc18fad in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5 #15 0x7f50fbc17489 in QEventDispatcherUNIX::processEvents(QFlags) () at /usr/lib/libQt5Core.so.5 #16 0x55fa9400747e in QUnixEventDispatcherQPA::processEvents(QFlags) () #17 0x7f50fbbbf97c in QEventLoop::exec(QFlags) () at /usr/lib/libQt5Core.so.5 #18 0x7f50fbbc7ee4 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5 #19 0x55fa93fa13c6 in main(int, char**) (argc=, argv=) at /home/lewis/Documents/kwin-arch/kwin/src/kwin/src/main_wayland.cpp:719 (gdb) -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 438097] [AnimationEffect] kwin_wayland sometimes crashes when right clicking in an xwayland program
https://bugs.kde.org/show_bug.cgi?id=438097 Lewis Lakerink changed: What|Removed |Added CC||le...@retsim.com -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 438097] [AnimationEffect] kwin_wayland sometimes crashes when right clicking in an xwayland program
https://bugs.kde.org/show_bug.cgi?id=438097 Lewis Lakerink changed: What|Removed |Added CC||vlad.zahorod...@kde.org -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 438097] New: [AnimationEffect] kwin_wayland sometimes crashes when right clicking in an xwayland program
https://bugs.kde.org/show_bug.cgi?id=438097 Bug ID: 438097 Summary: [AnimationEffect] kwin_wayland sometimes crashes when right clicking in an xwayland program Product: kwin Version: git master Platform: Compiled Sources OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: wayland-generic Assignee: kwin-bugs-n...@kde.org Reporter: le...@retsim.com Target Milestone: --- SUMMARY (I assume) Some kind of internal effects change causes animations to be added with a null EffectWindow* key in m_animations. I've also observed crashes in AnimationEffect::paintWindow() - however I don't have a stack trace or line number for this, as I was using the ArchLinux 5.21.90 packages without debug info. STEPS TO REPRODUCE 1. Use an xwayland jetbrains IDE for some time 2. Eventually right clicking the source code to bring up the context menu will crash kwin 3. The crash can take minutes or hours of coding to occur, but it's almost always triggered for me by right clicking in the jetbrains IDE. OBSERVED RESULT She's dead, Jim. Core was generated by `kwin_wayland --wayland_fd 4 --xwayland /usr/lib/startplasma-waylandsession'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x7fa0303c6853 in KWin::AnimationEffect::updateLayerRepaints (this=this@entry=0x55e9754325f0) at /home/lewis/Documents/kwin-arch/kwin/src/kwin/src/libkwineffects/kwinanimationeffect.cpp:925sometimes 925 const QRect geo = entry.key()->expandedGeometry(); [Current thread is 1 (Thread 0x7fa02953b840 (LWP 1747))] (gdb) bt #0 0x7fa0303c6853 in KWin::AnimationEffect::updateLayerRepaints() (this=this@entry=0x55e9754325f0) at /home/lewis/Documents/kwin-arch/kwin/src/kwin/src/libkwineffects/kwinanimationeffect.cpp:925 #1 0x7fa0303c74cf in KWin::AnimationEffect::postPaintScreen() (this=0x55e9754325f0) at /home/lewis/Documents/kwin-arch/kwin/src/kwin/src/libkwineffects/kwinanimationeffect.cpp:703 #2 0x7fa0306a8351 in KWin::EffectsHandlerImpl::postPaintScreen() (this=0x55e974fb35d0) at /home/lewis/Documents/kwin-arch/kwin/src/kwin/src/effects.cpp:419 #3 0x7fa03073f0a7 in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*, KWin::RenderLoop*, QMatrix4x4 const&) (this=this@entry=0x55e9747823c0, mask=mask@entry=0x7ffd2f6b78b4, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7ffd2f6b78b8, validRegion=validRegion@entry=0x7ffd2f6b78c0, renderLoop=, projection=) at /home/lewis/Documents/kwin-arch/kwin/src/kwin/src/scene.cpp:206 #4 0x7fa0263f31f1 in KWin::SceneOpenGL::paint(int, QRegion const&, QList const&, KWin::RenderLoop*) (this= 0x55e9747823c0, screenId=0, damage=, toplevels=, renderLoop=) at /home/lewis/Documents/kwin-arch/kwin/src/kwin/src/plugins/scenes/opengl/scene_opengl.cpp:696 #5 0x7fa03066d388 in KWin::Compositor::composite(KWin::RenderLoop*) (this=, renderLoop=) at /home/lewis/Documents/kwin-arch/kwin/src/kwin/src/composite.cpp:628 #6 0x7fa02eba83bb in () at /usr/lib/libQt5Core.so.5 #7 0x7fa03061cb72 in KWin::RenderLoop::frameRequested(KWin::RenderLoop*) (this=, _t1=) at /home/lewis/Documents/kwin-arch/kwin/src/build/src/kwin_autogen/EWIEGA46WW/moc_renderloop.cpp:206 #8 0x7fa03072b703 in KWin::RenderLoopPrivate::dispatch() (this=0x55e974f66ed0) at /home/lewis/Documents/kwin-arch/kwin/src/kwin/src/renderloop.cpp:162 #9 0x7fa02eba83bb in () at /usr/lib/libQt5Core.so.5 #10 0x7fa02ebac38b in QTimer::timeout(QTimer::QPrivateSignal) () at /usr/lib/libQt5Core.so.5 #11 0x7fa02eb9e07f in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5 #12 0x7fa02faffd62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5 #13 0x7fa02eb7100a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5 #14 0x7fa02ebc8fad in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5 #15 0x7fa02ebc7489 in QEventDispatcherUNIX::processEvents(QFlags) () at /usr/lib/libQt5Core.so.5 #16 0x55e972c2d47e in QUnixEventDispatcherQPA::processEvents(QFlags) () #17 0x7fa02eb6f97c in QEventLoop::exec(QFlags) () at /usr/lib/libQt5Core.so.5 #18 0x7fa02eb77ee4 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5 #19 0x55e972bc73c6 in main(int, char**) (argc=, argv=) at /home/lewis/Documents/kwin-arch/kwin/src/kwin/src/main_wayland.cpp:719 (gdb) EXPECTED RESULT kwin_wayland doesn't crash. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.21.90 KDE Frameworks Version: 5.82.0 Qt Version: 5.15.2 Kernel Version: 5.12.9-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 PRO 4650U with Radeon Graphics Memory: 14.9 GiB of RAM Graphics Processor: AMD RENOIR ADDITIONAL INFORMATION Speculation: I know Vlad has been doing a lot of wo
[Spectacle] [Bug 409798] Spectacle Copy To Clipboard Doesn't Work Properly Under Wayland Session
https://bugs.kde.org/show_bug.cgi?id=409798 Lewis Lakerink changed: What|Removed |Added CC||le...@retsim.com --- Comment #14 from Lewis Lakerink --- Yea +1 for this still persisting. Spectacle 20.11.90 on wayland is copying a 0x0 image to the clipboard (according to klipper) - an image which can not be pasted. I suspect the 0x0 image is a separate bug to the initial bug reported under this ticket. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 426567] Crash in clientshape
https://bugs.kde.org/show_bug.cgi?id=426567 --- Comment #3 from Lewis Lakerink --- FWIW, I found that checking only for surface() without subSurface() lead to black window decorations on XWayland clients. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 426567] Crash in clientshape
https://bugs.kde.org/show_bug.cgi?id=426567 Lewis Lakerink changed: What|Removed |Added CC||le...@retsim.com --- Comment #2 from Lewis Lakerink --- My backtrace for https://invent.kde.org/plasma/kwin/-/merge_requests/408 is identical to David's. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 426293] All my Qt clients die when I disconnect my display
https://bugs.kde.org/show_bug.cgi?id=426293 --- Comment #10 from Lewis Lakerink --- (In reply to Vlad Zahorodnii from comment #9) > No, I screwed the pooch with Qt versions. It's 5.15.2 All good. I rebuilt the relevant parts of Qt 5.15.1 with your patches from qtwayland. - https://code.qt.io/cgit/qt/qtwayland.git/commit/?id=c594b7622f52dea291d33757b74971b3902b5d37 - https://code.qt.io/cgit/qt/qtwayland.git/commit/?id=4a4c35a856cf64f0e165cc3cfaeb1a3bbbf471f6 Then applied your MR!98 - changing the version check to 5.15.1 and rebuilt kwayland-server and relevant plasma bits. I am able to confirm that unplugging my dock no longer kills the Qt clients. I've tried a variety of screen configurations and adding/removing displays via my dock works perfectly. Nice work! Thank you -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 426293] All my Qt clients die when I disconnect my display
https://bugs.kde.org/show_bug.cgi?id=426293 --- Comment #8 from Lewis Lakerink --- Just to double check, MR!98 is for a version of Qt (5.15.3) that isn't even on the Qt release schedule yet? I have the latest stable Qt release, QT 5.15.1 installed, and this patch is just a noop for that version. I tried changing the version check in your diff to 5.15.1, but kwin just crashes when removing a monitor. I'm super keen to try out this diff, and I'm happy to upgrade to an unstable Qt to do so if required, but wanted to check. Does that mean this bug could take a while to land a fix for since we'll be waiting for upstream Qt? Thank you for your time looking in to this issue! -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 426293] All my Qt clients die when I disconnect my display
https://bugs.kde.org/show_bug.cgi?id=426293 Lewis Lakerink changed: What|Removed |Added CC||le...@retsim.com --- Comment #5 from Lewis Lakerink --- I came here to say that this issue hits me too. I searched up this issue recently, but somehow missed this report or I'd have gotten involved sooner. Docking my laptop works as expected, extra screens are added just fine. But as soon as I undock, all the Qt applications crash. The debugging I did arrived at the same conclusion as Vlad, but I don't have enough knowledge of wayland to help with this bug. I'm using Gentoo live ebuilds for plasma, so I have not reported this issue due to this. Happy to help in any way I can however. -- You are receiving this mail because: You are watching all bug changes.
[KScreen] [Bug 408964] Wayland fractional scaling - very pixelated by default
https://bugs.kde.org/show_bug.cgi?id=408964 --- Comment #12 from Lewis Lakerink --- I can confirm that the patch D23669.diff to force the mipmaps works very well. The fonts are no longer pixelated. I've attached a before and after, they could be less blurry, but you can clearly see that the fonts are now significantly better. -- You are receiving this mail because: You are watching all bug changes.
[KScreen] [Bug 408964] Wayland fractional scaling - very pixelated by default
https://bugs.kde.org/show_bug.cgi?id=408964 --- Comment #11 from Lewis Lakerink --- Created attachment 122604 --> https://bugs.kde.org/attachment.cgi?id=122604&action=edit (After) screenshot from kwin 5.16.5 with D23669.diff applied. 4k @ 1.5x -- You are receiving this mail because: You are watching all bug changes.
[KScreen] [Bug 408964] Wayland fractional scaling - very pixelated by default
https://bugs.kde.org/show_bug.cgi?id=408964 --- Comment #10 from Lewis Lakerink --- Created attachment 122603 --> https://bugs.kde.org/attachment.cgi?id=122603&action=edit (Before) screenshot from kwin 5.16.5 without D23669.diff applied. 4k @ 1.5x -- You are receiving this mail because: You are watching all bug changes.
[KScreen] [Bug 408964] Wayland fractional scaling - very pixelated by default
https://bugs.kde.org/show_bug.cgi?id=408964 --- Comment #9 from Lewis Lakerink --- Certainly. Give me a day or so to build and install with the patch. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 408964] wayland fractinal scaling - very pixelated by default
https://bugs.kde.org/show_bug.cgi?id=408964 --- Comment #6 from Lewis Lakerink --- I can also confirm this issue. Using kscreen-doctor with 1.25x under wayland causes exactly the same pixelated fonts as your screenshots, Brian. I first encountered this issue some 12-18 months ago, and it is a show stopper for me using Plasma as I have a dell xps 4k with 2 external 4k monitors, which exceeds the maximum buffer size for the modesetting xorg driver (when scaling with xrandr). And the intel xorg driver is noticeably laggy at this resolution. Sadly, I have since moved over to using Gnome 3.32 with wayland which has been working well, but I'd still like to come back Plasma when this issue can be resolved. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 408964] wayland fractinal scaling - very pixelated by default
https://bugs.kde.org/show_bug.cgi?id=408964 Lewis Lakerink changed: What|Removed |Added CC||le...@retsim.com -- You are receiving this mail because: You are watching all bug changes.