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

    GPU passthrough issue on Win10pro

    Scheduled Pinned Locked Moved Compute
    8 Posts 3 Posters 1.4k Views 1 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.
    • S Offline
      SidneyMussburger
      last edited by

      To preface this, i'm a Linux rookie, and a complete beginner at Xen/XCP-NG, so please be gentle 🙂 If you need me to provide logs, etc please give me the code to bring those up. Thank you to everyone in advance. I've tried fixing this through research but i'm running into a brick wall with this problem.

      I'm putting together a home server that I want to double as an editing workstation, and I'm having problems getting the GPU passthrough working. I've gotten my HBA card passed through without any hiccups, but with the GPU I've tried 2 methods so far, but i'm having issues with both. I'd appreciate any troubleshoot tips/hints/advice that could be offered. I've outlined the steps i've already taken below, as well as my system configuration.

      Method 1 - using the built-in tool in XCP-NG center to prevent the host from using the GPU on startup, I have tried installing both the xcp-ng tools/management agent as well as the Citrix versions(On different installs of course, i've seen the issues that can happen with mixed tools) and I keep having the same issue where the AMD Radeon drivers install to 96% and then stalls. There is a notification in windows that says a restart is required, but when i restart it just hangs and i can't get Windows to boot any longer.

      Method 2 - using CLI as demonstrated in the XCP-NG GPU and compute passthrough documentation section. When using this method (I tried to see if i could passthrough both the GPU as well as the HDMI audio) I get a notice from AMD Radeon drivers that it doesn't support the configuration.

      System configuration -
      AMD Ryzen 3700X
      ASRock x570m Pro4
      64GB 3200 hyperx predator
      512gb Samsung 970 SSD
      AMD Radeon 5500XT
      Dell PERC H310 HBA flashed to IT mode for
      6x3TB Seagate es.2 SAS Drives

      1 Reply Last reply Reply Quote 0
      • R Offline
        r1 XCP-ng Team
        last edited by

        @SidneyMussburger share your # dmesg and # lspci -k also # xl pci-assignable-list if you added your PCI device in the hide list.

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          SidneyMussburger
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • S Offline
            SidneyMussburger
            last edited by

            Log output attached. thanks!

            putty.txt

            1 Reply Last reply Reply Quote 0
            • S Offline
              SidneyMussburger @r1
              last edited by

              @r1 on the current setup i have (I've reinstalled everything multiple times to get back to square one) I've used the XCP-NG center gpu passthrough GUI, and I'm also using the Citrix managment tools on this particular install.

              T 1 Reply Last reply Reply Quote 0
              • R Offline
                r1 XCP-ng Team
                last edited by

                @SidneyMussburger in your BIOS, please check that your AMD card is not your primary display. Your onboard should be primary display and AMD card as secondary.

                1 Reply Last reply Reply Quote 0
                • T Offline
                  trent234 @SidneyMussburger
                  last edited by

                  @sidneymussburger
                  Any conclusion to this? Did you investigate your GPU’s integrated graphics as the primary card In your BIOS?
                  @r1
                  Is that a requirement of PCI passthrough? That it can’t be the primary GPU? I started a thread recently trying to debug a passthrough issue.. and finding this info I think it may be related. But my system has no onboard GPU. Can it not run headless? CPU is 1950X by the way. It does seem like dom0 is competing for use even when its supposed to be using the pciback driver. More info-
                  https://xcp-ng.org/forum/topic/3952/nvidia-gt-710-gpu-passthrough/5

                  R 1 Reply Last reply Reply Quote 0
                  • R Offline
                    r1 XCP-ng Team @trent234
                    last edited by

                    @trent234 I think system should run headless and Xen should be able to hide that device from dom0, can you reassure that BIOS is set to not use any display device?

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