Bug 491380

Summary: Opening KRunner on Wayland sometimes doesn’t work with error "eglSwapBuffers failed with 0x300d"
Product: [Plasma] krunner Reporter: Nishant Kumar <nishant.119>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: major CC: alexander.lohnau, fanzhuyifan, natalie_clarius, nate, nishant.119
Priority: NOR Keywords: wayland-only
Version: 6.1.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nishant Kumar 2024-08-07 06:57:11 UTC
SUMMARY:

When trying to open krunner with wayland, the window won’t show always up. Sometimes it does, sometimes it does not. There doesn’t seem to be any difference if it is started over the terminal or using the assigned shortcut.

When it doesn’t show up there is the following entry logged in journalctl:

***
fedora krunner[4053]: qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x559c2f8fa2d0
***

OBSERVED RESULT
Sometimes krunner opens, sometimes it does not

EXPECTED RESULT
krunner should always open when called

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Fedora Linux 40
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2024-08-07 18:36:17 UTC
Seems similar to Bug 490813. Do you have an NVIDIA GPU?
Comment 2 Nishant Kumar 2024-08-08 23:55:18 UTC
Yes, I am using NVIDIA RTX 4090

Graphics Processor: NVIDIA GeForce RTX 4090/PCIe/SSE2 | 555.58.02

maybe that is the issue as you have mentioned here : https://bugs.kde.org/show_bug.cgi?id=490813

I have tested recent KDE 6.1.3 on OpenSUSE tumbleweed on my optimus laptop (Intel + NVIDIA) and it was working fine, but
we know that on optimus laptops display is governed by Intel chip
Comment 3 Nate Graham 2024-08-13 19:20:42 UTC

*** This bug has been marked as a duplicate of bug 480800 ***
Comment 4 Nishant Kumar 2024-08-23 00:51:44 UTC
The problem seems to be fixed now and krunner is behaving properly 

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Fedora Linux 40
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.4-200.fc40.x86_64 (64 bit)
Graphics Processor: NVIDIA GeForce RTX 4090/PCIe/SSE2 | 555.58.02