Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
supermew

GPU Passthrough

Recommended Posts

Posted · Original PosterOP

Hi,

 

I need some help passing my gpu to my windows vm.

I'm using Arch Linux with the latest kernel and the following gpus:

  • GTX 1080 (which is placed in the first pcie slot to get x16, so it is used as boot gpu)
  • GTX 1050 Ti (which is placed in the second last slot and only gets x8)

IOMMU is supported by all devices, the gpus are in different iommu groups and I don't have an iGPU

 

I want to passthough the 1080 to my qemu vm and use the 1050 Ti for the host system (maybe it's even possible to use it as boot gpu?)

 

Is there someone who can help me getting there?

If I forgot some information feel free to ask.

Link to post
Share on other sites
11 hours ago, supermew said:

Hi,

 

I need some help passing my gpu to my windows vm.

I'm using Arch Linux with the latest kernel and the following gpus:

  • GTX 1080 (which is placed in the first pcie slot to get x16, so it is used as boot gpu)
  • GTX 1050 Ti (which is placed in the second last slot and only gets x8)

IOMMU is supported by all devices, the gpus are in different iommu groups and I don't have an iGPU

 

I want to passthough the 1080 to my qemu vm and use the 1050 Ti for the host system (maybe it's even possible to use it as boot gpu?)

 

Is there someone who can help me getting there?

If I forgot some information feel free to ask.

https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF


Please quote or tag me if you need a reply

Link to post
Share on other sites
5 hours ago, supermew said:

How can I do an id swap?

I think he meant this

"I would swap the GPU'S in the PCI-E slot."

He meant that you just interchange the gpu slots. Use the 1050TI for the boot one and use the 1080 for the VM.

 

Link to post
Share on other sites
On 5/16/2019 at 3:10 PM, supermew said:
  • GTX 1080 (which is placed in the first pcie slot to get x16, so it is used as boot gpu)
  • GTX 1050 Ti (which is placed in the second last slot and only gets x8)

Switch the 1050TI to the 1080 slot and the 1080 to the 1050TI slot such that the 1050TI gets x16 slot and the 1080 gets the x8.

Then pass through the 1080 to the VM 

Link to post
Share on other sites
Posted · Original PosterOP

I managed to pass through the gpu and hide he kvm from windows. But if I try to install the nvidia driver my vm crashes and I'm not able to start it anymore, because it crashes everytime after the bot loading cirlcle screen

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


×