Hi,
I am trying to use a Nvidia Gtx 680 in a Windows 10 VM. I've been looking the Wiki multiple times, but i am stuck using the gpu Passthrough
see below the hypervisor configuration:
- Proxmox Virtual Environment 6.2-4
- Gpu gigabyte nvidia geforce gtx 680 4gb updated latest bios UEFI boot compatible
- MB Asus P9X79
- CPU Intel Core i7-3930K 3.2GHz Socket LGA
The MB doesn't have a standard VGA hence the nvidia GPU is the only graphic card in my system
This is my VM config:
bios: ovmf
boot: c
bootdisk: scsi0
cores: 4
cpu: host,hidden=1,flags=+pcid
args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=NV43FIX,kvm=off
efidisk0: zvmpool2:vm-103-disk-1,size=1M
hostpci0: 01:00,pcie=1,x-vga=1,romfile=Gigabyte.GTX680.4096.130110.rom
ide2: local:iso/virtio-win-0.1.189.iso,media=cdrom,size=488766K
machine: q35
memory: 8196
name: win10alxpass
net0: virtio=F2:66:04:6DE:81,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
scsi0: zvmpool2:vm-103-disk-0,size=80G
scsihw: virtio-scsi-pci
smbios1: uuid=f1b90ae1-4f17-436f-a902-1a1788f1bc5b
sockets: 1
vga: none
vmgenid: 2028b15b-27bd-4112-8969-b023eae9c6dd
I've done all the steps listed in the forumus and the GPU passthrough beginner guide
when starting the VGA with qm start 104 I receive the following BAR3 error:
kvm: -device vfio-pci,host=0000:01:00.0,id=hostpci0,bus=ich9-pcie-port-1,addr=0x0,romfile=/usr/share/kvm/Gigabyte.GTX680.4096.130110.rom: Failed to mmap 0000:01:00.0 BAR 3. Performance may be slow
after this error the whole system hangs and I need to power off in order to restart
When starting the VM It seems to me that for one second the fan stop running and then the hypervisor hangs.
while clearing the beginner guide steps I see that with lspci -v command I don't have any "Kernel driver in use: vfio-pci" row for the GPU
lspci -v
01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 680] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Gigabyte Technology Co., Ltd GK104 [GeForce GTX 680]
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
Memory at f0000000 (64-bit, prefetchable) [size=128M]
Memory at f8000000 (64-bit, prefetchable) [size=32M]
I/O ports at e000
Expansion ROM at 000c0000 [disabled] [size=128K]
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 modules: nvidiafb, nouveau
01:00.1 Audio device: NVIDIA Corporation GK104 HDMI Audio Controller (rev a1)
Subsystem: Gigabyte Technology Co., Ltd GK104 HDMI Audio Controller
Flags: bus master, fast devsel, latency 0, IRQ 63
Memory at fb080000 (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: snd_hda_intel
Kernel modules: snd_hda_intel
Could this be linked to the single graphic card on my system?
of course I've enabled vfio to the gpu + audio
nano /etc/modprobe.d/vfio.conf
options vfio-pci ids=10de:1180,10de:0e0a disable_vga=1
another strange thing is that using the GPU-Z command I can see that the GPU is UEFI compatible
Iìve also contacted Gigabyte and they've confirmed that the loaded bios is uefi compatible
But if I run rom-parser script I have:
root@prmx01:/rom-parser# ./rom-parser /tmp/image.rom
Valid ROM signature found @0h, PCIR offset 190h
PCIR: type 0 (x86 PC-AT), vendor: 10de, device: 1180, class: 030000
PCIR: revision 0, vendor revision: 1
Error, ran off the end
I've tried several other steps googling + YT but always bringing to the same BAR3 error
any idea ?
many thanks in advance for your help
Alex
I am trying to use a Nvidia Gtx 680 in a Windows 10 VM. I've been looking the Wiki multiple times, but i am stuck using the gpu Passthrough
see below the hypervisor configuration:
- Proxmox Virtual Environment 6.2-4
- Gpu gigabyte nvidia geforce gtx 680 4gb updated latest bios UEFI boot compatible
- MB Asus P9X79
- CPU Intel Core i7-3930K 3.2GHz Socket LGA
The MB doesn't have a standard VGA hence the nvidia GPU is the only graphic card in my system
This is my VM config:
bios: ovmf
boot: c
bootdisk: scsi0
cores: 4
cpu: host,hidden=1,flags=+pcid
args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=NV43FIX,kvm=off
efidisk0: zvmpool2:vm-103-disk-1,size=1M
hostpci0: 01:00,pcie=1,x-vga=1,romfile=Gigabyte.GTX680.4096.130110.rom
ide2: local:iso/virtio-win-0.1.189.iso,media=cdrom,size=488766K
machine: q35
memory: 8196
name: win10alxpass
net0: virtio=F2:66:04:6DE:81,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
scsi0: zvmpool2:vm-103-disk-0,size=80G
scsihw: virtio-scsi-pci
smbios1: uuid=f1b90ae1-4f17-436f-a902-1a1788f1bc5b
sockets: 1
vga: none
vmgenid: 2028b15b-27bd-4112-8969-b023eae9c6dd
I've done all the steps listed in the forumus and the GPU passthrough beginner guide
when starting the VGA with qm start 104 I receive the following BAR3 error:
kvm: -device vfio-pci,host=0000:01:00.0,id=hostpci0,bus=ich9-pcie-port-1,addr=0x0,romfile=/usr/share/kvm/Gigabyte.GTX680.4096.130110.rom: Failed to mmap 0000:01:00.0 BAR 3. Performance may be slow
after this error the whole system hangs and I need to power off in order to restart
When starting the VM It seems to me that for one second the fan stop running and then the hypervisor hangs.
while clearing the beginner guide steps I see that with lspci -v command I don't have any "Kernel driver in use: vfio-pci" row for the GPU
lspci -v
01:00.0 VGA compatible controller: NVIDIA Corporation GK104 [GeForce GTX 680] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Gigabyte Technology Co., Ltd GK104 [GeForce GTX 680]
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
Memory at f0000000 (64-bit, prefetchable) [size=128M]
Memory at f8000000 (64-bit, prefetchable) [size=32M]
I/O ports at e000
Expansion ROM at 000c0000 [disabled] [size=128K]
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 modules: nvidiafb, nouveau
01:00.1 Audio device: NVIDIA Corporation GK104 HDMI Audio Controller (rev a1)
Subsystem: Gigabyte Technology Co., Ltd GK104 HDMI Audio Controller
Flags: bus master, fast devsel, latency 0, IRQ 63
Memory at fb080000 (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: snd_hda_intel
Kernel modules: snd_hda_intel
Could this be linked to the single graphic card on my system?
of course I've enabled vfio to the gpu + audio
nano /etc/modprobe.d/vfio.conf
options vfio-pci ids=10de:1180,10de:0e0a disable_vga=1
another strange thing is that using the GPU-Z command I can see that the GPU is UEFI compatible
Iìve also contacted Gigabyte and they've confirmed that the loaded bios is uefi compatible
But if I run rom-parser script I have:
root@prmx01:/rom-parser# ./rom-parser /tmp/image.rom
Valid ROM signature found @0h, PCIR offset 190h
PCIR: type 0 (x86 PC-AT), vendor: 10de, device: 1180, class: 030000
PCIR: revision 0, vendor revision: 1
Error, ran off the end
I've tried several other steps googling + YT but always bringing to the same BAR3 error
any idea ?
many thanks in advance for your help
Alex