[kwin] [Bug 447116] kwin crashes after pressing alt-tab twice
https://bugs.kde.org/show_bug.cgi?id=447116 --- Comment #23 from andresdor...@gmail.com --- sorry here is the link to the bug report https://github.com/catsout/wallpaper-engine-kde-plugin/issues/244 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447116] kwin crashes after pressing alt-tab twice
https://bugs.kde.org/show_bug.cgi?id=447116 andresdor...@gmail.com changed: What|Removed |Added Resolution|--- |FIXED Status|REOPENED|RESOLVED --- Comment #22 from andresdor...@gmail.com --- Tested for a week without https://github.com/catsout/wallpaper-engine-kde-plugin, and I think I found the culprit. It seems the issue is that catsout wallpaper engine plugin randomly crashes when plasma locks the session and when unlocked it loads in a broken state without hardware rendering (as denoted by the tray icon saying software rendering is being used and performance may be degraded) this in turn causes the task switcher to crash. To fix I need to remove the wallpaper source form `~/.config/plasma-org.kde.plasma.desktop-appletsrc` and then click on the tray icon that mentions software rendering and set it to hardware. The next time I start KDE, all is well, and I can set up wallper-engine again though it will cause the same breakage randomly when kde locks the session. Reported the issue here https://github.com/catsout/wallpaper-engine-kde-plugin -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447116] kwin crashes after pressing alt-tab twice
https://bugs.kde.org/show_bug.cgi?id=447116 Nicolas Fella changed: What|Removed |Added CC||seif...@alesak.net --- Comment #21 from Nicolas Fella --- *** Bug 461107 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447116] kwin crashes after pressing alt-tab twice
https://bugs.kde.org/show_bug.cgi?id=447116 --- Comment #20 from andresdor...@gmail.com --- (In reply to andresdortiz from comment #19) > (In reply to andresdortiz from comment #18) > > fixed in 5.26.1 > > NVM started happening again randomly so it seems to happen randomly, with some boots working while others don't something I noticed is when it's not working, I get a tray icon that says, "Software rendering in use, rendering may be degraded." -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447116] kwin crashes after pressing alt-tab twice
https://bugs.kde.org/show_bug.cgi?id=447116 andresdor...@gmail.com changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED|REOPENED --- Comment #19 from andresdor...@gmail.com --- (In reply to andresdortiz from comment #18) > fixed in 5.26.1 NVM started happening again randomly -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447116] kwin crashes after pressing alt-tab twice
https://bugs.kde.org/show_bug.cgi?id=447116 andresdor...@gmail.com changed: What|Removed |Added Resolution|--- |FIXED Status|REOPENED|RESOLVED --- Comment #18 from andresdor...@gmail.com --- fixed in 5.26.1 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447116] kwin crashes after pressing alt-tab twice
https://bugs.kde.org/show_bug.cgi?id=447116 Nicolas Fella changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED |--- CC||nicolas.fe...@gmx.de Ever confirmed|0 |1 --- Comment #17 from Nicolas Fella --- (In reply to David Edmundson from comment #15) > This should be fixed in 5.26.0 https://bugs.kde.org/show_bug.cgi?id=460455 suggests otherwise -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447116] kwin crashes after pressing alt-tab twice
https://bugs.kde.org/show_bug.cgi?id=447116 Nicolas Fella changed: What|Removed |Added CC||andresdor...@gmail.com --- Comment #16 from Nicolas Fella --- *** Bug 460455 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447116] kwin crashes after pressing alt-tab twice
https://bugs.kde.org/show_bug.cgi?id=447116 David Edmundson changed: What|Removed |Added Status|REPORTED|RESOLVED CC||k...@davidedmundson.co.uk Resolution|--- |FIXED --- Comment #15 from David Edmundson --- This should be fixed in 5.26.0 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447116] kwin crashes after pressing alt-tab twice
https://bugs.kde.org/show_bug.cgi?id=447116 --- Comment #14 from Michał --- I can confirm, that disabling Breeze effect during switching windows with alt-tab solves the issue. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447116] kwin crashes after pressing alt-tab twice
https://bugs.kde.org/show_bug.cgi?id=447116 Nicolas Fella changed: What|Removed |Added CC||michal.choc...@gmail.com --- Comment #13 from Nicolas Fella --- *** Bug 459799 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447116] kwin crashes after pressing alt-tab twice
https://bugs.kde.org/show_bug.cgi?id=447116 Fushan Wen changed: What|Removed |Added CC||qydwhotm...@gmail.com --- Comment #12 from Fushan Wen --- Got a crash after trying to open Overview effect, but cannot reproduce again after kwin_x11 was restarted. (gdb) bt #0 __GI___pthread_sigmask (how=1, newmask=, oldmask=0x0) at pthread_sigmask.c:43 #1 0x7fbaef5edb2d in __GI___sigprocmask (how=, set=, oset=) at ../sysdeps/unix/sysv/linux/sigprocmask.c:25 #2 0x7fbaf2fe788b in KCrash::setCrashHandler(void (*)(int)) (handler=handler@entry=0x0) at /usr/src/debug/kcrash-5.99.0git.20220917T130720~d2f3085-ku.2.2.x86_64/src/kcrash.cpp:415 #3 0x7fbaf2fe9da6 in KCrash::defaultCrashHandler(int) (sig=11) at /usr/src/debug/kcrash-5.99.0git.20220917T130720~d2f3085-ku.2.2.x86_64/src/kcrash.cpp:632 #4 0x7fbaef5ed910 in () at /lib64/libc.so.6 #5 QScopedPointer >::operator->() const (this=0x8) at /usr/include/qt5/QtCore/qscopedpointer.h:116 #6 qGetPtrHelper > >(QScopedPointer >&) (ptr=...) at /usr/include/qt5/QtCore/qglobal.h:1143 #7 QSGTexture::d_func() (this=0x0) at /usr/src/debug/libqt5-qtdeclarative-5.15.5+kde19-ku.1.1.x86_64/src/quick/scenegraph/coreapi/qsgtexture.h:57 #8 QSGTexture::setFiltering(QSGTexture::Filtering) (this=0x0, filter=filter@entry=QSGTexture::Linear) at /usr/src/debug/libqt5-qtdeclarative-5.15.5+kde19-ku.1.1.x86_64/src/quick/scenegraph/coreapi/qsgtexture.cpp:576 #9 0x7fbaf2bd4606 in KWin::ThumbnailTextureProvider::setTexture(std::shared_ptr const&) (this=0x26f7560, nativeTexture=std::shared_ptr (use count 2, weak count 0) = {...}) at /usr/include/c++/12/bits/unique_ptr.h:191 #10 0x7fbaf2bd4d03 in KWin::WindowThumbnailItem::updatePaintNode(QSGNode*, QQuickItem::UpdatePaintNodeData*) (this=0x253ff60, oldNode=0x0) at /mnt/data/home/qydw/Develop/KDE/Plasma/kwin/src/scripting/windowthumbnailitem.cpp:227 #11 0x7fbaf25887c8 in QQuickWindowPrivate::updateDirtyNode(QQuickItem*) (this=0x16f6270, item=0x253ff60) at /usr/src/debug/libqt5-qtdeclarative-5.15.5+kde19-ku.1.1.x86_64/src/quick/items/qquickwindow.cpp:3871 #12 0x7fbaf2588dcb in QQuickWindowPrivate::updateDirtyNodes() (this=this@entry=0x16f6270) at /usr/src/debug/libqt5-qtdeclarative-5.15.5+kde19-ku.1.1.x86_64/src/quick/items/qquickwindow.cpp:3616 #13 0x7fbaf258a93d in QQuickWindowPrivate::syncSceneGraph() (this=0x16f6270) at /usr/src/debug/libqt5-qtdeclarative-5.15.5+kde19-ku.1.1.x86_64/src/quick/items/qquickwindow.cpp:523 #14 0x7fbaf2615b49 in QQuickRenderControl::sync() (this=) at /usr/src/debug/libqt5-qtdeclarative-5.15.5+kde19-ku.1.1.x86_64/src/quick/items/qquickrendercontrol.cpp:297 #15 0x7fbaf0781806 in KWin::OffscreenQuickView::update() (this=0x7fba941040f0) at /mnt/data/home/qydw/Develop/KDE/Plasma/kwin/src/libkwineffects/kwinoffscreenquickview.cpp:296 #16 KWin::OffscreenQuickView::update() (this=this@entry=0x7fba941040f0) at /mnt/data/home/qydw/Develop/KDE/Plasma/kwin/src/libkwineffects/kwinoffscreenquickview.cpp:261 #17 0x7fbaf0783e00 in KWin::QuickSceneEffect::prePaintScreen(KWin::ScreenPrePaintData&, std::chrono::duration >) (this=, data=, presentTime=...) at /mnt/data/home/qydw/Develop/KDE/Plasma/kwin/src/libkwineffects/kwinquickeffect.cpp:313 #18 0x7fbaf2b2b561 in KWin::EffectsHandlerImpl::prePaintScreen(KWin::ScreenPrePaintData&, std::chrono::duration >) (this=0x13fbec0, data=, presentTime=...) at /mnt/data/home/qydw/Develop/KDE/Plasma/kwin/src/effects.cpp:388 #19 0x7fbaf2ba7d01 in KWin::Scene::prePaint(KWin::Output*) (this=0x13a33d0, output=) at /mnt/data/home/qydw/Develop/KDE/Plasma/kwin/src/scene.cpp:291 #20 0x7fbaf2aea53f in KWin::Compositor::prePaintPass(KWin::RenderLayer*) (this=this@entry=0x1051860, layer=layer@entry=0x13ea160) at /mnt/data/home/qydw/Develop/KDE/Plasma/kwin/src/composite.cpp:682 #21 0x7fbaf2aed88f in KWin::Compositor::composite(KWin::RenderLoop*) (this=0x1051860, renderLoop=0xfe2390) at /mnt/data/home/qydw/Develop/KDE/Plasma/kwin/src/composite.cpp:626 #22 0x7fbaf2aee1ab in KWin::X11Compositor::composite(KWin::RenderLoop*) (this=0x1051860, renderLoop=0xfe2390) at /mnt/data/home/qydw/Develop/KDE/Plasma/kwin/src/composite.cpp:906 #23 0x7fbaf123ce6f in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffe39135ac0, r=0x1051860, this=0x105cb90) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #24 doActivate(QObject*, int, void**) (sender=0xfe2390, signal_index=5, argv=0x7ffe39135ac0) at kernel/qobject.cpp:3886 #25 0x7fbaf123622f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=, m=m@entry=0x7fbaf2ee9440 , local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffe39135ac0) at kernel/qobject.cpp:3946 #26 0x7fbaf2aa9952 in KWin::RenderLoop::frameRequested(KWin::RenderLoop*) (this=, _t1=) at
[kwin] [Bug 447116] kwin crashes after pressing alt-tab twice
https://bugs.kde.org/show_bug.cgi?id=447116 Vlad Zahorodnii changed: What|Removed |Added CC||eliyahushap...@gmail.com --- Comment #11 from Vlad Zahorodnii --- *** Bug 445251 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447116] kwin crashes after pressing alt-tab twice
https://bugs.kde.org/show_bug.cgi?id=447116 --- Comment #10 from matteomartel...@gmail.com --- (In reply to matteomartelli3 from comment #9) > (In reply to hellmade from comment #5) > > got a work around: > > I went to: System Control / window behavior / App Switcher > > (sorry, just have the german version and hope my translations match) > > > > In Display I deselected the switcher App or chagend it to big symbols and > > the crashing went away. > > I played a bit with this config and found out that the Breeze options do > > crash as well as preview images > > The other options I tested work fine. > > Same issue here and your work around works for me too. > To be more specific I can reproduce the issue with these visualization > effects: Breeze, Grid, Thumbnail Grid, Thumbnails. With the other effects > the Task Switcher works fine. What those effects have in common is that they > display the content of the task window, so I guess the problem is there. > Also, the issue can't be reproduced with the compositor disabled because in > that case those visualization effects just display the task icon instead of > the window content, as the other visualization effects do. My system settings are: Distro: Arch Linux KDE Plasma Version: 5.23.5 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.2 Kernel version: 5.16.1-arch-1 (64-bit) Graphics: X11, NVIDIA GeForce GTX 1060 with drivers nvidia 495.46 Processors: Intel Core i7-6700K Memory: 16GB of RAM -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447116] kwin crashes after pressing alt-tab twice
https://bugs.kde.org/show_bug.cgi?id=447116 matteomartel...@gmail.com changed: What|Removed |Added CC||matteomartel...@gmail.com --- Comment #9 from matteomartel...@gmail.com --- (In reply to hellmade from comment #5) > got a work around: > I went to: System Control / window behavior / App Switcher > (sorry, just have the german version and hope my translations match) > > In Display I deselected the switcher App or chagend it to big symbols and > the crashing went away. > I played a bit with this config and found out that the Breeze options do > crash as well as preview images > The other options I tested work fine. Same issue here and your work around works for me too. To be more specific I can reproduce the issue with these visualization effects: Breeze, Grid, Thumbnail Grid, Thumbnails. With the other effects the Task Switcher works fine. What those effects have in common is that they display the content of the task window, so I guess the problem is there. Also, the issue can't be reproduced with the compositor disabled because in that case those visualization effects just display the task icon instead of the window content, as the other visualization effects do. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447116] kwin crashes after pressing alt-tab twice
https://bugs.kde.org/show_bug.cgi?id=447116 --- Comment #8 from Lamarque V. Souza --- kwin_x11 also has this problem in my laptop when compositing is enabled. It was disabled when I first tested, so I could not reproduce the problem. So both kwin_x11 and kwin_wayland have this problem for me. The difference is that kwin_x11 does not crash, it just disables compositing when the problem happens ('qdbus org.kde.KWin /Compositor org.kde.kwin.Compositing.active' returns false). I have the re-enable compositing through systemsettings, using 'qdbus org.kde.KWin /Compositor org.kde.kwin.Compositing.resume' does not work. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447116] kwin crashes after pressing alt-tab twice
https://bugs.kde.org/show_bug.cgi?id=447116 --- Comment #7 from Lamarque V. Souza --- (In reply to Vlad Zahorodnii from comment #6) > > shows that qmlscene uses the nvidia gpu in my wayland session > That's really strange. Both kwin and qt should use the same render device. I think that was because I was using nvidia-drivers-495.46 (this one uses gbm). I downgraded to nvidia-drivers-470.94, which seems a bit more stable and qmlscene shows it is using the Intel gpu. > > pressing ALT-TAB twice before the switching app is loaded will crash kwin > > and switch off composer > Just to clarify, should alt-tab be pressed twice before the task switcher > window is shown? I created this video to show that happens: https://photos.app.goo.gl/pEbGALMLLDkyZ7Zs9 Just one Alt+Tab is enough to crash kwin_wayland in my case. kwin_wayland restarts after the crash (ps shows there is a new kwin_wayland instance with different pid), but it get stuck somehow. The gray window that appears three times at the end of the video is me pressing Alt+Tab three times. It seems it tries to render the thumbnail switcher, kwin_wayland does not crash this time, but also does not render anything besides that window. I have to 'killall kwayland' to get a new login screen in sddm. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447116] kwin crashes after pressing alt-tab twice
https://bugs.kde.org/show_bug.cgi?id=447116 --- Comment #6 from Vlad Zahorodnii --- > shows that qmlscene uses the nvidia gpu in my wayland session That's really strange. Both kwin and qt should use the same render device. > pressing ALT-TAB twice before the switching app is loaded will crash kwin and > switch off composer Just to clarify, should alt-tab be pressed twice before the task switcher window is shown? -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447116] kwin crashes after pressing alt-tab twice
https://bugs.kde.org/show_bug.cgi?id=447116 --- Comment #5 from hellmade --- got a work around: I went to: System Control / window behavior / App Switcher (sorry, just have the german version and hope my translations match) In Display I deselected the switcher App or chagend it to big symbols and the crashing went away. I played a bit with this config and found out that the Breeze options do crash as well as preview images The other options I tested work fine. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447116] kwin crashes after pressing alt-tab twice
https://bugs.kde.org/show_bug.cgi?id=447116 --- Comment #4 from Lamarque V. Souza --- kwin_wayland still crashes and kwin_x11 still works even when I disabled the nvidia drivers and uses the intel gpu only. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447116] kwin crashes after pressing alt-tab twice
https://bugs.kde.org/show_bug.cgi?id=447116 --- Comment #3 from Lamarque V. Souza --- I forgot to say that kwin_x11 uses the nvidia gpu and kwin_wayland uses the intel gpu to renter. I have done a quick test and "QT_LOGGING_RULES=qt.scenegraph.*=true" shows that qmlscene uses the nvidia gpu in my wayland session. I should be using the intel gpu. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447116] kwin crashes after pressing alt-tab twice
https://bugs.kde.org/show_bug.cgi?id=447116 Lamarque V. Souza changed: What|Removed |Added CC||lamar...@kde.org --- Comment #2 from Lamarque V. Souza --- I have the same problema but with kwin_wayland. kwin_x11 works for me. #0 0x7f1f6f6eaad0 in QSGTexture::setFiltering(QSGTexture::Filtering) () from /usr/lib64/libQt5Quick.so.5 #1 0x7f1f700dd5b0 in KWin::ThumbnailTextureProvider::setTexture(QSharedPointer const&) () from /usr/lib64/libkwin.so.5 #2 0x7f1f700dec73 in KWin::ThumbnailItemBase::updatePaintNode(QSGNode*, QQuickItem::UpdatePaintNodeData*) () from /usr/lib64/libkwin.so.5 #3 0x7f1f6f7c0ba8 in QQuickWindowPrivate::updateDirtyNode(QQuickItem*) () from /usr/lib64/libQt5Quick.so.5 #4 0x7f1f6f7c115b in QQuickWindowPrivate::updateDirtyNodes() () from /usr/lib64/libQt5Quick.so.5 #5 0x7f1f6f7c2d8c in QQuickWindowPrivate::syncSceneGraph() () from /usr/lib64/libQt5Quick.so.5 #6 0x7f1f6f77ca88 in QSGSoftwareRenderLoop::renderWindow(QQuickWindow*, bool) () from /usr/lib64/libQt5Quick.so.5 #7 0x7f1f6f7d1497 in QQuickWindow::event(QEvent*) () from /usr/lib64/libQt5Quick.so.5 #8 0x7f1f6e833abf in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #9 0x7f1f6dd3d1e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5 #10 0x7f1f6e17ee4c in QPlatformWindow::deliverUpdateRequest() () from /usr/lib64/libQt5Gui.so.5 #11 0x7f1f6e17d3be in QPlatformWindow::windowEvent(QEvent*) () from /usr/lib64/libQt5Gui.so.5 #12 0x7f1f6e83ae1e in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #13 0x7f1f6dd3d1e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5 #14 0x7f1f6dd93b9e in QTimerInfoList::activateTimers() () from /usr/lib64/libQt5Core.so.5 #15 0x7f1f6dd91a6f in QEventDispatcherUNIX::processEvents(QFlags for more, q to quit, c to continue without paging-- op::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #16 0x562822f3a6dd in QUnixEventDispatcherQPA::processEvents(QFlags) () #17 0x7f1f6dd3b71b in QEventLoop::exec(QFlags) () from /usr/lib64/libQt5Core.so.5 #18 0x7f1f6dd44470 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5 My laptop has two gpus: Intel HD Graphics 530 (/dev/card/card0) and Nvidia GeForce GTX 970M (/dev/dri/card1). m_window->openglContext() returns null inside ThumbnailTextureProvider::setTexture. That's probably explains why m_window->createTextureFromNativeObject() also returns null. The point is why the OpenGL context is null there. Maybe it is related to the fact that there are two gpus involved? -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447116] kwin crashes after pressing alt-tab twice
https://bugs.kde.org/show_bug.cgi?id=447116 Nate Graham changed: What|Removed |Added CC||n...@kde.org -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 447116] kwin crashes after pressing alt-tab twice
https://bugs.kde.org/show_bug.cgi?id=447116 --- Comment #1 from hellmade --- also: I'm on nvidia 470 drivers -- You are receiving this mail because: You are watching all bug changes.