Bug 506523

Summary: KWin on Wayland in KDE 6.4.1 ignores iGPU preference, defaults to dGPU, causes login loop if overridden, and keeps AMD GPU always powered
Product: [Plasma] kwin Reporter: omidshenavar <shenavar.omid>
Component: platform-drmAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: major CC: xaver.hugl
Priority: NOR    
Version First Reported In: 6.4.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Full bug report

Description omidshenavar 2025-07-03 07:40:58 UTC
Created attachment 182888 [details]
Full bug report

After upgrading to KDE Plasma 6.4.1 on Fedora 42 (Wayland session), kwin_wayland forcibly uses the discrete AMD GPU (Radeon R5 M445) instead of the default integrated Intel GPU, as reported by switcherooctl. This results in constant dGPU usage, excessive battery drain, and system heat. Attempts to override this behavior with KWIN_DRM_DEVICES result in an SDDM login loop. Additionally, using DRI_PRIME=1 fails with Mesa errors.

This regression did not occur in KDE 6.3. The system is currently unbootable due to these issues, and a snapshot rollback was required.

Please see the attached md for full details, logs, hardware specs, and reproduction steps.
Comment 1 Zamundaaa 2025-07-03 15:44:12 UTC
Please attach the output of drm_info and eglinfo. Also attach the output of
> journalctl --user-unit plasma-kwin_wayland --boot 0
after logging in (when the dedicated GPU is primary).
Comment 2 Bug Janitor Service 2025-07-18 03:47:14 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2025-08-02 03:46:32 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.