Slower boot time after linux-firmware update

After firmware upgrade, getting slow loading the firmware in both kernels 6.1.35 and 6.4.0

$ systemd-analyze      
Startup finished in 19.367s (firmware) + 5.309s (loader) + 3.484s (kernel) + 9.749s (userspace) = 37.910s 
graphical.target reached after 9.414s in userspace.

Downgrading amd-ucode and linux-firmware restored the previous boot time:

$ systemd-analyze                                   
Startup finished in 10.619s (firmware) + 3.456s (loader) + 3.222s (kernel) + 10.281s (userspace) = 27.580s 
graphical.target reached after 9.966s in userspace.

Using linux-firmware 20230612.1cd1c871-2 and amd-ucode 20230612.1cd1c871-1

1 Like

Still same slow boot time reported here, [Testing Update] 2023-06-27 - Kernels, Linux-Firmware, Mesa, Wine, Nvidia, KDE-git - #3.

Workaround is to downgrade to 20230612 version of the following packages:

sudo DOWNGRADE_FROM_ALA=1 downgrade amd-ucode linux-firmware-whence linux-firmware

Did you checked dmesg to see if there are any changes in reports about firmware? Normally both packages should ship uncompressed firmware.

Installed/tested both firmwares: 20230612 (good) and 20230625 (bad). The only difference I see is in the DRM firmware, which could be related to the same problem happening with kernel 6.4. Check out the detail logs:

20230612:

[    0.120226] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    0.314374] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    0.324095] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-7f] only partially covers this bridge
[    4.016530] systemd[1]: TPM2 PCR Machine ID Measurement was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/StubPcrKernelImage-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f).
[    4.966966] iwlwifi 0000:07:00.0: loaded firmware version 72.a764baac.0 ty-a0-gf-a0-72.ucode op_mode iwlmvm
[    5.735794] [drm] Loading DMUB firmware via PSP: version=0x05000C00
[    5.738067] [drm] Found VCN firmware Version ENC: 1.27 DEC: 2 VEP: 0 Revision: 0
[    5.738072] amdgpu 0000:69:00.0: amdgpu: Will use PSP to load VCN firmware
[    6.440961] Bluetooth: hci0: Firmware timestamp 2023.13 buildtype 1 build 62562
[    6.445451] Bluetooth: hci0: Found device firmware: intel/ibt-0041-0041.sfi
[    6.445469] Bluetooth: hci0: Firmware Version: 98-13.23
[    6.445469] Bluetooth: hci0: Firmware already loaded

20230625:

[    0.120511] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    0.314435] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    0.324235] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-7f] only partially covers this bridge
[    4.013100] systemd[1]: TPM2 PCR Machine ID Measurement was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/StubPcrKernelImage-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f).
[    5.062538] iwlwifi 0000:07:00.0: loaded firmware version 72.a764baac.0 ty-a0-gf-a0-72.ucode op_mode iwlmvm
[    5.722989] [drm] Loading DMUB firmware via PSP: version=0x08001B00
[    5.724820] [drm] Found VCN firmware Version ENC: 1.27 DEC: 2 VEP: 0 Revision: 0
[    5.724824] amdgpu 0000:69:00.0: amdgpu: Will use PSP to load VCN firmware
[    6.459605] Bluetooth: hci0: Firmware timestamp 2023.13 buildtype 1 build 62562
[    6.464013] Bluetooth: hci0: Found device firmware: intel/ibt-0041-0041.sfi
[    6.464031] Bluetooth: hci0: Firmware Version: 98-13.23
[    6.464032] Bluetooth: hci0: Firmware already loaded

Slower boot time fixed with firmware and amd-ucode v20230724

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.