FS#78939 - amd-ucode update breaks amdgpu graphics for AMD Ryzen 7 4700U with Radeon Graphics

Attached to Project: Arch Linux
Opened by Mike Cloaked (mcloaked) - Saturday, 01 July 2023, 09:07 GMT
Last edited by freswa (frederik) - Saturday, 01 July 2023, 12:34 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: After update of amd-ucode 20230625.ee91452d-1 -> 20230625.ee91452d-2 my HP Envy 360 laptop with AMD Ryzen 7 4700U with Radeon Graphics boots, but the graphics (amdgpu) fails to display sddm greeter

Additional info:
* package version(s) amd-ucode 20230625.ee91452d-1 -> 20230625.ee91452d-2
* config and/or log files etc. Attached journal and dmidecode for the laptop
* link to upstream bug report, if any

Steps to reproduce:
Update amd-ucode 20230625.ee91452d-1 -> 20230625.ee91452d-2 and reboot. System boots, but although the console shows graphical target reached, the display remains blank. Downgrading back to amd-ucode 20230625.ee91452d-1 the system boots normally and the sddm greeter display shows on the screen as normal.

Likely key section of journal showing amdgpu is no longer loading normally and has a Fatal error is in this section of the log:

Jun 30 23:28:29 ryzen1 kernel: [drm] initializing kernel modesetting (RENOIR 0x1002:0x1636 0x103C:0x876F 0xC2).
Jun 30 23:28:29 ryzen1 kernel: [drm] register mmio base: 0xD0400000
Jun 30 23:28:29 ryzen1 kernel: [drm] register mmio size: 524288
Jun 30 23:28:29 ryzen1 kernel: [drm] add ip block number 0 <soc15_common>
Jun 30 23:28:29 ryzen1 kernel: [drm] add ip block number 1 <gmc_v9_0>
Jun 30 23:28:29 ryzen1 kernel: [drm] add ip block number 2 <vega10_ih>
Jun 30 23:28:29 ryzen1 kernel: [drm] add ip block number 3 <psp>
Jun 30 23:28:29 ryzen1 kernel: [drm] add ip block number 4 <smu>
Jun 30 23:28:29 ryzen1 kernel: [drm] add ip block number 5 <dm>
Jun 30 23:28:29 ryzen1 kernel: [drm] add ip block number 6 <gfx_v9_0>
Jun 30 23:28:29 ryzen1 kernel: [drm] add ip block number 7 <sdma_v4_0>
Jun 30 23:28:29 ryzen1 kernel: [drm] add ip block number 8 <vcn_v2_0>
Jun 30 23:28:29 ryzen1 kernel: [drm] add ip block number 9 <jpeg_v2_0>
Jun 30 23:28:29 ryzen1 kernel: amdgpu 0000:04:00.0: amdgpu: Fetched VBIOS from VFCT
Jun 30 23:28:29 ryzen1 kernel: amdgpu: ATOM BIOS: 113-RENOIR-037
Jun 30 23:28:29 ryzen1 kernel: amdgpu 0000:04:00.0: Direct firmware load for amdgpu/renoir_asd.bin failed with error -2
Jun 30 23:28:29 ryzen1 kernel: [drm:amdgpu_device_init [amdgpu]] *ERROR* early_init of IP block <psp> failed -19
Jun 30 23:28:29 ryzen1 kernel: amdgpu 0000:04:00.0: Direct firmware load for amdgpu/renoir_dmcub.bin failed with error -2
Jun 30 23:28:29 ryzen1 kernel: [drm:dm_early_init [amdgpu]] *ERROR* DMUB firmware loading failed: -19
Jun 30 23:28:29 ryzen1 kernel: [drm:amdgpu_device_init [amdgpu]] *ERROR* early_init of IP block <dm> failed -19
Jun 30 23:28:29 ryzen1 kernel: amdgpu 0000:04:00.0: Direct firmware load for amdgpu/renoir_pfp.bin failed with error -2
Jun 30 23:28:29 ryzen1 kernel: [drm:amdgpu_device_init [amdgpu]] *ERROR* early_init of IP block <gfx_v9_0> failed -19
Jun 30 23:28:29 ryzen1 kernel: amdgpu 0000:04:00.0: Direct firmware load for amdgpu/renoir_sdma.bin failed with error -2
Jun 30 23:28:29 ryzen1 kernel: [drm:sdma_v4_0_early_init [amdgpu]] *ERROR* Failed to load sdma firmware!
Jun 30 23:28:29 ryzen1 kernel: [drm:amdgpu_device_init [amdgpu]] *ERROR* early_init of IP block <sdma_v4_0> failed -19
Jun 30 23:28:29 ryzen1 kernel: [drm] VCN decode is enabled in VM mode
Jun 30 23:28:29 ryzen1 kernel: [drm] VCN encode is enabled in VM mode
Jun 30 23:28:29 ryzen1 kernel: amdgpu 0000:04:00.0: Direct firmware load for amdgpu/renoir_vcn.bin failed with error -2
Jun 30 23:28:29 ryzen1 kernel: [drm:amdgpu_device_init [amdgpu]] *ERROR* early_init of IP block <vcn_v2_0> failed -19
Jun 30 23:28:29 ryzen1 kernel: [drm] JPEG decode is enabled in VM mode
Jun 30 23:28:29 ryzen1 kernel: amdgpu 0000:04:00.0: amdgpu: Fatal error during GPU init
Jun 30 23:28:29 ryzen1 kernel: amdgpu 0000:04:00.0: amdgpu: amdgpu: finishing device.

Since downgrading amd-ucode back to amd-ucode 20230625.ee91452d-1 resolves the problem this points to a bug in the version of amd-ucode 20230625.ee91452d-2

The system is fully up to date running kernel 6.4.0
This task depends upon

Closed by  freswa (frederik)
Saturday, 01 July 2023, 12:34 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#78892 
Comment by Ewout van Mansom (ewout) - Saturday, 01 July 2023, 11:58 GMT
Thanks, AMD, for testing your microcode! /s

Might be affected, too, on two remote systems at my parent's house. HTPC (Ryzen 3500X CPU + RX 460 GPU) and laptop (A4-5000 APU).

Will investigate, might take a few days (have to travel there).
Comment by Doug Newgard (Scimmia) - Saturday, 01 July 2023, 12:02 GMT
This was a pkgrel change, not an issue from AMD. See  FS#78892 
Comment by Ewout van Mansom (ewout) - Saturday, 01 July 2023, 12:05 GMT
Apologies to AMD, then. Wasn't aware of zstd initcpio change, figured it was upstream.

Loading...