[SOLVED] PVE7: Failed to mmap xxxx:xx:xx.x BAR 3. Performance may be slow

bishop f4

New Member
Apr 13, 2022
11
0
1
SOLVED:
Changed GRUB to:
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt nofb nomodeset video=vesafb:off video=efifb:off video=simplefb:off"


Original Post here:

Going through the motions of main GPU passthrough, had it working before but after going to PVE7 from 6, I can't seem to get it back and this is a fresh install.
How do I solve:
Code:
kvm: -device vfio-pci,host=0000:03:00.0,id=hostpci0.0,bus=ich9-pcie-port-1,addr=0x0.0,multifunction=on,romfile=/usr/share/kvm/evgagtx1070ti.rom: Failed to mmap 0000:03:00.0 BAR 3. Performance may be slow
I tried the ROM file passthrough as I didn't have to before but it doesn't work and whenever I launch my Win10 VM and go to the console it is just a blank screen.
As last time, I followed these guides:
https://www.reddit.com/r/homelab/comments/b5xpua/the_ultimate_beginners_guide_to_gpu_passthrough/
https://www.youtube.com/watch?v=fgx3NMk6F54&t=438s&ab_channel=TechnoTim

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

dmesg | grep -e DMAR -e IOMMU
Code:
[    0.015082] ACPI: DMAR 0x000000007C040A40 000138 (v01 A M I  OEMDMAR  00000001 INTL 00000001)
[    0.015105] ACPI: Reserving DMAR table memory at [mem 0x7c040a40-0x7c040b77]
[    0.284773] DMAR: IOMMU enabled
[    0.650920] DMAR: Host address width 46
[    0.650922] DMAR: DRHD base: 0x000000fbffe000 flags: 0x0
[    0.650929] DMAR: dmar0: reg_base_addr fbffe000 ver 1:0 cap d2078c106f0466 ecap f020de
[    0.650932] DMAR: DRHD base: 0x000000dfffc000 flags: 0x1
[    0.650936] DMAR: dmar1: reg_base_addr dfffc000 ver 1:0 cap d2078c106f0466 ecap f020de
[    0.650939] DMAR: RMRR base: 0x0000007c663000 end: 0x0000007c671fff
[    0.650941] DMAR: ATSR flags: 0x0
[    0.650943] DMAR: RHSA base: 0x000000fbffe000 proximity domain: 0x1
[    0.650944] DMAR: RHSA base: 0x000000dfffc000 proximity domain: 0x0
[    0.650948] DMAR-IR: IOAPIC id 3 under DRHD base  0xfbffe000 IOMMU 0
[    0.650950] DMAR-IR: IOAPIC id 0 under DRHD base  0xdfffc000 IOMMU 1
[    0.650951] DMAR-IR: IOAPIC id 2 under DRHD base  0xdfffc000 IOMMU 1
[    0.650953] DMAR-IR: HPET id 0 under DRHD base 0xdfffc000
[    0.650955] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[    0.651683] DMAR-IR: Enabled IRQ remapping in x2apic mode
[    1.223577] DMAR: No SATC found
[    1.223582] DMAR: dmar0: Using Queued invalidation
[    1.223599] DMAR: dmar1: Using Queued invalidation
[    1.227859] DMAR: Intel(R) Virtualization Technology for Directed I/O

uname -r
Code:
5.13.19-6-pve

cat /proc/cmdline
Code:
BOOT_IMAGE=/boot/vmlinuz-5.13.19-6-pve root=/dev/mapper/pve-root ro quiet intel_iommu=on iommu=pt nofb nomodeset video=vesafb:off,efifb:off

cat /etc/modules returns:
Code:
# /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
 
Last edited:
I have not looked into you actual problem, but video=vesafb:off,efifb:off is no longer valid. You need to write it as video=vesafb:off video=efifb:off (and with pve-kernel 5.15 you might also need video=simplefb:off).
 
I have not looked into you actual problem, but video=vesafb:off,efifb:off is no longer valid. You need to write it as video=vesafb:off video=efifb:off (and with pve-kernel 5.15 you might also need video=simplefb:off).
Oh. apologies, looks like I copy pasted the wrong GRUB line in, will adjust that and see if that works.

EDIT: Works but now dealing with Windows 10 errors in VM
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!