Can't start any qube - PCI Device doesn't exist

Hello qubes community, I want to create a HVM with GPU passthrough using this guide: Create a Gaming HVM. I use intel iGPU to render dom0 and the problem appears when my external gpu is inserted, qubes boots up successfully, but I can’t start any qube. Error pops up:

Qube Status: [sys-net/personal/...] has failed to start: PCI device dom0:02_00.0 does not exist.

I have hidden external GPU from dom0 with:

GRUB_CMDLINE_LINUX="... rd.qubes.hide_pci=01:00.0,01:00.1 "

When I disconnect the external GPU and boot up everything works. I don’t know why does it say:

PCI device dom0:02_00.0 does not exist.

since it does exist - qvm-pci output from dom0:

dom0:00_00.0  Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers                              
dom0:00_01.0  PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16)                                               
dom0:00_02.0  VGA compatible controller: Intel Corporation HD Graphics 630                                                                  
dom0:00_08.0  System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model  
dom0:00_14.0  USB controller: Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller                                      sys-usb (no-strict-reset=True)
dom0:00_16.0  Communication controller: Intel Corporation 200 Series PCH CSME HECI #1                                                       
dom0:00_17.0  SATA controller: Intel Corporation 200 Series PCH SATA controller [AHCI mode]                                                 
dom0:00_1b.0  PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #21                                                        
dom0:00_1c.0  PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #5                                                         
dom0:00_1c.5  PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #6                                                         
dom0:00_1c.6  PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #7                                                         
dom0:00_1c.7  PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #8                                                         
dom0:00_1d.0  PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #9                                                         
dom0:00_1f.0  ISA bridge: Intel Corporation 200 Series PCH LPC Controller (B250)                                                            
dom0:00_1f.2  Memory controller: Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller                               
dom0:00_1f.3  Audio device: Intel Corporation 200 Series PCH HD Audio                                                                       
dom0:00_1f.4  SMBus: Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller                                                      
dom0:01_00.0  VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti]                                                     
dom0:01_00.1  Audio device: NVIDIA Corporation GP107GL High Definition Audio Controller                                                     
dom0:03_00.0  Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller                

IOMMU groups:

IOMMU Group 0:
	00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers [8086:591f] (rev 05)
IOMMU Group 1:
	00:01.0 PCI bridge [0604]: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) [8086:1901] (rev 05)
	01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] [10de:1c82] (rev a1)
	01:00.1 Audio device [0403]: NVIDIA Corporation GP107GL High Definition Audio Controller [10de:0fb9] (rev a1)
IOMMU Group 10:
	00:1c.6 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #7 [8086:a296] (rev f0)
IOMMU Group 11:
	00:1c.7 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #8 [8086:a297] (rev f0)
IOMMU Group 12:
	00:1d.0 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #9 [8086:a298] (rev f0)
IOMMU Group 13:
	00:1f.0 ISA bridge [0601]: Intel Corporation 200 Series PCH LPC Controller (B250) [8086:a2c8]
	00:1f.2 Memory controller [0580]: Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller [8086:a2a1]
	00:1f.3 Audio device [0403]: Intel Corporation 200 Series PCH HD Audio [8086:a2f0]
	00:1f.4 SMBus [0c05]: Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller [8086:a2a3]
IOMMU Group 14:
	03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c)
IOMMU Group 2:
	00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 630 [8086:5912] (rev 04)
IOMMU Group 3:
	00:08.0 System peripheral [0880]: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model [8086:1911]
IOMMU Group 4:
	00:14.0 USB controller [0c03]: Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller [8086:a2af]
IOMMU Group 5:
	00:16.0 Communication controller [0780]: Intel Corporation 200 Series PCH CSME HECI #1 [8086:a2ba]
IOMMU Group 6:
	00:17.0 SATA controller [0106]: Intel Corporation 200 Series PCH SATA controller [AHCI mode] [8086:a282]
IOMMU Group 7:
	00:1b.0 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #21 [8086:a2eb] (rev f0)
IOMMU Group 8:
	00:1c.0 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #5 [8086:a294] (rev f0)
IOMMU Group 9:
	00:1c.5 PCI bridge [0604]: Intel Corporation 200 Series PCH PCI Express Root Port #6 [8086:a295] (rev f0)

I would really appreciate your help :slightly_smiling_face:

I figured it out, hardware change modified id of my Ethernet controller in sys-net. Same issue as PCI device dom0:03_00.0 does not exist. Fixed it in devices tab of sys-net.