Summary: | [Wayland + Nvidia] Plasma popups (e.g. Kickoff and KRunner) sometimes stops showing after opening / closing them a few times | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | qlum <qlumreg> |
Component: | wayland-generic | Assignee: | Alexander Lohnau <alexander.lohnau> |
Status: | RESOLVED UPSTREAM | ||
Severity: | grave | CC: | alan.hovgaard, alexey.s.f, alx5000, anonymx, bart, bixilon, bizyaev, brunom, bugs.a4pac, chermnykh2001, chn, chuellsarjomor, dashonwwIII, iwisp360, izowiuz, jsdeckerido, kde, kde, kilgore.trout, kodatarule, Landgraf132, larxvy, leafee98, mcanders1, me, mooodyhunter, msmafra, nate, null, pepko94, plasma-bugs, rencedm112, rulatir, spyrogas, steve, t.enzenebner, trw2006, ua_bugz_kde, white.spot6096, ybeltukov, yugami |
Priority: | VHI | Keywords: | wayland |
Version: | 5.91.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=455575 | ||
Latest Commit: | Version Fixed In: | Qt 6.6.3 | |
Sentry Crash Report: | |||
Attachments: | krunner log when it dissapears |
Description
qlum
2022-06-25 11:06:47 UTC
To add to this, not just krunner but a lot of other stuff glitched out(like opening panels, and simple applications as Steam outright freeze and no longer open after they were opened). Just for info - the issue wasn't present in 5.24.5 (In reply to kodatarule from comment #1) > To add to this, not just krunner but a lot of other stuff glitched out, like opening panels. > Just for info - the issue wasn't present in 5.24.5 I have this same issue, in fact I don't know where to submit it. More details: - clicking on buttons in the System Tray doesn't always open the desired popup — the frequency of this happening is nod related to high resources' usage; - typing in KRunner hangs — the input is regitered, so if I type "system settings" and press enter, the query isn't displayed, but KRunner correctly opens System Settings OS: openSUSE Tumbleweed 20220628 KDE Plasma: 5.25.1 KDE Frameworks: 5.95.0 Qt: 5.15.2 Kernel: 5.18.6-1-default (64-bit) Graphics Platform: Wayland CPU: AMD Ryzen 5 2600 Six-Core Memory: 7.7 GiB RAM Graphics Processor: NVIDIA GeForce GTX 750 (In reply to idesmi from comment #2) > (In reply to kodatarule from comment #1) > > To add to this, not just krunner but a lot of other stuff glitched out, like opening panels. > > Just for info - the issue wasn't present in 5.24.5 > > I have this same issue, in fact I don't know where to submit it. > More details: > - clicking on buttons in the System Tray doesn't always open the desired > popup — the frequency of this happening is nod related to high resources' > usage; > - typing in KRunner hangs — the input is regitered, so if I type "system > settings" and press enter, the query isn't displayed, but KRunner correctly > opens System Settings > > OS: openSUSE Tumbleweed 20220628 > KDE Plasma: 5.25.1 > KDE Frameworks: 5.95.0 > Qt: 5.15.2 > Kernel: 5.18.6-1-default (64-bit) > Graphics Platform: Wayland > CPU: AMD Ryzen 5 2600 Six-Core > Memory: 7.7 GiB RAM > Graphics Processor: NVIDIA GeForce GTX 750 Do you experience clicking on panel multiple times, or other drop down notification to stop showing up ? Also if you have steam open for longer, does the client itself just freeze for you too ? OS: openSUSE Tumbleweed 20220628 KDE Plasma: 5.25.2 KDE Frameworks: 5.95.0 Qt: 5.15.5 Kernel: 5.18.6-262-tkg-pds Graphics Platform: Wayland CPU: AMD Ryzen 7 5800X3D Memory: 31.3 GiB RAM Graphics Processor: NVIDIA GeForce RTX 3070 Apologies, forgot to change that I use Arch Linux Same thing with my PC, but for Application Launcher. I'm using Fedora 36 KDE Plasma Spin. This bug is in 5.25.90 too. GTX960 Linux fr Scratch source build Qt 5.15.5 NV 515.57 drv. (In reply to archetech from comment #6) > This bug is in 5.25.90 too. GTX960 Linux fr Scratch source build Qt > 5.15.5 NV 515.57 drv. Can you confirm if it's still present if you set your env variable - QSG_RENDER_LOOP=basic ? I am using KDE Plasma 5.26 Beta / Wayland and "QSG_RENDER_LOOP=basic" does not solve this problem. *** This bug has been confirmed by popular vote. *** NVIDIA/Wayland/Fedora 37/KDE Plasma 5.26.5 - same trouble Same stuff on Tumbleweed with Plasma 5.27.3 - also on nvidia GPU. It's been almost a year and it's still the same. KDE apparently doesn't care about NVIDIA users. Also, the panel freezes from time to time completely visually. This has been the case for a long time. So NVIDIA users will always have a problem with KDE. I recommend using Sway(with Vulkan renderer) or Hyprland. Actually I'd call this a major showtrooper and it must be fixed before plasma 6.0 (when wayland is the default) Happening for me too on Manjaro + KDE Wayland + NVIDIA GPU. Same issue here, it happens very often. I have to kill krunner to be able to use it again. Fedora Linux 38, KDE Plasma Version: 5.27.8, KDE Frameworks Version: 5.110.0, WAYLAND, NVIDIA RTX 3080 Another repro! KDE Plasma 5.27.8 Debian 12 (SID) Wayland Nvidia RTX 4090 Hackey workaround: create a custom shortcut with "add command" in the Shortcuts menu and write `pkill 'krunner'`. Or alternatively, just give up on krunner and launch applications with the app launcher. Does QSG_RENDER_LOOP=basic krunner --replace fix this issue or at least help? (In reply to David Redondo from comment #18) > Does > > QSG_RENDER_LOOP=basic krunner --replace > > fix this issue or at least help? It does not, krunner still hangs after spam clicking its hotkey forcing qml software render also does not help: `QSG_RENDER_LOOP=basic krunner --replace` - krunner hangs `QMLSCENE_DEVICE=softwarecontext krunner --replace` - krunner also hangs `QMLSCENE_DEVICE=softwarecontext QSG_RENDER_LOOP=basic krunner --replace` - krunner hangs When you say hangs, you mean it doesn't open or is visually frozen? Can you run qdbus org.kde.krunner when "frozen" and confirm if it prints results? UPDATE ----------- For me the issue has been resolved with one of the plasma or framework updates. Now running the following: Operating System: Fedora Linux 39 KDE Plasma Version: 5.27.9 KDE Frameworks Version: 5.111.0 Qt Version: 5.15.11 Kernel Version: 6.6.4-200.fc39.x86_64 (64-bit) Graphics Platform: Wayland Graphics Processor: NVIDIA GeForce RTX 3080/PCIe/SSE2 and now krunner is working consistently. it does qdbus org.kde.krunner / /App /MainApplication /org /org/kde /org/kde/krunner the krunner window in frozen state is not shown on screen or in kwin overview Just for reference, I personally no longer use Nvidia hardware since early this year but other people seem to be more than capable of handling it. Created attachment 164023 [details] krunner log when it dissapears If I list kwin clients with the script described in https://unix.stackexchange.com/questions/706477/is-there-a-way-to-get-list-of-windows-on-kde-wayland I get KRunner there when it works as expected, but there are no krunner script when it stops showing even though the `krunner` process exists: 8589 chermnyx │ 0.0 0.7 00:00:00 │ /usr/bin/krunner Seems like it stops being able to create window I've tried to run kurnner with `QT_LOGGING_RULES='*=true' krunner` and got the following when it hangs: qt.qpa.wayland.backingstore: Didn't receive frame callback in time, window should now be inexposed *** This bug has been marked as a duplicate of bug 477028 *** Per Bug 477762 Comment 16, this is an NVIDIA issue that's fixed upstream in Qt via https://codereview.qt-project.org/c/qt/qtwayland/+/503674. We also have an option to work around the issue via https://invent.kde.org/plasma/plasma-integration/-/merge_requests/119 in case that Qt patch isn't merged in time for the Plasma 6 launch. *** Bug 477762 has been marked as a duplicate of this bug. *** *** Bug 477028 has been marked as a duplicate of this bug. *** setting `QT_QUICK_BACKEND=software` works as a workaround (In reply to Dmitrii Chermnykh from comment #30) > setting `QT_QUICK_BACKEND=software` works as a workaround Is there a way to apply this workaround permanently? Notably there seems to be no krunner.desktop anywhere. (In reply to Szczepan Hołyszewski from comment #31) > Notably there seems to be no krunner.desktop anywhere. There is /usr/share/kglobalaccel/org.kde.krunner.desktop, but copying it to ~/.local/share/applications and editing there has no effect. (In reply to Szczepan Hołyszewski from comment #31) > (In reply to Dmitrii Chermnykh from comment #30) > > setting `QT_QUICK_BACKEND=software` works as a workaround > > Is there a way to apply this workaround permanently? Notably there seems to > be no krunner.desktop anywhere. I'm using the following override: systemctl --user edit plasma-krunner.service [Service] Environment=QT_QUICK_BACKEND=software *** Bug 479865 has been marked as a duplicate of this bug. *** *** Bug 479723 has been marked as a duplicate of this bug. *** *** Bug 479766 has been marked as a duplicate of this bug. *** *** Bug 479947 has been marked as a duplicate of this bug. *** *** Bug 480153 has been marked as a duplicate of this bug. *** *** Bug 480101 has been marked as a duplicate of this bug. *** *** Bug 480559 has been marked as a duplicate of this bug. *** *** Bug 479087 has been marked as a duplicate of this bug. *** *** Bug 480617 has been marked as a duplicate of this bug. *** We merged a workaround in Qt: https://codereview.qt-project.org/c/qt/qtwayland/+/536202 *** Bug 480786 has been marked as a duplicate of this bug. *** *** Bug 480806 has been marked as a duplicate of this bug. *** *** Bug 480813 has been marked as a duplicate of this bug. *** (In reply to Dmitrii Chermnykh from comment #33) > (In reply to Szczepan Hołyszewski from comment #31) > > (In reply to Dmitrii Chermnykh from comment #30) > > > setting `QT_QUICK_BACKEND=software` works as a workaround > > > > Is there a way to apply this workaround permanently? Notably there seems to > > be no krunner.desktop anywhere. > > I'm using the following override: > > systemctl --user edit plasma-krunner.service > > [Service] > Environment=QT_QUICK_BACKEND=software How can this be adapted for a plasma panel? I added the following lines to the ~/ .bashrc file: QT_QUICK_BACKEND=software QSG_RENDER_LOOP=basic But the plasma panel still opens its menu every other time. (In reply to Landgraf132 from comment #47) > How can this be adapted for a plasma panel? I added the following lines to You can set the "render loop" property in Plasma Renderer configuration window to "basic" Git commit d5ccdeb50dfd46c5d80d28ec5b0519b998ae851b by David Redondo. Committed on 14/02/2024 at 08:37. Pushed by davidre into branch 'master'. qt6: Bring back basic render loop on nvidia wayland when Qt < 6.6.3 This reverts commit 87d0efdc7ef1fe3d9f461d6b6aa8c82a71442150. Qt 6.6.3 and up contain a similar check for now until a proper fix is merged. M +14 -1 qt6/src/platformtheme/qtquickrenderersettings.cpp https://invent.kde.org/plasma/plasma-integration/-/commit/d5ccdeb50dfd46c5d80d28ec5b0519b998ae851b A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-integration/-/merge_requests/136 Git commit 1034813b14738e770ebd30e59120c23d0b0c9fd6 by David Redondo. Committed on 14/02/2024 at 13:15. Pushed by davidre into branch 'Plasma/6.0'. qt6: Bring back basic render loop on nvidia wayland when Qt < 6.6.3 This reverts commit 87d0efdc7ef1fe3d9f461d6b6aa8c82a71442150. Qt 6.6.3 and up contain a similar check for now until a proper fix is merged. (cherry picked from commit d5ccdeb50dfd46c5d80d28ec5b0519b998ae851b) M +14 -1 qt6/src/platformtheme/qtquickrenderersettings.cpp https://invent.kde.org/plasma/plasma-integration/-/commit/1034813b14738e770ebd30e59120c23d0b0c9fd6 https://bugs.kde.org/show_bug.cgi?id=479087 was flagged as duplicate to this error. This is happening again with krunner 6.5.0-1 krunner[2337205]: qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x599206339280 Running `krunner --replace &` fixes it for a while until it happens again. Your issue is very likely Bug 480800 which is an NVIDIA driver issue. |