GPU Passthrough Issues After Upgrade to 7.2

rrprime

New Member
Dec 18, 2020
9
0
1
40
Hello all, this is a debug and success story and the problem is somewhere in q35-6.1

OS: Ppve-manager/7.2-3/c743d6c1 (running kernel: 5.15.30-2-pve)
CPU: Ryzen 7 5825u
GPU: RX550 passthrough
VM OS: MAC Catalina 10.15

General setup followed:https://www.nicksherlock.com/2021/10/installing-macos-12-monterey-on-proxmox-7/

Setup:
GPU adapter from NVME to full PCI slot, provides PCI3.0 x4 actual speed
Problem:
Boot (system is already installed) hangs somewhere in XNU/Kernel Handoff just before [ PCI configurations begin ].... it just freezes, the system boots in the background, and I can init a Nomachine connection to the VM but I have no desktop initialised (most likely due to the fact that there is no GPU present in the system).

Debugs/Results:
GPU passthrough works and system is usable on old full (full desktop with proper PCI slots) system Ryzen 9 pve 6.x..
GPU passthrough works mini-Ryzen-7-5825u with windows VM with nvidia and amd cards. (3D accel tested fine)
Mac Boot system freezes the same with nvidia 1080 card (for debug, I know it is not compatible)
Adding a standard display, system boots with amd card attached but there is no sign of the card in the system at all, just the standard display.
Activating Debug in open core, and comparing the logs of a boot with standard display and one that freezes render no differences
Adding npci=0x2000 or npci=0x3000 does not change anything
Same setup fresh new VM 10.15 same hang
Tried Monterey install image, same hang
Booting windows VM (detaching the GPU totally from linux and initialising it) and then booting OSX VM same hang

7127bce3-6153-4f98-b289-8c575b94a628
ebba6af9-1dfd-412a-ace0-b4971568964f


After a lot of attempts and changes to modules and params, vendor-reset, grub, blacklists, etc... the issue was that pc-q35-5.0 works ok and the latest does not... so qemu broke something at q35-6.1
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!