FS#39798 - [linux] 3.14-4 backlight control not working anymore on Dell XPS13
Attached to Project:
Arch Linux
Opened by Martin Saraceno (tinux) - Thursday, 10 April 2014, 07:18 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 13 August 2014, 11:11 GMT
Opened by Martin Saraceno (tinux) - Thursday, 10 April 2014, 07:18 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 13 August 2014, 11:11 GMT
|
Details
Description: Having just upgraded to core/linux 3.14-4,
backlight control of the screen on my Dell XPS13 doesn't
work anymore, at least not out of the box.
I need to invoke echo 0 > /sys/class/backlight/intel_backlight/brightness in order for it to work. This is necessary after every suspend-to-ram. |
This task depends upon
echo 0 > /sys/class/backlight/intel_backlight/brightness
was not necessary with the previous version.
This is a bit strange. After using the mentioned options once, it seem that brightness control does indeed work since then (even after reboots/poweroffs), but I have a strange flicker about every second when I dim the screen. There is not flickering at full brightness. Invoking
echo 0 > /sys/class/backlight/intel_backlight/brightness
solved the issue again, meaning no flickering and working brightness control.
https://wiki.archlinux.org/index.php/backlight
try different options/combinations'
upstream bug: https://bugs.freedesktop.org/show_bug.cgi?id=76276
Does Kevin's suggestion of adding the explicit intel_backlight option to an xorg.conf.d file help you?
It seems "echo 0 > /sys/class/backlight/intel_backlight/brightness" once after starting the laptop takes care of the issue. It is also not necessary to repeat that after suspend-to-ram.
What is weird is the following:
with video.use_native_backlight=1 I get
# ls /sys/class/backlight/
intel_backlight
echo 0 > /sys/class/backlight/intel_backlight/brightness # no flickering
echo 4882 > /sys/class/backlight/intel_backlight/brightness # no flickering
# anything in between and excluding 0 and 4882 flickers (4882 is the maximum), I didn't try all values for n ;)
With video.use_native_backlight=0 I get:
# ls /sys/class/backlight/
acpi_video0 intel_backlight
echo 0 > /sys/class/backlight/intel_backlight/brightness && echo m > /sys/class/backlight/acpi_video0/brightness # no flickering for all m (0-100 now for acpi), things work as they should
echo n > /sys/class/backlight/intel_backlight/brightness && echo m > /sys/class/backlight/acpi_video0/brightness # flickering for all n > 0 and n < 4882 and for all m, and also this
echo 4882 > /sys/class/backlight/intel_backlight/brightness && echo 0 > /sys/class/backlight/acpi_video0/brightness # no flickering, but also no brightness change
Since it doesn't seem to work with video.use_native_backlight=1, I'm not sure the issue is necessarily related to a battle between intel and acpi, because I get flickering even without acpi.
I guess this will be solved upstream...
With linux 3.14.6-1 my backlight is now working fine.