GPU AMD RX6700XT work on Windows 11 host but not on Ubuntu 22.04/24.04 and Debian 12
-
Hello,
I use vCPU passthough for AMD RX6700XT on XCP-NG 8.3 with VMs:
Windows 11 : work fine and when i restart, shutdown VM, i see always vCPU AMD RX6700XT
Ubuntu 22.04/24.04 and Debian 12 : work for the first time but when i restart or shutdown VM, the vCPU not up to VM because i have when reboot/shutdown a message on XCP-NG host[ 1574.970142] pciback 0000:03:00.1: timed out waiting for pending transaction; performing function level reset anyway [ 1576.218148] pciback 0000:03:00.1: not ready 1023ms after FLR; waiting [ 1577.274087] pciback 0000:03:00.1: not ready 2047ms after FLR; waiting [ 1579.578034] pciback 0000:03:00.1: not ready 4095ms after FLR; waiting [ 1583.929931] pciback 0000:03:00.1: not ready 8191ms after FLR; waiting [ 1592.377698] pciback 0000:03:00.1: not ready 16383ms after FLR; waiting [ 1610.809303] pciback 0000:03:00.1: not ready 32767ms after FLR; waiting [ 1645.624486] pciback 0000:03:00.1: not ready 65535ms after FLR; giving up
when VM restart the vCPU not see in VM and i see same message on XCP-NG host. You need to restart the host to see the vCPU for Linux VM machines.
when i launch lspci on host , the graphic card on pci is :
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT] (rev ff) 03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller (rev ff)
when i disable with udev rules , the pci devices : 03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller. i never see message pciback on host XCP-NG server but in VM ( Windows and Linux ) the vCPU not recognized to Windows and Linux VMs. So, i need this pci device for vCPU work on VM Machines.
I don't know what to do anymore
-
Hmm looks like a driver init issue, I have a vague recollection of a bug in the Linux driver for this, but I'm not 100% sure. Any opinion @Teddy-Astie ?