Bug 480800 - On Wayland KRunner and other Plasma pop-ups are intermittently not opening with eglSwapBuffers errors
Summary: On Wayland KRunner and other Plasma pop-ups are intermittently not opening wi...
Status: CLOSED UPSTREAM
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: 5.93.0
Platform: Arch Linux Linux
: HI normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: wayland
: 491380 491483 491530 495776 496248 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-02-03 19:55 UTC by gtpepi
Modified: 2024-11-14 18:34 UTC (History)
12 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gtpepi 2024-02-03 19:55:23 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

I cannot reproduce the start condition, but sometimes krunner does not open and each shortcut keypress leaves this log:

Feb 03 16:44:52 arch krunner[4832]: qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x7ca8d0dc9e70
Feb 03 16:44:52 arch krunner[4832]: qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x7ca8d0dc9e70
Feb 03 16:44:53 arch krunner[4832]: qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x7ca8d0dc9e70
Feb 03 16:44:53 arch krunner[4832]: qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x7ca8d0dc9e70
Feb 03 16:44:53 arch krunner[4832]: qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x7ca8d0dc9e70
Feb 03 16:44:54 arch krunner[4832]: qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x7ca8d0dc9e70
// After some time, it returns on its own. And then it randomly stops, and again each keypress leaves something in the log: 
Feb 03 16:49:43 arch krunner[4832]: qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x7ca8d0d676c0
Feb 03 16:49:52 arch krunner[4832]: qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x7ca8d0d676c0
Feb 03 16:49:53 arch krunner[4832]: qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x7ca8d0d676c0
Feb 03 16:49:54 arch krunner[4832]: qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x7ca8d0d676c0
Feb 03 16:50:07 arch krunner[4832]: qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x7ca8d0d676c0
Feb 03 16:50:07 arch krunner[4832]: qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x7ca8d0d676c0





STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
Linux arch 6.7.3-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Thu, 01 Feb 2024 10:30:25 +0000 x86_64 GNU/Linux
(available in About System)
KDE Plasma Version: 
5.93.0
KDE Frameworks Version: 
5.249.0
Qt Version: 
6.7.0
Nvidia
545.29.06-3

ADDITIONAL INFORMATION
- Did not happen in x11
- pkilling krunner makes it work again instantly
Comment 1 gtpepi 2024-02-04 19:59:43 UTC
Additional info: this also happens in 5.27;  although less frequently
Comment 2 Zamundaaa 2024-02-13 16:03:40 UTC
The error code means EGL_BAD_SURFACE. I don't think this is a problem in KRunner, but might be in Qt or the NVidia driver. Please try to reproduce the issue with an older driver version, and if it happens there too, report it to Qt, if it doesn't, report it to NVidia.
Comment 3 Nate Graham 2024-08-13 19:20:16 UTC
*** Bug 491530 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2024-08-13 19:20:42 UTC
*** Bug 491380 has been marked as a duplicate of this bug. ***
Comment 5 krystian 2024-08-14 14:38:08 UTC
I have created a workaround for those who are addicted to krunner, because I don't see there will be a patch soon.

https://github.com/kpostekk/krunner-restarter
Comment 6 Nate Graham 2024-08-20 21:26:21 UTC
*** Bug 491483 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2024-11-04 19:12:18 UTC
*** Bug 495776 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2024-11-14 18:23:45 UTC
*** Bug 496248 has been marked as a duplicate of this bug. ***