kernel 5.13.0-23 extremely slow boot on AMD proc/graphics

Bug #1956396 reported by rattskjelke
74
This bug affects 16 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

5.13.0-23 HWE kernel on Linux Mint 20.2 Xfce (Ubuntu 20.04.3)
Had been using the 5.13 HWE kernel for months with no problems.
Today the kernel and linux-firmware updated.
5.13.0-23 kernel now takes about 2 minutes to boot to the login screen.
Normal boot time is 8 seconds.
During that time the pc is frozen with only a _ underline cursor that doesn't flash.
Can't change terminals with Ctrl+Alt+F1, etc.
Problem does not occur when booting 5.11.0-44 or 5.4.0-92 so I'm pretty sure the problem is in the kernel and not linux-firmware.

System information (while using 5.11 kernel)
CPU: Topology: Quad Core model: AMD Ryzen 5 3400G with Radeon Vega Graphics bits: 64 type: MT MCP
           arch: Zen+ rev: 1 L2 cache: 2048 KiB
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 59089
           Speed: 1259 MHz min/max: 1400/3700 MHz boost: enabled Core speeds (MHz): 1: 1258 2: 1258
           3: 1258 4: 1258 5: 1257 6: 1260 7: 1267 8: 1330

Graphics: Device-1: AMD Picasso vendor: Hewlett-Packard driver: amdgpu v: kernel bus ID: 0c:00.0
           chip ID: 1002:15d8
           Display: x11 server: X.Org 1.20.13 driver: amdgpu resolution: 1920x1080~60Hz
           OpenGL:
           renderer: AMD Radeon Vega 11 Graphics (RAVEN DRM 3.40.0 5.11.0-44-generic LLVM 12.0.0)
           v: 4.6 Mesa 21.0.3 direct render: Yes

Forums threads about it:
https://ubuntuforums.org/showthread.php?t=2470574
https://forums.linuxmint.com/viewtopic.php?f=46&t=364729

description: updated
description: updated
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1956396

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: hirsute
Revision history for this message
rattskjelke (rattskjelke) wrote :

Unable to run apport-collect 1956396.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Soumadeep Sarkar (soumadeepsarkar1) wrote (last edit ):

This bug also affects my laptop.The kernel of my Ubuntu 21.10 was updated to 5.13.0-23 just now. But on starting using this kernel, everything is very slow, and some things do not even open, like google chrome and telegram. My laptop has AMD ryzen 3500u processor.

Revision history for this message
Fabian Mettler (maveonair) wrote :

I have a similar bug on my pc with Ubuntu 21.10 after an upgrade to 5.13.0-23 with an AMD Ryzen 3200G. Although in my case, my external monitor goes to sleep when booting this Kernel version and cannot be woken up.

Fortunately, I can boot the system with the previous version 5.13.0-19

Revision history for this message
Candan Celik (candancelik) wrote :

I am affected too.

Revision history for this message
max b (mxbn) wrote :

Computer became unusable.
Takes forever to start. Fails to shutdown. In the console (Ctrl+alt+f2) reports kernel panic.
Ryzen 3500U.

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

There is a bunch of AMD graphics related bugs associated with the latest kernel update on 21.10. I wonder whether they could have common root cause. Personally, I observe the same behavior as described in comment #4 above, I've submitted bug 1956399.

Revision history for this message
Phil Veal (pmveal) wrote :

Same problem running Ubuntu 21.10 kernel 5.13.0-23 on AMD Ryzen 3400G (Vega GPU)-
amdgpu 0000:07:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0000 address=0x10db4b380 flags=0x0070]
...
amdgpu 0000:07:00.0: amdgpu: failed to write reg 28b4 wait reg 28c6
amdgpu 0000:07:00.0: amdgpu: failed to write reg 1a6f4 wait reg 1a706
amdgpu 0000:07:00.0: amdgpu: failed to write reg 28b4 wait reg 28c6
amdgpu 0000:07:00.0: amdgpu: failed to write reg 1a6f4 wait reg 1a706
No GPU errors using the 5.13.0-22 kernel.

Revision history for this message
Phil Veal (pmveal) wrote : apport information

ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: phil 1422 F.... pulseaudio
 /dev/snd/controlC0: phil 1422 F.... pulseaudio
CasperMD5CheckResult: pass
DistroRelease: Ubuntu 21.10
InstallationDate: Installed on 2021-05-08 (242 days ago)
InstallationMedia: Xubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
MachineType: Gigabyte Technology Co., Ltd. B450 AORUS PRO WIFI
Package: linux (not installed)
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
 TERM=linux
 XDG_RUNTIME_DIR=<set>
 PATH=(custom, no user)
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.13.0-23-generic root=/dev/mapper/vg1-lv2 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.13.0-23.23-generic 5.13.19
RelatedPackageVersions:
 linux-restricted-modules-5.13.0-23-generic N/A
 linux-backports-modules-5.13.0-23-generic N/A
 linux-firmware 1.201.3
Tags: impish
Uname: Linux 5.13.0-23-generic x86_64
UnreportableReason: This report is about a package that is not installed.
UpgradeStatus: Upgraded to impish on 2022-01-01 (4 days ago)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo users
_MarkForUpload: False
dmi.bios.date: 07/29/2020
dmi.bios.release: 5.14
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F51
dmi.board.asset.tag: Default string
dmi.board.name: B450 AORUS PRO WIFI-CF
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrF51:bd07/29/2020:br5.14:svnGigabyteTechnologyCo.,Ltd.:pnB450AORUSPROWIFI:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnB450AORUSPROWIFI-CF:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:skuDefaultstring:
dmi.product.family: B450 MB
dmi.product.name: B450 AORUS PRO WIFI
dmi.product.sku: Default string
dmi.product.version: Default string
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

tags: added: apport-collected impish
Revision history for this message
Phil Veal (pmveal) wrote : AlsaInfo.txt

apport information

Revision history for this message
Phil Veal (pmveal) wrote : CRDA.txt

apport information

Revision history for this message
Phil Veal (pmveal) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Phil Veal (pmveal) wrote : IwConfig.txt

apport information

Revision history for this message
Phil Veal (pmveal) wrote : Lspci.txt

apport information

Revision history for this message
Phil Veal (pmveal) wrote : Lspci-vt.txt

apport information

Revision history for this message
Phil Veal (pmveal) wrote : Lsusb.txt

apport information

Revision history for this message
Phil Veal (pmveal) wrote : Lsusb-t.txt

apport information

Revision history for this message
Phil Veal (pmveal) wrote : Lsusb-v.txt

apport information

Revision history for this message
Phil Veal (pmveal) wrote : PaInfo.txt

apport information

Revision history for this message
Phil Veal (pmveal) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Phil Veal (pmveal) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Phil Veal (pmveal) wrote : ProcModules.txt

apport information

Revision history for this message
Phil Veal (pmveal) wrote : PulseList.txt

apport information

Revision history for this message
Phil Veal (pmveal) wrote : RfKill.txt

apport information

Revision history for this message
Phil Veal (pmveal) wrote : UdevDb.txt

apport information

Revision history for this message
Phil Veal (pmveal) wrote : WifiSyslog.txt

apport information

Revision history for this message
Phil Veal (pmveal) wrote : acpidump.txt

apport information

Revision history for this message
Rudi Servo (rudiservo) wrote :

Version 5.13.22 works fine.
5.13.23 has some sort of issue with amdgpu integrated grafics
AMD Ryzen 5 PRO 3500U on Thinkpad T495s with 2GB reserved for GPU.

Revision history for this message
kulight (kulight) wrote :

I'm also having this issue on amd apu 3550h

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.