Hi.
I've set up my laptop as a proxmox server, and are trying to get GPU passthrough working.
The guest that I'm trying now is windows 10 pro, but I've had the same problem on linux (gpu won't work when I install drivers).
I've tried to figure out what the problem is for a couple of days now, and I guess it's because the drivers won't allow it when it discovers that it's in a hypervysor.
So if you guys have any ideas for things i could try, it would be highly appreciated!
Config:
/etc/default/grub:
/etc/modules:
/etc/pve/qemu-server/103.conf:
I've set up my laptop as a proxmox server, and are trying to get GPU passthrough working.
The guest that I'm trying now is windows 10 pro, but I've had the same problem on linux (gpu won't work when I install drivers).
I've tried to figure out what the problem is for a couple of days now, and I guess it's because the drivers won't allow it when it discovers that it's in a hypervysor.
So if you guys have any ideas for things i could try, it would be highly appreciated!
Config:
/etc/default/grub:
Bash:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Proxmox Virtual Environment"
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on pcie_acs_override=downstream,multifunction video=efifb:eek:ff"
GRUB_CMDLINE_LINUX=""
# Disable os-prober, it might add menu entries for each guest
GRUB_DISABLE_OS_PROBER=true
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
/etc/modules:
Bash:
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
/etc/pve/qemu-server/103.conf:
Bash:
bios: ovmf
boot: order=scsi0;ide2;net0
cores: 6
efidisk0: local-lvm:vm-103-disk-1,size=4M
hostpci0: 01:00,pcie=1,x-vga=1
ide0: local:iso/virtio-win-0.1.185.iso,media=cdrom,size=402812K
ide2: local:iso/Win10_20H2_v2_EnglishInternational_x64.iso,media=cdrom
machine: q35
memory: 20480
name: pci-test
net0: virtio=9e:11:20:7b:d7:96,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: local-lvm:vm-103-disk-0,size=128G
scsihw: virtio-scsi-pci
smbios1: uuid=c86f3f1d-dee3-45c7-8e22-d7f8775ddb5b
sockets: 1
vmgenid: 0b49f1ff-ea6f-4e3b-850f-cc9a5bc3d6f1
[PENDING]
ostype: win10