Screen Brightness Problem

Hello Manjaro Community,

I’m relatively new to Linux and could use some guidance on how to tackle this issue. Your assistance would be greatly appreciated.

So I’ve recently encountered an issue with my screen brightness. Unfortunately, I can’t pinpoint what triggered it, as I only noticed it recently. I’ve scoured the forums and tried several solutions, but the problem persists.

The core problem is that my screen brightness remains fixed at a constant level, regardless of my attempts to adjust it.

Here’s what I’ve done so far:

I added the i915.enable_dpcd_backlight=0 boot parameter to GRUB_CMDLINE_LINUX_DEFAULT in the /etc/default/grub file. Afterward, I ran the following command: sudo update-grub and rebooted my system. However, this didn’t resolve the issue.

I also attempted using the acpi_backlight=video option, which brought back the brightness control interface when I used the function keys (F5 and F6). Furthermore, when I ran the brightnessctl command, it reported a change in brightness levels, as shown below::

Device 'acpi_video0' of class 'backlight':
   Current brightness: 1 (7%)
   Max brightness: 15

This is an improvement from the previous state, where brightnessctl would show no change and the brightness control interface wouldn’t show up when using the function keys. However, despite these indications of adjustments, there is no observable change in screen brightness and it remains excessively bright as before… (I also tried the same with vendor and native)

If it helps to with the issue, I’ve read that ThinkPad laptops, such as my ThinkPad X13, typically utilize ACPI for screen brightness control.

Edit; Additional info

System:
  Kernel: 6.4.12-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-linux-zen
    root=UUID=cbfd4763-2607-4b8c-ab5f-d49265f317d1 rw quiet splash apparmor=1
    security=apparmor udev.log_priority=3 acpi_backlight=video
  Desktop: GNOME v: 44.5 tk: GTK v: 3.24.38 wm: gnome-shell dm: GDM v: 44.1
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 20XHCTO1WW v: ThinkPad X13 Gen 2a
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 20XHCTO1WW serial: <superuser required> UEFI: LENOVO
    v: R1NET56W (1.26) date: 02/21/2023
Battery:
  ID-1: BAT0 charge: 45.4 Wh (83.6%) condition: 54.3/54.7 Wh (99.3%)
    power: 15.9 W volts: 16.4 min: 15.4 model: Sunwoda 5B10W51820 type: Li-poly
    serial: <filter> status: discharging cycles: 22
