jamesstringerparsec / Easy-GPU-PV

A Project dedicated to making GPU Partitioning on Windows easier!
4k stars 406 forks source link

Requesting script modification for a multi-gpu setup. (Possible bypass to the windows 10 unassignable gpu issue) #355

Open alatnet opened 4 months ago

alatnet commented 4 months ago

Great script, helped me get a vm up and running but have issues with a game that would crash with my amd card for some reason. I was able to run it in windows sandbox by enabling vGPU and disabling the amd card in the sandbox and having my nvidia card the only enabled gpu card.

So, a method for those who have multiple gpu's, like me, would to look for all gpu's, add them to the vm (multiple calls to Add-VMGpuPartitionAdapter), copy the required driver files as before and within the vm, disable the other cards except for the chosen card.

This method should work perfectly for those that dont have windows 11 and that the cmdlet Add-VMGpuPartitionAdapter that doesnt accept the InstanceID parameter.

One more thing to do is to copy the OpenCL.dll driver file from Windows/System32 from the host to the client. The game that I am trying to run crashes at the intro movies because apparently the intro movies use OpenCL to decode the movies or something.

alatnet commented 4 months ago

image