Hi Good People,
I need help from proxmox experts, questions are:
Error of the GPU passed through!
Here are the details of the configurations:
GRUB:
cat /etc/default/grub
# 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=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on textonly video=astdrmfb video=efifbff" (Also tried with quiet intel_iommu=on" only - still same problem.
GRUB_CMDLINE_LINUX=""
# 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
# Uncomment to 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"
====================================================================================
Machine #100 Win11
cat /etc/pve/qemu-server/100.conf
agent: 1
bios: ovmf
boot: order=virtio0;ide2;net0;ide0
cores: 4
cpu: host
efidisk0: local-lvm:vm-100-disk-0,efitype=4m,pre-enrolled-keys=1,size=4M
hostpci0: 0000:02:00,pcie=1
ide0: ISOs:iso/VirtionWin221.iso,media=cdrom,size=519030K
ide2: ISOs:iso/Win11_EnglishInternational_x64.iso,media=cdrom,size=5371302K
machine: pc-q35-7.0
memory: 8192
meta: creation-qemu=7.0.0,ctime=1668127167
name: Windows11
net0: virtio=AA:4F:37:14:92:2F,bridge=vmbr0,firewall=1
numa: 0
ostype: win11
scsihw: virtio-scsi-pci
smbios1: uuid=2233efe5-afd7-4df5-adae-67180024d75c
sockets: 1
tpmstate0: local-lvm:vm-100-disk-1,size=4M,version=v2.0
vga: none
virtio0: local-lvm:vm-100-disk-2,size=64G
vmgenid: 20cf2dde-37bf-47b0-b6a0-3fcdf8e3ca9b
NOTE: Tried with args and other extensions of cpu still same problem
====================================================================================
lspci -v | grep VGA
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti LE [Radeon HD 7870 XT] (prog-if 00 [VGA controller])
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti LE [Radeon HD 7870 XT] (prog-if 00 [VGA controller])
====================================================================================
cat /etc/modprobe.d/vfio.conf
options vfio-pci ids=1002:679e,1002:679e disable_vga=1
====================================================================================
cat /etc/modules
# /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
====================================================================================
cat /etc/modprobe.d/iommu_unsafe_interrupts.conf
options vfio_iommu_type1 allow_unsafe_interrupts=1
====================================================================================
cat /etc/modprobe.d/kvm.conf
options kvm ignore_msrs=1
====================================================================================
cat /etc/modprobe.d/blacklist.conf
blacklist radeon
blacklist nouveau
blacklist nvidia
====================================================================================
Proxmox Win11Machine
I need help from proxmox experts, questions are:
- How to do GPU Pass-through that works?
- How to use same GPU in multiple VMs in Proxmox (sharing same GPU with many VMs)?
- How to GPU Pass-through for both GPUs?
Error of the GPU passed through!
Here are the details of the configurations:
GRUB:
cat /etc/default/grub
# 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=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on textonly video=astdrmfb video=efifbff" (Also tried with quiet intel_iommu=on" only - still same problem.
GRUB_CMDLINE_LINUX=""
# 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
# Uncomment to 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"
====================================================================================
Machine #100 Win11
cat /etc/pve/qemu-server/100.conf
agent: 1
bios: ovmf
boot: order=virtio0;ide2;net0;ide0
cores: 4
cpu: host
efidisk0: local-lvm:vm-100-disk-0,efitype=4m,pre-enrolled-keys=1,size=4M
hostpci0: 0000:02:00,pcie=1
ide0: ISOs:iso/VirtionWin221.iso,media=cdrom,size=519030K
ide2: ISOs:iso/Win11_EnglishInternational_x64.iso,media=cdrom,size=5371302K
machine: pc-q35-7.0
memory: 8192
meta: creation-qemu=7.0.0,ctime=1668127167
name: Windows11
net0: virtio=AA:4F:37:14:92:2F,bridge=vmbr0,firewall=1
numa: 0
ostype: win11
scsihw: virtio-scsi-pci
smbios1: uuid=2233efe5-afd7-4df5-adae-67180024d75c
sockets: 1
tpmstate0: local-lvm:vm-100-disk-1,size=4M,version=v2.0
vga: none
virtio0: local-lvm:vm-100-disk-2,size=64G
vmgenid: 20cf2dde-37bf-47b0-b6a0-3fcdf8e3ca9b
NOTE: Tried with args and other extensions of cpu still same problem
====================================================================================
lspci -v | grep VGA
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti LE [Radeon HD 7870 XT] (prog-if 00 [VGA controller])
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti LE [Radeon HD 7870 XT] (prog-if 00 [VGA controller])
====================================================================================
cat /etc/modprobe.d/vfio.conf
options vfio-pci ids=1002:679e,1002:679e disable_vga=1
====================================================================================
cat /etc/modules
# /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
====================================================================================
cat /etc/modprobe.d/iommu_unsafe_interrupts.conf
options vfio_iommu_type1 allow_unsafe_interrupts=1
====================================================================================
cat /etc/modprobe.d/kvm.conf
options kvm ignore_msrs=1
====================================================================================
cat /etc/modprobe.d/blacklist.conf
blacklist radeon
blacklist nouveau
blacklist nvidia
====================================================================================
Proxmox Win11Machine