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

            Bug ID: 529143
           Summary: KWin 6.8.3 crashes in OutputModeline::size() during
                    Wayland login, causing black screen
    Classification: Plasma
           Product: kwin
      Version First 6.8.3
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: wayland-generic
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 198678
  --> https://bugs.kde.org/attachment.cgi?id=198678&action=edit
Three KWin Wayland SIGSEGV crash backtraces, system journal excerpts, package
update history, and Qt version information

DESCRIPTION

After updating CachyOS on November 17, 2026, my KDE Wayland graphical login
stopped working correctly. I encountered a black screen and was unable to use
the desktop normally.

The update included KWin 6.8.2-2.1 → 6.8.3-1.1, Plasma Login Manager 6.8.2 →
6.8.3, and other KDE Plasma components.

When investigating the failure, I found three separate crashes of
`kwin_wayland`, all with SIGSEGV and identical backtraces pointing to
`KWin::OutputModeline::size()` during display-mode selection.

The crashes occurred in the Plasma Login Manager session (`plasmalogin`, UID
959), rather than only in my personal desktop session.

Restoring a Btrfs/Snapper snapshot from November 15, running KWin 6.8.2,
resolved the problem. Wayland and the graphical login now work normally.

STEPS TO REPRODUCE

1. Use a CachyOS installation with KDE Plasma 6.8.2 on a laptop with Intel UHD
Graphics and NVIDIA RTX 3050 Mobile.
2. Upgrade to KDE Plasma 6.8.3, including KWin 6.8.3-1.1 and Plasma Login
Manager 6.8.3.
3. Reboot and attempt to start the Wayland graphical login session.

The failure occurred repeatedly on my system. I have not attempted to reproduce
it again after restoring the working snapshot.

OBSERVED RESULT

The graphical login fails with a black screen.

Three KWin crashes were recorded on November 19, 2026:

- 20:05:49 IST — PID 875
- 20:08:35 IST — PID 846
- 20:12:16 IST — PID 1230

All three crashed with `SIGSEGV (SEGV_MAPERR)` and the same backtrace:

```text
#0 KWin::OutputModeline::size()
#1 KWin::OutputConfigurationStore::chooseMode()
#2 KWin::OutputConfigurationStore::generateConfig()
#3 KWin::OutputConfigurationStore::queryConfig()
#4 KWin::Workspace::updateOutputConfiguration()
#5 KWin::Workspace::slotOutputBackendOutputsQueried()
#6 KWin::Workspace::init()
```

Additional Wayland startup logs show:

```text
kwin_wayland: eglInitialize failed
kwin_wayland: Error during eglInitialize "EGL_NOT_INITIALIZED"
```

I cannot confirm whether these EGL errors are directly related to the crashes.

EXPECTED RESULT

KWin should initialize the available display outputs and select a valid display
mode without crashing.

Plasma Login Manager should display the graphical login screen normally and
allow a Wayland desktop session to start.

SOFTWARE/OS VERSIONS

Operating System: CachyOS (Arch Linux-based), x86_64

KDE Plasma Version: 6.8.3 (at the time of failure); 6.8.2 works after rollback

KDE Frameworks Version: 6.32 (upgraded from 6.31)

Qt Version:  qt6-base 6.12.0-5.1, 

KWin Version: 6.8.3-1.1 (crashing); 6.8.2-2.1 (working)

Linux Kernel: linux-cachyos 7.3.4-1

ADDITIONAL INFORMATION

Hardware:
- Laptop: MSI GF63 Thin
- CPU: Intel Core i7-10750H
- Integrated GPU: Intel UHD Graphics (Comet Lake-H GT2, 8086:9bc4), using i915
- Discrete GPU: NVIDIA GeForce RTX 3050 Mobile (10de:25a2), using the nvidia
driver

The November 17 package upgrade changed multiple KDE components simultaneously,
so I cannot conclusively attribute the regression to KWin alone.

However, all three recorded crashes have identical call stacks in KWin's
display-output configuration code. The system works after restoring the older
Plasma/KWin installation.

The compressed core dump files are no longer available, but the journal
retained symbolized backtraces for all three crashes.

I can attach the `coredumpctl info` output, historical journal messages, and
pacman upgrade history.


External display: A TV was connected to the laptop via HDMI when the
black-screen failure occurred. The laptop has hybrid Intel UHD Graphics and
NVIDIA RTX 3050 Mobile graphics.

The crash occurred in KWin's display-mode selection code, specifically
`KWin::OutputModeline::size()` and
`KWin::OutputConfigurationStore::chooseMode()`.

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

Reply via email to