https://bugs.kde.org/show_bug.cgi?id=524951
Bug ID: 524951
Summary: kwin_wayland crashes in DrmPipeline::legacyModeset()
on kernel 7.1.x, works on 6.19.10 (triple-GPU legacy
DRM)
Classification: Plasma
Product: kwin
Version First 6.7.4
Reported In:
Platform: Fedora RPMs
OS: Linux
Status: REPORTED
Severity: crash
Priority: NOR
Component: wayland-generic
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
DESCRIPTION
kwin_wayland segfaults on every boot/login on kernel 7.1.8 and 7.1.10.
Does not crash on kernel 6.19.10 with identical KWin/Mesa/Qt packages and
identical hardware. All three installed GPUs fall back to legacy (non-atomic)
DRM modesetting on every kernel tested, so the legacy-fallback itself is not
what changed between the working and crashing kernels.
System has 3 GPUs, each with a monitor attached:
- NVIDIA TU104 [GeForce RTX 2080], driver nouveau
- NVIDIA GP108 [GeForce GT 1030], driver nouveau
- AMD/ATI Cedar [Radeon HD 5000/6000/7350/8350], driver radeon
No nouveau.modeset, nomodeset, or other modesetting kernel parameters are
set. Kernel command line is just "rhgb quiet" plus standard root/LUKS
parameters.
Journal on all three kernels shows:
drmSetClientCap for Atomic Mode Setting failed. Using legacy mode on GPU
"/dev/dri/card1"
drmSetClientCap for Atomic Mode Setting failed. Using legacy mode on GPU
"/dev/dri/card0"
drmSetClientCap for Atomic Mode Setting failed. Using legacy mode on GPU
"/dev/dri/card2"
STEPS TO REPRODUCE
1. Boot kernel-7.1.8-200.fc44.x86_64 or kernel-7.1.10-200.fc44.x86_64
2. Log into a Plasma Wayland session via SDDM
OBSERVED RESULT
kwin_wayland segfaults immediately during startup, before a desktop appears.
EXPECTED RESULT
KWin starts normally and shows a working desktop across all three outputs,
as it does on kernel 6.19.10 with the same hardware and packages.
SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 44
KDE Plasma Version: 6.7.4
KDE Frameworks Version: 6.29.0
Qt Version: 6.11.1
Kernel: kernel-7.1.10-200.fc44.x86_64 and kernel-7.1.8-200.fc44.x86_64 (crash);
kernel-6.19.10-300.fc44.x86_64 (no crash)
Mesa: 26.1.6
kwin_wayland package version: 6.7.4-2.fc44
ADDITIONAL INFORMATION
Backtrace (via coredumpctl + gdb, debuginfod symbols):
Thread 1 (Thread 0x7f976c322480 (LWP 3814)):
[KCrash Handler]
#5 KWin::DrmPipeline::legacyModeset (this=this@entry=0x5598a452fee0)
at
/usr/src/debug/kwin-6.7.4-2.fc44.x86_64/src/backends/drm/drm_pipeline_legacy.cpp:70
#6 0x00007f9776c09640 in KWin::DrmPipeline::applyPendingChangesLegacy
(this=0x5598a452fee0)
at drm_pipeline_legacy.cpp:163
#7 0x00007f9776c0a0f5 in KWin::DrmPipeline::commitPipelinesLegacy
(pipelines=..., gpu=0x5598a43c2ab0,
mode=KWin::DrmPipeline::CommitMode::TestAllowModeset, unusedObjects=...)
at drm_pipeline_legacy.cpp:89
#8 KWin::DrmPipeline::commitPipelines (pipelines=..., gpu=0x5598a43c2ab0,
mode=KWin::DrmPipeline::CommitMode::TestAllowModeset, unusedObjects=...)
at drm_pipeline.cpp:109
#9 0x00007f9776be55ec in KWin::DrmGpu::testPipelines (this=0x5598a43c2ab0) at
drm_gpu.cpp:512
#10 KWin::DrmGpu::testPipelines (this=0x5598a43c2ab0) at drm_gpu.cpp:484
#11 0x00007f9776be5d06 in KWin::DrmGpu::checkCrtcAssignment
(this=0x5598a43c2ab0, connectors=..., crtcs=..., deadline=...) at
drm_gpu.cpp:403
#12 0x00007f9776be5d06 in KWin::DrmGpu::checkCrtcAssignment (...) at
drm_gpu.cpp:403
#13 0x00007f9776be5d06 in KWin::DrmGpu::checkCrtcAssignment (...) at
drm_gpu.cpp:403
#14 0x00007f9776be62b4 in KWin::DrmGpu::testPendingConfiguration
(this=0x5598a43c2ab0) at drm_gpu.cpp:444
#15 0x00007f9776bc6ce5 in KWin::DrmBackend::applyOutputChanges
(this=0x5598a43b3fd0, config=...)
#16 0x00007f9776b56f2b in KWin::Workspace::applyOutputConfiguration (this=...,
config=...) at workspace.cpp:537
#17 0x00007f9776b5723b in KWin::Workspace::updateOutputConfiguration (this=...)
at workspace.cpp:656
#18 0x00007f9776b5d7b5 in KWin::Workspace::slotOutputBackendOutputsQueried
(this=...) at workspace.cpp:1305
#19 0x00007f9776b54c21 in KWin::Workspace::init (this=...) at workspace.cpp:307
#20 0x00007f97769cd75c in KWin::Application::createWorkspace (this=...) at
main.cpp:235
#21 0x0000559888574e54 in KWin::ApplicationWayland::performStartup (this=...)
at main_wayland.cpp:154
#22 0x000055988856841c in main (argc=..., argv=...) at main_wayland.cpp:661
Can attach the full core dump or provide KWIN_DRM debug logs on request.
--
You are receiving this mail because:
You are watching all bug changes.