You are not logged in.

#1 2009-07-24 15:49:06

knysng
Member
Registered: 2008-05-10
Posts: 23

[SOLVED] DPMS Failed on Standby / Suspend / Off

Hi Everyone,

I am trying to get my laptop's screen to shut off after a while, but I keep running into Problems.
I am running the latest ARCH version with KDE 4.2.x on a Toshiba Satego X200 - 21U Laptop with an Nvidia 8700M GT gfx card. I set Power Devil to control my screen and set the Standby / Suspend / Off times to 5min / 10 min / 15 min. Unfortunately, even with DPMS enabled in my xorg.conf my screen does neither of those. Once, the display went into standby but the backlight stayed on...

Here is some information about my current setup:

1. User is in power / video group.
2. xset dpms force standby / suspend / off does not work
   a.: Xorg.log:

(WW) NVIDIA(0): Failed to set DPMS to off for LPL (DFP-0)
(WW) NVIDIA(0): Failed to set DPMS to on for LPL (DFP-0)
(WW) NVIDIA(0): Failed to set DPMS to standby for LPL (DFP-0)
(WW) NVIDIA(0): Failed to set DPMS to on for LPL (DFP-0)

3. Xorg.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder62)  Wed May 27 01:58:49 PDT 2009


Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"    
EndSection                                   

Section "Files"
EndSection     

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0" 
    Driver         "mouse"  
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"  
EndSection                               

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

4. Running the newest nvidia driver 185.18.14
5. vbetool dpms off does NOT work either

Help would be greatly appreciated.

Thank you very much for your time

Regards
Kenny

Last edited by knysng (2009-08-02 12:21:58)

Offline

#2 2009-07-25 07:15:19

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: [SOLVED] DPMS Failed on Standby / Suspend / Off

Offline

#3 2009-07-25 10:11:44

arkham
Member
From: Stockholm
Registered: 2008-10-26
Posts: 516
Website

Re: [SOLVED] DPMS Failed on Standby / Suspend / Off

Both in my Monitor and Device section I have

Option "DPMS" "True"

"I'm Winston Wolfe. I solve problems."

~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~

Offline

#4 2009-07-25 12:16:42

knysng
Member
Registered: 2008-05-10
Posts: 23

Re: [SOLVED] DPMS Failed on Standby / Suspend / Off

@djszapi & Arkham:

Thank you very much for your help. Unfortunately, the backlight still does not turn off when it should.
I added VBEModes and DPMS to my device section, but that did not change anything.

My biggest "complaint" really is the backlight not turning off. I know that this can be accomplished via vbetools going directly to the BIOS. However, when X / KDE has started, vbetool does not work anymore. If I login into the console without X, vbetool works great. xset dmps force off fails or just blanks the screen....

Thanks, once again.

Regards
Kenny

Offline

#5 2009-07-25 15:25:34

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: [SOLVED] DPMS Failed on Standby / Suspend / Off

Is it really an X related issue, do you think ? in that case Xorglog must contain something about it, please check it once more time.

Btw, if you try with minimal window managers, like openbox, fluxbox, ratpoisen, etc... ?

Is this working from livecd ?

Offline

#6 2009-07-25 16:15:46

knysng
Member
Registered: 2008-05-10
Posts: 23

Re: [SOLVED] DPMS Failed on Standby / Suspend / Off

Hi again,

well, this is the really strange part (for me at least). Xorg logs just show that the xset command failed, eventhough the screen goes blank/black:

(WW) NVIDIA(0): Failed to set DPMS to off for LPL (DFP-0)
(WW) NVIDIA(0): Failed to set DPMS to on for LPL (DFP-0)
(WW) NVIDIA(0): Failed to set DPMS to off for LPL (DFP-0)
(WW) NVIDIA(0): Failed to set DPMS to on for LPL (DFP-0)
(WW) NVIDIA(0): Failed to set DPMS to off for LPL (DFP-0)
(WW) NVIDIA(0): Failed to set DPMS to on for LPL (DFP-0)
(WW) NVIDIA(0): Failed to set DPMS to standby for LPL (DFP-0)
(WW) NVIDIA(0): Failed to set DPMS to on for LPL (DFP-0)
(WW) NVIDIA(0): Failed to set DPMS to standby for LPL (DFP-0)
(WW) NVIDIA(0): Failed to set DPMS to on for LPL (DFP-0)

