KVM VM with GPU passthrough won't start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-firmware (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Host OS:
Ubuntu 24.04.2 LTS
Kernel 6.11.0-21-generic
CPU: AMD Ryzen 9 5900X
Software Firmware version: F2
GPU 1: AMD Radeon RX 6400 (Used by Host OS)
GPU 2: AMD Radeon RX 6800 (Used by VMs via GPU passthrough, on PCI bus 10:00.0)
$ apt-cache policy linux-firmware
linux-firmware:
Installed: 20240318.
Candidate: 20240318.
Version table:
*** 20240318.
500 http://
500 http://
100 /var/lib/
20240318.
500 http://
What should have happened:
VM with GPU passthrough should start
What happend instead:
VM with GPU passthrough wouldn't start. I tried running 'lspci -nns 0000:10:00.0' but this hung the terminal. Virtual Machine Manager was now showing it couldn't connect to the KVM daemon. I rebooted the Host OS but running 'lspci -nns 0000:10:00.0' again hung and I still couldn't start the VM with GPU passthrough.
Extra info:
After installing updates to the Host OS on 2025-4-10, VMs without GPU passthrough worked fine. On 2025-4-12 I tried to start a VM with GPU passthrough but it wouldn't start.
On 2025-4-10 one of the Host OS updates was linux-firmware:
I wanted to test downgrading the linux-firmware back to version 2.10 but that is no longer available. I was able to find, from this launchpad, the files that were in the 2.10 and 2.11 versions of linux-firmware. I found the differences between the files for the amdgpu firmware files. I overwrote the /lib/firmware/
The list of amdgpu firmware files I overwrote was:
gc_11_5_
gc_11_5_
gc_11_5_
gc_11_5_
gc_11_5_
gc_11_5_
gc_11_5_
isp_4_1_1.bin.zst
psp_14_
psp_14_
sdma_6_1_1.bin.zst
vcn_4_0_6_1.bin.zst
vcn_4_0_6.bin.zst
vpe_6_1_1.bin.zst
---
ProblemType: Bug
ApportVersion: 2.28.1-0ubuntu3.5
Architecture: amd64
CRDA: N/A
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Dependencies: firmware-sof-signed 2023.12.
DistroRelease: Ubuntu 24.04
InstallationDate: Installed on 2024-06-01 (326 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
MachineType: Gigabyte Technology Co., Ltd. X570S AORUS PRO AX
Package: linux-firmware 20240318.
PackageArchitec
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-
XDG_RUNTIME_
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 20240318.
Tags: noble wayland-session
Uname: Linux 6.11.0-21-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip kvm libvirt libvirt-dnsmasq lpadmin plugdev storage sudo users
_MarkForUpload: True
dmi.bios.date: 07/08/2021
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: F2
dmi.board.
dmi.board.name: X570S AORUS PRO AX
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: X570 MB
dmi.product.name: X570S AORUS PRO AX
dmi.product.sku: Default string
dmi.product.
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 2107285