pavolelsig / gvtd_helper

GVT-d helper
18 stars 2 forks source link

ASUS PN40 can not pass through the nuclear display #1

Open wnark opened 2 years ago

wnark commented 2 years ago

Hello, I am ASUS PN40 j4125, but after I pass through the core display, I get an error at startup:

virsh start ubuntu20.04
error: Failed to start domain ubuntu20.04
error: internal error: qemu unexpectedly closed the monitor: 2022-04-13T04:08:31.931342Z qemu-system-x86_64: -device vfio-pci,host=0000:00:02.0,id=hostdev0,bus=pcie.0,addr=0x2: vfio 0000:00:02.0: error getting device from group 1: Invalid argument
Verify all devices in group 1 are bound to vfio-<bus> or pci-stub and not already in use

I have gone to bios to open vt-d, and this pci group only has this nuclear display

./pci.sh 
IOMMU Group 0 00:00.0 Host bridge [0600]: Intel Corporation Gemini Lake Host Bridge [8086:31f0] (rev 06)
IOMMU Group 0 00:00.1 Signal processing controller [1180]: Intel Corporation Celeron/Pentium Silver Processor Dynamic Platform and Thermal Framework Processor Participant [8086:318c] (rev 06)
IOMMU Group 0 00:00.3 System peripheral [0880]: Intel Corporation Device [8086:3190] (rev 06)
IOMMU Group 10 02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
IOMMU Group 1 00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 605 [8086:3185] (rev 06)
IOMMU Group 2 00:0e.0 Audio device [0403]: Intel Corporation Device [8086:3198] (rev 06)
IOMMU Group 3 00:0f.0 Communication controller [0780]: Intel Corporation Celeron/Pentium Silver Processor Trusted Execution Engine Interface [8086:319a] (rev 06)
IOMMU Group 4 00:12.0 SATA controller [0106]: Intel Corporation Device [8086:31e3] (rev 06)
IOMMU Group 5 00:13.0 PCI bridge [0604]: Intel Corporation Gemini Lake PCI Express Root Port [8086:31d8] (rev f6)
IOMMU Group 6 00:13.2 PCI bridge [0604]: Intel Corporation Gemini Lake PCI Express Root Port [8086:31da] (rev f6)
IOMMU Group 7 00:14.0 PCI bridge [0604]: Intel Corporation Gemini Lake PCI Express Root Port [8086:31d6] (rev f6)
IOMMU Group 8 00:15.0 USB controller [0c03]: Intel Corporation Device [8086:31a8] (rev 06)
IOMMU Group 9 00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:31e8] (rev 06)
IOMMU Group 9 00:1f.1 SMBus [0c05]: Intel Corporation Celeron/Pentium Silver Processor Gaussian Mixture Model [8086:31d4] (rev 06)

00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 605 (rev 06)
    DeviceName: Onboard - Video
    Subsystem: ASUSTeK Computer Inc. UHD Graphics 605
    Kernel driver in use: vfio-pci
    Kernel modules: i915
wnark commented 2 years ago

grub:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_iommu=on kvm.ignore_msrs=1 vfio-pci.ids=8086:3185 video=vesafb:off video=efifb:off"

My virtual machine's virsh parameters are: ubuntu.txt I've tried pve but can't pass through either. Passing through usb devices is normal.