Bug 450174

Summary: Plasma 5.24 Wayland: multi-screen issue
Product: [Plasma] kwin Reporter: Marco Missere <marcomissere93>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, notmart, xaver.hugl
Priority: NOR    
Version First Reported In: 5.24.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 5.24.1
Sentry Crash Report:

Description Marco Missere 2022-02-13 20:10:42 UTC
SUMMARY
***
Plasma 5.24 on Wayland: when I connect an external monitor to my Optimus laptop (Intel iGPU + NVIDIA dGPU, without the NVIDIA driver), the only working mode is "unify outputs". If I choose "switch to laptop screen" the external monitor stays powered on, and if I choose "switch to external screen" sometimes it does nothing with both screens remaining powered on with the cursor only working in the laptop screen, and sometimes it does nothing with both screens remaining powered on with the cursor only working in the external screen.

This is without the NVIDIA driver. With the NVIDIA driver instead (Wayland) if I connect my laptop to an external monitor all I get is a black screen on my laptop, and I have to force reboot. Starting with Plasma 5.23.2 it used to work almost flawlessly.
***


STEPS TO REPRODUCE
1. Connect an Optimus laptop to an external monitor via HDMI
2. Try to switch to the external screen or to unify the outputs
3. 

OBSERVED RESULT

The laptop screen doesn't turn off when "Switch to the external screen" is selected, and the external screen doesn't turn off when "Switch to the laptop screen" is selected.

EXPECTED RESULT

The laptop screen should turn off when "Switch to the external screen" is selected, and the external screen should turn off when "Switch to the laptop screen" is selected.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: any Linux distribution
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Marco Missere 2022-02-15 17:58:50 UTC
I just updated to Plasma 5.24.1, and with the NVIDIA driver on Wayland multi-screen works again.