I have been working on an attempt to pass my gpu to a vm running on my proxmox system.
I'm running version 4.0-48
I have followed the Proxmox document for PCI-E setup.
This includes changing Grub entries.
I have enabled IOMMU on my motherboard as well as virtualization.
My motherboard calls the feature "SVM Mode" and that has been enabled.
*I'm running an AMD CPU.
I have the following lines in my vm.conf file:
machine: q35
hostpci0: 01:00.0,x-vga=on,pcie=1
*My GPU is registered to BUS 01.
The vm is a Windows 7 image with the QEMU drivers + chipset installed.
If I remove the hostpci0 line from my vm config, the vm runs great. Adding the line reduced system performance and the CPU load is always near 100%.
I assume what is happening is my CPU is drawing the window frames instead of my GPU doing the work. Even though the system recognizes I have a GPU installed and the OS can detect the model, yet it somehow doesn't pass full control to it.
Initially, I had thought the issue related to maybe the CPU/motherboard didn't fully support visualization. But since I can just remove the "hostpci0" option from the vm.conf, it works great no CPU issues.
Does anyone have ideas on what I could try to resolve this problem? Or hit a similar wall?
I'm running version 4.0-48
I have followed the Proxmox document for PCI-E setup.
This includes changing Grub entries.
I have enabled IOMMU on my motherboard as well as virtualization.
My motherboard calls the feature "SVM Mode" and that has been enabled.
*I'm running an AMD CPU.
I have the following lines in my vm.conf file:
machine: q35
hostpci0: 01:00.0,x-vga=on,pcie=1
*My GPU is registered to BUS 01.
The vm is a Windows 7 image with the QEMU drivers + chipset installed.
If I remove the hostpci0 line from my vm config, the vm runs great. Adding the line reduced system performance and the CPU load is always near 100%.
I assume what is happening is my CPU is drawing the window frames instead of my GPU doing the work. Even though the system recognizes I have a GPU installed and the OS can detect the model, yet it somehow doesn't pass full control to it.
Initially, I had thought the issue related to maybe the CPU/motherboard didn't fully support visualization. But since I can just remove the "hostpci0" option from the vm.conf, it works great no CPU issues.
Does anyone have ideas on what I could try to resolve this problem? Or hit a similar wall?
Last edited: