VM crashes after a while after installing a new second GPU

manguy

New Member
Jul 5, 2024
13
1
3
I have proxmox with an ubuntu VM, and a MacOS VM. The MacOS VM is using an AMD GPU (in the first PCIE slot) with passthrough using these instructions
https://i12bretro.github.io/tutorials/0865.html

This MacOS VM was working until I recently bought an NVDIA GPU and installed it to the first PCIE slot, and moved the AMD GPU to the second PCIE slot. The VM runs for a few hours and then freezes causing the entire PC to freeze, including the Ubuntu VM and the proxmox host. My guess is that after this GPU change (moving to slot 2 etc) that I need to tweak something, but dont know what.

Update:
I tried reruninng these steps
lspci -v
lspci -n -s 08:00
echo "options vfio-pci ids=1002:679a,1002:aaa0 disable_vga=1" > /etc/modprobe.d/vfio.conf
update-initramfs -u
since the second line now produced differnet values to plug into the echo line (pcie is still 8:00.0 for some reason, I wouldve expected THAT to change)

I wil report if that fixed it. A second question, if I want to pass my new NVIDIA GPU to a windows VM, do I have to do those steps to add the NVIDIA values to
echo "options vfio-pci ids=1002:679a,1002:aaa0 disable_vga=1" > /etc/modprobe.d/vfio.conf
?

Or do I need these steps for passing to windows? If I do need to, do I just comma separate the 4 values?

UPDATE: Those changes, I assume are correct, but didnt stop it from crashing. The good thing is that now only the macOS VM crashes, and doesnt seem to crash the entire computer anymore, but still would like it to not crash like before I added the second GPU.
 
Last edited:
I tried reruninng these steps
lspci -v
lspci -n -s 08:00
echo "options vfio-pci ids=1002:679a,1002:aaa0 disable_vga=1" > /etc/modprobe.d/vfio.conf
update-initramfs -u
since the second line now produced differnet values to plug into the echo line (pcie is still 8:00.0 for some reason, I wouldve expected THAT to change)

UPDATE: Those changes, I assume are correct, but didnt stop it from crashing. The good thing is that now only the macOS VM crashes, and doesnt seem to crash the entire computer anymore, but still would like it to not crash like before I added the second GPU.
 
Last edited:

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!