Meine Grafikkarte wird nicht durchgereicht

  • Error 43 bedeutet, dass die Grafikkarte nicht verfügbar ist. Wahrscheinlich in der /modprobe.d/vfio.conf nicht für VFIO reserviert.

    Wieviele Grafikkarten hast Du ? Ist die CPU interne aktiv ? Welche zeigt den Bootscreen und welche die Proxmox Konsole ?

    Brauchst zum testen und die Grundinstallation mindestens zwei. Wenn Du macOS und Windoof parallel betreiben möchtest, dann machen drei Sinn.


    Poste mal Deine Proxmox Konfigdateien:

    /etc/default/grub

    /etc/modules

    /etc/modprobe.d/vfio.conf


    und die Ausgaben von:

    dmesg | grep -e DMAR -e IOMMU

    dmesg | grep 'remapping'

    lspci -v

  • Hi. Ja klar, hier ein paar Infos.

    Hoffe man sieht was komisches. Das würde mir hoffentlich weiterhelfen. Danke, dass du/ihr euch die Zeit nehmt. Grüsse Dux


    Setup:

    AsRock Taichi Z690

    Intel i9 12900K

    2x32GB DDR5 RAM

    ASUS AMD Radeon RX 6800 XT 16GB


    Cmdline Config

    # 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`

    ###ORIGINAL###GRUB_CMDLINE_LINUX_DEFAULT="quiet"

    #GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt pcie_acs_override=downstream,multifunction video=vesafb:off video=efifb:off video=simplefb:off nofb nomodeset kvm.ignore_msrs=1 "

    GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt initcall_blacklist=sysfb_init"

    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

    "/etc/default/grub" 34 lines, 1468 bytes



    Modules Config

    # /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


    modprobe config

    options vfio-pci ids=1002:73bf,1002:ab28,1002:1479,1002:1478 disable_vga=1


    dmesg | grep -e DMAR -e IOMMU

    [ 0.000000] Warning: PCIe ACS overrides enabled; This may allow non-IOMMU protected peer-to-peer DMA

    [ 0.015412] ACPI: DMAR 0x0000000039682000 000088 (v02 INTEL EDK2 00000002 01000013)

    [ 0.015460] ACPI: Reserving DMAR table memory at [mem 0x39682000-0x39682087]

    [ 0.083689] DMAR: IOMMU enabled

    [ 0.188137] DMAR: Host address width 39

    [ 0.188138] DMAR: DRHD base: 0x000000fed90000 flags: 0x0

    [ 0.188142] DMAR: dmar0: reg_base_addr fed90000 ver 4:0 cap 1c0000c40660462 ecap 29a00f0505e

    [ 0.188144] DMAR: DRHD base: 0x000000fed91000 flags: 0x1

    [ 0.188146] DMAR: dmar1: reg_base_addr fed91000 ver 5:0 cap d2008c40660462 ecap f050da

    [ 0.188149] DMAR: RMRR base: 0x0000004c000000 end: 0x000000507fffff

    [ 0.188151] DMAR-IR: IOAPIC id 2 under DRHD base 0xfed91000 IOMMU 1

    [ 0.188152] DMAR-IR: HPET id 0 under DRHD base 0xfed91000

    [ 0.188153] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.

    [ 0.189063] DMAR-IR: Enabled IRQ remapping in x2apic mode

    [ 0.506860] pci 0000:00:02.0: DMAR: Skip IOMMU disabling for graphics

    [ 0.567403] DMAR: No ATSR found

    [ 0.567403] DMAR: No SATC found

    [ 0.567404] DMAR: IOMMU feature fl1gp_support inconsistent

    [ 0.567405] DMAR: IOMMU feature pgsel_inv inconsistent

    [ 0.567405] DMAR: IOMMU feature nwfs inconsistent

    [ 0.567406] DMAR: IOMMU feature dit inconsistent

    [ 0.567406] DMAR: IOMMU feature sc_support inconsistent

    [ 0.567406] DMAR: IOMMU feature dev_iotlb_support inconsistent

    [ 0.567407] DMAR: dmar0: Using Queued invalidation

    [ 0.567409] DMAR: dmar1: Using Queued invalidation

    [ 0.568351] DMAR: Intel(R) Virtualization Technology for Directed I/O

    [ 5.547688] AMD-Vi: AMD IOMMUv2 functionality not available on this system - This is not a bug.


    dmesg | grep 'remapping'

    [ 0.188153] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.

    [ 0.189063] DMAR-IR: Enabled IRQ remapping in x2apic mode


  • Das Board/BIOS scheint IOMMU nur sehr stiefmütterlich zu unterstützen, darin sind die Probleme wahrscheinlich begründet.

    Ist halt ein Produkt für Gamer.

    Schick mal Bilder vom BIOS mit den ACS und IOMMU Einstellungen.


    Hier sind noch ein paar Hinweise drin, die Du probieren kannst:

    https://pve.proxmox.com/wiki/Pci_passthrough

    ...

    1) moving the card to another pci slot

    2) adding "pcie_acs_override=downstream" to kernel boot commandline (grub or systemd-boot) options, which can help on some setup with bad ACS implementation.

    ...

  • dux13

    Hi Dux. Als ich dein Beitrag hier gefunden habe, konnte ich deine Verzweiflung komplett nachvollziehen! Habe ebenfalls soooo viele Anleitungen, viele Videos (auch auf Portugiesisch, obwohl ich es nicht verstehe) angeschaut und letztlich bekomme ich die GPU einfach nicht bei MacOS durchgereicht.

    Daher wollte ich fragen, ob du es vlt. in der Zwischenzeit geschafft hast?


    Mein System:

    CPU: Intel 8700K

    Board: Asus 370-A Prime

    GPU: AMD 6600 (non XT)

    RAM: 32 GB


    So wie ich deinen letzten Stand verstanden habe, bist du hier angekommen: "Ich sehe das Boot menü und kann die Platte zum Start auswählen. Das Apple Boot Logo kommt und weiter passiert nichts."

    An der gleichen Stelle bin ich ebenfalls. Die loading/progress Bar füllt sich nicht und es passiert weiter nichts.

    Bevor ich die GPU versucht habe durchzureichen, habe ich noch AnyDesk in MacOs (ich verwende BigSur) installiert, um auch remote von meinem Windows Laptop draufzukommen. Ich habe festgestellt, dass zwar das Bild beim Bootlogo stehen bleibt, aber MacOS dennoch weiter startet. Denn ich kann per AnyDesk von meinem Windows Laptop auf die MacOS VM zugreifen und es auch normal bedienen. Unter MacOS wird bei mir aber keine GPU angezeigt und auch kein "fake" 7MB Grafikkarte. Das Feld ist einfach leer. Vielleicht bist du an dieser Stelle noch oder hoffentlich bereits drüber hinaus.

    Würde mich sehr freuen, wenn du ein Feedback geben kannst wo du derzeit hängst.

    Gerne können wir unsere Recherchen auch zusammen weiter fortführen, falls du weiterhin Probleme hast.

    Solltest du eine Lösung gefunden haben, wäre ich dir dankbar diese hier zu teilen :-)


    Ach und noch was: Ich konnte erfolgreich die GPU bei PopOS VM durchreichen. Funktioniert alles wunderbar.


    Ciao