Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 272826 - gnome-extra/gnome-power-manager- 2.24.4-r2 only blanks screen, cannot turn off backlight
Summary: gnome-extra/gnome-power-manager- 2.24.4-r2 only blanks screen, cannot turn of...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-05 19:39 UTC by Martin Gerdzhev
Modified: 2009-10-20 20:56 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info,4.13 KB, text/plain)
2009-06-05 19:40 UTC, Martin Gerdzhev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Gerdzhev 2009-06-05 19:39:48 UTC
The gnome-power-manager is unable to turn off the backlight of my laptop's screen. The screen only gets blanked but the backlight remains at full brightness on. Even trying to do it manually with "xset dpms force off" only blanks the screen. To actually be able to turn off the backlight I have to use "vbetool dpms off". Even setting in xorg.conf:  Option  "OffTime" "20" has no effect either.

Reproducible: Always

Steps to Reproduce:
1. Set screensaver to a short time
2. Set "Put display to sleep when inactive" to a short time as well
3. Wait for the time to pass and see what happens

Actual Results:  
Display gets blanked (backlight is on)

Expected Results:  
Display should be turned off (backlight as well)
Comment 1 Martin Gerdzhev 2009-06-05 19:40:41 UTC
Created attachment 193651 [details]
emerge --info
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-06-08 22:22:48 UTC
do you have gnome-screensaver installed ?
Comment 3 Martin Gerdzhev 2009-06-09 15:39:10 UTC
I have gnome-extra/gnome-screensaver-2.26.1 installed. What I actually noticed is that the screensaver is blanking my display and power manager does absolutely nothing for me. If I disable the screensaver the screen stays lit (doesn't get even blanked).
Comment 4 Brian Beardall 2009-07-01 16:49:49 UTC
GPM is starting but is not detecting idle time from my experience so far. With all of the gnome-2.26 installed as what is in portage.
Comment 5 Brian Beardall 2009-07-01 20:55:12 UTC
Downgrade to gnome-screensaver-2.24.* and gnome-power-manager-2.24.* will be able to put the monitor to sleep.
Comment 6 Brian Beardall 2009-07-04 16:32:43 UTC
The versions to make power management work are:
gnome-extra/gnome-power-manager-2.24.4-r2
gnome-extra/gnome-screensaver-2.24.1-r1

gnome-extra/gnome-screensaver-2.26.1 breaks the power management of gnome-power-manager making it so that the screen no longer turns off.
Comment 7 Tommaso Pasini 2009-08-16 13:54:23 UTC
Take a look here, the blanking problem seems to be fixed - the issue was in Xorg and not in gnome-power-manager. There is a patch linked in the blog post below that should be applied to xorg-server-1.6.3.

http://blogs.gnome.org/hughsie/2009/08/14/blanking-in-gnome-power-manager-fixed/
Comment 8 Colin Macdonald 2009-08-16 18:02:22 UTC
I've tested that patch and it seems to fix my random blanking problems.  But I'm not sure this bug is the same thing.  I'll open a new bug pointing to that patch.
Comment 9 Colin Macdonald 2009-08-16 18:11:03 UTC
new bug is #281698.
Comment 10 Martin Gerdzhev 2009-08-17 13:38:44 UTC
It seems that after I updated to the new gnome-power-manager 2.26.4 the problem is fixed for me. it now turns off the backlight.
Comment 11 Tommaso Pasini 2009-08-17 13:56:33 UTC
The same doesn't happen here.
Anyway, the developer says that he coded a couple workarounds, but the xorg patch is the right way to go.

http://blogs.gnome.org/hughsie/2009/08/17/gnome-power-manager-and-blanking-removal-of-bodges/
Comment 12 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-08-27 08:57:08 UTC
that patch is in xorg-server-1.6.3.901, could you try it out ?
Comment 13 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-09-06 11:54:27 UTC
Issue fixed for me. Please feel free to reopen this bug if it's not for you. Thanks for reporting.
Comment 14 Martin Gerdzhev 2009-09-08 22:45:00 UTC
It seems that it doesn't really work still. It doesn't turn off the screen. It just remains blanked. I have xorg-server-1.6.3.901-r1 and it doesn't go to sleep/turn off.
Comment 15 Martin Gerdzhev 2009-09-09 12:16:31 UTC
Ignore my last post. It's working for me as well.
Comment 16 Fabiano Francesconi 2009-10-19 21:23:00 UTC
I'm using gnome stable but I suffer from the same problem.
I tried to upgrade to gnome-power-manager-2.24.4-r2 but this doesn't solve the problem.
I tried either to set /apps/gnome-power-manager/backlight/dpms_method_ac and /apps/gnome-power-manager/backlight/dpms_method_battery to "off" (instead of the "default" default one).

Sometimes it seems to work, other times doesn't.

I currently use the xorg-server-1.6.5

amd64 arch here.

If you need more details, just ask.
Comment 17 Fabiano Francesconi 2009-10-20 18:24:55 UTC
(In reply to comment #16)
> I'm using gnome stable but I suffer from the same problem.
> I tried to upgrade to gnome-power-manager-2.24.4-r2 but this doesn't solve the
> problem.
> I tried either to set /apps/gnome-power-manager/backlight/dpms_method_ac and
> /apps/gnome-power-manager/backlight/dpms_method_battery to "off" (instead of
> the "default" default one).
> 
> Sometimes it seems to work, other times doesn't.
> 
> I currently use the xorg-server-1.6.5
> 
> amd64 arch here.
> 
> If you need more details, just ask.
> 

I've tried to downgrade to xorg-server-1.6.3.901-r2 but it didn't help
Comment 18 Rémi Cardona (RETIRED) gentoo-dev 2009-10-20 20:56:17 UTC
(In reply to comment #17)
> I've tried to downgrade to xorg-server-1.6.3.901-r2 but it didn't help

1.6.5 is the only version that has all the patches for g-p-m to work properly. Now you're probably having a g-p-m bug. Please file a new bug report, let's keep this one closed.

Thanks