Bug 455913 - [Wayland + Nvidia] Krunner stops showing after opening / closing it a few times
Summary: [Wayland + Nvidia] Krunner stops showing after opening / closing it a few times
Status: CONFIRMED
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: 5.25.1
Platform: Arch Linux Linux
: NOR grave
Target Milestone: ---
Assignee: Alexander Lohnau
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2022-06-25 11:06 UTC by qlum
Modified: 2023-11-26 16:17 UTC (History)
23 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description qlum 2022-06-25 11:06:47 UTC
SUMMARY
Specifically on Wayland using an Nvidia GPU Krunner will not show, after toggling it a few times (it will show a maximum of 3 times). 

The issue does not occur on 2 other machines using Intel IGP's.
The issue does not occur on X11.
I can confirm the issue also occurred on 5.25.0 but have not tested older versions as Nvidia + wayland was not really usable before 5.25 for me at least.
I saw someone comment my exact issue on this bug: https://bugs.kde.org/show_bug.cgi?id=454671
But the bug itself describes a different issue.

STEPS TO REPRODUCE
1. open Krunner with a keyboard shortcut (ALT+Space in my case)
2. close Krunner either by clicking on something else or by using ALT+Space
3. open Krunner again
4. close Krunner
5. open Krunner
6. close Krunner
7. open Krunner (krunner will no longer show)

Aditional info:
running kKunner from command line, I get the following:
When launching: 
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

The second time opening after closing: 
QCommandLineParser: argument list cannot be empty, it should contain at least the executable name
kf.plasma.quick: Couldn't create KWindowShadow for View(0x7ffee8a255d0)
kf.plasma.quick: Couldn't create KWindowShadow for View(0x7ffee8a255d0)
kf.plasma.quick: Couldn't create KWindowShadow for View(0x7ffee8a255d0)
kf.plasma.quick: Couldn't create KWindowShadow for View(0x7ffee8a255d0)
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

Third time, the same as the second (krunner still shows)
Fourth time, same as the second, only krunner no longer shows
After that only: 
QCommandLineParser: argument list cannot be empty, it should contain at least the executable name



SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.25.1
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.5

HARDWARE
GPU: GTX 1080
Number of displays in use: 4
Comment 1 kodatarule 2022-06-29 14:59:14 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
Comment 2 kilgore.trout 2022-06-30 09:46:37 UTC
(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
Comment 3 kodatarule 2022-06-30 18:50:49 UTC
(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
Comment 4 kodatarule 2022-06-30 18:51:16 UTC
Apologies, forgot to change that I use Arch Linux
Comment 5 Clarence Manuel 2022-07-06 03:27:14 UTC
Same thing with my PC, but for Application Launcher. I'm using Fedora 36 KDE Plasma Spin.
Comment 6 archetech 2022-09-16 15:00:49 UTC
This bug is in 5.25.90 too.   GTX960  Linux fr Scratch source build Qt 5.15.5  NV 515.57 drv.
Comment 7 kodatarule 2022-09-19 17:37:44 UTC
(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 ?
Comment 8 keydieyeah 2022-09-21 16:26:07 UTC
I am using KDE Plasma 5.26 Beta / Wayland and "QSG_RENDER_LOOP=basic" does not solve this problem.
Comment 9 marvelrenju1 2022-09-22 00:54:48 UTC
*** This bug has been confirmed by popular vote. ***
Comment 10 absdee 2023-01-08 17:04:11 UTC
NVIDIA/Wayland/Fedora 37/KDE Plasma 5.26.5 - same trouble
Comment 11 Jakub Narolewski 2023-03-25 11:21:47 UTC
Same stuff on Tumbleweed with Plasma 5.27.3 - also on nvidia GPU.
Comment 12 keydieyeah 2023-04-09 10:07:25 UTC
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.
Comment 13 Moritz 2023-07-01 13:47:47 UTC
Actually I'd call this a major showtrooper and it must be fixed before plasma 6.0 (when wayland is the default)
Comment 14 hmnd 2023-07-07 21:16:34 UTC
Happening for me too on Manjaro + KDE Wayland + NVIDIA GPU.
Comment 15 Spyros Angelis 2023-10-12 08:05:58 UTC
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
Comment 16 mcanders1 2023-10-14 00:46:50 UTC
Another repro!

KDE Plasma 5.27.8
Debian 12 (SID)
Wayland
Nvidia RTX 4090
Comment 17 mcanders1 2023-10-14 00:52:17 UTC
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.
Comment 18 David Redondo 2023-11-17 15:17:47 UTC
Does 

QSG_RENDER_LOOP=basic krunner --replace

fix this issue or at least help?
Comment 19 Dmitrii Chermnykh 2023-11-17 17:00:45 UTC
(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
Comment 20 Dmitrii Chermnykh 2023-11-17 17:18:54 UTC
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