2 Cloud Gamers on 1 RTX 2070 GPU Using RainWay Game Streaming. HyperV GPU-P Setup.

Channel:
Subscribers:
217
Published on ● Video Link: https://www.youtube.com/watch?v=gZNiMaJ-ONs



Duration: 25:38
18,988 views
272


Hello All, this video will cover HyperV GPU-P again with the use of RainWay Game streaming to make a 2 gamers 1 GPU cloud computer. Since this is a streaming application, we will utilize the power of hardware encoding with NVENC from the RTX 2070 GPU for Both VMs.


Disclaimer: This is not a sponsored video by RainWay nor am I an expert with GPU-P technology. Nothing from the video guide is guaranteed to work or be stable. Do not harass RainWay's support staff if you are encountering issues since this method of Virtualization isn't officially supported to my knowledge.

!!! Use this at your own risk !!!

PARSEC USERS: If you are using Parsec, I do not have any fixes for people using more than one VM on a GPU. This guide will help with getting you set up with hardware encoding at the very least. results will vary and I cannot provide much help with this.

======== Guide ========

NOTE: If you want to try this with no monitors, Make sure you have headless dongles (1 per VM on the card. I don't make the rules and this apparently works from trial and error). Having no dongles will keep Rainway from doing any form of streaming.

Supported OS:
Windows 10 - Pro/Enterprise 2004-20H2
Windows Server - 2016-2019 (maybe)

Instructions:
1: When setting up HyperV. Create VMs with Gen 2. You will also need to disable enhanced sessions and Checkpoints for VMs.

2: 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)

3: Next you will need to copy the following DLLs from C:\Windows\System32\ from your host to C:\Windows\System32\ on your VM
- NvAgent.dll
- nvapi64.dll
- nvaudcap64v.dll
- nvcuda.dll
- nvcuvid.dll
- nvEncodeAPI64.dll
- NvFBC64.dll
- NvIFROpenGL.dll

4: You will need to have a virtual audio cable installed to pass audio. 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/

5: Shut VM down and configure your Powershell script for the VM. You can change out the Values as you see fit or change them to be the same as mine from the Video.

Powershell 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
-------------------------------

6: Start back up the VM and install Rainway: https://rainway.com/gaming/

7: From here on out, everything should be working. Install stuff from steam or get prereqs for other software.


======== Basic Troubleshooting ========

If your card still gets a code 43, check to see if you typed the folders correctly. Hence why I made the cut to the future regarding my error.

If that doesn't work, check to see if all drivers listed above were actually copied to the VM.

You can check on the Reddit page below to see if the issue you have might be solved.

======== Other Resources ========
The original place where this guide came from was from Krutav and from the sub-threads of the post on Reddit.

Reddit page: https://www.reddit.com/r/sysadmin/comments/jym8xz/gpu_partitioning_is_finally_possible_in_hyperv/

Feel free to leave a comment on what kinds of results or projects you did with this guide.







Tags:
Rainway
hyperv
gpu-p
hyperv gpu-p
gamestreaming
cloudgaming
microsoft
cheif22
12reviewman
heaven benchmark
Nvidia
rtx 2070
NVENC



Other Statistics

Counter-Strike: Source Statistics For SPC Cheif22

There are 18,988 views in 1 video for Counter-Strike: Source. His channel published less than an hour of Counter-Strike: Source content, less than 0.81% of the total video content that SPC Cheif22 has uploaded to YouTube.