[Kernel-packages] [Bug 1954843] Re: amdgpu_bl0: Failed to write system 'brightness' attribute: Invalid argument
This issue is no longer present in Ubuntu 22.04. Wile using Ubuntu 21.10, the following workarounds also remedied the issue: - Run a mainline 5.15.x kernel from https://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D - Run the Jammy Jellyfish kernel from https://packages.ubuntu.com/jammy/linux-image-generic In both cases, it's necessary to install libssl3 from Jammy Jellyfish as well (see https://askubuntu.com/a/1389586/117513). Ultimately, since Ubuntu 21.10 is rapidly approaching EoL, it makes sense to upgrade to Ubuntu 22.04. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1954843 Title: amdgpu_bl0: Failed to write system 'brightness' attribute: Invalid argument Status in linux package in Ubuntu: Confirmed Status in systemd package in Ubuntu: Confirmed 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-backlight@backlight:amdgpu_bl0 service seems to fail during startup, but I can subsequently run it after startup and it succeeds (and restores brightness): mdmower@T14S ~ $ sudo systemctl status systemd-backlight@backlight:amdgpu_bl0 [sudo] password for mdmower: × systemd-backlight@backlight:amdgpu_bl0.service - Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0 Loaded: loaded (/lib/systemd/system/systemd-backlight@.service; static) Active: failed (Result: exit-code) since Tue 2021-12-14 13:26:05 PST; 30s ago Docs: man:systemd-backlight@.service(8) Process: 962 ExecStart=/lib/systemd/systemd-backlight load backlight:amdgpu_bl0 (code=exited, status=1/FAILURE) 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:amdgpu_bl0... Dec 14 13:26:05 T14S systemd-backlight[962]: amdgpu_bl0: Failed to write system 'brightness' attribute: Invalid argument Dec 14 13:26:05 T14S systemd[1]: systemd-backlight@backlight:amdgpu_bl0.service: Main process exited, code=exited, status=1/FAILURE Dec 14 13:26:05 T14S systemd[1]: systemd-backlight@backlight:amdgpu_bl0.service: Failed with result 'exit-code'. Dec 14 13:26:05 T14S systemd[1]: Failed to start Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0. mdmower@T14S ~ $ sudo systemctl start systemd- backlight@backlight:amdgpu_bl0 mdmower@T14S ~ $ sudo systemctl status systemd-backlight@backlight:amdgpu_bl0 ● systemd-backlight@backlight:amdgpu_bl0.service - Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0 Loaded: loaded (/lib/systemd/system/systemd-backlight@.service; static) Active: active (exited) since Tue 2021-12-14 13:26:45 PST; 1s ago Docs: man:systemd-backlight@.service(8) Process: 5119 ExecStart=/lib/systemd/systemd-backlight load backlight:amdgpu_bl0 (code=exited, status=0/SUCCESS) 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:amdgpu_bl0... Dec 14 13:26:45 T14S systemd[1]: Finished Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0. ProblemType: Bug DistroRelease: Ubuntu 21.10 Package: xorg 1:7.7+22ubuntu2 ProcVersionSignature: Ubuntu 5.13.0-22.22-generic 5.13.19 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' CasperMD5CheckResult: pass CompositorRunning: None CurrentDesktop: ubuntu:GNOME Date: Tue Dec 14 13:29:38 2021 DistUpgraded: Fresh install DistroCodename: impish DistroVariant: ubuntu ExtraDebuggingInterest: Yes 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-256color PATH=(custom, no user) XDG_RUNTIME_DIR= LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.13.0-22-generic root=UUID=859a72cc-a3fe-470f-b525-37b151408289 ro quiet splash vt.handoff=7 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.asset.tag: Not Available dmi.board.name: 20XF004WUS dmi.board.vendor: LENOVO dmi.board.version: SDK0J40697 WIN dmi.chassis.asset.tag: No Asset Information
[Kernel-packages] [Bug 1954843] Re: amdgpu_bl0: Failed to write system 'brightness' attribute: Invalid argument
I compiled several Ubuntu-5.13.0-x.x tags from https://kernel.ubuntu.com/git/ubuntu/ubuntu-impish.git/refs/ but the backlight issue seems to go far back in time. I tested: - Ubuntu-5.13.0-25.26 - Ubuntu-5.13.0-21.21 - Ubuntu-5.13.0-20.20 - Ubuntu-5.13.0-19.19 - Ubuntu-5.13.0-16.16 In Ubuntu-5.13.0-16.16, there are some 400ish commits by Ubuntu on top of upstream v5.13.13. I haven't been able to identify which could be responsible, yet. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1954843 Title: amdgpu_bl0: Failed to write system 'brightness' attribute: Invalid argument Status in linux package in Ubuntu: Confirmed Status in systemd package in Ubuntu: Confirmed 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-backlight@backlight:amdgpu_bl0 service seems to fail during startup, but I can subsequently run it after startup and it succeeds (and restores brightness): mdmower@T14S ~ $ sudo systemctl status systemd-backlight@backlight:amdgpu_bl0 [sudo] password for mdmower: × systemd-backlight@backlight:amdgpu_bl0.service - Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0 Loaded: loaded (/lib/systemd/system/systemd-backlight@.service; static) Active: failed (Result: exit-code) since Tue 2021-12-14 13:26:05 PST; 30s ago Docs: man:systemd-backlight@.service(8) Process: 962 ExecStart=/lib/systemd/systemd-backlight load backlight:amdgpu_bl0 (code=exited, status=1/FAILURE) 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:amdgpu_bl0... Dec 14 13:26:05 T14S systemd-backlight[962]: amdgpu_bl0: Failed to write system 'brightness' attribute: Invalid argument Dec 14 13:26:05 T14S systemd[1]: systemd-backlight@backlight:amdgpu_bl0.service: Main process exited, code=exited, status=1/FAILURE Dec 14 13:26:05 T14S systemd[1]: systemd-backlight@backlight:amdgpu_bl0.service: Failed with result 'exit-code'. Dec 14 13:26:05 T14S systemd[1]: Failed to start Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0. mdmower@T14S ~ $ sudo systemctl start systemd- backlight@backlight:amdgpu_bl0 mdmower@T14S ~ $ sudo systemctl status systemd-backlight@backlight:amdgpu_bl0 ● systemd-backlight@backlight:amdgpu_bl0.service - Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0 Loaded: loaded (/lib/systemd/system/systemd-backlight@.service; static) Active: active (exited) since Tue 2021-12-14 13:26:45 PST; 1s ago Docs: man:systemd-backlight@.service(8) Process: 5119 ExecStart=/lib/systemd/systemd-backlight load backlight:amdgpu_bl0 (code=exited, status=0/SUCCESS) 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:amdgpu_bl0... Dec 14 13:26:45 T14S systemd[1]: Finished Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0. ProblemType: Bug DistroRelease: Ubuntu 21.10 Package: xorg 1:7.7+22ubuntu2 ProcVersionSignature: Ubuntu 5.13.0-22.22-generic 5.13.19 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' CasperMD5CheckResult: pass CompositorRunning: None CurrentDesktop: ubuntu:GNOME Date: Tue Dec 14 13:29:38 2021 DistUpgraded: Fresh install DistroCodename: impish DistroVariant: ubuntu ExtraDebuggingInterest: Yes 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-256color PATH=(custom, no user) XDG_RUNTIME_DIR= LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.13.0-22-generic root=UUID=859a72cc-a3fe-470f-b525-37b151408289 ro quiet splash vt.handoff=7 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.asset.tag: Not Available dmi.board.name: 20XF004WUS dmi.board.vendor: LENOVO dmi.board.version: SDK0J40697 WIN dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: None dmi.ec.firmware.release: 1.14
[Kernel-packages] [Bug 1954843] Re: amdgpu_bl0: Failed to write system 'brightness' attribute: Invalid argument
I just tested signed Ubuntu kernel 5.13.0-28-generic which is in Proposed right now, but it does not fix the issue. Brightness adjustments work, but service fails during startup and screen is at full brightness every boot (at gdm and at GNOME 3 desktop). -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1954843 Title: amdgpu_bl0: Failed to write system 'brightness' attribute: Invalid argument Status in linux package in Ubuntu: Confirmed Status in systemd package in Ubuntu: Confirmed 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-backlight@backlight:amdgpu_bl0 service seems to fail during startup, but I can subsequently run it after startup and it succeeds (and restores brightness): mdmower@T14S ~ $ sudo systemctl status systemd-backlight@backlight:amdgpu_bl0 [sudo] password for mdmower: × systemd-backlight@backlight:amdgpu_bl0.service - Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0 Loaded: loaded (/lib/systemd/system/systemd-backlight@.service; static) Active: failed (Result: exit-code) since Tue 2021-12-14 13:26:05 PST; 30s ago Docs: man:systemd-backlight@.service(8) Process: 962 ExecStart=/lib/systemd/systemd-backlight load backlight:amdgpu_bl0 (code=exited, status=1/FAILURE) 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:amdgpu_bl0... Dec 14 13:26:05 T14S systemd-backlight[962]: amdgpu_bl0: Failed to write system 'brightness' attribute: Invalid argument Dec 14 13:26:05 T14S systemd[1]: systemd-backlight@backlight:amdgpu_bl0.service: Main process exited, code=exited, status=1/FAILURE Dec 14 13:26:05 T14S systemd[1]: systemd-backlight@backlight:amdgpu_bl0.service: Failed with result 'exit-code'. Dec 14 13:26:05 T14S systemd[1]: Failed to start Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0. mdmower@T14S ~ $ sudo systemctl start systemd- backlight@backlight:amdgpu_bl0 mdmower@T14S ~ $ sudo systemctl status systemd-backlight@backlight:amdgpu_bl0 ● systemd-backlight@backlight:amdgpu_bl0.service - Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0 Loaded: loaded (/lib/systemd/system/systemd-backlight@.service; static) Active: active (exited) since Tue 2021-12-14 13:26:45 PST; 1s ago Docs: man:systemd-backlight@.service(8) Process: 5119 ExecStart=/lib/systemd/systemd-backlight load backlight:amdgpu_bl0 (code=exited, status=0/SUCCESS) 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:amdgpu_bl0... Dec 14 13:26:45 T14S systemd[1]: Finished Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0. ProblemType: Bug DistroRelease: Ubuntu 21.10 Package: xorg 1:7.7+22ubuntu2 ProcVersionSignature: Ubuntu 5.13.0-22.22-generic 5.13.19 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' CasperMD5CheckResult: pass CompositorRunning: None CurrentDesktop: ubuntu:GNOME Date: Tue Dec 14 13:29:38 2021 DistUpgraded: Fresh install DistroCodename: impish DistroVariant: ubuntu ExtraDebuggingInterest: Yes 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-256color PATH=(custom, no user) XDG_RUNTIME_DIR= LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.13.0-22-generic root=UUID=859a72cc-a3fe-470f-b525-37b151408289 ro quiet splash vt.handoff=7 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.asset.tag: Not Available dmi.board.name: 20XF004WUS dmi.board.vendor: LENOVO dmi.board.version: SDK0J40697 WIN dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: None dmi.ec.firmware.release: 1.14 dmi.modalias:
[Kernel-packages] [Bug 1954843] Re: amdgpu_bl0: Failed to write system 'brightness' attribute: Invalid argument
I tested some mainline 5.13.x kernels from https://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D and was able to find a point release where this issue is resolved. Testing results: Signed Ubuntu kernel 5.13.0-27-generic: brightness adjustments work, but service fails during startup and screen is at full brightness every boot (at gdm and at GNOME 3 desktop) Unsigned mainline kernels: - 5.13.19 - fixed, service starts successfully automatically - 5.13.15 - fixed, service starts successfully automatically - 5.13.12 - fixed, service starts successfully automatically - 5.13.11 - fixed, service starts successfully automatically - 5.13.9 - stuck at max brightness, adjustments don't work at all, service starts successfully but is ineffective - 5.13.0 - stuck at max brightness, adjustments don't work at all (forgot to check whether service started) The service I was looking at for status on bootup is: systemd- backlight@backlight:amdgpu_bl0 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1954843 Title: amdgpu_bl0: Failed to write system 'brightness' attribute: Invalid argument Status in linux package in Ubuntu: Confirmed Status in systemd package in Ubuntu: Confirmed 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-backlight@backlight:amdgpu_bl0 service seems to fail during startup, but I can subsequently run it after startup and it succeeds (and restores brightness): mdmower@T14S ~ $ sudo systemctl status systemd-backlight@backlight:amdgpu_bl0 [sudo] password for mdmower: × systemd-backlight@backlight:amdgpu_bl0.service - Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0 Loaded: loaded (/lib/systemd/system/systemd-backlight@.service; static) Active: failed (Result: exit-code) since Tue 2021-12-14 13:26:05 PST; 30s ago Docs: man:systemd-backlight@.service(8) Process: 962 ExecStart=/lib/systemd/systemd-backlight load backlight:amdgpu_bl0 (code=exited, status=1/FAILURE) 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:amdgpu_bl0... Dec 14 13:26:05 T14S systemd-backlight[962]: amdgpu_bl0: Failed to write system 'brightness' attribute: Invalid argument Dec 14 13:26:05 T14S systemd[1]: systemd-backlight@backlight:amdgpu_bl0.service: Main process exited, code=exited, status=1/FAILURE Dec 14 13:26:05 T14S systemd[1]: systemd-backlight@backlight:amdgpu_bl0.service: Failed with result 'exit-code'. Dec 14 13:26:05 T14S systemd[1]: Failed to start Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0. mdmower@T14S ~ $ sudo systemctl start systemd- backlight@backlight:amdgpu_bl0 mdmower@T14S ~ $ sudo systemctl status systemd-backlight@backlight:amdgpu_bl0 ● systemd-backlight@backlight:amdgpu_bl0.service - Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0 Loaded: loaded (/lib/systemd/system/systemd-backlight@.service; static) Active: active (exited) since Tue 2021-12-14 13:26:45 PST; 1s ago Docs: man:systemd-backlight@.service(8) Process: 5119 ExecStart=/lib/systemd/systemd-backlight load backlight:amdgpu_bl0 (code=exited, status=0/SUCCESS) 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:amdgpu_bl0... Dec 14 13:26:45 T14S systemd[1]: Finished Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0. ProblemType: Bug DistroRelease: Ubuntu 21.10 Package: xorg 1:7.7+22ubuntu2 ProcVersionSignature: Ubuntu 5.13.0-22.22-generic 5.13.19 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' CasperMD5CheckResult: pass CompositorRunning: None CurrentDesktop: ubuntu:GNOME Date: Tue Dec 14 13:29:38 2021 DistUpgraded: Fresh install DistroCodename: impish DistroVariant: ubuntu ExtraDebuggingInterest: Yes 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-256color PATH=(custom, no user) XDG_RUNTIME_DIR= LANG=en_US.UTF-8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.13.0-22-generic root=UUID=859a72cc-a3fe-470f-b525-37b151408289 ro quiet splash
[Kernel-packages] [Bug 1954843] Re: amdgpu_bl0: Failed to write system 'brightness' attribute: Invalid argument
I enabled debug logging for systemd with kernel cmdline: systemd.log_level=debug systemd.log_target=kmsg log_buf_len=1M printk.devkmsg=on New log attached to bug report is the output of 'journalctl -b': systemd-debug.log Filtering on "backlight" and omitting systemd-logind, this portion looks interesting to my novice eyes. Does it imply the device loads after systemd-backlight attempts to load the brightness value? Dec 18 11:03:31 T14S systemd-backlight[1131]: amdgpu_bl0: Maximum brightness is 255 Dec 18 11:03:31 T14S systemd-backlight[1131]: sd-device-enumerator: Scan all dirs Dec 18 11:03:31 T14S systemd-backlight[1131]: sd-device-enumerator: Scanning /sys/bus Dec 18 11:03:31 T14S systemd-backlight[1131]: sd-device-enumerator: Scanning /sys/class Dec 18 11:03:31 T14S systemd-backlight[1131]: Using saved brightness 78. Dec 18 11:03:31 T14S systemd-backlight[1131]: amdgpu_bl0: Failed to write system 'brightness' attribute: Invalid argument Dec 18 11:03:31 T14S systemd[1217]: sys-devices-pci:00-:00:08.1-:05:00.0-backlight-amdgpu_bl0.device: Changed dead -> plugged Dec 18 11:03:31 T14S systemd[1217]: sys-devices-platform-thinkpad_acpi-leds-tpacpi::kbd_backlight.device: Changed dead -> plugged Dec 18 11:03:37 T14S systemd[3633]: sys-devices-pci:00-:00:08.1-:05:00.0-backlight-amdgpu_bl0.device: Changed dead -> plugged Dec 18 11:03:37 T14S systemd[3633]: sys-devices-platform-thinkpad_acpi-leds-tpacpi::kbd_backlight.device: Changed dead -> plugged ** Attachment added: "journalctl -b with debug-level systemd logging" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1954843/+attachment/5548522/+files/systemd-debug.log -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1954843 Title: amdgpu_bl0: Failed to write system 'brightness' attribute: Invalid argument Status in linux package in Ubuntu: Confirmed Status in systemd package in Ubuntu: New 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-backlight@backlight:amdgpu_bl0 service seems to fail during startup, but I can subsequently run it after startup and it succeeds (and restores brightness): mdmower@T14S ~ $ sudo systemctl status systemd-backlight@backlight:amdgpu_bl0 [sudo] password for mdmower: × systemd-backlight@backlight:amdgpu_bl0.service - Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0 Loaded: loaded (/lib/systemd/system/systemd-backlight@.service; static) Active: failed (Result: exit-code) since Tue 2021-12-14 13:26:05 PST; 30s ago Docs: man:systemd-backlight@.service(8) Process: 962 ExecStart=/lib/systemd/systemd-backlight load backlight:amdgpu_bl0 (code=exited, status=1/FAILURE) 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:amdgpu_bl0... Dec 14 13:26:05 T14S systemd-backlight[962]: amdgpu_bl0: Failed to write system 'brightness' attribute: Invalid argument Dec 14 13:26:05 T14S systemd[1]: systemd-backlight@backlight:amdgpu_bl0.service: Main process exited, code=exited, status=1/FAILURE Dec 14 13:26:05 T14S systemd[1]: systemd-backlight@backlight:amdgpu_bl0.service: Failed with result 'exit-code'. Dec 14 13:26:05 T14S systemd[1]: Failed to start Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0. mdmower@T14S ~ $ sudo systemctl start systemd- backlight@backlight:amdgpu_bl0 mdmower@T14S ~ $ sudo systemctl status systemd-backlight@backlight:amdgpu_bl0 ● systemd-backlight@backlight:amdgpu_bl0.service - Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0 Loaded: loaded (/lib/systemd/system/systemd-backlight@.service; static) Active: active (exited) since Tue 2021-12-14 13:26:45 PST; 1s ago Docs: man:systemd-backlight@.service(8) Process: 5119 ExecStart=/lib/systemd/systemd-backlight load backlight:amdgpu_bl0 (code=exited, status=0/SUCCESS) 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:amdgpu_bl0... Dec 14 13:26:45 T14S systemd[1]: Finished Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0. ProblemType: Bug DistroRelease: Ubuntu 21.10 Package: xorg 1:7.7+22ubuntu2 ProcVersionSignature: Ubuntu 5.13.0-22.22-generic 5.13.19 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' CasperMD5CheckResult: pass CompositorRunning: None CurrentDesktop: ubuntu:GNOME
[Kernel-packages] [Bug 1685794] Re: Boot delayed for about 90 seconds until 'random: crng init done'
In case it is helpful to anyone else, I found a resolution for my specific case. This askubuntu question helped: https://askubuntu.com/questions/1018907/ubuntu-installation-stuck-at- random-crng-init-done . In sum: sudo apt install rng-tools About 1 week ago, my Ubuntu 18.04 boot time went from ~15sec to ~2min. When I looked at kern.log, every boot had something very similar to this in common: Jul 8 13:28:37 localhost kernel: [6.933299] IPv6: ADDRCONF(NETDEV_CHANGE): enp3s0: link becomes ready Jul 8 13:32:09 localhost kernel: [ 217.508340] random: crng init done After installing rng-tools (and just in case, updating initramfs and grub: sudo update-initramfs -u and sudo update-grub), my boot time returned to normal, ~15sec. More info on rng-tools is here: wiki.archlinux.org/index.php/Rng-tools -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1685794 Title: Boot delayed for about 90 seconds until 'random: crng init done' Status in linux package in Ubuntu: Confirmed Bug description: Shortened dmesg output, notice the unnaturally long delay before crng init finishes: [8.533630] Bluetooth: hci0: Intel Bluetooth firmware patch completed and activated [8.542239] input: HDA Intel PCH Mic as /devices/pci:00/:00:1b.0/sound/card1/input18 [8.542313] input: HDA Intel PCH Line as /devices/pci:00/:00:1b.0/sound/card1/input19 [8.542382] input: HDA Intel PCH Dock Line Out as /devices/pci:00/:00:1b.0/sound/card1/input20 [8.542449] input: HDA Intel PCH Headphone as /devices/pci:00/:00:1b.0/sound/card1/input21 [8.544240] cdc_ether 2-6:2.0 usb0: register 'cdc_ether' at usb-:00:14.0-6, CDC Ethernet Device, 02:1e:10:1f:00:00 [8.544271] usbcore: registered new interface driver cdc_ether [8.637660] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs' [8.654022] input: HP WMI hotkeys as /devices/virtual/input/input22 [8.688226] cdc_ether 2-6:2.0 enp0s20u6c2: renamed from usb0 [8.713288] iwlwifi :02:00.0 wlo1: renamed from wlan0 [9.804308] input: ST LIS3LV02DL Accelerometer as /devices/platform/lis3lv02d/input/input23 [ 98.327857] random: crng init done [ 98.330072] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 98.330073] Bluetooth: BNEP filters: protocol multicast [ 98.330077] Bluetooth: BNEP socket layer initialized [ 98.443281] kauditd_printk_skb: 90 callbacks suppressed [ 98.492927] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready [ 98.681030] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready [ 98.685672] IPv6: ADDRCONF(NETDEV_UP): enp0s20u6c2: link is not ready [ 98.685789] cdc_ether 2-6:2.0 enp0s20u6c2: kevent 12 may have been dropped [ 98.688384] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready [ 98.690915] iwlwifi :02:00.0: L1 Enabled - LTR Enabled ProblemType: Bug DistroRelease: Ubuntu 17.04 Package: linux-image-4.10.0-19-generic 4.10.0-19.21 [modified: boot/vmlinuz-4.10.0-19-generic] ProcVersionSignature: Ubuntu 4.10.0-19.21-generic 4.10.8 Uname: Linux 4.10.0-19-generic x86_64 ApportVersion: 2.20.4-0ubuntu4 Architecture: amd64 AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/hwC1D0', '/dev/snd/pcmC1D0c', '/dev/snd/pcmC1D0p', '/dev/snd/controlC1', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D8p', '/dev/snd/pcmC0D7p', '/dev/snd/pcmC0D3p', '/dev/snd/controlC0', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: CurrentDesktop: Unity:Unity7 Date: Mon Apr 24 14:58:33 2017 EcryptfsInUse: Yes InstallationDate: Installed on 2017-04-18 (5 days ago) InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412) MachineType: Hewlett-Packard HP EliteBook 840 G1 ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-19-generic.efi.signed root=UUID=9fb9fc1d-15a4-4e98-a2ae-bf572e0900d5 ro quiet splash vt.handoff=7 PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon. RelatedPackageVersions: linux-restricted-modules-4.10.0-19-generic N/A linux-backports-modules-4.10.0-19-generic N/A linux-firmware 1.164 SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 05/23/2016 dmi.bios.vendor: Hewlett-Packard dmi.bios.version: L71 Ver. 01.37 dmi.board.name: 198F dmi.board.vendor: Hewlett-Packard dmi.board.version: KBC Version 15.59 dmi.chassis.asset.tag: USH452L0B1 dmi.chassis.type: 10 dmi.chassis.vendor: Hewlett-Packard dmi.modalias: dmi:bvnHewlett-Packard:bvrL71Ver.01.37:bd05/23/2016:svnHewlett-Packard:pnHPEliteBook840G1:pvrA3009DD10203:rvnHewlett-Packard:rn198F:rvrKBCVersion15.59:cvnHewlett-Packard:ct10:cvr: dmi.product.name: HP EliteBook 840 G1