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

    Intel ARC 310 Problem

    Scheduled Pinned Locked Moved Hardware
    7 Posts 2 Posters 95 Views 2 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.
    • C Offline
      chicagomed
      last edited by

      New XCP-NG user so please forgive any obvious mistakes.

      Two issues:

      1. I have an Arc 310 on XCP-NG 8.3 I am trying to pass it through to a VM
        but only the HDMI component is visible in PCIE-LIST or on XOA GUI.
        I am able to pass that through.

        I can see the Audio component in the system from Console but I can't get it
        to show up in the XE commands/environment.

      2. When passing throught the HDMI component to my VM (Arch Linux, up to date build)
        I seem to be having a contention problem with the XCP-NG Cirrus driver. I have tried blacklisting
        it/disabling it but without any luck. Wondering if anyone is having this problem (using Arch/Hyprland).

      Thank you and looking forward to contributing to this community.

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

        Can you do a lspci in the Dom0? I'm not sure the audio device is an adressable device (unlike Nvidia cards for example)

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

          Enchanté @olivierlambert!

          Thank you for the reply and this great product. I've followed you for a few years! A pleasure to be writing with you.

          Here is the screenshot of the host. 0b appears both with XE and on the GUI.
          0a (the audio) never makes it past the Dom0. I've read about various conditions where the Dom0 could hijack it but I haven't been successful in my trouble shooting.

          7451a863-f428-4212-88eb-a1a22b241137-image.png

          Best Regards!

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

            Hmm are you sure it's correctly ignored before trying to pass it trough? The success of PCI passthrough is only possible because it's hidden from the Dom0

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

              @olivierlambert

              I added this to: boot/efi/EFI/xenserver/grub.cfg

              xen-pciback.hide=(09:00.0)(09:00.1)
              

              On reboot I get with lspci:

              0a:00.0 Audio device: Intel Corporation DG2 Audio Controller
              0b:00.0 VGA compatible controller: Intel Corporation DG2 [Arc A310] (rev 05)
              

              But with xl pci-assignable-list I get:

              0000:01:00.6
              0000:01:00.4
              0000:0b:00.0
              0000:01:00.0
              0000:01:00.3
              

              Note the 0a device is missing.

              I am about to throw out this 310 at this stage because I'm having equally frustrating problems with the cards once they are in the VM (I cannot get Wayland or X10 to stop trying to grab Cirrus first).

              I'm reading that this is common for Arc GPUs, but was really hoping this would be a lot more plug and play.

              Any other thoughts/tests would be appreciated as I hate just giving up on such challenges!

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

                Correction (sorry it won't let me edit for some reason). I added

                xen-pciback.hide=(00.0b.0)(00.0a.0)
                
                1 Reply Last reply Reply Quote 0
                • C chicagomed referenced this topic
                • olivierlambertO Offline
                  olivierlambert Vates 🪐 Co-Founder CEO
                  last edited by olivierlambert

                  Have you checked all the pre requisites at https://docs.xcp-ng.org/compute/#-pci-passthrough?

                  Also be sure to use the complete PCIe address, like:

                  /opt/xensource/libexec/xen-cmdline --set-dom0 "xen-pciback.hide=(0000:04:01.0)(0000:00:19.0)"
                  
                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post