Laptop backlight stays always on

Bug #71368 reported by Rami Autiomäki
This bug report is a duplicate of:  Bug #847038: [oneiric] backlight always stays on. Edit Remove
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
X.Org X server
Confirmed
Medium
xorg-server (Ubuntu)
Triaged
Undecided
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-ati
Kubuntu Edgy

Hardware: HP omnibook vt6200, ati mobility radeon. Video driver is ati (issue is also with vesa driver). Laptop backlight stays always on. Screen blanking only makes display black but backlight stays on.
 If I switch backlight off with "xset dpms force off" backlight will stay off 30-60 seconds, then it will switch back on.
 With "sudo radeontool light off" backlight stays off.

here is xset -q

Keyboard Control:
  auto repeat: on key click percent: 0 LED mask: 00000000
  auto repeat delay: 250 repeat rate: 30
  auto repeating keys: 00ffffffdffffbbf
                        fadfffdfffdfe5ef
                        ffffffffffffffff
                        ffffffffffffffff
  bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
  acceleration: 20/10 threshold: 2
Screen Saver:
  prefer blanking: no allow exposures: yes
  timeout: 130 cycle: 600
Colors:
  default colormap: 0x20 BlackPixel: 0 WhitePixel: 16777215
Font Path:
  /usr/share/fonts/X11/misc,/usr/share/fonts/X11/misc/,/usr/share/fonts/X11/Type1/,/usr/share/fonts/X11/100dpi/,/usr/share/fonts/X11/75dpi/
Bug Mode: compatibility mode is disabled
DPMS (Energy Star):
  Standby: 180 Suspend: 180 Off: 180
  DPMS is Enabled
  Monitor is On
File paths:
  Config file: /etc/X11/xorg.conf
  Modules path: /usr/lib/xorg/modules
  Log file: /var/log/Xorg.0.log

Tags: kubuntu
description: updated
Revision history for this message
Laurent Bigonville (bigon) wrote :

Same problem here with a radeon mobility 9700 with both radeon and fglrx driver.

Changed in xserver-xorg-video-ati:
status: Unconfirmed → Confirmed
Revision history for this message
Rami Autiomäki (rami-autiomaki) wrote :
Revision history for this message
Ashley Hooper (ash-hooper) wrote :

Suspect this is more general than just package 'xserver-xorg-video-ati (Ubuntu)' - I have a Toshiba Portege with S3 Savage and the LCD backlight never turns off.

This may be related to the general X.org 7.1 ACPI bug found recently - more details here:

https://launchpad.net/distros/ubuntu/+source/xorg/+bug/72231

Revision history for this message
Laurent Bigonville (bigon) wrote :

Changed to the xorg package

Changed in xorg-server:
status: Unknown → Fix Released
Revision history for this message
Ashley Hooper (ash-hooper) wrote :

Any news of a fix for this?

As with bug 37364, 'xset dpms force off' clears the display but does not turn it off.

https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-i810/+bug/37364/

I have to use 'sudo vbetool dpms off' to actually switch off the backlight.

This is troublesome, because on both Edgy & Feisty at the time of writing xscreensaver never disables the backlight in accordance with your power management settings.

I am thus forced to either close the lid or suspend to RAM before going away for any length of time if I don't want the backlight to carry on burning.

Revision history for this message
Laurent Bigonville (bigon) wrote :

Should be solved with 7.2

Changed in xorg:
status: Confirmed → Fix Released
Revision history for this message
In , Danielle Madeley (danielle-madeley) wrote :

From bug #5665

  obviously it's not adding the acpi pipe as an input handler after (but only
  after) s3, and adding it as a general handler before s3: you've encountered
  another bug. please open a new one on whichever driver you use, attaching
  xorg.0.log and xorg.conf.

Revision history for this message
Davyd (davyd) wrote :

Still a problem after suspend/resume. Works from initial boot until before suspend/resume (S3).

Changed in xorg:
status: Fix Released → Unconfirmed
Changed in xorg-server:
status: Fix Released → Confirmed
Changed in xorg-server:
status: Confirmed → Fix Released
Bryce Harrington (bryce)
Changed in xorg:
status: New → Triaged
Revision history for this message
In , Gordon Jin (gordon-jin) wrote :

Please list the detailed steps, and attach logs.

Revision history for this message
In , Danielle Madeley (danielle-madeley) wrote :

Created an attachment (id=11309)
xorg.conf

Revision history for this message
In , Danielle Madeley (danielle-madeley) wrote :

Created an attachment (id=11310)
Xorg.log (gzipped)

Revision history for this message
In , Danielle Madeley (danielle-madeley) wrote :

Aah, I'd forgotten about filing this. It's still an issue.

To cover the problem again:
In the past (see bug 5665), ACPI events were preventing the LCD backlight from staying off, causing it to wake up when the next ACPI event was received (on a Toshiba, this is about once every 30s). This was then fixed so that it would work up until the laptop entered sleep state S3 (i.e. suspend-to-ram) for the first time, after waking up, the LCD backlight will wake up about 30s after switching off again.

I've attached my xorg.conf and Xorg.log as requested. The log should contain a nice number of suspend/resume cycles.

Revision history for this message
In , Gordon Jin (gordon-jin) wrote :

I can't reproduce this problem on my 915gm.

Revision history for this message
In , Danielle Madeley (danielle-madeley) wrote :

You need to receive an ACPI event, e.g. 'battery' or 'ac_adapter'. Toshiba laptops like to send lots of these.

Revision history for this message
In , Gordon Jin (gordon-jin) wrote :

Yes, I'm seeing 'battery' and 'ac_adapter' event in /var/log/acpid, but I still can't reproduce.

Revision history for this message
Ashley Hooper (ash-hooper) wrote :

This is still not fixed for me, now on Gutsy (having reinstalled from scratch several times along the way) and backlight still does not switch off when Xscreensaver tries to trigger it or when I run xset.

Revision history for this message
Sascha (konradsa) wrote :

Confirmed, bug not fixed. Workaround posted here: http://ubuntuforums.org/showthread.php?t=297316

Revision history for this message
Ashley Hooper (ash-hooper) wrote :

Thanks for the fix Sascha, but I just tried it and it doesn't work for me.

My problem is slightly different to yours in that my backlight *always* stays on - it never turns off, even for a few seconds. When it should turn off it actually gets pretty bright white in a weird kind of grid pattern which I guess is something to do with the TFT array in the LCD itself.

Revision history for this message
In , Michael Fu (michael-fu-intel) wrote :

I think we still don't have detailed HW info yet.. What's the model of your laptop? other things like output from lspci and dmesg could be helpful too.. thanks.

Revision history for this message
In , Eric Anholt (eric-anholt) wrote :

General server ACPI issue, not intel driver.

Revision history for this message
In , Benjamin-close (benjamin-close) wrote :

Bugzilla Upgrade Mass Bug Change

NEEDSINFO state was removed in Bugzilla 3.x, reopening any bugs previously listed as NEEDSINFO.

  - benjsc
    fd.o Wrangler

Changed in xorg-server:
status: Unknown → Confirmed
Revision history for this message
lostangel78 (lostangel78) wrote :

Try typing the following command in a terminal:

xgamma -gamma 0.75

If that doesn't work you need to install xgamma from the repos.

I have posted my own solution here on setting it up:

http://ubuntuforums.org/showthread.php?p=4168042#post4168042

Revision history for this message
Ashley Hooper (ash-hooper) wrote :

Thanks for the tip but xgamma doesn't work for me. - it does absolutely nothing. I tried many different values and nothing worked.

Revision history for this message
Thomas Novin (thomasn80) wrote :

Confirmed with two HP laptops with X600 and X1600. Both running xorg-driver-fglrx 1:7.1.0-8-02+2.6.24.9-8.25.

Revision history for this message
Thomas Novin (thomasn80) wrote :

This seems to be fixed now?

Revision history for this message
PrinsEdje80 (eduardwestra) wrote :

