Hey! When I turn off my monitor by using the physical button on it, then turn it back on, I see some weird changes like these:
Blue light filter stops working on X11.
The running game or sometimes programs (very rarely) crashes or freezes for no reason.
Any third party game installers on Lutris or something else crashes or freezes.
System becomes unusable if the system was under heavy load when turning the monitor off. Need to reboot in order to make it usable again.
And so on. Problems persists on both Wayland and X11. Here is a video of the problem.
Have anyone faced this kind of strange issue? I wonder how the system knows if the monitor is turned on or not and behaves according to that. Hereās my system info:
Operating System: Fedora Linux 38
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Kernel Version: 6.4.11-200.fc38.x86_64 (64-bit)
Processors: 4 Ć AMD Ryzen 3 3200G with Radeon Vega Graphics
Memory: 13.6 GiB of RAM
Graphics Processor: AMD Radeon Vega 8 Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7C52
System Version: 1.0
I do think monitors and graphics interfaces are more than just a pipe of media info. There is certainly enough resources at the level of the interface to be smart about the connection. So I just gotta ask, why are you unplugging your monitor while youāre in the middle of using it for something?
Iām not unplugging it. Iām just turning it off by pressing the power button of the monitor, as I said in the post. And why? Well, when Iām installing or downloading something, I think itās thereās no need for the monitor to stay awake.
You could just put the display to āblankā after inactivity like normal.
Power button or unplug, turning off then on or unplugging then plugging back in, it will still generate an event that the system will need to respond to. The monitor will also have behaviour depending on whether a signal is present or not. In any case, when you are turning it back on, it (the monitor and system separately) will need to adjust to the now ānewā connection. There will very likely be randomly generated artifacts on your screen.
In the settings of the desktop you chose to use (ie Gnome/KDE/Sway), you should be able to set a timer for inactivity that will have an option to blank the screen, so no output going to it. Your monitor will take this as an opportunity to go to low power mode and wait for signal of activity to ācome back upā. This setting is usually in the Display section but may be in the Power Management section like Gnome has it. I think the normal default for Gnome is 5 minutes of inactivity and screen blanks.
Oh that thing. Iāve used that before but thatās not a solution tbh. If sometime I need to turn the screen off immediately, then Iāve nothing to do except rebooting the program or the entire system. So itās better to have a solution
That function doesnāt, or shouldnāt lead to rebooting or restarting a program.
Besides you can manually blank your screen at any time in a couple of ways.
At the top right of the screen is the power button for the desktop, click on it
Select the Power Button and click on it
Select either Suspend or Log Out
On return, click on user and either enter password to cancel Suspend or Log In as your user and whatever was running will be running still
The GPU request the EDID from the monitor. This is supposed to work even when the monitor has no power. No EDID can mean an other of spec monitor or nothing connected.
Sense the electrical impedence (I think) on the wires to monitor. When the monitor is power on its impedence changes in a detectable way.
It cannot request and receive EDID data when the monitor is powered off since the monitor must be active to relay that data. It can sense that the cable is connected. As soon as the monitor is powered on the PC requests & gets the EDID data so it can configure the ānewā device just detected.
This process can interfere with earlier configured connections for that monitor so it does not surprise me that the OP is seeing what he terms as āweird behaviorā. After all the way he powers it off and on is not what most users would consider normal.
Why powering off the monitor isnāt normal? Itās pretty normal and when downloading something or Iām not seating in front of my PC. Why canāt I just turn my monitor off then? It works perfectly on other OSes.
And even, it works perfectly on live environment of Fedora!