Proxmox GPU Passthrough

qwawer
Messages : 70
Inscription : lun. 12 nov. 2018 14:26

Proxmox GPU Passthrough

Message par qwawer »

Salut à tous,
En cette période de confinement, je tente de nouvelle choses, aujourd'hui j'ai donc ajouté un GPU sur mon serveur dont la config est la suivante:

- x8dtl-3f
- 1x xeon L5640
- 32Gb RAM
- GeForce GT640

Le soucis est le même sous WS2019 et W10 Pro

Pour ça j'ai suivi ce tuto: https://www.reddit.com/r/homelab/commen ... ssthrough/
Le problème est que la carte me renvoie un code erreur 43 une fois la config vm faite:
Image
J'ai bien installé les drivers NVidia, j'en ai testé plusieurs, 395.X, 425.X, 445.X, la résultante est la même.

Voici ma config Proxmox:
/etc/default/grub:

Code : Tout sélectionner

GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt pcie_acs_override=downstream,multifunction nofb nomodeset video=vesafb:off,efifb:off"
/etc/modules:

Code : Tout sélectionner

vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
/etc/modprobe.d/iommu_unsafe_interrupts.conf:

Code : Tout sélectionner

options vfio_iommu_type1 allow_unsafe_interrupts=1
/etc/modprobe.d/kvm.conf:

Code : Tout sélectionner

options kvm ignore_msrs=1
/etc/modprobe.d/blacklist.conf:

Code : Tout sélectionner

blacklist radeon
blacklist nouveau
blacklist nvidia
/etc/modprobe.d/vfio.conf (Il s'agit bien ici de mes valeurs):

Code : Tout sélectionner

options vfio-pci ids=10de:0fc1,10de:0e1b disable_vga=1
Config VM:

Code : Tout sélectionner

args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=NV43FIX,kvm=off'
bios: ovmf
boot: dcn
bootdisk: ide0
cores: 6
cpu: host,hidden=1,flags=+pcid,hv-vendor-id=proxmox
efidisk0: datassd01:vm-104-disk-1,size=128K
hostpci0: 03:00,pcie=1,x-vga=1
ide0: datassd01:vm-104-disk-0,size=128G
ide2: local:iso/SW_DVD9_Win_Server_STD_CORE_2019_1809.1_64Bit_French_DC_STD_MLF_X22-02971.ISO,media=cdrom,size=4997002K
machine: q35
memory: 4096
name: Test
net0: e1000=66:6B:D7:67:5C:E2,bridge=vmbr10,firewall=1
numa: 0
ostype: win10
scsihw: virtio-scsi-pci
smbios1: uuid=e7d882e8-87a3-48f6-8b98-1f80f30a7769
sockets: 1
vmgenid: 282bb34c-4a7c-498c-81d3-1060122de1e9
Voilà tout, si quelqu'un à déjà expérimenté ça et a de l'expérience, je suis preneur :)

Merci par avance,
Quentin.
gizmo78
Messages : 20037
Inscription : ven. 12 janv. 2018 17:44

Re: Proxmox GPU Passthrough

Message par gizmo78 »

Je sais pas si ça peut t'aider mais t'as ce topic sur hfr :
https://forum.hardware.fr/forum2.php?co ... w=0&nojs=0
qwawer
Messages : 70
Inscription : lun. 12 nov. 2018 14:26

Re: Proxmox GPU Passthrough

Message par qwawer »

Merci, je vais y jeter un œil :)
Répondre