Question 2 GPUs, 1 PC, 2 Gamers(Windows to Windows)

bestmank

Reputable
Nov 11, 2020
14
0
4,510
I'm sorry for the title. So I have a system which I recently upgraded with a new GPU(RX 7900xt). My old Graphic card is a RTX 2070 super. As for processor I got a Ryzen 7 2700x and a pile of 32GB of RAM.
My problem is that I cannot find a proper tutorial online on how to dedicate the secondary GPU(connected on my PCI x8 slot - the Nvidia one) to a virtual machine like Hyper-V(I'm willing to use Windows to Windows method, not installing something like VMware ESXi). All I find online is GPU partitioning tutorials which are not my case(as far as I understand this "splits up" your GPU).
Can anybody guide me to a good tutorial somwhere online? Or any help is appreciated.
That's my problem straight to its point, hope I was clear enough about what I'm trying to do!
Thank you!
 
Last edited:

bestmank

Reputable
Nov 11, 2020
14
0
4,510
Okay, so I fallow this tutorial with this script . I am stuck at the last step(as seen in the image)..and I still don't know if I'm on the right way..

Any "leads" that I'm doing something wrong? IOMMU is enabled in BIOS. Also the GPU(Nvidia one) had disapeard from the Device Manager(in the host PC) using this script.
 

bestmank

Reputable
Nov 11, 2020
14
0
4,510
Okay, so I fallow this tutorial with this script . I am stuck at the last step(as seen in the image)..and I still don't know if I'm on the right way..

Any "leads" that I'm doing something wrong? IOMMU is enabled in BIOS. Also the GPU(Nvidia one) had disapeard from the Device Manager(in the host PC) using this script.
NEVERMIND.
Seems like DDA isn't available in Windows 11 PRO(why Microsoft ;-; )

Found out after hours and hours of research. Seems like I would need to move on a Windows Server Editon for that..
Anyway, found a way to resolve that issue from the past post, by disabling the dynamic ram in the VM setting. But after that I came across this error that told me to "h off" and go buy the windows server edition :D
So..days spend for..
R8EnvmP.png


oh, btw, if someone come across this post in the future and don't know how to enable back the deactivated GPU, just run this script in elevated PowerShell then enable it back from Device Manager(make sure you see the hidden devices)

Code:
$pnpdevs = Get-PnpDevice
$gpudevs = $pnpdevs | Where-Object {$_.Class -like "Display" -and $_.Manufacturer -like "NVIDIA"}
$locationPath = ($gpudevs | Get-PnpDeviceProperty DEVPKEY_Device_LocationPaths).data[0]
Remove-VMAssignableDevice -LocationPath $locationPath -VMName VMName
Mount-VMHostAssignableDevice -LocationPath $locationPath
this script works for Nvidia gpus, but I guess if you replace Nvidia keyword with AMD will do(not sure tho!).
 
Last edited:

bestmank

Reputable
Nov 11, 2020
14
0
4,510
A valid license for Windows Server is more than a whole second PC would cost.
So switch to Linux, and point to microsoft what Linus Torvalds pointed once upon a time to Nvidia <3
The bad part is, the kernel level ACs.
Anyway, what if I could get that license for like ~10 bucks from sites like G2A(like what could be the cons)? xD
(haha, still not worth it)
 

USAFRet

Titan
Moderator
So switch to Linux, and point to microsoft what Linus Torvalds pointed once upon a time to Nvidia <3
The bad part is, the kernel level ACs.
Anyway, what if I could get that license for like ~10 bucks from sites like G2A(like what could be the cons)? xD
(haha, still not worth it)
I underlined the word valid for a reason.

Linux + multi seat gaming? Good luck.
 

bestmank

Reputable
Nov 11, 2020
14
0
4,510
NEVERMIND.
Seems like DDA isn't available in Windows 11 PRO(why Microsoft ;-; )

Found out after hours and hours of research. Seems like I would need to move on a Windows Server Editon for that..
Anyway, found a way to resolve that issue from the past post, by disabling the dynamic ram in the VM setting. But after that I came across this error that told me to "h off" and go buy the windows server edition :D
So..days spend for..
R8EnvmP.png


oh, btw, if someone come across this post in the future and don't know how to enable back the deactivated GPU, just run this script in elevated PowerShell then enable it back from Device Manager(make sure you see the hidden devices)

Code:
$pnpdevs = Get-PnpDevice
$gpudevs = $pnpdevs | Where-Object {$_.Class -like "Display" -and $_.Manufacturer -like "NVIDIA"}
$locationPath = ($gpudevs | Get-PnpDeviceProperty DEVPKEY_Device_LocationPaths).data[0]
Remove-VMAssignableDevice -LocationPath $locationPath -VMName VMName
Mount-VMHostAssignableDevice -LocationPath $locationPath
this script works for Nvidia gpus, but I guess if you replace Nvidia keyword with AMD will do(not sure tho!).
I found some "junky" workaround BUT I don't think its worth spending time on it as it could get messy..
if anyone that'll come across the same issue like mine and it's interested in not giving up, I found this reddit post: