Laptop brightness on Dell XPS not controllable

Bug #762670 reported by Zordid
108
This bug affects 21 people
Affects Status Importance Assigned to Milestone
gnome-power-manager (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

 ERROR: Method "GetBrightness" with signature "" on interface "org.freedesktop.UPower.KbdBacklight" doesn't exist

The brightness of my laptop's screen is not changed at all when using the Fn-Keys.
Ubuntu displays the notification area with the brightness setting displayed, it even shows that the brightness value is changed - but the actual brightness of the screen remains the same at all times!

Laptop: Dell XPS 17, Full-HD 3D display, Nvidea graphics.

Tags: amd64 natty
Zordid (zordid-gmx)
tags: added: brightness control screen
Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Hello
Can you please folow this guide?
https://wiki.ubuntu.com/Kernel/Debugging/Backlight
For any question, just ask here.
Thanks
Fabio

Changed in ubuntu:
status: New → Incomplete
Revision history for this message
Zordid (zordid-gmx) wrote :

The behavior I see does not quite fit into the 4 categories described in the document.
Controls *seem* to work as function keys bring up the OSD and the bar can be moved up and down - only the screen's actual brightness does not change at all.

Okay, I tried the following:

 * added acpi_backlight=vendor to the kernel parameters => no changes in behavior and result.

 * looked at the /proc/acpi => no video there

 * looked at sys/class/backlight, found dell_backlight there with max brightness 15, actual_brightness can be changed with the fn-keys.

Then I did:
zordid@Dell-XPS:/sys/class/backlight/dell_backlight$ dmesg|grep 'ACPI: Video'
[ 14.193426] ACPI: Video Device [PEGP] (multi-head: yes rom: no post: no)
zordid@Dell-XPS:/sys/class/backlight/dell_backlight$ lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation Device 0dcd (rev a1)

What else do you need? I do not quite understand the next "steps"... sorry!
Can you give me a hint of what else is important?

Revision history for this message
Zordid (zordid-gmx) wrote :

I got a new discovery: when playing with the brightness values I left the actual_brightness at 0 (using the fn-keys).

After rebooting Ubuntu the screen's brightness was LOW! So, the brightness value actually ends up controlling the screen's brightness - but only at boot-time and only once!

I raised the level again using fn-keys (nothing happend on the screen), restarted and it was bright again!

Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Hello
Can you please run this in a terminal:

killall gnome-power-manager && gnome-power-manager --verbose 2>&1 | tee ~/gpm.log

This kills gnome-power-manager and re-executes it in verbose mode, saving the log file gpm.log to your home directory. Try to change the brightness then attach this file to the report.

The most useful things in this log are usually the values that g-p-m thinks that things are. You can look through to see if they match your expectations and what you've set them to by other means.
Thanks
Fabio

affects: ubuntu → gnome-power-manager (Ubuntu)
Revision history for this message
Zordid (zordid-gmx) wrote :

Here's the log file.

Turned brightness down to lowest setting and up again using the fn-keys. Nothing happened to the actual brightness, of course!

Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

TI:00:21:52 TH:0x6d70a0 FI:gpm-backlight-kbd.c FN:gpm_backlight_kbd_init,646
 - ERROR: Method "GetBrightness" with signature "" on interface "org.freedesktop.UPower.KbdBacklight" doesn't exist

*** WARNING ***
TI:00:21:52 TH:0x6d70a0 FI:gpm-backlight-kbd.c FN:gpm_backlight_kbd_init,650
 - GetBrightness failed!

description: updated
Changed in gnome-power-manager (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Hello Zordid
can you please run in a terminal
uname -a
and paste here the output
Thanks
Fabiio

Revision history for this message
Zordid (zordid-gmx) wrote :

uname -a yields:

Linux Dell-XPS 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

tags: added: amd64 natty
removed: brightness control screen
Revision history for this message
Timo Vanwynsberghe (timovwb) wrote :

I can confirm the exact same results on the same laptop.

Dell XPS l702x with full-hd 3d display and NVidia GT 555m.

$ uname -a
Linux timo-laptop 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Gary Herron (gherron-digipen) wrote :

I too can confirm this. I've the same machine (XPS l702x aka XPS 17), display (hd 3D), and graphics card (GT 555m). Same results on each of the above suggested tests. All indications (OSD, /proc values, g-p-m output) are that the brightness is changing, but the actual screen does not change. (Haven't tried the reboot trick yet.)

Revision history for this message
Brad Herring (brad-bherville) wrote :

I can confirm this as well with the same system, Dell XPS l702x 3D NVidia GT 555m.
$ uname -a
Linux ubuntu-star-destroryer 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Stéphane (s-jacquemain) wrote :

I too can confirm this. Dell XPS l702x 3D NVidia GT 555m.

- ERROR: Method "GetBrightness" with signature "" on interface "org.freedesktop.UPower.KbdBacklight" doesn't exist

Revision history for this message
Olivier (olagache) wrote :

I can confirm this as well with the same system, Dell XPS l702x 3D NVidia GT 555m.
I'm using KDE and i've not OSD indications when using Fn Key

$ uname -a
Linux aragorn 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Olivier (olagache) wrote :

The value in files
  - /sys/class/backlight/acpi_video0/brightness
  - /sys/class/backlight/acpi_video0/actual_brightness

changes (from 0 to 15) when using Fn Keys but not the brightness of screen. The OSD appear only when value is equals to 15.

Revision history for this message
Pierre Chifflier (pollux-debian) wrote :

I can confirm the problem on a Dell XPS l702x with 3D NVidia GT 555m

I have solved the problem here by adding the following to xorg.conf:

Option "RegistryDwords" "EnableBrightnessControl=1"

Hope this helps,
Pierre

Revision history for this message
Pierre Chifflier (pollux-debian) wrote :

Additional note to my previous comment: this is on a Debian Unstable, with proprietary nvidia module (280.13-4). Not sure if this can work with nouveau.

Revision history for this message
Timo Vanwynsberghe (timovwb) wrote :

The solution from Pierre Chifflier appears to work on Ubuntu 11.04 with the proprietary nvidia drivers too.

Revision history for this message
Eduard Ereza Martínez (ereza) wrote :

I can confirm that this still happens on 12.04 LTS.

Adding the line to xorg.conf as suggested by Pierre Chifflier makes it work correctly. I'm using proprietary drivers too.

Revision history for this message
Hemantkumar Goswami (hemantrps-goswami) wrote :

I can also confirm that the suggestion posted by "Pierre Chifflier" works. Though myself not being a computer geek I had problems implementing it. Below is the example of how it looks on my xorg.conf file and this works for me.

Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "TwinView" "1"
    Option "TwinViewXineramaInfoOrder" "DFP-2"
    Option "metamodes" "DFP-0: 1680x1050 +1920+15, DFP-2: 1920x1080 +0+0"
    Option "RegistryDwords" "EnableBrightnessControl=1"
    SubSection "Display"
        Depth 24
    EndSubSection
EndSection

Note: this is just an example for those who don't know where the following line appears

Look above for => Option "RegistryDwords" "EnableBrightnessControl=1"

Thanks everyone, Special Thanks to "Pierre Chifflier"

Cheers,
Hemant

Revision history for this message
Justin Crossley (justincrossley) wrote :

For the non-tecnically minded could someone please explain exactly what to type or do to:

"add the following to xorg.conf:

Option "RegistryDwords" "EnableBrightnessControl=1"

I have no idea how to add this to the xorg.conf file.

This bug is extremely irritating. When the laptop enters power saving mode and you wake it up from a blank screen the screen is extremely bright and almost unusable even though the screen was dim and had a good screen brightness before powersaving mode.

There are a number of other very dissapointing bugs/ things that are wrong with Ubuntu 12.04 running on my Dell XPS L702X laptop.

Revision history for this message
Justin Crossley (justincrossley) wrote :

Why does my xorg.conf file look like the following and not like Hemantkumar Gaswami's xorg.conf file?
This is what I have:

Section "Device"
 Identifier "Default Device"
 Option "NoLogo" "True"
EndSection

Revision history for this message
Daniel Woodworth (hdastwb) wrote :

I have fixed this by changing my xorg.conf file from this:

Section "Device"
 Identifier "Default Device"
 Option "NoLogo" "True"
EndSection

to this:

Section "Device"
 Identifier "Default Device"
 Option "NoLogo" "True"
EndSection

Section "Screen"
 Identifier "Default Screen"
 Option "RegistryDwords" "EnableBrightnessControl=1"
EndSection

Revision history for this message
Bjarne Kristensen (zeraxxus) wrote :

I have a DELL XPS L702X laptop with the nVidia GTX 555M 3GB RAM with the 120Hz 3D Screen.

I use Ubuntu 12.10 32-bit with the Experimental NVIDIA binary Xorg driver from nvidia-experimental-310(proprietary).

Thanks to all the comments, I got my Fn+F4/F5 brightness working aswell.

Though I did not have an /etc/X11/xorg.conf file to put the settings in, I created it manually using

sudo gedit /etc/X11/xorg.conf

and added only this:

Section "Screen"
 Identifier "Default Screen"
 Option "RegistryDwords" "EnableBrightnessControl=1"
EndSection

and saved the file.

I rebooted the system, and now the keys work.

I hope the issue gets resolved at some point.

Thanks again from a new Ubuntu user.

Revision history for this message
Dennis (de5n) wrote :

Dear Sirs!

I am completely newbie in Linux and in Linux Mint in particular. In my case adding Option "RegistryDwords" "EnableBrightnessControl=1" clause in xorg.conf did not change anything in brightness.

uname -a
Linux Dell-XPS-L702X 4.10.0-38-generic #42~16.04.1-Ubuntu SMP Tue Oct 10 16:32:20 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Xorg.conf

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 387.22 (buildd@lgw01-amd64-017) Tue Oct 31 00:34:18 UTC 2017

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

Section "Files"
EndSection

Section "Module"
    Load "dbe"
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx"
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"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "LGD"
    HorizSync 67.0 - 137.0
    VertRefresh 60.0 - 119.0
    Option "DPMS"
EndSection

Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce GT 555M"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "Stereo" "0"
    Option "nvidiaXineramaInfoOrder" "DFP-2"
    Option "metamodes" "DP-1: 1920x1080_120 +0+0, DP-2: nvidia-auto-select +1920+0"
    Option "SLI" "Off"
    Option "MultiGPU" "Off"
    Option "BaseMosaic" "off"
    Option "RegistryDwords" "EnableBrightnessControl=1"
    SubSection "Display"
        Depth 24
    EndSubSection
EndSection

Please, be so kind, help me in solving that issue. I could not imagine before that impossibility to change display brightness may drive someone crazy.

By the way, I performed all steps concerned brightness described at the following topic. To my regret I got no results.

https://sites.google.com/site/easylinuxtipsproject/display#TOC-Brightness-of-the-display-is-wrong-and-not-adjustable

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

Other bug subscribers

Bug attachments

Remote bug watches

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