After some amount of time, the panel just freeze but all the buttons and tooltips work properly.
STEPS TO REPRODUCE
1. Log-in to a Plasma Wayland Session with NVIDIA GPU.
2. Use your computer for an hour or two.
3. Eventually the panel will freeze.
The panel will freeze eventually at some point, but all the panel functions continue to work. plasmashell --replace fixes this issue.
The panel should continue to respond and update normally without any freezes.
Linux Kernel: 5.16.1-arch1-1
KDE Plasma Version: 5.23.90
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
NVIDIA GeForce GTX 1060 6GB
NVIDIA Proprietary Driver 495.46
Latest packages - all up-to-date, unstable Plasma 5.23.90 and latest qt5-wayland with merged NVIDIA GBM fix.
Here is a video showcasing the issue:- https://www.youtube.com/watch?v=ZTgTRRoO29g
Oh my goodness.
Not sure if this is a Plasma bug or a KWin bug or an NVIDIA driver bug. May be a combination of all three
(In reply to Nate Graham from comment #2)
> Not sure if this is a Plasma bug or a KWin bug or an NVIDIA driver bug. May
Atleast its not as bad as it was previously. So should I report this to NVIDIA too or should I wait for confirmation that this is a NVIDIA Bug?
I also noticed that once when I did `plasmashell --replace`, there was a crash when panel was replaced and the panel just froze as soon as it appeared, maybe this crash is the reason? Another time, when I did this, the panel appeared, disappeared and then reappeared (but it worked normally, just weird replace behavior).
( No Backtraces because no debug symbols in Arch :( )
Oh, that might be it, yeah.
Even if the backtrace is crappy and lacking symbols, it's better than nothing, and we might be able to see if it's the same as something else.
Created attachment 145789 [details]
Part of the output of `journalctl -xe` when the crash occured.
I am now submitting the journalctl -xe output when I did plasmashell --replace and it crashed.
Created attachment 145790 [details]
KCrash Handler Output
Application: Plasma (plasmashell), signal: Segmentation fault
#4 0x0000000000000020 in ()
#5 0x00007fce113b8381 in () at /usr/lib/qt/plugins/kf5/kwindowsystem/KF5WindowSystemKWaylandPlugin.so
#6 0x00007fce206c0f84 in KWindowShadowPrivate::~KWindowShadowPrivate() () at /usr/lib/libKF5WindowSystem.so.5
#7 0x00007fce113b86d1 in () at /usr/lib/qt/plugins/kf5/kwindowsystem/KF5WindowSystemKWaylandPlugin.so
#8 0x00007fce206c0f0b in KWindowShadow::~KWindowShadow() () at /usr/lib/libKF5WindowSystem.so.5
#9 0x00007fce206c0f2e in KWindowShadow::~KWindowShadow() () at /usr/lib/libKF5WindowSystem.so.5
#10 0x00007fce1f534d65 in QObjectPrivate::deleteChildren() () at /usr/lib/libQt5Core.so.5
#11 0x00007fce1f535519 in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#12 0x00007fce2162643d in () at /usr/lib/libKF5PlasmaQuick.so.5
#13 0x00007fce1eedf4a7 in __run_exit_handlers () at /usr/lib/libc.so.6
#14 0x00007fce1eedf64e in () at /usr/lib/libc.so.6
#15 0x00007fce1eec7b2c in __libc_start_main () at /usr/lib/libc.so.6
#16 0x00005564aab4689e in ()
[Inferior 1 (process 21594) detached]
It's not great, but it's enough to detect that this is the same as Bug 443706, which was just fixed!
*** This bug has been marked as a duplicate of bug 443706 ***
*** This bug has been marked as a duplicate of bug 449163 ***
*** This bug has been marked as a duplicate of bug 429211 ***
FYI: There is an nVidia/Wayland specific issue with identical symptoms to this, which https://codereview.qt-project.org/c/qt/qtwayland/+/393273 alone doesn't fix.
It seems to be due to a bug in libnvidia-egl-wayland:
I can't reproduce the issue with this patch, but can without it:
Confirmed I have the same exact issue. The Panel will no longer refresh but you can hover with tooltips around the panel and see that there is still interactivity and operability is there, the visual is not in sync with the status of the panel.
Operating System: Arch Linux
KDE Plasma Version: 5.26.0
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel Version: 6.0.1-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 5950X 16-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1070/PCIe/SSE2