Nope, with fglrx 8.09 the backlight goes off perfectly. With radeon (xserver-xorg-video-ati 1.6.8.0-1 on ubuntu Hardy) the backlight does not go off. I can simulate it by pressing the lid button of my laptop. What happens is that my screen goes off (backlight is off for a sec or so and I don't see my desktop) for a second, then completely comes completely alive (i.e. I see my desktop etc) for less than half a second and then goes completely blank, but with the backlight on. After browsing a bit, I found a clue that there is something related to acpid.

Snippet of /var/log/acpid starting with pressing the button and releasing 5 seconds later:
****
[Fri Oct 10 23:43:02 2008] received event "button/lid LID 00000080 00000025"
[Fri Oct 10 23:43:02 2008] notifying client 5109[0:0]
[Fri Oct 10 23:43:02 2008] notifying client 5995[107:116]
[Fri Oct 10 23:43:02 2008] executing action "/etc/acpi/lid.sh"
[Fri Oct 10 23:43:02 2008] BEGIN HANDLER MESSAGES
ERROR: Couldn't attach to DCOP server!
ERROR: Couldn't attach to DCOP server!
[Fri Oct 10 23:43:03 2008] END HANDLER MESSAGES
[Fri Oct 10 23:43:03 2008] action exited with status 1
[Fri Oct 10 23:43:03 2008] completed event "button/lid LID 00000080 00000025"
[Fri Oct 10 23:43:08 2008] received event "button/lid LID 00000080 00000026"
[Fri Oct 10 23:43:08 2008] notifying client 5109[0:0]
[Fri Oct 10 23:43:08 2008] notifying client 5995[107:116]
[Fri Oct 10 23:43:08 2008] executing action "/etc/acpi/lid.sh"
[Fri Oct 10 23:43:08 2008] BEGIN HANDLER MESSAGES
ERROR: Couldn't attach to DCOP server!
[Fri Oct 10 23:43:09 2008] END HANDLER MESSAGES
[Fri Oct 10 23:43:09 2008] action exited with status 1
[Fri Oct 10 23:43:09 2008] completed event "button/lid LID 00000080 00000026"
****

Bryce Harrington (bryce)
tags: added: kubuntu
Revision history for this message
iankohtao (ian-lester) wrote :

This was solved by installing the ATI Drivers 9.6 from ATI and installing using the link and choosing the one for your situation.
http://wiki.cchtml.com/index.php/Ubuntu_Jaunty_Installation_Guide

Regards
Ian Lester

Changed in xorg-server:
importance: Unknown → Medium
Changed in xorg-server:
importance: Medium → Unknown
Changed in xorg-server:
importance: Unknown → Medium
Revision history for this message
sem (semitones) wrote :

This bug seems to affect me in 10.10 (I have not tried to reproduce it yet in natty but I can in a few minutes). "xset dpms force off" will stay off for 30-60s before coming on again. "sudo radeontool light off" fails without an error. If I let the backlight turn off on it's own, it seems to stay off (will test this shortly).

Are any workarounds confirmed? Is this the right place to post comments?

hardware: HP Pavilion dm3

xset -q (don't know why to post this, doing so for sake of completeness)
Keyboard Control:
  auto repeat: on key click percent: 0 LED mask: 00000000
  XKB indicators:
    00: Caps Lock: off 01: Num Lock: off 02: Scroll Lock: off
    03: Compose: off 04: Kana: off 05: Sleep: off
    06: Suspend: off 07: Mute: off 08: Misc: off
    09: Mail: off 10: Charging: off 11: Shift Lock: off
    12: Group 2: off 13: Mouse Keys: off
  auto repeat delay: 500 repeat rate: 30
  auto repeating keys: 00ffffffdffffbbf
                        fadfffefffedffff
                        9fffffffffffffff
                        fff7ffffffffffff
  bell percent: 0 bell pitch: 400 bell duration: 100
Pointer Control:
  acceleration: 2/1 threshold: 4
Screen Saver:
  prefer blanking: yes allow exposures: yes
  timeout: 0 cycle: 0
Colors:
  default colormap: 0x20 BlackPixel: 0 WhitePixel: 16777215
Font Path:
  /usr/share/fonts/X11/misc,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,built-ins
DPMS (Energy Star):
  Standby: 0 Suspend: 0 Off: 0
  DPMS is Enabled
  Monitor is On

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.