https://bugs.kde.org/show_bug.cgi?id=521451

            Bug ID: 521451
           Summary: Wayland: atomic commit failure (Invalid argument)
                    followed by EGL_BAD_SURFACE and KRunner crash on
                    NVIDIA 550
    Classification: Plasma
           Product: kwin
      Version First git-stable-Plasma/6.3
       Reported In:
          Platform: Debian stable
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: compositing
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 193146
  --> https://bugs.kde.org/attachment.cgi?id=193146&action=edit
krunner backtrace

DESCRIPTION

KRunner crashes under Plasma Wayland session on NVIDIA GPU systems (I'm running
a GTX 1080 with proprietary driver). The crash appears to be triggered by a
KWin Wayland compositing failure, followed by Qt Quick EGL surface invalidation
and eventual segfault in KRunner.

The following chain of failures is observed in logs:

KWin DRM atomic commit failure:
kwin_wayland_drm: atomic commit failed: Invalid argument
Qt Wayland EGL surface failure:
qt.qpa.wayland: eglSwapBuffers failed with 0x300d (EGL_BAD_SURFACE)
KRunner process crash:
plasma-krunner.service: Main process exited, code=dumped, status=11/SEGV

Additional warnings observed:

QMutex destruction while locked
QSocketNotifier thread-related warnings
QML runtime null property errors in RunCommand.qml

The crash is consistent after the second invocation of krunner and reproducible
under Wayland session. It does not appear under X11 session. Invoking via
shortcut (win-d)

STEPS TO REPRODUCE
Log into Plasma Wayland session
Start normal desktop session
Trigger KRunner ONCE (it works fine)
Trigger Krunner again (fails to appear)
Observe crash of KRunner process
OBSERVED RESULT
KRunner crashes with  (SIGSEGV)
KRunner service restarts via systemd after crash
Journal shows EGL_BAD_SURFACE errors and KWin DRM atomic commit failures
preceding crash
EXPECTED RESULT
KRunner remains stable under Wayland session
No EGL surface errors
No compositor or rendering failures when invoking KRunner
SOFTWARE / OS VERSIONS

Operating System: Debian GNU/Linux 13
KDE Plasma Version: 6.3.6
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2
Kernel Version: 6.12.90+deb13.1-amd64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i7-5820K CPU @ 3.30GHz
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: NVIDIA GeForce GTX 1080/PCIe/SSE2


GPU: NVIDIA GeForce GTX 1080
Driver: NVIDIA 550.163.01

ADDITIONAL INFORMATION

This appears to be a multi-layer rendering failure involving:

KWin Wayland DRM atomic mode-setting
NVIDIA EGL implementation
Qt Quick scenegraph rendering
KRunner QtQuick UI lifecycle

The initial failure is observed in KWin DRM atomic commit, followed by EGL
surface invalidation, and final crash in KRunner.

Relevant log excerpt:

kwin_wayland_drm: atomic commit failed: Invalid argument
eglSwapBuffers failed with 0x300d (EGL_BAD_SURFACE)

Crash only observed under Wayland session; X11 session does not reproduce.
TIME                           PID  UID  GID SIG     COREFILE     EXE          
                                      SIZE
Sun 2026-06-07 14:11:49 EDT   1249 1000 1000 SIGSEGV inaccessible
/usr/bin/kwin_wayland                                  -
Sun 2026-06-14 02:14:32 EDT 720457 1000 1000 SIGSEGV present     
/usr/bin/krunner                                      7M
Sun 2026-06-14 02:41:57 EDT 116136 1000 1000 SIGTRAP present     
/home/channing/.config/discord/app-1.0.141/Discord 14.7M
Sun 2026-06-14 02:42:59 EDT 728585 1000 1000 SIGTRAP present     
/home/channing/.config/discord/app-1.0.142/Discord 14.2M
Sun 2026-06-14 02:43:03 EDT 728943 1000 1000 SIGABRT present     
/home/channing/.config/discord/app-1.0.142/Discord   68M

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to