Jump to content

Device Specs

Ram: 32gb
CPU: 5900x
GPU: 7900XTX

I used the instructions provided in the GitHub link here: https://github.com/jamesstringerparsec/Easy-GPU-PV


I was able to setup the Hyper-V VM

But I am unable access the VM remotely with Parsec

Please let me know if I need to provide further information.

Link to comment
https://linustechtips.com/topic/1585492-unable-to-setup-gpu-passthrough/
Share on other sites

Link to post
Share on other sites

You need two GPUs for GPU passthrough. One for the host, one for the VM.

 

Ok, looking through the link you provided, this isn't passthru, this is paravirtuallzation. Are you sure you have one of the Windows versions listed in the prerequisites?

Remember to either quote or @mention others, so they are notified of your reply

Link to post
Share on other sites

  • 2 weeks later...

No, you do not actually need two GPU's - have that running.

 

So, what is your Goal here actually ?

What Virtualization do you use ?

 

IT quite easy with libvirt if you have AMD or Quadro GPU.

 

Just find the PCI id's

 

01:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch [1002:1478] (rev c7)
        Kernel driver in use: pcieport
02:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch [1002:1479]
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch [1002:1479]
        Kernel driver in use: pcieport
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 24 [Radeon RX 6400/6500 XT/6500M] [1002:743f] (rev c7)
        Subsystem: ASRock Incorporation Navi 24 [Radeon RX 6400/6500 XT/6500M] [1849:5228]
        Kernel driver in use: vfio-pci
        Kernel modules: amdgpu
03:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller [1002:ab28]
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller [1002:ab28]
        Kernel driver in use: vfio-pci
        Kernel modules: snd_hda_intel

 

   And edit the VM XML

 <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x03' slot='0x00' function='0x1'/>
      </source>
      <alias name='hostdev1'/>
      <address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x1'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x08' slot='0x00' function='0x1'/>
      </source>
      <alias name='hostdev2'/>
      <rom bar='off'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x12' function='0x0' multifunction='on'/>
    </hostdev>

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×