[Bug 1180591] New: Display backlight stuck at 100%
http://bugzilla.opensuse.org/show_bug.cgi?id=1180591 Bug ID: 1180591 Summary: Display backlight stuck at 100% Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: maurizio.galli@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 844855 --> http://bugzilla.opensuse.org/attachment.cgi?id=844855&action=edit system information I have just upgraded my device to Tumbleweed and now backlight brightness is stuck at 100% with no way to change it. I have tried several methods, including xbacklight and Xfce settings. Backlight control used to work fine with Kernel 5.3 shipped by Leap. I found a recent report using similar hardware that could suggest a regression in the kernel: https://discuss.getsol.us/d/6039-brightness-control-not-working-on-apple-dis... I attached information about my system but please let me know what else I can provide. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180591 http://bugzilla.opensuse.org/show_bug.cgi?id=1180591#c1 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maurizio.galli@gmail.com, | |tiwai@suse.com Flags| |needinfo?(maurizio.galli@gm | |ail.com) --- Comment #1 from Takashi Iwai <tiwai@suse.com> --- Could you give the output of hwinfo and the output of dmesg? Also, try to adjust the brightness by manually writing to sysfs files /sys/class/backlight/*/brightness. The value ranges are found in /sys/class/backlight/*/max_brightness. e.g. on my laptop, I can change it like echo -n 200 > /sys/class/backlight/intel_backlight/brightness There might be multiple entries in /sys/class/backlight and you can try each of them. And, if it used to work with Leap kernel, could you try to install the latest Leap 15.2 kernel on the current system (with zypper install --oldpackage option), boot with it and test whether the brightness works? If Leap 15.2 kernel works, give again the output of hwinfo and dmesg from it. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180591 http://bugzilla.opensuse.org/show_bug.cgi?id=1180591#c2 --- Comment #2 from Maurizio Galli <maurizio.galli@gmail.com> --- Created attachment 844859 --> http://bugzilla.opensuse.org/attachment.cgi?id=844859&action=edit dmesg Leap 15.2 kernel -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180591 http://bugzilla.opensuse.org/show_bug.cgi?id=1180591#c3 --- Comment #3 from Maurizio Galli <maurizio.galli@gmail.com> --- Created attachment 844860 --> http://bugzilla.opensuse.org/attachment.cgi?id=844860&action=edit dmesg TW kernel -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180591 http://bugzilla.opensuse.org/show_bug.cgi?id=1180591#c4 --- Comment #4 from Maurizio Galli <maurizio.galli@gmail.com> --- Created attachment 844861 --> http://bugzilla.opensuse.org/attachment.cgi?id=844861&action=edit hwinfo Leap 15.2 kernel -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180591 http://bugzilla.opensuse.org/show_bug.cgi?id=1180591#c5 --- Comment #5 from Maurizio Galli <maurizio.galli@gmail.com> --- Created attachment 844862 --> http://bugzilla.opensuse.org/attachment.cgi?id=844862&action=edit hwinfo TW kernel -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180591 http://bugzilla.opensuse.org/show_bug.cgi?id=1180591#c6 --- Comment #6 from Maurizio Galli <maurizio.galli@gmail.com> --- (In reply to Takashi Iwai from comment #1)
Could you give the output of hwinfo and the output of dmesg?
See attachemnts
Also, try to adjust the brightness by manually writing to sysfs files /sys/class/backlight/*/brightness. The value ranges are found in /sys/class/backlight/*/max_brightness. e.g. on my laptop, I can change it like echo -n 200 > /sys/class/backlight/intel_backlight/brightness
There might be multiple entries in /sys/class/backlight and you can try each of them.
I tried and it did not help.
And, if it used to work with Leap kernel, could you try to install the latest Leap 15.2 kernel on the current system (with zypper install --oldpackage option), boot with it and test whether the brightness works? If Leap 15.2 kernel works, give again the output of hwinfo and dmesg from it.
I still had the Leap 15.2 kernel installed and booting into allows me to change backlight. hwinfo and dmesg are attached. The issue only happens if I boot into the current TW kernel 5.10 -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180591 http://bugzilla.opensuse.org/show_bug.cgi?id=1180591#c10 --- Comment #10 from Maurizio Galli <maurizio.galli@gmail.com> --- (In reply to Takashi Iwai from comment #9)
Ah, that's what I wrongly remembered, sorry.
But yes, testing with nouveau once would be interesting. This also allows testing with other older kernels more easily, too.
Switching to nouveau made no difference. The last kernel allowing me to change display backlight is 5.7. So I guess the issue is introduced in kernel 5.8. I'm attaching the dmesg and hwinfo next. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180591 http://bugzilla.opensuse.org/show_bug.cgi?id=1180591#c11 --- Comment #11 from Maurizio Galli <maurizio.galli@gmail.com> --- Created attachment 844987 --> http://bugzilla.opensuse.org/attachment.cgi?id=844987&action=edit hwinfo-kernel-5.7 -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180591 http://bugzilla.opensuse.org/show_bug.cgi?id=1180591#c12 --- Comment #12 from Maurizio Galli <maurizio.galli@gmail.com> --- Created attachment 844988 --> http://bugzilla.opensuse.org/attachment.cgi?id=844988&action=edit dmesg-kernel-5.7 -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180591 http://bugzilla.opensuse.org/show_bug.cgi?id=1180591#c13 --- Comment #13 from Maurizio Galli <maurizio.galli@gmail.com> --- Created attachment 844989 --> http://bugzilla.opensuse.org/attachment.cgi?id=844989&action=edit hwinfo-kernel-5.8 -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180591 http://bugzilla.opensuse.org/show_bug.cgi?id=1180591#c14 --- Comment #14 from Maurizio Galli <maurizio.galli@gmail.com> --- Created attachment 844990 --> http://bugzilla.opensuse.org/attachment.cgi?id=844990&action=edit dmesg-kernel-5.8 -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180591 http://bugzilla.opensuse.org/show_bug.cgi?id=1180591#c16 --- Comment #16 from Maurizio Galli <maurizio.galli@gmail.com> --- (In reply to Takashi Iwai from comment #15)
Thanks.
I checked briefly between v5.7 and v5.8, but there is no change in either driver/acpi/video_detect.c or drivers/acpi/acpi_video.c. So the ACPI code (in those areas) didn't change, and something else (also in ACPI) must be the cause of the regression. It's hard to tell for now.
And, I looked at the backlight support on Apple machines and they are... well... messy. There is apple-gmux driver that supports things on some devices but it's only for ACPI APP000B, which isn't enabled on yours.
At this moment, the best thing we can do is to git bisect. But of course it takes time (and patience).
It's fine if it will take time, for the time being I'll look at the screen with sunglasses on :P. Thank you for looking into it. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180591 http://bugzilla.opensuse.org/show_bug.cgi?id=1180591#c17 LAURENT LE POITTEVIN <laurentlepoittevin@zaclys.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |laurentlepoittevin@zaclys.n | |et --- Comment #17 from LAURENT LE POITTEVIN <laurentlepoittevin@zaclys.net> --- Same problem for me. I'm on a livecd tumbelweed on a 27" late2013 Imac. The problem is the same, it is impossible for me to adjust the screen brightness using the slider in the kde menu, nor in the energy settings. Screen brightness is always at the absolute maximum. Setting the automatic brightness to 1 doesn't change anything. After adjust the brightness directly on /sys/class/backlight/acpi_video0 with the command : echo 7 > /sys/class/backlight/acpi_video0/brightness Nothing changes, even with other values. In the /sys/class/backlight folder, I only have acpi_video0. However, I have tried to change the settings at Grub startup : acpi_backlight=vendor, acpi_backlight=video,acpi_backlight=none, and acpi_backlight=native, but without success, the slider in the gnome menu disappears for (vendor, native and none). The problem is the same with nvidia or nouveau. If I go into sleep mode and then reactivate my machine, I can adjust the brightness again, but I can't do this from boot-up without going into sleep mode. The problem does not exist with opensuse leap 15.2 all works perfectly with a 5.3 kernel. To have a disk with Ubuntu 20.04, the problem is the same. With the 5.4 kernel, I can adjust the brightness, but with the HWE kernel update to version 5.8, I can't anymore. I think that the problem comes indeed from the kernel. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180591 http://bugzilla.opensuse.org/show_bug.cgi?id=1180591#c25 --- Comment #25 from LAURENT LE POITTEVIN <laurentlepoittevin@zaclys.net> --- Same thing for me. one of the differences I noticed, in the initial startup, there is no mention of backlighting (dmesg) on the other hand, after a standby mode, the following appears: "video LNXVIDEO:00: Restoring backlight state" I don't know if this can help you. Is there a way to start this command after the initial boot to test if it changes anything? -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180591 http://bugzilla.opensuse.org/show_bug.cgi?id=1180591#c27 --- Comment #27 from LAURENT LE POITTEVIN <laurentlepoittevin@zaclys.net> --- Ok thanks for the info. I was able to find out about it and start to understand a little bit how it works. I followed the test list on this page and I was able to make some changes. Notably, a start at the brightness I set just before rebooting. But the brightness slider remains inoperative. I could visualize a change of brightness during the boot with the following parameters in the boot line of the grub : _video.use_bios_initial_backlight=0 (the parameter appears as unknow in dmesg but the brightness is set to the requested value, the sliders is inoperative) _ acpi_osi= (the brightness is set to the requested value, the sliders are inoperative) video.use_bios_initial_backlight=1 (the parameter appears as unknow in dmesg but the brightness is set to the requested value, the sliders are inoperative) _ acpi.brightness_switch_enabled=0 (brightness is set to the requested value, sliders are inoperative). I attach the different files made during the test in case. -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180591 http://bugzilla.opensuse.org/show_bug.cgi?id=1180591#c28 --- Comment #28 from LAURENT LE POITTEVIN <laurentlepoittevin@zaclys.net> --- Created attachment 846533 --> http://bugzilla.opensuse.org/attachment.cgi?id=846533&action=edit https://wiki.ubuntu.com/Kernel/Debugging/Backlight - acpidump https://wiki.ubuntu.com/Kernel/Debugging/Backlight acpidump report -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180591 http://bugzilla.opensuse.org/show_bug.cgi?id=1180591#c29 --- Comment #29 from LAURENT LE POITTEVIN <laurentlepoittevin@zaclys.net> --- Created attachment 846534 --> http://bugzilla.opensuse.org/attachment.cgi?id=846534&action=edit https://wiki.ubuntu.com/Kernel/Debugging/Backlight - dmidecode https://wiki.ubuntu.com/Kernel/Debugging/Backlight dmidecode report -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180591 http://bugzilla.opensuse.org/show_bug.cgi?id=1180591#c30 --- Comment #30 from LAURENT LE POITTEVIN <laurentlepoittevin@zaclys.net> --- Created attachment 846535 --> http://bugzilla.opensuse.org/attachment.cgi?id=846535&action=edit https://wiki.ubuntu.com/Kernel/Debugging/Backlight fwts https://wiki.ubuntu.com/Kernel/Debugging/Backlight fwts report -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180591 http://bugzilla.opensuse.org/show_bug.cgi?id=1180591#c31 --- Comment #31 from LAURENT LE POITTEVIN <laurentlepoittevin@zaclys.net> --- Created attachment 846536 --> http://bugzilla.opensuse.org/attachment.cgi?id=846536&action=edit https://wiki.ubuntu.com/Kernel/Debugging/Backlight proc-acpi https://wiki.ubuntu.com/Kernel/Debugging/Backlight proc-acpi report -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180591 http://bugzilla.opensuse.org/show_bug.cgi?id=1180591#c32 --- Comment #32 from LAURENT LE POITTEVIN <laurentlepoittevin@zaclys.net> --- Created attachment 846537 --> http://bugzilla.opensuse.org/attachment.cgi?id=846537&action=edit https://wiki.ubuntu.com/Kernel/Debugging/Backlight sys-class-backlight https://wiki.ubuntu.com/Kernel/Debugging/Backlight sys-class-backlight -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180591 http://bugzilla.opensuse.org/show_bug.cgi?id=1180591#c33 --- Comment #33 from LAURENT LE POITTEVIN <laurentlepoittevin@zaclys.net> --- Created attachment 846538 --> http://bugzilla.opensuse.org/attachment.cgi?id=846538&action=edit https://wiki.ubuntu.com/Kernel/Debugging/Backlight result test fwts https://wiki.ubuntu.com/Kernel/Debugging/Backlight result test fwts -- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180591 http://bugzilla.opensuse.org/show_bug.cgi?id=1180591#c35 Marcel Kuehlhorn <tux93@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tux93@opensuse.org --- Comment #35 from Marcel Kuehlhorn <tux93@opensuse.org> --- (In reply to Miroslav Bene�� from comment #34)
It has been a while. There is a much newer kernel version in TW now. Does the issue still persist with that? It could be the case, since it looks like a problem with BIOS or ACPI.
In fact I have just recently also started seeing this issue on Tumbleweed It was still working about a week ago for me and now neither the xfce4-power-manager nor xbacklight are able to change screen brightness
# xbacklight -set 100 RANDR Query Version returned error -1
Using the method of writing to /sys with echo does work for me:
echo 378 > /sys/devices/pci0000\:00/0000\:00\:02.0/drm/card1/card1-eDP-1/intel_backlight/brightness
-- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180591 http://bugzilla.opensuse.org/show_bug.cgi?id=1180591#c36 --- Comment #36 from Takashi Iwai <tiwai@suse.com> --- (In reply to Marcel Kuehlhorn from comment #35)
(In reply to Miroslav Bene�� from comment #34)
It has been a while. There is a much newer kernel version in TW now. Does the issue still persist with that? It could be the case, since it looks like a problem with BIOS or ACPI.
In fact I have just recently also started seeing this issue on Tumbleweed
It was still working about a week ago for me and now neither the xfce4-power-manager nor xbacklight are able to change screen brightness
That's weird. xfce4-power-manager should access directly /sys/class/backlight stuff (via xfpm-power-backlight-helper), at least. If changing the sysfs entry directly works, it should work, too. There seems to have had some breakage and got fixed in TW about xfce4-power-manager (bsc#1202125). Could you recheck?
# xbacklight -set 100 RANDR Query Version returned error -1
If any, this must be an issue in user-space, not kernel.
Using the method of writing to /sys with echo does work for me:
echo 378 > /sys/devices/pci0000\:00/0000\:00\:02.0/drm/card1/card1-eDP-1/intel_backlight/brightness
-- You are receiving this mail because: You are the assignee for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180591 http://bugzilla.opensuse.org/show_bug.cgi?id=1180591#c37 --- Comment #37 from Marcel Kuehlhorn <tux93@opensuse.org> --- (In reply to Takashi Iwai from comment #36)
There seems to have had some breakage and got fixed in TW about xfce4-power-manager (bsc#1202125). Could you recheck?
Thanks for the pointer to the other ticket It seems that somehow pkexec was not present and was pulled in as weak dependency of gparted and gvfs-backends in todays update and the brightness control works again I'll make a SR to xfpm to add it as requirement -- You are receiving this mail because: You are the assignee for the bug.
participants (1)
-
bugzilla_noreply@suse.com