Using the suggestions from this post, this is my working configuration:
MB: Asus ROG Strix X570-F Gaming
BIOS F4403 (AGESA V2 PI 1.2.0.7): enable IOMMU, SVM; disable CSM
CPU: Ryzen 5950x
GPU: GTX 1060
Proxmox 7.2-7
5.15.39-1-pve
/etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet initcall_blacklist=sysfb_init"
/etc/modprobe.d/blacklist.conf
blacklist radeon
blacklist nouveau
blacklist nvidia
/etc/modprobe.d/vfio.conf
options vfio-pci ids=10de:1c03,10de:10f1 disable_vga=1
/etc/modprobe.d/blacklist.conf
blacklist radeon
blacklist nouveau
blacklist nvidia
/etc/modprobe.d/kvm.conf
options kvm ignore_msrs=1 report_ignored_msrs=0
/etc/modprobe.d/snd-hda-intel.conf
options snd-hda-intel enable_msi=1
I was able to passthrough the GTX 1060, onboard audio and USB controllers (include ARGB) to a W10 VM.
VM: ovmf, q35, virtio drivers, (remove cdrom as it sometimes makes audio crack)
Thanks.
HDA is an Intel standard and does not require Intel hardware. The audio device on a Ryzen platform usually uses the snd_hda_intel driver as you can check withI'm a bit puzzled by the last line, the snd-hda-intel.conf. Given you're using an amd platform, how is that applicable? thanks!
lspci -k
.I signed up to the forum just to thank you and confirm that this works for me too.What a nice post! I've been looking for a solution to this BAR 3 issues all night. Big Thanks!
By the way, I also found better solution on a reddit post. It is adding "initcall_blacklist=sysfb_init
" to kernel parameter. No need "video=efifb:off
" or "video=simplefb:off
" in kernel parameter. I also tested, it does solve the problem!
Reference:
https://www.reddit.com/r/VFIO/comme...let_simplefb_stay_away_from_the_gpu/?sort=old
https://www.reddit.com/r/Proxmox/comments/vc9hw3/latest_proxmox_7_the_kernel_breaks_my_gpu/?sort=old
What a nice post! I've been looking for a solution to this BAR 3 issues all night. Big Thanks!
By the way, I also found better solution on a reddit post. It is adding "initcall_blacklist=sysfb_init
" to kernel parameter. No need "video=efifb:off
" or "video=simplefb:off
" in kernel parameter. I also tested, it does solve the problem!
Reference:
https://www.reddit.com/r/VFIO/comme...let_simplefb_stay_away_from_the_gpu/?sort=old
https://www.reddit.com/r/Proxmox/comments/vc9hw3/latest_proxmox_7_the_kernel_breaks_my_gpu/?sort=old
Windows has stopped this device because it has reported problems. (Code 43)
pveversion -v
proxmox-ve: 7.2-1 (running kernel: 5.15.30-2-pve)
pve-manager: 7.2-3 (running version: 7.2-3/c743d6c1)
pve-kernel-helper: 7.2-2
pve-kernel-5.15: 7.2-1
pve-kernel-5.15.30-2-pve: 5.15.30-3
bios: ovmf
boot: order=scsi0;net0;ide0
cores: 6
cpu: host
efidisk0: free-nas-test:vm-103-disk-0,efitype=4m,pre-enrolled-keys=1,size=4M
hostpci0: 0000:01:00,pcie=1
ide0: local:iso/virtio-win.iso,media=cdrom,size=519590K
machine: pc-q35-6.2
memory: 28128
meta: creation-qemu=6.2.0,ctime=1668891555
name: win11-gpu
net0: virtio=22:B4:49:C3:82:09,bridge=vmbr0,firewall=1
numa: 0
ostype: win11
scsi0: free-nas-test:vm-103-disk-1,size=128G
scsihw: virtio-scsi-single
smbios1: uuid=f1ea3bf5-f070-41b7-a780-1948e05bfd5c
sockets: 1
tpmstate0: free-nas-test:vm-103-disk-2,size=4M,version=v2.0
vga: none
vmgenid: c10b612a-cfba-4d4c-87f1-3b54c7f5bcab
# 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 iommu=pt pcie_acs_override=downstream,multifunction video=vesafb:off,efifb:off"
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"
options vfio-pci ids=10de:1b81,10de:10f0 disable_vga=1
options vfio-pci ids=10de:1b81,10de:10f0 disable_vga=1
options vfio-pci ids=10de:1b81,10de:10f0 disable_vga=1
I. Just want to second this comment .What a nice post! I've been looking for a solution to this BAR 3 issues all night. Big Thanks!
By the way, I also found better solution on a reddit post. It is adding "initcall_blacklist=sysfb_init
" to kernel parameter. No need "video=efifb:off
" or "video=simplefb:off
" in kernel parameter. I also tested, it does solve the problem!
Reference:
https://www.reddit.com/r/VFIO/comme...let_simplefb_stay_away_from_the_gpu/?sort=old
https://www.reddit.com/r/Proxmox/comments/vc9hw3/latest_proxmox_7_the_kernel_breaks_my_gpu/?sort=old
Thanks for your kind notes! I encountered a similar issue in Proxmox 7.2.5. Replacingvideo=efifb:off
withinitcall_blacklist=sysfb_init
in/etc/default/grub
indeed resolves the issue.
initcall_blacklist=sysfb_init
in /etc/default/grub
Bruh, error 43 has been plaguing me for HOURS. This literally was it. Thanks
@grootlab Pls could you let me know how you get on with hdmi audio in guest OS ? Thxinitcall_blacklist=sysfb_init
in/etc/default/grub
This worked for me too.
Hi,
Sorry for hijacking this thread.
I've an Intel Xeon E3 1220 v3 on a SuperMicro X10SLL-F with an old GT720 and I'm trying to set up the GPU Passthrough without success.
uname -r:
5.15.53-1-pve
pveversion:
pve-manager/7.3-3/c3928077 (running kernel: 5.15.53-1-pve)
Grub comand:
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on vfio_pci.ids=10de:1288,10de:0e0f vfio_iommu_type1.allow_unsafe_interrupts=1 vfio_pci.disable_vga=1 nofb nomodeset initcall_blacklist=sysfb_init video=vesafbff video=efifb
ff"
modprobe.d/vfio.conf:
options vfio-pci ids=10de:1288,10de:0e0f disable_vga=1
modprobe.d/kvm.conf:
options kvm ignore_msrs=1 report_ignored_msrs=0
modprobe.d/iommu_unsafe_interrupts.conf:
options vfio_iommu_type1 allow_unsafe_interrupts=1
modprobe.d/blacklist.conf
blacklist radeon
blacklist nouveau
blacklist nvidia
blacklist snd_hda_intel
lspci -n -s 01:00:
01:00.0 0300: 10de:1288 (rev a1)
01:00.1 0403: 10de:0e0f (rev a1)
lspci -nnk:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK208B [GeForce GT 720] [10de:1288] (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] GK208B [GeForce GT 720] [1462:8c90]
Kernel driver in use: vfio-pci
Kernel modules: nvidiafb, nouveau
01:00.1 Audio device [0403]: NVIDIA Corporation GK208 HDMI/DP Audio Controller [10de:0e0f] (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] GK208 HDMI/DP Audio Controller [1462:8c90]
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel
GPU Rom:
Exported with GPU-Z and copied to /usr/share/kvm/
VM Conf File:
hostpci0: 01:00,pcie=1,romfile=GK208.rom,x-vga=1
This setup can't run gpu passthrough or i'm have messed settings ?
Thanks!
Looks like you got everything covered
any errors on dmesg?
what output do you get to the display when you boot up? Does this change when you boot up the vm?
also check cat /proc/iomem
This works for me NVidia 1060 on Intel PVE 7.3.3What a nice post! I've been looking for a solution to this BAR 3 issues all night. Big Thanks!
By the way, I also found better solution on a reddit post. It is adding "initcall_blacklist=sysfb_init
" to kernel parameter. No need "video=efifb:off
" or "video=simplefb:off
" in kernel parameter. I also tested, it does solve the problem!
Reference:
https://www.reddit.com/r/VFIO/comme...let_simplefb_stay_away_from_the_gpu/?sort=old
https://www.reddit.com/r/Proxmox/comments/vc9hw3/latest_proxmox_7_the_kernel_breaks_my_gpu/?sort=old
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt pcie_acs_override=downstream pcie_acs_overrid=multifunction nofb nomodeset video=vesafb:off initcall_blacklist=sysfb_init"
This worked for me, Dell T5810 (Nvidia Quadro M2000)What a nice post! I've been looking for a solution to this BAR 3 issues all night. Big Thanks!
By the way, I also found better solution on a reddit post. It is adding "initcall_blacklist=sysfb_init
" to kernel parameter. No need "video=efifb:off
" or "video=simplefb:off
" in kernel parameter. I also tested, it does solve the problem!
Reference:
https://www.reddit.com/r/VFIO/comme...let_simplefb_stay_away_from_the_gpu/?sort=old
https://www.reddit.com/r/Proxmox/comments/vc9hw3/latest_proxmox_7_the_kernel_breaks_my_gpu/?sort=old
We use essential cookies to make this site work, and optional cookies to enhance your experience.