I have been following these tutorials.
forum.proxmox(dot)com/threads/gpu-passthrough-tutorial-reference.34303/
forum.level1techs(dot)com/t/single-gpu-passthrough-with-proxmox/113282
pve.proxmox(dot)com/wiki/Pci_passthrough#GPU_PASSTHROUGH
To attempt to set up GPU passthrough on a VM.
Here is the .conf for that machine.
lspci -v says that:
Package Versions:
Yes, I have confirmed that UEFI is enabled as /sys/firmware/efi exists.
Machine Specs:
Intel Core i7 - 3770 (I have confirmed that this has VT-d on Intel's website)
GIGABYTE GeForce GTX 670 DirectX 11 GV-N670OC-2GD (I have confirmed that it has a BIOS at techpowerup(dot)com and wget and moved to /usr/share/kvm/Y.rom)
ASUS P8Z77-V LK
Things I have tried:
Moving the Graphics card from the 16x slot to the 8x slot (hence 02:00 instead of 01:00)
Changing the primary output to iGPU instead of dedicated in the bios
Not using a romfile
Installing then adding the hostpci0
I will start the virtual machine, and nothing will happen at all. I can no longer access console(which is to be expected) memory will jump up to 7Gb used then crash down and nothing happens until I stop it.
When I remove hostpci0 virtualization works fine.
Any assistance would be greatly appreciated I have been banging my head against a wall for three days.
forum.proxmox(dot)com/threads/gpu-passthrough-tutorial-reference.34303/
forum.level1techs(dot)com/t/single-gpu-passthrough-with-proxmox/113282
pve.proxmox(dot)com/wiki/Pci_passthrough#GPU_PASSTHROUGH
To attempt to set up GPU passthrough on a VM.
Here is the .conf for that machine.
Code:
bootdisk: sata0
cores: 4
cpu: IvyBridge
ide2: local:iso/Windows10.iso,media=cdrom
memory: 8192
name: windows
net0: e1000=FE:BD:DC:2E:D3:71,bridge=vmbr0
numa: 0
ostype: win10
sata0: local-lvm:vm-100-disk-1,size=120G
scsihw: virtio-scsi-pci
smbios1: uuid=b897e6d0-7c05-49ea-bb15-2b538ded6667
sockets: 1
bios: ovmf
machine: q35
hostpci0: 02:00,pcie=1,x-vga=on,romfile=Y.rom
Code:
02:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 670] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Gigabyte Technology Co., Ltd GK104 [GeForce GTX 670]
Flags: fast devsel, IRQ 17
Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
Memory at e0000000 (64-bit, prefetchable) [size=128M]
Memory at e8000000 (64-bit, prefetchable) [size=32M]
I/O ports at e000
Expansion ROM at f7000000 [disabled] [size=512K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [b4] Vendor Specific Information: Len=14 <?>
Capabilities: [100] Virtual Channel
Capabilities: [128] Power Budgeting <?>
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Capabilities: [900] #19
Kernel driver in use: vfio-pci
Kernel modules: nvidiafb, nouveau
02:00.1 Audio device: NVIDIA Corporation GK104 HDMI Audio Controller (rev a1)
Subsystem: Gigabyte Technology Co., Ltd GK104 HDMI Audio Controller
Flags: fast devsel, IRQ 18
Memory at f7080000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel
Package Versions:
Code:
Package versions
proxmox-ve: 5.0-15 (running kernel: 4.10.15-1-pve)
pve-manager: 5.0-23 (running version: 5.0-23/af4267bf)
pve-kernel-4.10.15-1-pve: 4.10.15-15
libpve-http-server-perl: 2.0-5
lvm2: 2.02.168-pve2
corosync: 2.4.2-pve3
libqb0: 1.0.1-1
pve-cluster: 5.0-10
qemu-server: 5.0-12
pve-firmware: 2.0-2
libpve-common-perl: 5.0-16
libpve-guest-common-perl: 2.0-11
libpve-access-control: 5.0-5
libpve-storage-perl: 5.0-12
pve-libspice-server1: 0.12.8-3
vncterm: 1.5-2
pve-docs: 5.0-6
pve-qemu-kvm: 2.9.0-2
pve-container: 2.0-14
pve-firewall: 3.0-1
pve-ha-manager: 2.0-2
ksm-control-daemon: 1.2-2
glusterfs-client: 3.8.8-1
lxc-pve: 2.0.8-3
lxcfs: 2.0.7-pve2
criu: 2.11.1-1~bpo90
novnc-pve: 0.6-4
smartmontools: 6.5+svn4324-1
zfsutils-linux: 0.6.5.9-pve16~bpo90
Machine Specs:
Intel Core i7 - 3770 (I have confirmed that this has VT-d on Intel's website)
GIGABYTE GeForce GTX 670 DirectX 11 GV-N670OC-2GD (I have confirmed that it has a BIOS at techpowerup(dot)com and wget and moved to /usr/share/kvm/Y.rom)
ASUS P8Z77-V LK
Things I have tried:
Moving the Graphics card from the 16x slot to the 8x slot (hence 02:00 instead of 01:00)
Changing the primary output to iGPU instead of dedicated in the bios
Not using a romfile
Installing then adding the hostpci0
I will start the virtual machine, and nothing will happen at all. I can no longer access console(which is to be expected) memory will jump up to 7Gb used then crash down and nothing happens until I stop it.
When I remove hostpci0 virtualization works fine.
Any assistance would be greatly appreciated I have been banging my head against a wall for three days.
Last edited: