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

    How to passthough nvida pgu on xcp-ng

    Scheduled Pinned Locked Moved Hardware
    10 Posts 2 Posters 367 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.
    • jag5cofJ Offline
      jag5cof
      last edited by

      Hello,
      I have an nvida k620 video card install on my hosr=t xcp-ng. I have identified the video card on the host. I at lost on how to do passthough so my vm's has access to the gpu.

      1 Reply Last reply Reply Quote 0
      • jag5cofJ Offline
        jag5cof
        last edited by

        Sorry for the misspelled word pgum, should read gpu

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

          Hi,

          Have you read https://docs.xcp-ng.org/compute/#pci-passthrough ?

          jag5cofJ 1 Reply Last reply Reply Quote 0
          • jag5cofJ Offline
            jag5cof @olivierlambert
            last edited by

            @olivierlambert Thanks, I found it before you replied. I follow the step in the document. Now how do I test if my gpu is working?

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

              You should see the GPU in your VM (via lspci if you are on Linux, or in the Device manager in Windows)

              jag5cofJ 1 Reply Last reply Reply Quote 0
              • jag5cofJ Offline
                jag5cof @olivierlambert
                last edited by

                @olivierlambert I'm on linux

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

                  Then lspci command should display all the PCI devices, including your GPU 🙂

                  1 Reply Last reply Reply Quote 0
                  • jag5cofJ Offline
                    jag5cof @jag5cof
                    last edited by

                    @jag5cof I see the gpu there. Isn't a gui that I view show the gpu info.?

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

                      That's unrelated to XCP-ng/XO, but I let the community giving you some hints about this 🙂

                      jag5cofJ 1 Reply Last reply Reply Quote 0
                      • jag5cofJ Offline
                        jag5cof @olivierlambert
                        last edited by

                        @olivierlambert thank you

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