When I run vbetool it sometimes just stalls and does absolutely nothing. I will try XFCE and see what happens.

Regards
Kenny

Offline

#7 2009-07-25 16:32:01

knysng
Member
Registered: 2008-05-10
Posts: 23

Re: [SOLVED] DPMS Failed on Standby / Suspend / Off

Hi,

I tried XFCE and everything behaves exactly the same; nothing has chanced.

Here is a little snippit from the Xorg.0.log:

(II) NVIDIA(0): Initialized GPU GART.                                                                         
(II) NVIDIA(0): ACPI display change hotkey events enabled: the X server is new                                
(II) NVIDIA(0):     enough to receive ACPI display change hotkey events.                                      
(II) NVIDIA(0): Setting mode "nvidia-auto-select"                                                             
(II) Loading extension NV-GLX                                                                                 
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized                                               
(==) NVIDIA(0): Disabling shared memory pixmaps                                                               
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture                                                 
(==) NVIDIA(0): Backing store disabled                                                                        
(==) NVIDIA(0): Silken mouse enabled                                                                          
(**) Option "dpms" "TRUE"                                                                                     
(**) NVIDIA(0): DPMS enabled                                                                                  
(II) Loading extension NV-CONTROL                                                                             
(II) Loading extension XINERAMA                                                                               
(WW) NVIDIA(0): Option "VBEModes" is not used                                                                 
(==) RandR enabled

It shows that DPMS is, infact, enabled for NVIDIA. so that should not be the problem. This is all really strange and I don't know what else there can be done. Please let me know if you have any ideas regarding turning off the backlight on a Toshiba Satego X200-21U.

Also, I am running the 86_64 architecture version of Arch... could that be the problem?

Regards
Kenny

Offline

#8 2009-07-25 17:40:21

knysng
Member
Registered: 2008-05-10
Posts: 23

Re: [SOLVED] DPMS Failed on Standby / Suspend / Off

okay, after investigating for days, I have come to the conclusion that one some laptops the video BIOS is responsible for controlling the backlight. xset has no power over turning the backlight off; you have to use vbetool to accomplish that.

Unfortunately, vbetool only works from a console. Also, it's not really possible to "hook" into the screen off event under KDE. Let's be honest, linux really isn't ready for laptops yet... I am going to have to live with that.

Thanks everyone.

Regards
Kenny

Offline

#9 2009-07-25 22:02:01

arkham
Member
From: Stockholm
Registered: 2008-10-26
Posts: 516
Website

Re: [SOLVED] DPMS Failed on Standby / Suspend / Off

knysng wrote:

okay, after investigating for days, I have come to the conclusion that one some laptops the video BIOS is responsible for controlling the backlight. xset has no power over turning the backlight off; you have to use vbetool to accomplish that.

Unfortunately, vbetool only works from a console. Also, it's not really possible to "hook" into the screen off event under KDE. Let's be honest, linux really isn't ready for laptops yet... I am going to have to live with that.

Thanks everyone.

Regards
Kenny

Shit happens.

It Just Works For Me ®


"I'm Winston Wolfe. I solve problems."

~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~

Offline

#10 2009-08-02 12:21:29

knysng
Member
Registered: 2008-05-10
Posts: 23

Re: [SOLVED] DPMS Failed on Standby / Suspend / Off

Hi Everyone,

I felt obligated to tell you all, after bashing linux on laptops, that my problem was fixed with the new NVIDIA drivers (185.18.31).

Backlight turns off and the qset command works as intended.

Best regards
Kenny

Offline

Board footer

Powered by FluxBB