How to "sleep" the video card

MasterLog

New Member
Mar 4, 2023
5
0
1
Hello,
I am using Proxmox 7.3-6 on a x86 device with a VGA and HDMI video output.
Everything works fine, apart that the VGA signal never put the monitor to "sleep" even if I am not using the Console. As I have attached different devices to the same monitor this is very inconvenient as I need to manually switch between the sources. This doesn't happen with other servers (e.g. Ubuntu, etc.): once I am not using the Console the monitor will turn down, getting back as soon as I type anything on the console.
I referred to this thread (just making the opposite to enable powersave), and it has completely shutdown the VGA signal until reboot:
https://superuser.com/questions/629939
As I have never faced this issue before, I am not sure if this is a configuration issue on the BIOS or at OS level (but as with the command above I could shutdown the VGA signal, it would be possible to act after a timeout). And the issue may not be directly related to Proxmox, but I am wondering if someone can help!
Thanks
 
Last edited:
After updating ProxMox to the latest version, I was able to fix the issue with command from the console (using the keyboard and the monitor, it doesn't work from SSH or the UI):
setterm -blank 1 -powersave on -powerdown 1
However, it doesn't survive to a reboot, so it would be great to have this improved by default.

Regards,
 
Hello @_gabriel,
I have made some tests, but it doesn't work with crontab.
The command "setterm -blank 1 -powersave on -powerdown 1" must be executed by an user from the console to apply.

Regards,