amdgpu fails to init with kernel 5.19.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Update 2023-03-04: A new version of the 5.19 kernel, 5.19.0-35-generic, will now boot into a GUI desktop instead of leaving me with a completely unusable system, BUT, there is no working Vulkan implementation, as if the amdgpu driver still failed to load so the new kernel did a fallback to the radeon driver, I would guess.
Partial output from vulkaninfo with 5.19 kernel:
------
Device Properties and Extensions:
=======
GPU0:
VkPhysicalDevic
-------
apiVersion = 4206816 (1.3.224)
vendorID = 0x10005
deviceID = 0x0000
deviceType = PHYSICAL_
deviceName = llvmpipe (LLVM 15.0.6, 256 bits)
END of Update 2023-03-04
------------
I recently installed apt upgrades, and among the upgrades, was the 5.19.0-32-generic kernel. I also still have installed the 5.15.0-58-generic kernel.
Every time I try to boot with the 5.19 kernel, my AMD Radeon R9 280 GPU fails to init. This results in the computer effectively getting 'hung' part way through the kernel boot as X or Wayland, whatever should start up, doesn't. The kernel keeps running (I can see the hard drive light occasionally flash on my case, and the kernel logs continue after the point of the apparent hang - although kernel messages stop getting output to the console - to see the messages, I have to reboot with 5.15 then use journalctl to review the previous boot messages).
It inits fine with the older kernel. Not sure what the root cause of the failure is. Found this in kernel boot logs (via "journalctl -b -1" to get the logs for the previous boot, that failed), which I think is indicative of the problem:
Feb 16 21:37:17 jeff-linux kernel: status:
Feb 16 21:37:17 jeff-linux kernel: [drm] amdgpu: dpm initialized
Feb 16 21:37:17 jeff-linux kernel: [drm] Found UVD firmware Version: 64.0 Family ID: 13
Feb 16 21:37:17 jeff-linux kernel: amdgpu: Move buffer fallback to memcpy unavailable
Feb 16 21:37:17 jeff-linux kernel: [drm:amdgpu_
Feb 16 21:37:17 jeff-linux kernel: amdgpu 0000:01:00.0: amdgpu: amdgpu_
Feb 16 21:37:17 jeff-linux kernel: amdgpu 0000:01:00.0: amdgpu: Fatal error during GPU init
Feb 16 21:37:17 jeff-linux kernel: amdgpu 0000:01:00.0: amdgpu: amdgpu: finishing device.
Feb 16 21:37:17 jeff-linux kernel: BUG: kernel NULL pointer dereference, address: 0000000000000090
-------
version signature info (line 2 from kernel boot log):
Feb 16 21:37:14 jeff-linux kernel: Linux version 5.19.0-32-generic (buildd@
-------
root@jeff-
Description: Ubuntu 22.04.1 LTS
Release: 22.04
See attached lspci-vnvn.log
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
/dev/snd/
CRDA: N/A
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2022-02-27 (355 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
IwConfig:
lo no wireless extensions.
eno1 no wireless extensions.
MachineType: System manufacturer System Product Name
Package: linux (not installed)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 20220329.
RfKill:
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
Tags: jammy wayland-session
Uname: Linux 5.15.0-58-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 08/06/2014
dmi.bios.release: 4.6
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1302
dmi.board.
dmi.board.name: P8Q77-M
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: To be filled by O.E.M.
dmi.product.name: System Product Name
dmi.product.sku: SKU
dmi.product.
dmi.sys.vendor: System manufacturer
Attaching output of journalctl -b -1, as xz compressed file