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
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
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
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