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

            Bug ID: 514051
           Summary: kwin_wayland issue with GPU and iGPU setup
    Classification: I don't know
           Product: kde
      Version First unspecified
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY
KWin/Wayland fails to initialize correctly on NVIDIA dGPU at session start.  
When the display is connected to the NVIDIA GPU at boot, the BIOS splash
appears, but the screen goes black when KWin/SDDM should appear. After logging
in via the Intel iGPU output and then switching the monitor back to the NVIDIA
GPU, KWin shows abnormally high GPU usage until `kwin_wayland --replace` is
executed. Restarting KWin immediately restores normal functionality and GPU
usage.

STEPS TO REPRODUCE
1. Boot system with monitor connected to NVIDIA HDMI output.
2. BIOS splash displays, then screen goes black instead of showing SDDM.
3. Move monitor cable to Intel iGPU HDMI and log in.
4. Move monitor cable back to NVIDIA HDMI.
5. Observe high GPU usage until running `kwin_wayland --replace &`.

## OBSERVED RESULT
- No display output from NVIDIA GPU during login (black screen).
- KWin initializes in an unstable state when session begins.
- GPU usage abnormally high.
- Running `kwin_wayland --replace` resets GPU usage to expected idle (~1%) and
restores proper compositing.
- Console output contains EGL context errors, for example:
  - `QWaylandGLContext: Failed to create the decorations EGLContext.
Decorations will not be drawn.`

## EXPECTED RESULT
- KWin should start with hardware acceleration correctly active on the NVIDIA
GPU from the start of the session.
- No need to hot-switch display cables or restart KWin.
- Normal GPU usage at idle without manual interaction.

## SOFTWARE/OS VERSIONS
- Fedora Linux 43 (KDE Plasma Desktop Edition)
- Kernel: 6.17.12-300.fc43.x86_64
- KDE Plasma: 6.5.4
- KWin: 6.5.4
- SDDM: 0.21.0-10.fc43
- Session type: Wayland
- GPU: Intel UHD Graphics 770 (i915) + NVIDIA GeForce RTX 5060 Ti
- NVIDIA driver: 580.119.02 (proprietary)
- Monitor connection: HDMI (primary attempt on NVIDIA; iGPU used as fallback)
- Secure Boot: enabled

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

Reply via email to