2 or more Gamers with 1 1070 TI GPU?? HyperV GPU-P Demo with Windows 10 Pro 20H2
Hi guys, Today I am going to be showing Microsoft's recent addition to Their Hyper V Platform GPU-G. In this video, I will cover how to set this up and show a quick benchmark of using a 1070 TI partitioned to two VMs. This will be demonstrating what can happen when two VMs use a GPU accelerated workload from one GPU like a 1070 TI. Can this mean 2 or more gamers on 1 GPU be a thing? I guess that is up to you to decide. Probably with more tinkering and time, this would probably give you better results than what I show here today.
In the video, I do not do more than two VMs on the 1070 Ti, but I also have a 1060 3GB to demonstrate using two GPUs in the system. Please know that this is not intended for production use unless you are following proper guidelines.
UPDATE:, The video is a bit outdated on what to do, I recommend you read up on my write up on LVL1 tech forum, or my rainway video. Craft computing also made a guide which might have better if not same results.
Hope this helps as things were not covered.
My writeup: https://forum.level1techs.com/t/2-gamers-1-gpu-with-hyper-v-gpu-p-gpu-partitioning-finally-made-possible-with-hyperv/172234
Craft computing's guide: https://www.youtube.com/watch?v=XLLcc29EZ_8
Since this is a longer video, here are the timestamps to skip to the other bits.
Listen to the intro lecture: 0:20
Beginning of Demonstration/setup tutorial: 6:05
Running Three VMs (1 GTX 1060 3GB and 1 GTX 1070 TI on two VMs): 17:31
Heaven Benchmark through Steam in-home streaming: 20:30
Final Thoughts: 22:00
Supported OS (this is all I can find info at the time of writing this description):
Windows 10 20H2 Pro, and Enterprise editions.
Windows Server 2016 all editions.
Windows Server 2019 Unknown.
Powershell Settings script:
===============================
$vm = "ENTER YOUR VM NAME HERE"
Remove-VMGpuPartitionAdapter -VMName $vm
Add-VMGpuPartitionAdapter -VMName $vm
Set-VMGpuPartitionAdapter -VMName $vm -MinPartitionVRAM 1
Set-VMGpuPartitionAdapter -VMName $vm -MaxPartitionVRAM 11
Set-VMGpuPartitionAdapter -VMName $vm -OptimalPartitionVRAM 10
Set-VMGpuPartitionAdapter -VMName $vm -MinPartitionEncode 1
Set-VMGpuPartitionAdapter -VMName $vm -MaxPartitionEncode 11
Set-VMGpuPartitionAdapter -VMName $vm -OptimalPartitionEncode 10
Set-VMGpuPartitionAdapter -VMName $vm -MinPartitionDecode 1
Set-VMGpuPartitionAdapter -VMName $vm -MaxPartitionDecode 11
Set-VMGpuPartitionAdapter -VMName $vm -OptimalPartitionDecode 10
Set-VMGpuPartitionAdapter -VMName $vm -MinPartitionCompute 1
Set-VMGpuPartitionAdapter -VMName $vm -MaxPartitionCompute 11
Set-VMGpuPartitionAdapter -VMName $vm -OptimalPartitionCompute 10
Set-VM -GuestControlledCacheTypes $true -VMName $vm
Set-VM -LowMemoryMappedIoSpace 1Gb -VMName $vm
Set-VM -HighMemoryMappedIoSpace 32GB -VMName $vm
Start-VM -Name $vm
===============================
Additional Instructions:
1: On your host machine, go to C:\Windows\System32\DriverStore\FileRepository\
and copy the nv_dispi.inf_amd64 folder to C:\Windows\System32\HostDriverStore\FileRepository\ on your VM (This folder will not exist, so make sure to create it)
2: Next you will need to copy C:\Windows\System32\nvapi64.dll file from your host to C:\Windows\System32\ on your VM (SEE MY NOTE BELOW SINCE I DID THIS PART WRONG IN THE VIDEO)
3: And once that is done, you can restart the VM.
You will also need to disable enhanced sessions and Checkpoints for the VM.
4. Before trying to stream any audio, You will need to have a virtual audio cable installed. One software I can recommend is VB Cable. You can get the free version here or support their product.
link: https://vb-audio.com/Cable/
NOTE: On step 2, I didn't do this part right in the video. I changed the DLL from the file repository folder to the system32 folder but not much changed with performance. I guess it may depend on the GPU you use as well. Also, try tinkering with the settings script some and you may have better results depending on how change it. Probably increasing encoding resources will help a bit more.
Original Reddit Post: https://www.reddit.com/r/sysadmin/comments/jym8xz/gpu_partitioning_is_finally_possible_in_hyperv/
Other Videos on Youtube that focus on this kind of subject:
Linus Tech Tips 2 gamers 1 CPU: https://youtu.be/LuJYMCbIbPk
Craft Computing SR-IOV Streaming server video: https://www.youtube.com/watch?v=77NnPLzIoKA
L1 Tech "We're ready for One GPU -- Two OSs. Intel Xe, SR-IOV and thoughts on VMs": https://youtu.be/IXUS1W7Ifys
Other Videos By SPC Cheif22
Other Statistics
Changes Statistics For SPC Cheif22
There are 14,440 views in 1 video for Changes. His channel published less than an hour of Changes content, less than 0.91% of the total video content that SPC Cheif22 has uploaded to YouTube.