Interesting issue when a monitor/tv is plugged in but turned off

I am currently running my desktop on Bazzite but I believe this issue is more related to underlying Fedora. So I did post it to the Fedora subreddit, but figured I'd drop it here but feel free to delete. I use my PC in two places: Basement using two monitors (plugged in via DP-1 and DP-2) and also on my TV which is connected using a long HDMI cable. I used to swap my cables in and out but I created a nice bash scripts that uses kscreen-doctor to enable the monitors I want based on where I am playing. But I noticed an issue that I missed before. If the TV is plugged into the HDMI but I turn the TV, I get a blank output on all monitors, even if I disable it first via kscreen-doctor or the display configuration. My guess is when it gets disabled, it gets a priority of 0. Then when I turn it off, the system is trying to find priority 0 even if disabled and just getting stopped.I am running KDE desktop and Wayland. I would love to be able to leave the TV plugged in and disabled when Im not playing rather then constantly plugging and unplugging the HDMI cable.
Note: There is no issue when using gamescope/bazzite gaming mode. So it is related to the desktop environment.
1 Reply
ultimateore0
ultimateore0OP3w ago
Enable kscreen 2 and then disabling seems to have fixed it for some reason. Need to do some more testing to verify No something is definitely wrong. Something with KDE and sreen management. Second monitor kept connecting and disconnecting after messing with it more. I re-based The gnome and everything was working fine. I'm trying to go back to KDE now and see I'm closing this. I reinstalled a fresh environment. And the issue seems to be fixed. I think the issue came from my script resetting things before kscreen doctor changes went into place. Somehow borked default settings
Want results from more Discord servers?
Add your server