Memory:
  System RAM: total: 16 GiB note: est. available: 14.46 GiB
    used: 3.49 GiB (24.1%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges
    required.
CPU:
  Info: model: AMD Ryzen 5 PRO 5650U with Radeon Graphics bits: 64
    type: MT MCP arch: Zen 3 gen: 4 level: v3 note: check built: 2021-22
    process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
    microcode: 0xA50000D
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
    L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 1519 high: 2389 min/max: 1600/4288 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1397 2: 1450
    3: 1444 4: 1445 5: 2389 6: 1429 7: 1360 8: 1449 9: 1737 10: 1366 11: 1371
    12: 1397 bogomips: 55092
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cppc cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists erms extapic
    extd_apicid f16c flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt ht
    hw_pstate ibpb ibrs ibs invpcid irperf lahf_lm lbrv lm mba mca mce
    misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl npt
    nrip_save nx ospke osvw overflow_recov pae pat pausefilter pclmulqdq
    pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pku pni
    popcnt pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep
    sha_ni skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3
    stibp succor svm svm_lock syscall tce topoext tsc tsc_scale umip
    v_spec_ctrl v_vmsave_vmload vaes vgif vmcb_clean vme vmmcall vpclmulqdq
    wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow mitigation: safe RET, no microcode
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
    vendor: Lenovo driver: N/A alternate: amdgpu arch: GCN-5 code: Vega
    process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 05:00.0 chip-ID: 1002:1638
    class-ID: 0300
  Device-2: Chicony Integrated Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-2:2 chip-ID: 04f2:b70f
    class-ID: 0e02 serial: <filter>
  Display: wayland server: X.Org v: 23.2.1 with: Xwayland v: 23.2.1
    compositor: gnome-shell driver: X: loaded: amdgpu
    unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi gpu: N/A
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1200 s-dpi: 96 s-size: 508x317mm (20.00x12.48")
    s-diag: 599mm (23.57")
  Monitor-1: Unknown-1 mapped: None-1 res: 1920x1200 hz: 60 dpi: 96
    size: 508x317mm (20x12.48") modes: 1920x1200
  API: EGL v: 1.5 platforms: device: 0 drv: swrast gbm: drv: kms_swrast
    surfaceless: drv: swrast wayland: drv: swrast x11: drv: swrast
  API: OpenGL v: 4.5 vendor: mesa v: 23.1.9-manjaro1.1 glx-v: 1.4
    direct-render: yes renderer: llvmpipe (LLVM 16.0.6 256 bits)
    device-ID: ffffffff:ffffffff memory: 14.12 GiB unified: yes
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s bus-ID: 05:00.1 chip-ID: 1002:1637
    class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Lenovo
    driver: snd_rn_pci_acp3x v: kernel alternate: snd_pci_acp3x, snd_pci_acp5x,
    snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps,
    snd_sof_amd_renoir, snd_sof_amd_rembrandt pcie: gen: 3 speed: 8 GT/s
    lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 05:00.5
    chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Lenovo driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
    speed: 16 GT/s bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.4.12-zen1-1-zen status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 0.3.81 status: off tools: pw-cli
  Server-3: PulseAudio v: 16.1 status: active with: pulseaudio-alsa
    type: plugin tools: pacat,pactl
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    port: 2000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp2s0f0 state: down mac: <filter>
  Device-2: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter
    vendor: Lenovo driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1
    bus-ID: 03:00.0 chip-ID: 14c3:7961 class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Foxconn / Hon Hai MediaTek Bluetooth Adapter driver: btusb v: 0.8
    type: USB rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 5-4:3
    chip-ID: 0489:e0cd class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 953.87 GiB used: 42.84 GiB (4.5%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Micron model: MTFDKBA1T0TFK
    size: 953.87 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 7003V5LN temp: 34.9 C
    scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 953.57 GiB size: 937.53 GiB (98.32%)
    used: 42.84 GiB (4.6%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
    label: N/A uuid: cbfd4763-2607-4b8c-ab5f-d49265f317d1
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 288 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A
    uuid: D6D6-314E
Swap:
  Alert: No swap data was found.
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-2:2 info: Chicony Integrated Camera type: video
    driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s)
    lanes: 1 mode: 2.0 power: 500mA chip-ID: 04f2:b70f class-ID: 0e02
    serial: <filter>
  Hub-2: 2-0:1 info: super-speed hub ports: 2 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-4: 4-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-5: 5-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 5-3:2 info: Shenzhen Goodix USB2.0 MISC type: <vendor specific>
    driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1
    mode: 1.1 power: 100mA chip-ID: 27c6:6594 class-ID: ef00 serial: <filter>
  Device-2: 5-4:3 info: Foxconn / Hon Hai MediaTek Bluetooth Adapter
    type: bluetooth driver: btusb interfaces: 3 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
    chip-ID: 0489:e0cd class-ID: e001 serial: <filter>
  Hub-6: 6-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 59.0 C mobo: N/A
  Fan Speeds (rpm): fan-1: 2500 fan-2: 2500
Info:
  Processes: 302 Uptime: 49m wakeups: 36510 Init: systemd v: 254
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6
  Packages: 2732 pm: pacman pkgs: 1366 libs: 384
  tools: gnome-software,pamac,yay pm: rpm pkgs: N/A note: see --rpm tools: dnf
  pm: flatpak pkgs: 0 Shell: Zsh v: 5.9 running-in: gnome-terminal
  inxi: 3.3.30

For an AMD system - using Intel arguments are not likely to work - and i915 is Intel specific.

Your system is an APU (Accelerated Processing Unit)

I am guessing here - Could be if you have xorg-xbacklight instead of acpilight where the latter more likely works with wayland.

Another guess on the cause could be the acpid either not installed or not running.

pamac search acpi --no-aur

For an AMD system - using Intel arguments are not likely to work - and i915 is Intel specific.

Makes sense. I appreciate the clarification; I now see why that couldn’t have worked, thank you.

I checked if acpid was installed (it was) and running, but it said it was disabled:

○ acpid.service - ACPI event daemon
     Loaded: loaded (/usr/lib/systemd/system/acpid.service; disabled; preset: disabled)
     Active: inactive (dead)
       Docs: man:acpid(8)
~

I reinstalled it and then I enabled it with sudo systemctl enable acpid and sudo systemctl start acpid

● acpid.service - ACPI event daemon
     Loaded: loaded (/usr/lib/systemd/system/acpid.service; enabled; preset: disabled)
     Active: active (running) since Wed 2023-10-18 16:13:30 CEST; 11s ago
       Docs: man:acpid(8)
   Main PID: 11900 (acpid)
      Tasks: 1 (limit: 17744)
     Memory: 340.0K
        CPU: 135ms
     CGroup: /system.slice/acpid.service
             └─11900 /usr/bin/acpid --foreground --netlink

Afterwards I rebooted, but I still have the issue with the fixed brightness. So I assume it must be something else?

Edit: I made sure my user is in the video group (sudo usermod -aG video yourusername) No fix yet.

Edit 2: All commands of xbacklight “work”. If eg. xbacklight -set 20 it will do so, there is are no error replies. It’s just I won’t see any actual difference… I also just noticed the night mode doesn’t work any longer as well. - I’m pretty sure the two issues are related.

Edit 3: When booting with kernel 6.1.55-1-MANJARO, instead of 6.4.12-zen1-1-zen the night mode interestingly works again! But the fixed brightness is still an issue… Though I feel I’m getting closer to fixing it now (maybe)

Edit 4: I removed acpi_backlight=video again and set 6.1.55-1-MANJARO as my dafault kernel. Now everything is fixed. So I guess the newest update just broke something with 6.4.12-zen1-1-zen. So… I only had to change the kernel… lol. It’s fixed. If anyone is reading this because they had similar issue, I hope this can somehow help.

Thread can now be closed.