Jump to content

pcie passthrough for hyper-v on windows 10

Adason
Go to solution Solved by Mnky313,
21 minutes ago, Adason said:

i was just wondering if it was possible to pass a pcie device (gpu and usb expansion card) to a vm in windows 10.  Im toying with a 2 gamers 1 cpu kinda thing but i want my full system when the other isnt in use any input or ideas would be appreciated,

AFAIK PCIe Passthrough isn't possible on consumer windows hosts (this can be accomplished with Windows Server 2016 on Hyper-V), it can also be done on a bunch of distros of linux.
Edit: just use a linux based host, Windows Server 'supports' it but it also needs hardware level support and a 'server grade graphics card' so it's probably more hassle than its' worth.
 

i was just wondering if it was possible to pass a pcie device (gpu and usb expansion card) to a vm in windows 10.  Im toying with a 2 gamers 1 cpu kinda thing but i want my full system when the other isnt in use any input or ideas would be appreciated,

Link to comment
Share on other sites

Link to post
Share on other sites

21 minutes ago, Adason said:

i was just wondering if it was possible to pass a pcie device (gpu and usb expansion card) to a vm in windows 10.  Im toying with a 2 gamers 1 cpu kinda thing but i want my full system when the other isnt in use any input or ideas would be appreciated,

AFAIK PCIe Passthrough isn't possible on consumer windows hosts (this can be accomplished with Windows Server 2016 on Hyper-V), it can also be done on a bunch of distros of linux.
Edit: just use a linux based host, Windows Server 'supports' it but it also needs hardware level support and a 'server grade graphics card' so it's probably more hassle than its' worth.
 

why no dark mode?
Current:

Watercooled Eluktronics THICC-17 (Clevo X170SM-G):
CPU: i9-10900k @ 4.9GHz all core
GPU: RTX 2080 Super (Max P 200W)
RAM: 32GB (4x8GB) @ 3200MTs

Storage: 512GB HP EX NVMe SSD, 2TB Silicon Power NVMe SSD
Displays: Asus ROG XG-17 1080p@240Hz (G-Sync), IPS 1080p@240Hz (G-Sync), Gigabyte M32U 4k@144Hz (G-Sync), External Laptop panel (LTN173HT02) 1080p@120Hz

Asus ROG Flow Z13 (GZ301ZE) W/ Increased Power Limit:
CPU: i9-12900H @ Up to 5.0GHz all core
- dGPU: RTX 3050 Ti 4GB

- eGPU: RTX 3080 (mobile) XGm 16GB
RAM: 16GB (8x2GB) @ 5200MTs

Storage: 1TB NVMe SSD, 1TB MicroSD
Display: 1200p@120Hz

Asus Zenbook Duo (UX481FLY):

CPU: i7-10510U @ Up to 4.3 GHz all core
- GPU: MX 250
RAM: 16GB (8x2GB) @ 2133MTs

Storage: 128GB SATA M.2 (NVMe no worky)
Display: Main 1080p@60Hz + Screnpad Plus 1920x515@60Hz

Custom Game Server:

CPUs: Ryzen 7 7700X @ 5.1GHz all core

RAM: 128GB (4x32GB) DDR5 @ whatever it'll boot at xD (I think it's 3600MTs)

Storage: 2x 1TB WD Blue NVMe SSD in RAID 1, 4x 10TB HGST Enterprise HDD in RAID Z1

Link to comment
Share on other sites

Link to post
Share on other sites

5 minutes ago, Mnky313 said:

AFAIK PCIe Passthrough isn't possible on consumer windows hosts (this can be accomplished with Windows Server 2016 on Hyper-V), it can also be done on a bunch of distros of linux.
 

thanks thats what i needed to know

Link to comment
Share on other sites

Link to post
Share on other sites

Red Hat is known for such things (as well as UnRaid, which uses some of Red Hat parts, afair).

Purify your Windows 10/11, don't give Microsoft anything that you don't want to share.

https://drive.google.com/open?id=1ZwVs9zrM493rjD42E2Pf0YcOkaW92ZUo

Tips for folding on laptop:

Lazy man wants upgrades from the sky.

https://stats.foldingathome.org/donor/Spakes

Link to comment
Share on other sites

Link to post
Share on other sites

6 minutes ago, Spakes said:

Red Hat is known for such things (as well as UnRaid, which uses some of Red Hat parts, afair).

awesome ill have to look in to it

Link to comment
Share on other sites

Link to post
Share on other sites

https://windowsserver.uservoice.com/forums/295062-linux-support/suggestions/8730703-remotefx-opengl-guest-support-in-windows-server

Hyper-V in Windows 10 Anniversary Update and in Windows Server 2016 has the ability to do Discrete Device Assignment, where a device like a GPU can be directly mapped into the address space of a guest VM. This is supported for Windows guests and for Linux guests.

Using:

Dismount-VMHostAssignableDevice -LocationPath gpu-device-location -force
Add-VMAssignableDevice -LocationPath gpu-device-location -VMName
Link to comment
Share on other sites

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

×