View Full Version : virtualbox - dpms (blanking of screen) doesn't work anymore even after VB is closed
jetpeach
January 3rd, 2008, 03:32 PM
Has anyone else seen a problem with Virtualbox where, if it is running OR even after it is completely closed, the DPMS functionality (the ability for the monitor to go into sleep mode/go blank) stops functioning? For me, if I have run virtualbox since rebooting, from then on my monitor will not sleep automatically (it can still be made to sleep using the command line, but will not after the 15 minutes when it is suppose to). The auto sleep functionality is not returned until I reboot the computer.
I am running Kubuntu 7.10 - I suspect the problem might be specific to KDE, but am not sure.
A monitor that won't go to sleep is pretty annoying to me, especially since a lot of people besides myself use my computer (and they won't always turn the monitor off after using it) so any advice is much appreciated!
Thanks,
jet
fracklaus
February 29th, 2008, 09:07 AM
Hi,
I have the same problem here on Debian testing with KDE. xset q states that DPMS is disabled if VirtualBox is running and that it is re-enabled after VB is closed. However it fails to work in that state. Resetting the dpms values with xset helps to enable dpms again. I think this is a strange bug in virtualbox.
Regards
fracklaus
medicdave
February 29th, 2008, 05:54 PM
I'm experiencing the same problem, also on Kubuntu 7.10, with virtualbox 1.5.4.
dpms works fine from reboot up until virtualbox is run, but after this (even though xset -q indicates dpms is enabled) the monitor never shuts off. I've done a `grep -rH dpms /var/log/*` and dpms doesn't seem to be generating any entries in any log files.
I can help out in testing any ideas/workarounds that anyone has on this...
Thanks,
medicdave
jetpeach
March 5th, 2008, 01:26 AM
i've discovered that when i run mythtv (which disables dpms) and then close it (which says it re-enables dpms) then dpms also stays off. and like fracklaus, if i manual reset dpms using xset it works.
so i think the problem must be with this xset command, i'm trying to debug by looking at my setting before and after (using xset -q) running virtualbox or mythtv
medicdave
March 11th, 2008, 05:40 PM
Another twist:
It seems that locking (and optionally unlocking) the screen will restore dpms functionality. When I use virtualbox, then close it, dpms doesn't work. But if I then lock the screen, monitor sleep once again works.
-MedicDave
Hero of Time
March 16th, 2008, 06:01 PM
I have the same issue, while I don't run KDE but XFCE. So it has something to do with VirtualBox and Xorg settings.
I did manage to get it working again by entering 'xset +dpms' in a terminal (while the VM was running), but it didn't turn off the monitor while the VM was running, only after the VM shut down, it worked again. I also saw a change in the screensaver timeout. I have DPMS set to 10 minutes, the screensaver timeout was set to 0 when the VM was running, it changed to 600 when it closed.
ablu
April 8th, 2008, 10:18 PM
Has anyone figured out how to prevent VirtualBox from modifying the host machine's DPMS setting? This problem is very annoying...
I don't think VirtualBox should be changing that setting at all!
I can understand the intent, but when you really think about it-- it doesn't make any sense to do this.
At least there should be an option somewhere for it! (maybe there is...)
jetpeach
June 8th, 2008, 03:47 AM
yes, i absolutely agree that virtualbox should allow dpms to remain enabled. i'm unaware of a way to disable vb's disabling of dpms though.
although there intent is clear (if the keyboard and mouse were captured by virtualbox and dpms became enabled, to someone not knowing the "host key" (control-home by default) it may seem impossible to bring the monitor out of sleep! but still, this needs to be an option since it's incredibly annoying in it's current state...
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.