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

    Intel Flex GPU with SR-IOV for GPU accelarated VDIs

    Scheduled Pinned Locked Moved Hardware
    47 Posts 9 Posters 12.7k Views 12 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.
    • olivierlambertO Online
      olivierlambert Vates 🪐 Co-Founder CEO
      last edited by

      I received one card, I quickly tested it, you can actually see 2x GPU (as expected), PCI passthrough each to a different VM. So at least, basic stuff works.

      A next step (when we can staff someone) is to check how to manually enable SRIOV on the device and pass it to the VMs, and in the end, get that done in XAPI to make it integrated with XO.

      S 1 Reply Last reply Reply Quote 1
      • S Offline
        sanjay @olivierlambert
        last edited by

        @olivierlambert Great to hear...

        Looking for forward to have Arc GPU support. If possible can you please be specific on the GPU hardware you have and which is being tested. As you know, someone might have the one you have or a similar GPU that they can use. From what you posted, I assume that you might have the ARC Pro B60 Dual 48G by Maxsun - correct me if I am wrong.

        Lately, I am trying to source a Arc Pro B60. I do not have any timeline when I would be able to obtain one.

        At least for the time being and considering the alleged MSRP for battlematrix - Arc Pro cards, Intel seems to be the best value.

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

          No, I have an Intel Flex 170

          J 1 Reply Last reply Reply Quote 0
          • J Online
            JamesG @olivierlambert
            last edited by

            @olivierlambert If I remember right, you should be able to see 62 VF's on that card. There might be a tool needed to define how many VF's are present like on a NIC.

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

              Yes but in order to see the VF I need a working driver in the Dom0 first 😄 Probably a lot easier with a more recent kernel in XCP-ng 9.0

              J 1 Reply Last reply Reply Quote 0
              • J Online
                JamesG @olivierlambert
                last edited by

                @olivierlambert Ideally you need to be somewhere into Kernel 6. 6.12 is sticking out in my head, but I'm not positive when support got fully integrated.

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

                  Upstream inclusion is ultra recent, but you can always add drivers yourself (still requiring a relatively recent kernel IIRC). Anyway, we have the hardware and it will be in the roadmap at least to explore 🙂

                  J 1 Reply Last reply Reply Quote 1
                  • J Online
                    JamesG @olivierlambert
                    last edited by

                    @olivierlambert While VDI is maybe not as vital as it once was...I'm experimenting with multimedia work in XCP-ng. Having a VM with GPU off-loading of CODEC encoding would be nice. It's a pretty big CPU hit to make that go.

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      sluflyer06 @sanjay
                      last edited by

                      @sanjay Kinda bringing this back, does anyone know if or when support for newer Intel cards like B60+ will be added in XCP-NG? I can only assume there's something that doesn't support these cards in the kernel possibly?

                      Me and another user bought B50's on release day and tried them and neither of us could get them to function, you could kinda see them in the VM passed through but they were non-functional, even on the latest ubtuntu developer kernels. It felt like the cards simply weren't supported on xcpng.

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

                        PCI passthrough shouldn't be a problem in theory. Do you have more context/logs to bring?

                        J 1 Reply Last reply Reply Quote 0
                        • J Online
                          JamesG @olivierlambert
                          last edited by

                          @olivierlambert

                          I agree that pass-through should just work.

                          I couldn't seem to get the GPU acceleration to work on a linux guest when I tried it on a Debian guest and I know if had the supported kernel running on the guest. I suspect this is due to the two different graphics devices on the guest VM (XCP-ng emulated and the physical passed-through GPU) and needing some sort of adjustments in X (Xlibre in my case) in order to tell it to use the GPU even though there's no display attached to it. I dropped that effort awhile back as I had bigger tasks at hand...But that's my suspicion. I need to tell X to offload processing to the GPU somehow, yet render the output to the emulated graphics adapter on the guest.

                          I've never really used GPU's for graphics acceleration on Linux. I don't game, and almost all of my Linux experience is headless server stuff. So I'm in uncharted territory for me.

                          1 Reply Last reply Reply Quote 0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • First post
                            Last post