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

    Passthru of Graphics card

    Scheduled Pinned Locked Moved Hardware
    10 Posts 4 Posters 426 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.
    • M Offline
      manilx
      last edited by

      Hi all

      I've Emby in Docker in a VM on xcpng 8.3
      All working fine but I'd like to test hardware encoding.
      The Protectli VP6670 I use have the follwing CPU:
      ScreenShot 2024-10-16 at 19.49.11.png

      In the PCI info for passthru I have the following:
      ScreenShot 2024-10-16 at 19.47.57.png

      Can I pass the Iris Graphics VGA controller to the VM?

      I've only used USB passthru until now, so I'm unsure on this.

      Thx in advance

      gskgerG 1 Reply Last reply Reply Quote 0
      • gskgerG Offline
        gskger Top contributor @manilx
        last edited by

        @manilx Maybe this post on Intel iGPU passthough gives some ideas? You probably loose the video output on the Protectli when you assign the iGPU to a VM.

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          manilx @gskger
          last edited by

          @gskger Thx for that. Seems it could work. But loosing video output on the host itself would be a problem.....

          I 1 Reply Last reply Reply Quote 0
          • I Online
            imaginapix @manilx
            last edited by

            @manilx

            I was going through the same with my Protectli devices and found the following, which also might apply to your situation:

            • When enabling passthrough for the IrisXE graphic, the HDMI port showed no picture anymore - BUT - then DP port still shows everything, even with passthrough enabled

            My Protectli uses openboot as BIOS, so this might make a difference, so better mentioning it.

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              manilx @imaginapix
              last edited by

              @imaginapix Thx fo that. Very useful. I'm using standard Bios and need the HDMI port for display as I have a piKVM hooked up for remote interaction.....
              Guess I will refrain from that as so far the CPU manages transcoding fine most of the time. And with a passthru I would also have issues with backups (snapshots) and migration.

              I 2 Replies Last reply Reply Quote 0
              • I Online
                imaginapix @manilx
                last edited by

                @manilx

                Yeah, it's a bummer that active PCI/USB passthrough blocks snapshots/backups.

                I understand that it is a problem for the migration since there is no guarantee that the device is also available on the other host, but for snapshot/backup it should not be of importance

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

                  This is something to dig at the XAPI & Xen level, to know how difficult it could be, I have no idea.

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    manilx @imaginapix
                    last edited by

                    @imaginapix Exactly, migration is logical but snapshots and live backups is another ballpark.

                    1 Reply Last reply Reply Quote 0
                    • I Online
                      imaginapix @manilx
                      last edited by

                      @manilx said in Passthru of Graphics card:
                      ... and need the HDMI port for display as I have a piKVM hooked up for remote interaction.....

                      Before I forget:
                      You could use an DP to HDMI cable for that, but given the other things we talked about, this might also only be a crutch.

                      M 1 Reply Last reply Reply Quote 0
                      • M Offline
                        manilx @imaginapix
                        last edited by

                        @imaginapix Didn't think of that.... But I guess it's more work than it's worth in this instance.

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