Brightness control no longer functional

Since last night (yes, I ran UpdateInTerminal) I’m no longer able to adjust my screen backlight/brightness via the F1 and F2 keys.

I am on a MacBookPro11,2, Gnome 43.2 and kernel 6.1.6-arch1-3.

So far I’ve tried to install the Gnome extension that uses ddcutil, which did not recognize any monitors. I added the “acpi_backlight=native” to my grub with no results. Also, I installed light but it outputs “No backlight controller was found, so we could not decide an automatic target. The current command will have no effect.” when run.

inxi -G output:

Graphics:
  Device-1: Intel Crystal Well Integrated Graphics driver: i915 v: kernel
  Display: wayland server: X.Org v: 22.1.7 with: Xwayland v: 22.1.7
    compositor: gnome-shell v: 43.2 driver: X: loaded: intel
    unloaded: modesetting dri: i965 gpu: i915 resolution: 2880x1800~60Hz
  API: OpenGL v: 4.6 Mesa 22.3.3 renderer: Mesa Intel Iris Pro Graphics
    P5200 (HSW GT3)

As always, any and all help is appreciated. Thanks.

1 Like

Maybe try the package from the AUR.

gmux_backlight

No luck.

gmux_backlight: Error opening the sysfs control path.: No such file or directory

I tried the brillo package from the AUR, but it does not work either.

My best guess is that the backlight controller was not installed by the update, as /sys/class/backlight/ is empty. Nonetheless I do not know how to restore it or prompt its installation.

Did you try the other kernel parameters in the grub command line just to see?

acpi_backlight=video
acpi_backlight=vendor

I went through the lot but no results.

From what I’ve read there should be an intel_backlight folder within /sys/class/backlight, but it isn’t there.

Maybe check this out and read keyboard special keys part. Not sure if it helps with your MacBook.

Since it was working before the update, it sounds like a kernel bug.
Was any kernel updated?
Did you try another kernel?
Have you… rebooted after the update? (I suppose you did, but I had to ask :person_shrugging: )

What is in the pacman log from the update Jan 16 when you updated it and then the backlight isn’t working. Check date and times around when this happened in … What are the updates?

/var/log/pacman.log

I think it is a kernel bug too, but I’m merely a user, the kernel is a black box to me. I don’t think it has to do with the key bindings because the keyboard backlight adjustment and volume keys work fine.

Yes, I rebooted quite a few times in the process.

This may be the culprit:

[2023-01-16T19:15:11-0600] [ALPM] upgraded linux (6.1.3.arch1-1 -> 6.1.6.arch1-1)
[2023-01-16T19:15:13-0600] [ALPM] upgraded linux-headers (6.1.3.arch1-1 -> 6.1.6.arch1-1)

Regarding trying another kernel, I’ve been looking for precise instructions to rollback but have not found them. I did try installing the lts kernel and headers but was unable to boot when selecting it from the boot options.

I’ve seen a couple other reports of brightness issues on bbs.archlinux.org and maybe the arch subreddit. Maybe try the LTS kernel to see if it works - and if so, some sort of kernel regression.

I use xbacklight on my laptop, FWIW.

1 Like

This is a serious issue, and suggests that something is probably wrong with your system. Unless you are doing something wrong in the process.
I would first troubleshoot that, since brightness control is minor in comparison.

I wouldn’t even know how to begin this as it consistently goes into a [rootfs /]# prompt when attempting to boot from the LTS kernel.

Research the installation of LTS. It may have not been installed properly.
Weren’t there any error messages during installation?
Check your pacman.log for messages.

You may try re-installing and watch for any info. :person_shrugging:

>>> sudo pacman -S linux-lts
[sudo] password:
warning: linux-lts-5.15.88-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Package (1)     Old Version  New Version  Net Change

core/linux-lts  5.15.88-2    5.15.88-2      0.00 MiB

Total Installed Size:  129.64 MiB
Net Upgrade Size:        0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                                  [------------------------------------------------------------------] 100%
(1/1) checking package integrity                                                                                [------------------------------------------------------------------] 100%
(1/1) loading package files                                                                                     [------------------------------------------------------------------] 100%
(1/1) checking for file conflicts                                                                               [------------------------------------------------------------------] 100%
:: Processing package changes...
(1/1) reinstalling linux-lts                                                                                    [------------------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/5) Arming ConditionNeedsUpdate...
(2/5) Updating module dependencies...
(3/5) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
  -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts.img
==> Starting build: 5.15.88-2-lts
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-lts.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
  -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts-fallback.img -S autodetect
==> Starting build: 5.15.88-2-lts
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-lts-fallback.img
==> Image generation successful
(4/5) Check if user should be informed about rebooting after certain system package upgrades.
(5/5) Checking which packages need to be rebuilt

>>> sudo pacman -S linux-lts-headers
warning: linux-lts-headers-5.15.88-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Package (1)             Old Version  New Version  Net Change

core/linux-lts-headers  5.15.88-2    5.15.88-2      0.00 MiB

