XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    PCI device doesn't show in XO or xe pci-list

    Scheduled Pinned Locked Moved Compute
    8 Posts 3 Posters 145 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      Pyroteq
      last edited by

      I have a TV tuner card I use with my Plex Media Server.

      I've successfully used the command line to pass this device through to the VM and it works fine, but recently I upgraded to XCP-NG 8.3 and saw that there is now new options in XO to make pass through much easier so I figured I'd give it a try.

      Unfortunately it appears that not all PCI devices are listed including my TV Tuner card.

      Is there a reason some devices are detected and others aren't?

      lspci
      00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex
      00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU
      00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
      00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
      00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
      00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
      00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
      00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
      00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
      00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
      00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
      00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
      00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 0
      00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 1
      00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 2
      00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 3
      00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 4
      00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 5
      00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 6
      00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 7
      01:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)
      01:00.1 Audio device: NVIDIA Corporation GP106 High Definition Audio Controller (rev a1)
      02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse Switch Upstream
      03:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
      03:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
      03:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
      03:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
      03:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
      03:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
      03:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
      03:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Matisse PCIe GPP Bridge
      04:00.0 Ethernet controller: Mellanox Technologies MT27500 Family [ConnectX-3]
      05:00.0 VGA compatible controller: NVIDIA Corporation GP106GL [Quadro P2000] (rev a1)
      05:00.1 Audio device: NVIDIA Corporation GP106 High Definition Audio Controller (rev a1)
      06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller (rev 16)
      07:00.0 PCI bridge: Pericom Semiconductor PI7C9X2G304 EL/SL PCIe2 3-Port/4-Lane Packet Switch (rev 05)
      08:01.0 PCI bridge: Pericom Semiconductor PI7C9X2G304 EL/SL PCIe2 3-Port/4-Lane Packet Switch (rev 05)
      08:02.0 PCI bridge: Pericom Semiconductor PI7C9X2G304 EL/SL PCIe2 3-Port/4-Lane Packet Switch (rev 05)
      09:00.0 Multimedia video controller: Conexant Systems, Inc. CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb (rev 04)
      0a:00.0 Multimedia video controller: Conexant Systems, Inc. CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb (rev 04)
      0b:00.0 Serial controller: MosChip Semiconductor Technology Ltd. PCIe 9912 Multi-I/O Controller
      0b:00.1 Serial controller: MosChip Semiconductor Technology Ltd. PCIe 9912 Multi-I/O Controller
      0b:00.2 Parallel controller: MosChip Semiconductor Technology Ltd. PCIe 9912 Multi-I/O Controller
      0c:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Reserved SPP
      0c:00.1 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
      0c:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Matisse USB 3.0 Host Controller
      0d:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
      0e:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51)
      0f:00.0 Non-Volatile memory controller: Kingston Technology Company, Inc. FURY Renegade NVMe SSD with heatsink (rev 01)
      10:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] (rev c8)
      10:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller
      10:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
      10:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
      10:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
      10:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
      11:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81)
      11:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81
      
      xe pci-list
      uuid ( RO)           : bcc76d1d-c85d-67c1-dfc4-83ece0267ade
          vendor-name ( RO): Realtek Semiconductor Co., Ltd.
          device-name ( RO): RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller
               pci-id ( RO): 0000:06:00.0
      
      
      uuid ( RO)           : 29611fb5-e276-5de1-6cf1-6e1ecdcac271
          vendor-name ( RO): Advanced Micro Devices, Inc. [AMD/ATI]
          device-name ( RO): Cezanne [Radeon Vega Series / Radeon Vega Mobile Series]
               pci-id ( RO): 0000:10:00.0
      
      
      uuid ( RO)           : c0c7d8d9-ae57-7ccd-ee29-d6e6a999d86d
          vendor-name ( RO): Advanced Micro Devices, Inc. [AMD]
          device-name ( RO): FCH SATA Controller [AHCI mode]
               pci-id ( RO): 0000:11:00.1
      
      
      uuid ( RO)           : a90f2a27-f722-2371-9757-d920f20e2c8c
          vendor-name ( RO): Advanced Micro Devices, Inc. [AMD]
          device-name ( RO): FCH SATA Controller [AHCI mode]
               pci-id ( RO): 0000:11:00.0
      
      
      uuid ( RO)           : 316e2f1f-4684-76da-36d6-fe9d92a629ff
          vendor-name ( RO): NVIDIA Corporation
          device-name ( RO): GP106GL [Quadro P2000]
               pci-id ( RO): 0000:05:00.0
      
      
      uuid ( RO)           : a96bf51a-9ab2-b1d3-1f9b-6861057ad6e9
          vendor-name ( RO): NVIDIA Corporation
          device-name ( RO): GP106 High Definition Audio Controller
               pci-id ( RO): 0000:01:00.1
      
      
      uuid ( RO)           : b21b6fcf-14d2-6dfc-6bd0-930e55533c29
          vendor-name ( RO): Advanced Micro Devices, Inc. [AMD]
          device-name ( RO): Family 17h/19h HD Audio Controller
               pci-id ( RO): 0000:10:00.6
      
      
      uuid ( RO)           : 839b273a-6a05-bf48-ffd4-7f9f5abf14ae
          vendor-name ( RO): NVIDIA Corporation
          device-name ( RO): GP106 High Definition Audio Controller
               pci-id ( RO): 0000:05:00.1
      
      
      uuid ( RO)           : b7823f9f-f222-fe1c-f7ef-0706e9b220fd
          vendor-name ( RO): NVIDIA Corporation
          device-name ( RO): GP106 [GeForce GTX 1060 6GB]
               pci-id ( RO): 0000:01:00.0
      
      
      uuid ( RO)           : 7d357a0c-65b8-0289-e066-d7406bce1bef
          vendor-name ( RO): Advanced Micro Devices, Inc. [AMD]
          device-name ( RO): Family 17h (Models 10h-1fh) Platform Security Processor
               pci-id ( RO): 0000:10:00.2
      
      
      uuid ( RO)           : 100a234c-3a8d-9633-9c8b-6a8b477caa99
          vendor-name ( RO): Kingston Technology Company, Inc.
          device-name ( RO): FURY Renegade NVMe SSD with heatsink
               pci-id ( RO): 0000:0f:00.0
      
      
      uuid ( RO)           : 134b5187-9de7-da61-f2b0-0041c08b1c27
          vendor-name ( RO): Advanced Micro Devices, Inc. [AMD]
          device-name ( RO): Renoir/Cezanne USB 3.1
               pci-id ( RO): 0000:10:00.3
      
      
      uuid ( RO)           : b41fd3a4-1494-3f73-ed50-74493289e01d
          vendor-name ( RO): Advanced Micro Devices, Inc. [AMD]
          device-name ( RO): FCH SATA Controller [AHCI mode]
               pci-id ( RO): 0000:0e:00.0
      
      
      uuid ( RO)           : bd91ee24-da09-aaef-51ec-a3c4c89ea72d
          vendor-name ( RO): Advanced Micro Devices, Inc. [AMD]
          device-name ( RO): FCH SATA Controller [AHCI mode]
               pci-id ( RO): 0000:0d:00.0
      
      
      uuid ( RO)           : 9df35a8c-1343-4353-9799-906a2c015479
          vendor-name ( RO): Advanced Micro Devices, Inc. [AMD]
          device-name ( RO): Renoir/Cezanne USB 3.1
               pci-id ( RO): 0000:10:00.4
      
      
      uuid ( RO)           : 823820df-a14c-ae47-37f2-7cb133496c02
          vendor-name ( RO): Mellanox Technologies
          device-name ( RO): MT27500 Family [ConnectX-3]
               pci-id ( RO): 0000:04:00.0
      
      
      uuid ( RO)           : 655f0cf1-1b7a-63e2-5404-7860795ca712
          vendor-name ( RO): Advanced Micro Devices, Inc. [AMD/ATI]
          device-name ( RO): Renoir Radeon High Definition Audio Controller
               pci-id ( RO): 0000:10:00.1
      

      This is the device in question:

      09:00.0 Multimedia video controller: Conexant Systems, Inc. CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb (rev 04)
      0a:00.0 Multimedia video controller: Conexant Systems, Inc. CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb (rev 04)
      
      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Hi,

        Just to be sure I understand, you can see the device with lspci (as the CX23887/8 Broadcast thing) but it's not listen in XO web UI, right?

        P 1 Reply Last reply Reply Quote 0
        • C Offline
          chicagomed
          last edited by

          This seems very similar to the problem I am having with my arc Arc310 Not Showing Up in Passthrough.

          Perhaps there is a broader issue for these 'less than standard' PCI passthroughs?

          1 Reply Last reply Reply Quote 0
          • P Offline
            Pyroteq @olivierlambert
            last edited by Pyroteq

            @olivierlambert

            Correct. The webUI seems to reflect whatever is in xe pci-list, but what appears in this list seems somewhat random when compared to the full lspci list.

            Perhaps xe pci-list could be made to be a bit more broad in what it can detect?

            1 Reply Last reply Reply Quote 0
            • olivierlambertO Offline
              olivierlambert Vates 🪐 Co-Founder CEO
              last edited by

              Same answer than the other topic, checking first the basics before investigating further 🙂

              C P 2 Replies Last reply Reply Quote 0
              • C Offline
                chicagomed @olivierlambert
                last edited by

                @olivierlambert I'm going to swap in an AMD card today and will let you know if anything changes!

                1 Reply Last reply Reply Quote 1
                • P Offline
                  Pyroteq @olivierlambert
                  last edited by

                  @olivierlambert

                  My issue isn't that I can't pass through the card at all, I can still do it via CLI just fine so there isn't really any real problem preventing me from hiding the card from dom0 and then attaching it to my Plex VM. I was just curious why some devices are listed with xe pci-list and others aren't because I would have thought that it would essentially just reflect whatever shows in lspci.

                  Having it show in xe pci-list would just mean it's easier to attach/detach from a VM as it would then show in the webUI.

                  Does XCP-NG require the built in driver support to list the devices in pci-list?? Because the TV tuner doesn't work natively on Linux without downloading the drivers so I guess that could be a possibility?

                  1 Reply Last reply Reply Quote 0
                  • olivierlambertO Offline
                    olivierlambert Vates 🪐 Co-Founder CEO
                    last edited by

                    @Pyroteq OK so it's more clear to me now. So there's an issue on how we report all the devices to make it doable via Xen Orchestra. I'm not sure exactly who to ping, maybe @Team-Hypervisor-Kernel

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post