[BUG] Kernel 7.3.3-1: kwin_wayland freeze, 1434ms Intel i915 DRM pageflip delay & order:0 page allocation failure

Aperta
#1,150 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
8/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
linux

Direzione di ricerca

The report names no file or test in this repository. The log excerpts point to the i915 DRM pageflip path and the page allocation warning in kernel 7.3.3-1, so the first step is to confirm whether the fault is in the upstream kernel or in this packaging. Compare the linux-cachyos-lts 6.18 build against 7.3.3-1 and collect the full dmesg output. Done means the issue is redirected to the right upstream tracker or a reproducible cause is written down.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

[BUG] Kernel 7.3.3-1-cachyos: kwin_wayland freezes, 1434ms Intel i915 DRM pageflip delay & order:0 page allocation failure

1. Summary

On a Lenovo IdeaPad Flex 5 14ITL05 (Intel Tiger Lake i5-1135G7 Iris Xe + NVIDIA MX450 hybrid setup), updating to linux-cachyos 7.3.3-1 causes repeated desktop freezes and crashes under Wayland (kwin_wayland dropping the display socket, triggering a cascade SIGABRT across all Qt6 KDE Plasma components).

This issue does not occur on linux-cachyos-lts 6.18.60-2, which runs completely stable for 11+ hours under identical workloads.


2. Environment & Hardware Information

  • OS / Distro: CachyOS Linux (x86_64)
  • Desktop Environment: KDE Plasma 6.8.2 (Wayland session)
  • Compositor: kwin_wayland
  • Mesa Version: 26.2.6-arch3.1
  • CPU: 11th Gen Intel Core i5-1135G7 (8 threads)
  • GPU 1 (Primary / Display): Intel TigerLake-LP GT2 [Iris Xe Graphics] (i915 driver)
  • GPU 2 (Discrete): NVIDIA GeForce MX450 (nvidia driver 620.70.06 via linux-cachyos-nvidia-open)
  • Memory: 16 GB RAM (15.2 GB available), 15.2 GB zram swap enabled
  • Active Sched-ext: scx_beerland (1.1.4) + foreground_booster

3. Comparison / Regression Evidence

  • 6.18.60-2-cachyos-lts: Rock-solid stability. Ran continuously for 11+ hours (14:45 to 01:41) with zero compositor crashes, zero DRM timeouts, and smooth memory compaction.
  • 7.3.3-1-cachyos: Freezes / crashes every 1–2 hours even during light desktop usage (browsing, background tasks) and crashes immediately under moderate memory pressure.

4. Kernel & System Logs

A. Intel i915 DRM Pageflip Timeout (>1400ms delay)
kwin_wayland[2463]: Pageflip arrived after all, 1434ms after the commit
With the output of 'sudo dmesg' and 'journalctl --user-unit plasma-kwin_wayland --boot 0'
B. Order:0 GFP_KERNEL Page Allocation Failure
kernel: kwin_wayland: page allocation failure: order:0, mode:0xc0de0(GFP_KERNEL|__GFP_HIGH|__GFP_ZERO|__GFP_COMP|__GFP_NOMEMALLOC), nodemask=(null),cpuset=session.slice,mems_allowed=0
kernel: CPU: 0 UID: 1000 PID: 2463 Comm: kwin_wayland Tainted: G S      W  OE       7.3.3-1-cachyos #1 PREEMPT(full)
kernel: Hardware name: LENOVO 82HS/LNVNB161216, BIOS FXCN49WW 09/05/2024
kernel: Call Trace:
kernel:  <TASK>
kernel:  dump_stack_lvl+0x6a/0x90
kernel:  warn_alloc+0x133/0x1b0
kernel:  __alloc_pages_noprof+0x2cd/0x330
...
C. Cascade SIGABRT across Qt6 / Plasma Clients

Once kwin_wayland freezes or drops the socket, all running Qt6 applications fail assertion:

plasmashell[2430]: Failed to create wl_display (No such file or directory)
plasmashell[2430]: QMessageLogger::fatal() -> abort()
xdg-desktop-portal-kde: could not connect to display
kded6: Failed to reconnect Geçersiz argüman

5. Potential Contributing Factors

  1. Upstream 7.3 DRM / i915 regression: The commit-to-pageflip cycle times out past 1400ms on Tiger Lake Iris Xe.
  2. scx_beerland / foreground_booster scheduling: Process boosting on interactive apps might be starving kwin_wayland compositor threads of CPU slices, delaying frame delivery.
  3. Memory allocation / zram compaction under 7.3: order:0 GFP_KERNEL allocations failing even when swap/zram is configured indicates aggressive memory starvation or locking issues under the 7.3 memory subsystem.

6. Steps to Reproduce

  1. Boot into linux-cachyos 7.3.3-1 on an Intel Tiger Lake laptop with hybrid NVIDIA GPU.
  2. Log into KDE Plasma (Wayland) with scx_beerland active.
  3. Perform standard multitasking (Brave browser + terminal + background tasks) or moderate memory workloads.
  4. After 1–2 hours (or on memory pressure), kwin_wayland reports pageflip delays, drops the display socket, and the entire desktop session crashes.
Lingua principale
Shell
Stelle
4.9k
Fork
190
Merge medio
8h 53m
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CachyOS/linux-cachyos

Tutte le issue di CachyOS/linux-cachyos

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.