Total Installed Size:  141.20 MiB
Net Upgrade Size:        0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                                  [------------------------------------------------------------------] 100%
(1/1) checking package integrity                                                                                [------------------------------------------------------------------] 100%
(1/1) loading package files                                                                                     [------------------------------------------------------------------] 100%
(1/1) checking for file conflicts                                                                               [------------------------------------------------------------------] 100%
:: Running pre-transaction hooks...
(1/1) Remove upgraded DKMS modules
Deprecated feature: MODULES_CONF (/var/lib/dkms/bcwc-pcie/0.5.18.r0.g75a2a58/source/dkms.conf)
==> dkms remove --no-depmod bcwc-pcie/0.5.18.r0.g75a2a58 -k 5.15.88-2-lts
Deprecated feature: MODULES_CONF (/var/lib/dkms/bcwc-pcie/0.5.18.r0.g75a2a58/source/dkms.conf)
==> dkms remove --no-depmod broadcom-wl/6.30.223.271 -k 5.15.88-2-lts
:: Processing package changes...
(1/1) reinstalling linux-lts-headers                                                                            [------------------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Updating module dependencies...
(3/4) Install DKMS modules
==> dkms install --no-depmod bcwc-pcie/0.5.18.r0.g75a2a58 -k 5.15.88-2-lts
Deprecated feature: MODULES_CONF (/var/lib/dkms/bcwc-pcie/0.5.18.r0.g75a2a58/source/dkms.conf)
==> dkms install --no-depmod broadcom-wl/6.30.223.271 -k 5.15.88-2-lts
==> depmod 5.15.88-2-lts
(4/4) Checking which packages need to be rebuilt

>>> sudo grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found theme: /boot/grub/themes/EndeavourOS/theme.txt
Found linux image: /boot/vmlinuz-linux-lts
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux-lts.img
Found fallback initrd image(s) in /boot:  intel-ucode.img initramfs-linux-lts-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/intel-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot:  intel-ucode.img initramfs-linux-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmware Settings ...
done

The LTS installation seems to work fine, it does not boot though, goes straight to:

[rootfs /]# 

I guess there is no solution at hand, gonna have to wait for another kernel…

Hi. I’m having the same problem. In /var/log/pacman.log

[2023-01-15...] [ALPM] upgraded linux (6.0.12.arch1-1 -> 6.1.6.arch1-1)
[2023-01-15...] [ALPM] upgraded linux-headers (6.0.12.arch1-1 -> 6.1.6.arch1-1)

I have a Slimbook KDE laptop. In /sys/class/backlight/ I see the acpi_video0 folder but there used to be another one.

$ inxi -z
CPU: 8-core AMD Ryzen 7 4800H with Radeon Graphics (-MT MCP-)
speed/min/max: 1399/1400/2900 MHz Kernel: 6.0.8-arch1-1 x86_64 Up: 23m
Mem: 4089.2/63720.9 MiB (6.4%) Storage: 1.82 TiB (21.9% used) Procs: 319
Shell: Bash inxi: 3.3.23
$ inxi -zG
Graphics:
  Device-1: AMD Renoir driver: amdgpu v: kernel
  Device-2: Chicony HD Webcam type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 21.1.4 driver: X: loaded: amdgpu
    unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu
    resolution: 1920x1080~60Hz
  API: OpenGL v: 4.6 Mesa 22.2.3 renderer: AMD Radeon Graphics (renoir LLVM
    14.0.6 DRM 3.48 6.0.8-arch1-1)

I’ll try the LTS kernel.

Before trying the LTS kernel, I’m reading a thread on the archlinux forum and they say that the problem was solved by removing the acpi_backlight=video from the kernel paramenters. I’m seeing in my /boot/grub/grub.cfg that I indeed have that as a kernel parameter but I don’t remember where it’s that parameter set, since the file /boot/grub/grub.cfg is re-created by grub-mkconfig every time grub or the kernel are updated if I remember correctly.

More reading… I set the acpi_backlight kernel parameter in /etc/default/grub. I’ll remove it, re-create /boot/grub/grub.cfg using grub-mkconfig, reboot, and let you know if that works.

This thread is also interesting.

Removing the acpi_backlight kernel parameter solved the problem for me :smiley:

Ironically my problem started without any acpi_backlight paramaters. I added it myself and cycled through the three possible definitions (native, video and vendor) and later removed it. Issue persists, in my case.

Perhaps I should also add that I cannot adjust the brightness at all as the slider is missing from my display settings. I can toggle “night light”, but that’s about it.

@04CC40, then you might want to try the kernel with some commits reverted uploaded by loqs in this thread. I repost them here.

Reverted commits:
https://git.kernel.org/pub/scm/linux/ke … 7af91ccf8c
https://git.kernel.org/pub/scm/linux/ke … 15ef23591f
https://git.kernel.org/pub/scm/linux/ke … ae33aca8c0
https://git.kernel.org/pub/scm/linux/ke … 3df7557dda
https://git.kernel.org/pub/scm/linux/ke … 0f68853653

https://drive.google.com/file/d/1Csh3kH … share_link linux-6.1.6.arch1-3.1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1H-NFl6 … share_link linux-headers-6.1.6.arch1-3.1-x86_64.pkg.tar.zst

If that solves your issue you might want to contribute to the conversation at https://bugzilla.kernel.org/show_bug.cgi?id=216904.

1 Like