So, I managed to get a VM working with GPU passthrough. Initially, I was just testing it on my server, but I eventually decided to use it as my main server host. During this process, I had to open the computer to install some additional cards, including an Ethernet card. However, while doing this, I accidentally hit the CMOS button. As a result, Proxmox now refuses to start. The system does boot when the PCI graphics card is removed.
The machine I'm using is an HP Elitedesk 800 G1 with 32GB of RAM.
I need to access the BIOS settings and disable the PCI graphics card. Unfortunately, I can't enter the BIOS with the PCI card installed. Moreover, with or without the card, the VGA settings in BIOS are grayed out.
Strangely, I've managed to boot into Windows. Within Windows, I've noticed a resource conflict with the PCI bus. I didn't anticipate that any of the GRUB settings would impact the motherboard in this way.
I'm wondering if there's a way to reset the PCI address or resolve the resource conflict.
For reference, here are the commands I used to set up GPU passthrough:
The machine I'm using is an HP Elitedesk 800 G1 with 32GB of RAM.
I need to access the BIOS settings and disable the PCI graphics card. Unfortunately, I can't enter the BIOS with the PCI card installed. Moreover, with or without the card, the VGA settings in BIOS are grayed out.
Strangely, I've managed to boot into Windows. Within Windows, I've noticed a resource conflict with the PCI bus. I didn't anticipate that any of the GRUB settings would impact the motherboard in this way.
I'm wondering if there's a way to reset the PCI address or resolve the resource conflict.
For reference, here are the commands I used to set up GPU passthrough:
- Opened the GRUB configuration:
arduinoCopy code
nano /etc/default/grub - Modified the GRUB default command line:
makefileCopy code
#GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on" - Updated GRUB:
sqlCopy code
update-grub - Edited the modules configuration:
bashCopy code
nano /etc/modules
vfiovfio_iommu_type1vfio_pcivfio_virqfd - Added options for unsafe interrupts:
bashCopy code
echo "options vfio_iommu_type1 allow_unsafe_interrupts=1" > /etc/modprobe.d/iommu_unsafe_interrupts.conf - Modified the blacklist configuration:
bashCopy code
nano /etc/modprobe.d/blacklist.conf
Added the following lines:
Copy code
blacklist radeon
blacklist nouveau
blacklist nvidia - Unbound the GPU from its current driver:
rubyCopy code
echo "0000:01:00.0" > /sys/bus/pci/drivers/vfio-pci/unbind - Bound the GPU to the vfio-pci driver:
rubyCopy code
echo "0000:01:00.0" > /sys/bus/pci/drivers/vfio-pci/bind
I might have done something more...
Last edited: