amdgpu_bl0: Failed to write system 'brightness' attribute: Invalid argument
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
systemd (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 21.10 does not succeed at setting the display brightness after booting (either to the GNOME login screen or to a logged-in user's desktop). The brightness is at its highest level until I adjust it with keyboard shortcuts or a GUI tool.
The systemd-
mdmower@T14S ~ $ sudo systemctl status systemd-
[sudo] password for mdmower:
× systemd-
Loaded: loaded (/lib/systemd/
Active: failed (Result: exit-code) since Tue 2021-12-14 13:26:05 PST; 30s ago
Docs: man:systemd-
Process: 962 ExecStart=
Main PID: 962 (code=exited, status=1/FAILURE)
CPU: 3ms
Dec 14 13:26:05 T14S systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:
Dec 14 13:26:05 T14S systemd-
Dec 14 13:26:05 T14S systemd[1]: systemd-
Dec 14 13:26:05 T14S systemd[1]: systemd-
Dec 14 13:26:05 T14S systemd[1]: Failed to start Load/Save Screen Backlight Brightness of backlight:
mdmower@T14S ~ $ sudo systemctl start systemd-
mdmower@T14S ~ $ sudo systemctl status systemd-
● systemd-
Loaded: loaded (/lib/systemd/
Active: active (exited) since Tue 2021-12-14 13:26:45 PST; 1s ago
Docs: man:systemd-
Process: 5119 ExecStart=
Main PID: 5119 (code=exited, status=0/SUCCESS)
CPU: 5ms
Dec 14 13:26:45 T14S systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:
Dec 14 13:26:45 T14S systemd[1]: Finished Load/Save Screen Backlight Brightness of backlight:
ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: xorg 1:7.7+22ubuntu2
ProcVersionSign
Uname: Linux 5.13.0-22-generic x86_64
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckR
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Tue Dec 14 13:29:38 2021
DistUpgraded: Fresh install
DistroCodename: impish
DistroVariant: ubuntu
ExtraDebuggingI
GraphicsCard:
Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [1002:1638] (rev d1) (prog-if 00 [VGA controller])
Subsystem: Lenovo Cezanne [17aa:5095]
InstallationDate: Installed on 2021-12-12 (2 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
MachineType: LENOVO 20XF004WUS
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/08/2021
dmi.bios.release: 1.14
dmi.bios.vendor: LENOVO
dmi.bios.version: R1NET44W (1.14)
dmi.board.
dmi.board.name: 20XF004WUS
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad T14s Gen 2a
dmi.product.name: 20XF004WUS
dmi.product.sku: LENOVO_
dmi.product.
dmi.sys.vendor: LENOVO
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.107-8ubuntu1
version.
version.
version.
version.
version.
version.
version.
affects: | ubuntu → xorg (Ubuntu) |
affects: | xorg (Ubuntu) → linux (Ubuntu) |
EDIT: Workaround ineffective. No longer using.
My crude little workaround to keep trying to start the backlight service until it succeeds (defaults to trying every 100ms):
[Unit]
Description=Restart backlight service
[Service] backlight@ backlight: amdgpu_ bl0
Type=simple
Restart=on-failure
ExecStart=systemctl start systemd-
[Install] multi-user. target
WantedBy=