Hello,
I’m trying to setup a fresh install of Proxmox 5.2 on Gemini Lake and I would like to configure a VM with IGD (graphics) passthrough for Ubuntu 18
Computer based on ASRock J4105-ITX asrock.com/mb/Intel/J4105-ITX/
A standard install is working properly and now I would like to use HDMI output for a VM with Ubuntu 18.
I have read all these informations :
pve.proxmox.com/wiki/Pci_passthrough
forum.proxmox.com/threads/guide-intel-intergrated-graphic-passthrough.30451/
redhat.com/archives/vfio-users/2017-April/msg00032.html
forum.proxmox.com/threads/proxmox-5-0-kaby-lake-and-igd-graphics-passthrough-for-windows-10.36165/
My setup is like this:
- Fresh install Proxmox 5.2
- Grub
- vim /etc/default/grub
- change GRUB_CMDLINE_LINUX_DEFAULT line to GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on video=efifb=off,vesafb=off"
- save and quit
- update-grub
- Blacklist module
- vim /etc/modprobe.d/pve-blacklist.conf
- add these lines
blacklist snd_hda_intel
blacklist snd_hda_codec_hdmi
blacklist i915
- save and quit
- VFIO
- vim /etc/modules
- add these lines
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
- save and quit
- Vga adapter
- lspci -n -s 00:02
- lspci command display 00:02.0 0300: 8086:3185 (rev 03)
- vim /etc/modprobe.d/vfio.conf
- add this line
options vfio-pci ids=8086:3185
- save and quit
- Initramfs
- update-initramfs -u
- Create a VM (id = 100) with a Ubuntu 18 iso as primary boot
- Change the setup for the VM
- vim /etc/pve/qemu-server/100.conf
- add these lines
machine: pc-i440fx-2.2
args: -device vfio-pci,host=00:02.0,addr=0x02
vga: none
- save and quit
- Reboot the server
- Start VM 100
- Video output is initialised (clear screen) just after the VM 100 is started but the screen remains black. Start task log is:
no efidisk configured! Using temporary efivars disk.
kvm: -device vfio-pci,host=00:02.0,addr=0x02,x-igd-gms=1,x-igd-opregion=on: IGD device 0000:00:02.0 has no ROM, legacy mode disabled
TASK OK
I try to install Ubuntu before change config, but it doesnt help.
What shoud i do now?
I’m trying to setup a fresh install of Proxmox 5.2 on Gemini Lake and I would like to configure a VM with IGD (graphics) passthrough for Ubuntu 18
Computer based on ASRock J4105-ITX asrock.com/mb/Intel/J4105-ITX/
A standard install is working properly and now I would like to use HDMI output for a VM with Ubuntu 18.
I have read all these informations :
pve.proxmox.com/wiki/Pci_passthrough
forum.proxmox.com/threads/guide-intel-intergrated-graphic-passthrough.30451/
redhat.com/archives/vfio-users/2017-April/msg00032.html
forum.proxmox.com/threads/proxmox-5-0-kaby-lake-and-igd-graphics-passthrough-for-windows-10.36165/
My setup is like this:
- Fresh install Proxmox 5.2
- Grub
- vim /etc/default/grub
- change GRUB_CMDLINE_LINUX_DEFAULT line to GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on video=efifb=off,vesafb=off"
- save and quit
- update-grub
- Blacklist module
- vim /etc/modprobe.d/pve-blacklist.conf
- add these lines
blacklist snd_hda_intel
blacklist snd_hda_codec_hdmi
blacklist i915
- save and quit
- VFIO
- vim /etc/modules
- add these lines
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
- save and quit
- Vga adapter
- lspci -n -s 00:02
- lspci command display 00:02.0 0300: 8086:3185 (rev 03)
- vim /etc/modprobe.d/vfio.conf
- add this line
options vfio-pci ids=8086:3185
- save and quit
- Initramfs
- update-initramfs -u
- Create a VM (id = 100) with a Ubuntu 18 iso as primary boot
- Change the setup for the VM
- vim /etc/pve/qemu-server/100.conf
- add these lines
machine: pc-i440fx-2.2
args: -device vfio-pci,host=00:02.0,addr=0x02
vga: none
- save and quit
- Reboot the server
- Start VM 100
- Video output is initialised (clear screen) just after the VM 100 is started but the screen remains black. Start task log is:
no efidisk configured! Using temporary efivars disk.
kvm: -device vfio-pci,host=00:02.0,addr=0x02,x-igd-gms=1,x-igd-opregion=on: IGD device 0000:00:02.0 has no ROM, legacy mode disabled
TASK OK
I try to install Ubuntu before change config, but it doesnt help.
What shoud i do now?