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

            Bug ID: 528254
           Summary: kwin_wayland crashes (SIGSEGV) when opening Overview
                    (Meta+W) with a DisplayLink (evdi) monitor connected
    Classification: Plasma
           Product: kwin
      Version First 6.8.0
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: platform-drm
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

STEPS TO REPRODUCE:
1. Laptop with Intel Arc (Meteor Lake, i915) + external monitor via DisplayLink
dock (evdi, no render node).
2. Log into Plasma Wayland session with internal + DisplayLink monitor active.
3. Press Meta+W (Overview).

OBSERVED RESULT:
kwin_wayland crashes with SIGSEGV inside llvmpipe (libgallium), called from
MultiGpuSwapchain::copyRgbBuffer -> EGLNativeFence. Reproducible every time (4
crashes on 2026-11-03).

EXPECTED RESULT:
Overview opens without crashing.

ADDITIONAL INFORMATION:
- Started after the update on 2026-10-17: kwin 6.7.5 -> 6.8.0, mesa 26.2.3 ->
26.2.4,
  llvm-libs 22 -> 23, displaylink 6.3 -> 6.4. Worked fine before.
- Setting LP_NUM_THREADS=0 for kwin_wayland does not help: crash just moves
from the
  llvmpipe worker thread to the main thread (same path, inside JIT-compiled
code).
- The copy is triggered from SurfaceItem::preprocess, i.e. Overview renders
client
  windows (buffers allocated on the Intel GPU) onto the evdi output, which is
  composited with llvmpipe.

SOFTWARE/OS VERSIONS:
Linux: Arch Linux, kernel 7.2.10-zen1-1-zen
KDE Plasma: 6.8.0
KWin: 6.8.0 (Wayland)
Qt: 6.12.0
Mesa: 26.2.4 (llvm-libs 23.1.3)
DisplayLink: 6.4, evdi-dkms 1.15.1
GPU: Intel Meteor Lake-P [Intel Arc Graphics] (i915)

BACKTRACE (main thread, LP_NUM_THREADS=0; no debug symbols):
#4  0x00007fcdc580e713 n/a (n/a + 0x0)                       <- llvmpipe JIT
code
#5  libgallium-26.2.4-arch1.1.so + 0x97ae1d
#6  libgallium-26.2.4-arch1.1.so + 0x97af5b
#7  libgallium-26.2.4-arch1.1.so + 0x97a93b
#8  libgallium-26.2.4-arch1.1.so + 0x97ad24
#9  libgallium-26.2.4-arch1.1.so + 0x979c9c
#10 libgallium-26.2.4-arch1.1.so + 0x97a2b8
#11 libgallium-26.2.4-arch1.1.so + 0x98b5ff
#12 libgallium-26.2.4-arch1.1.so + 0x972b58
#13 libgallium-26.2.4-arch1.1.so + 0x146f2a
#14 libgallium-26.2.4-arch1.1.so + 0x161947
#15 dri_create_fence_fd (libgallium-26.2.4-arch1.1.so)
#16 libEGL_mesa.so.0 + 0x17c6a
#17 libEGL_mesa.so.0 + 0x93b6
#18 libEGL_mesa.so.0 + 0x10646
#19 KWin::EGLNativeFence::EGLNativeFence(KWin::EglDisplay*) (libkwin.so.6)
#20 libkwin.so.6 + 0x3160df
#21 KWin::MultiGpuSwapchain::copyRgbBuffer(KWin::GraphicsBuffer*, KWin::Region
const&, KWin::FileDescriptor&&, KWin::OutputFrame*,
std::shared_ptr<KWin::SyncReleasePoint> const&) (libkwin.so.6)
#22 libkwin.so.6 + 0x3b1fc0
#23 KWin::SurfaceItem::preprocess(KWin::ItemRenderer*)
#24 KWin::ItemRendererOpenGL::createRenderNode(...)
#25 KWin::ItemRendererOpenGL::createRenderNode(...)
#26 libkwin.so.6 + 0x3a8609
#27 KWin::WorkspaceScene::paintGenericScreen(...)
#28 KWin::EffectsHandler::paintScreen(...)
#29 KWin::EffectsHandler::paintScreen(...)
#30 KWin::WorkspaceScene::paint(...)
#33 KWin::Compositor::composite(KWin::RenderLoop*)
#35 KWin::RenderLoop::frameRequested(KWin::RenderLoop*)
...

Original crash (without LP_NUM_THREADS) was in thread "llvmpipe-N" with the
main
thread waiting in pthread_cond_wait under the same
EGLNativeFence <- MultiGpuSwapchain::copyRgbBuffer path.

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

Reply via email to