nvidiabl icon indicating copy to clipboard operation
nvidiabl copied to clipboard

Brightness gets lower after waking up from sleep

Open hackability opened this issue 12 years ago • 2 comments

I am using nouveau instead of nvidia binary driver. Nvidiabl is working alright in controlling the screen brightness. But if I turn my computer into sleep and wake it up, a strange thing happens:

Before sleep: /sys/class/backlight/nvidia_backlight/max_brightness: 127 /sys/class/backlight/nvidia_backlight/brightness: 74 /sys/class/backlight/nvidia_backlight/actual_brightness: 74

After sleep: /sys/class/backlight/nvidia_backlight/max_brightness: 127 /sys/class/backlight/nvidia_backlight/brightness: 74 /sys/class/backlight/nvidia_backlight/actual_brightness: 960

Then I try to control the brightness using F10 and F11, but the brightness is quite low even I maximize it to 127.

I think there's something wrong for nvidiabl to restore backlight state from sleep.

P.S. {{{ $ lspci -nn: 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF108 [Quadro 1000M] [10de:0dfa](rev a1)

$ cat /sys/class/dmi/id/sys_vendor Hewlett-Packard

$ cat /sys/class/dmi/id/product_name HP EliteBook 8560w

$ dmesg | grep nvidiabl [ 7.327051] nvidiabl: loading driver version 0.74 [ 7.327064] nvidiabl: Supported Nvidia graphics adapter 10de:0dfa:103c:1631 detected [ 7.327145] nvidiabl: backup register value 0x400045c3 [ 7.327147] nvidiabl: using value 0x45c3 as maximum [ 7.327149] nvidiabl: autodetecting off [ 7.327151] nvidiabl: using value 0x0 as off [ 7.327153] nvidiabl: using value 0xa as minimum

}}}

hackability avatar May 17 '12 15:05 hackability

Hello,

Does it happen too in the same situations as described here: http://www.nvnews.net/vbulletin/showpost.php?p=2375050&postcount=109 ?

Thank you.

Guillaume

guillaumezin avatar Nov 02 '12 15:11 guillaumezin

I have a similar problem: every time the monitor goes blank the max brightness is much reduced. If I unload and reload the module the brightness returns, but it is quite unfortunate to repeat the operation every 10 minutes of inactivity.

eto- avatar Apr 25 '14 20:04 eto-