FS#54234 - [linux] Can't change brightness on screen after 4.11 kernel update
Attached to Project:
Arch Linux
Opened by Nicolas Repentin (ouafnico) - Tuesday, 30 May 2017, 18:37 GMT
Last edited by Eli Schwartz (eschwartz) - Tuesday, 06 March 2018, 14:48 GMT
Opened by Nicolas Repentin (ouafnico) - Tuesday, 30 May 2017, 18:37 GMT
Last edited by Eli Schwartz (eschwartz) - Tuesday, 06 March 2018, 14:48 GMT
|
Details
Description:
After kernel update to 4.11.x (actually 4.11.3-1-ARCH), the light can't be changed on notebook. Brightness is at full value. My computer is Asus UX305UA. Please ask me anything to debug. dmesg is attached if it can help. Steps to reproduce: Upgrade to last 4.11 kernel. |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Tuesday, 06 March 2018, 14:48 GMT
Reason for closing: Fixed
Additional comments about closing: seems to be fixed with recent kernel releases
Tuesday, 06 March 2018, 14:48 GMT
Reason for closing: Fixed
Additional comments about closing: seems to be fixed with recent kernel releases
The intel_backlight directory is missing and I am unable to set the backlight brightness of my display. The /sys/class/backlight directory contains only the acpi_video0 directory. Setting a value to the brightness file doesn't affect the brightness of the display.
I have reproduced this problem with 4.11.2-1-ARCH kernel.
Additional informations:
lspci -v: https://pastebin.com/RWymtnZ2
lsmod: https://pastebin.com/fQWvrkdB
dmesg: https://pastebin.com/msnaa73a
With linux-lts (4.9.30-1-lts) the /sys/class/backlight directory contains the intel_backlight (and not acpi_video0) and I can set the brightness value without any problems.
My computer is also an Asus UX305UA.
Best
The grub file edit "GRUB_CMDLINE_LINUX="acpi_video0"" did not work.
Best,
Jorge
create a file and rename it 20-intel.conf
Then paste the following..
Section "Device"
Identifier "card0"
Driver "intel"
Option "Backlight" "acpi_video0"
BusID "PCI:0:2:0"
EndSection
boot up and if that doesn't work replace "acpi_video0" with "intel_backlight" and see if that works.
I tried it doesn't work.
On 4.10, I've got the intel_backlight on /sys/class/backlight. On 4.11 it's replaced by acpi_video0.
Edit: in my cmdline, I have:
acpi_backlight=none acpi_osi=
Works for Asus Zenbook UX305U.
The folder intel_backlight is back and the increase/decrease buttons are working as well as editing the file brigthness in the intel_backlight folder. Moreover, my grub now has a lower and more appropriate resolution (it was too high before this fix).
Thanks for the update and Marcus for the CSM comment.
Just to verify I didi "echo $acpi_backlight" and got an black line, so if I understand ok I have a different setting from Marcus.
Best,
Jorge
OK it's working with CSM enabled on bios.
But is it really the good solution?
CSM emulated an old bios on UEFI for compatibility.
But it was working on 4.10 without CSM, so why not on 4.11?
What have been removed on 4.11?
Best,
CSM-enabled boots ok (but slower), but with CSM-disabled and fast boot I get the same blank screen.
Best,
Jorge
I am not a Archlinux user but a Fedora one since years.
If I come in this discussion this is because I have also an Asus UX305UA and I have a problem with it.
I did have any problem until kernel 4.11.4 but since kernel 4.11.5 and with all kernel until 4.11.10, I get a black screen during boot.
If I connect an external monitor on HDMI port, I get message on external monitor following message:
"[ 1.308240] [drm:drm_calc_timestamping_constants [drm]] *ERROR* crtc 31: Can't calculate constants, dotclock = 0!
You are in emergency mode..."
I found this bugzilla entry about same problem with Fedora and UX305UA: https://bugzilla.redhat.com/show_bug.cgi?id=1463085
So I would like to know if Archlinux with kernel 4.11.5 and above works fine on Asus UX305UA ?
Thanks for your help.
Best.