PVE 7.1 GPU Passthrough keine Ausgabesignal

landsmanner

Member
Sep 14, 2021
2
0
6
37
Hallo liebe Community!

Ich habe Probleme mit dem PCI-Passthrough mit GPU.
Bekomme kein Signal am Monitor.

Etwas mehr Info:
Wenn ich PVE boote schreib das System noch ein wenig Text auf den Monitor.
Danach bleibt der Text einfach stehen.
Wenn ich dann die VM starte, wird der Monitor schwarz und nach kurzem die Meldung "Kein Signal".
Ohne PCI mit VM-GPU sehe ich in der Konsole den Bootscreen.

Meine Hardware:
CPU: Intel i7 8700K
MB: ASUS STRIX Z390-H GAMING
GPU ASRock RX580 8GB

Proxmox 7.1 - 7

/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"
Auch versucht:
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on"

/etc/modules
Code:
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd

/etc/modprobe.d/blacklist.conf
Code:
blacklist radeon
blacklist nouveau
blacklist nvidia
blacklist nvidiafb

/etc/modprobe.d/vfio.conf
Code:
options vfio-pci ids=1002:67df,1002:aaf0 disable_vga=1

/etc/modprobe.d/kvm.conf
Code:
options kvm ignore_msrs=1


dmesg | grep -e DMAR -e IOMMU

Code:
[    0.000000] Warning: PCIe ACS overrides enabled; This may allow non-IOMMU protected peer-to-peer DMA
[    0.007483] ACPI: DMAR 0x000000008E2DB760 000070 (v01 INTEL  EDK2     00000002      01000013)
[    0.007508] ACPI: Reserving DMAR table memory at [mem 0x8e2db760-0x8e2db7cf]
[    0.080279] DMAR: IOMMU enabled
[    0.196320] DMAR: Host address width 39
[    0.196321] DMAR: DRHD base: 0x000000fed91000 flags: 0x1
[    0.196325] DMAR: dmar0: reg_base_addr fed91000 ver 1:0 cap d2008c40660462 ecap f050da
[    0.196326] DMAR: RMRR base: 0x0000008cf5a000 end: 0x0000008cf79fff
[    0.196328] DMAR-IR: IOAPIC id 2 under DRHD base  0xfed91000 IOMMU 0
[    0.196329] DMAR-IR: HPET id 0 under DRHD base 0xfed91000
[    0.196330] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[    0.197672] DMAR-IR: Enabled IRQ remapping in x2apic mode
[    0.438294] DMAR: No ATSR found
[    0.438294] DMAR: No SATC found
[    0.438295] DMAR: dmar0: Using Queued invalidation
[    0.438508] DMAR: Intel(R) Virtualization Technology for Directed I/O
[    4.031384] AMD-Vi: AMD IOMMUv2 driver by Joerg Roedel <jroedel@suse.de>
[    4.031385] AMD-Vi: AMD IOMMUv2 functionality not available on this system

dmesg | grep 'remapping'
Code:
[    0.196330] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[    0.197672] DMAR-IR: Enabled IRQ remapping in x2apic mode

lspci -s
Code:
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev e1) (prog-if 00 [VGA controller])
        Subsystem: ASRock Incorporation Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
        Flags: fast devsel, IRQ 16, IOMMU group 13
        Memory at 90000000 (64-bit, prefetchable) [size=256M]
        Memory at a0000000 (64-bit, prefetchable) [size=2M]
        I/O ports at 3000 [size=256]
        Memory at a0600000 (32-bit, non-prefetchable) [size=256K]
        Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: [48] Vendor Specific Information: Len=08 <?>
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Express Legacy Endpoint, MSI 00
        Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
        Capabilities: [150] Advanced Error Reporting
        Capabilities: [200] Physical Resizable BAR
        Capabilities: [270] Secondary PCI Express
        Capabilities: [2b0] Address Translation Service (ATS)
        Capabilities: [2c0] Page Request Interface (PRI)
        Capabilities: [2d0] Process Address Space ID (PASID)
        Capabilities: [320] Latency Tolerance Reporting
        Capabilities: [328] Alternative Routing-ID Interpretation (ARI)
        Capabilities: [370] L1 PM Substates
        Kernel driver in use: vfio-pci
        Kernel modules: amdgpu

01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
        Subsystem: ASRock Incorporation Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
        Flags: fast devsel, IRQ 17, IOMMU group 14
        Memory at a0660000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [48] Vendor Specific Information: Len=08 <?>
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Express Legacy Endpoint, MSI 00
        Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+
        Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
        Capabilities: [150] Advanced Error Reporting
        Capabilities: [328] Alternative Routing-ID Interpretation (ARI)
        Kernel driver in use: vfio-pci
        Kernel modules: snd_hda_intel

VM-Config
Code:
bios: ovmf
boot: order=ide2;net0
cores: 1
efidisk0: local-lvm:vm-100-disk-0,efitype=4m,pre-enrolled-keys=1,size=4M
hostpci0: 0000:01:00,x-vga=1
ide2: none,media=cdrom
machine: q35
memory: 2048
meta: creation-qemu=6.1.0,ctime=1638957787
name: GPUBootScreenTeest
net0: e1000=4E:E0:9B:0B:53:0D,bridge=vmbr0,firewall=1
numa: 0
ostype: other
scsihw: virtio-scsi-pci
smbios1: uuid=ee704a0b-78cb-4603-84b6-4edee2f62604
sockets: 1
vga: none
vmgenid: aaf5492e-095f-43a5-b566-02cf74eb7914
 

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!