Created attachment 168384 [details] System information about hardware, Wayland, OpenGL, Vulkan... Plasma won't switch main screen to be external if the laptop lid was closed STEPS TO REPRODUCE 1. Close your laptop lid 2. Look at the external screen 3. Notice that the closed and disabled laptop display is still the main one and the external display still displays no panels/widgets/applets from the main screen OBSERVED RESULT Plasma won't switch the main screen to be external while the laptop lid is closed EXPECTED RESULT Plasma will switch the main screen to be external for the time lid being closed SOFTWARE/OS VERSIONS Linux: openSUSE Tumbleweed 20240407 KDE Plasma Version: 6.0.3 (Wayland) KDE Frameworks Version: 6.0.0 Qt Version: 6.6.3 ADDITIONAL INFORMATION running on Wayland GPU 1: NVIDIA GeForce GTX 1650 Mobile / Max-Q GPU 2: AMD Radeon RX Vega 6 (Ryzen 4000/5000 Mobile Series) (Driver Version: 550.67) external display is connected via NVIDIA managed HDMI port for more info see attachment
Created attachment 168385 [details] System settings display control section on closed/open lid System settings display control section on closed/open lid
That gap between screens looks suspicious. However this use case is working for me. Let's see if we can rule out hardware issues or software bugs; can you try this in a new clean user account and see if it still happens as described? Thanks!
(In reply to Nate Graham from comment #2) > That gap between screens looks suspicious. However this use case is working > for me. Let's see if we can rule out hardware issues or software bugs; can > you try this in a new clean user account and see if it still happens as > described? Thanks! On a new user it works fine, I tried setting the same displays layout and scaling factor but it still worked. I also tried disabling the ICC profile on my main user without reboot, but it didn't help. I remember it working right after update to Plasma 6.0.1, but some time later it stopped working (I don't remember if any updates happened right before it stopped working)
BTW, the main GPU is 'AMD Renoir [Radeon RX Vega 6 ]'
If it's working in a new user account, then there is some invalid config in your main user account that's causing this. If you move aside ~/.config/kwinoutputconfig.json (don't delete it), reboot, and replicate the setup, does the problem go away?
(In reply to Nate Graham from comment #5) > If it's working in a new user account, then there is some invalid config in > your main user account that's causing this. If you move aside > ~/.config/kwinoutputconfig.json (don't delete it), reboot, and replicate the > setup, does the problem go away? Thanks, it did help! The original config was migrated from Plasma 5 installation 1y+ old. If it will be helpful here are the old and new configs just in case: new: https://pastebin.com/aBd0Wwzb old: https://pastebin.com/wR00YU1F