Regression: kernel does not init graphics (?) on AMD Ryzen 5 3400G

Bug #1956399 reported by Alexey Balmashnov
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

After latest upgrade of linux-image to 5.13.0.23.34 system seem to boot, but it looks like graphics does not initialize correctly. After showing initial init logging, at the moment when X should init and graphics login should appear, monitor just goes to sleep and provides diagnostic message that there is no signal on selected input.

apt upgrade log:
Start-Date: 2022-01-04 23:21:11
Commandline: apt upgrade
Requested-By: xxxxxx (1000)
Install: linux-modules-extra-5.13.0-23-generic:amd64 (5.13.0-23.23, automatic), linux-image-5.13.0-23-generic:amd64 (5.13.0-23.23, automatic), linux-headers-5.13.0-23-generic:amd64 (5.13.0-23.23, automatic), linux-modules-5.13.0-23-generic:amd64 (5.13.0-23.23, automatic), linux-headers-5.13.0-23:amd64 (5.13.0-23.23, automatic)
Upgrade: linux-headers-generic:amd64 (5.13.0.22.33, 5.13.0.23.34), google-chrome-stable:amd64 (96.0.4664.110-1, 97.0.4692.71-1), linux-generic:amd64 (5.13.0.22.33, 5.13.0.23.34), linux-image-generic:amd64 (5.13.0.22.33, 5.13.0.23.34), linux-libc-dev:amd64 (5.13.0-22.22, 5.13.0-23.23)
End-Date: 2022-01-04 23:22:39

Currently working around this issues by booting previous version of the kernel.

ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: linux-generic 5.13.0.23.34
ProcVersionSignature: Ubuntu 5.13.0-22.22-generic 5.13.19
Uname: Linux 5.13.0-22-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: alexei 2532 F.... pulseaudio
 /dev/snd/pcmC1D0p: alexei 2532 F...m pulseaudio
 /dev/snd/controlC0: alexei 2532 F.... pulseaudio
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Wed Jan 5 01:02:53 2022
HibernationDevice: RESUME=UUID=45af239b-c597-45a1-bb72-3ba25b5ee546
InstallationDate: Installed on 2016-01-06 (2190 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
IwConfig:
 lo no wireless extensions.

 enp8s0 no wireless extensions.

 lxcbr0 no wireless extensions.
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.13.0-22-generic root=UUID=d4f27b9e-0cff-49e1-8392-a41aa520bd85 ro
RelatedPackageVersions:
 linux-restricted-modules-5.13.0-22-generic N/A
 linux-backports-modules-5.13.0-22-generic N/A
 linux-firmware 1.201.3
RfKill:

SourcePackage: linux
UpgradeStatus: Upgraded to impish on 2021-10-05 (91 days ago)
dmi.bios.date: 05/10/2021
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P5.00
dmi.board.name: B450 Pro4
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP5.00:bd05/10/2021:br5.17:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnB450Pro4:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:skuToBeFilledByO.E.M.:
dmi.product.family: To Be Filled By O.E.M.
dmi.product.name: To Be Filled By O.E.M.
dmi.product.sku: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

Revision history for this message
Alexey Balmashnov (a.balmashnov) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
reliable-robin-22 (nicolasdiogo) wrote :

+1

this is a bug for me too

Revision history for this message
Alexey Balmashnov (a.balmashnov) wrote :

Confirmed that graphics init fails: when system is restarted with broken kernel, it is accessible via ssh.

Grepping for amdgpu in kern.log results in:

Jan 5 18:50:53 alrock kernel: [ 3.910928] [drm] amdgpu kernel modesetting enabled.
Jan 5 18:50:53 alrock kernel: [ 3.911042] amdgpu: Topology: Add APU node [0x0:0x0]
Jan 5 18:50:53 alrock kernel: [ 3.911111] fb0: switching to amdgpudrmfb from EFI VGA
Jan 5 18:50:53 alrock kernel: [ 3.911516] amdgpu 0000:09:00.0: vgaarb: deactivate vga console
Jan 5 18:50:53 alrock kernel: [ 3.911701] amdgpu 0000:09:00.0: amdgpu: Trusted Memory Zone (TMZ) feature enabled
Jan 5 18:50:53 alrock kernel: [ 3.943546] amdgpu 0000:09:00.0: amdgpu: Fetched VBIOS from ROM BAR
Jan 5 18:50:53 alrock kernel: [ 3.943551] amdgpu: ATOM BIOS: 113-PICASSO-118
Jan 5 18:50:53 alrock kernel: [ 3.943983] amdgpu 0000:09:00.0: amdgpu: VRAM: 2048M 0x000000F400000000 - 0x000000F47FFFFFFF (2048M used)
Jan 5 18:50:53 alrock kernel: [ 3.943986] amdgpu 0000:09:00.0: amdgpu: GART: 1024M 0x0000000000000000 - 0x000000003FFFFFFF
Jan 5 18:50:53 alrock kernel: [ 3.943989] amdgpu 0000:09:00.0: amdgpu: AGP: 267419648M 0x000000F800000000 - 0x0000FFFFFFFFFFFF
Jan 5 18:50:53 alrock kernel: [ 3.944034] [drm] amdgpu: 2048M of VRAM memory ready
Jan 5 18:50:53 alrock kernel: [ 3.944040] [drm] amdgpu: 3072M of GTT memory ready.
Jan 5 18:50:53 alrock kernel: [ 3.951844] amdgpu: hwmgr_sw_init smu backed is smu10_smu
Jan 5 18:50:53 alrock kernel: [ 3.953750] amdgpu 0000:09:00.0: amdgpu: Will use PSP to load VCN firmware
Jan 5 18:50:53 alrock kernel: [ 4.039547] amdgpu 0000:09:00.0: amdgpu: RAS: optional ras ta ucode is not available
Jan 5 18:50:53 alrock kernel: [ 4.044506] amdgpu 0000:09:00.0: amdgpu: RAP: optional rap ta ucode is not available
Jan 5 18:50:53 alrock kernel: [ 4.083438] snd_hda_intel 0000:09:00.1: bound 0000:09:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
Jan 5 18:50:53 alrock kernel: [ 4.196382] kfd kfd: amdgpu: Allocated 3969056 bytes on gart
Jan 5 18:50:53 alrock kernel: [ 4.196450] kfd kfd: amdgpu: error getting iommu info. is the iommu enabled?
Jan 5 18:50:53 alrock kernel: [ 4.196455] kfd kfd: amdgpu: Error initializing iommuv2
Jan 5 18:50:53 alrock kernel: [ 4.196616] kfd kfd: amdgpu: device 1002:15d8 NOT added due to errors
Jan 5 18:50:53 alrock kernel: [ 4.196619] kfd kfd: amdgpu: Failed to resume IOMMU for device 1002:15d8
Jan 5 18:50:53 alrock kernel: [ 4.196622] amdgpu 0000:09:00.0: amdgpu: amdgpu_device_ip_init failed
Jan 5 18:50:53 alrock kernel: [ 4.196626] amdgpu 0000:09:00.0: amdgpu: Fatal error during GPU init
Jan 5 18:50:53 alrock kernel: [ 4.196629] amdgpu 0000:09:00.0: amdgpu: amdgpu: finishing device.
Jan 5 18:50:53 alrock kernel: [ 4.242549] [drm] amdgpu: ttm finalized

Revision history for this message
Kelsey Steele (kelsey-steele) wrote :

Thank you for the report and information! We're working to get a fix out. Please refer to bug 1956401 for updates

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.