jamesstringerparsec / Easy-GPU-PV

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

How to change GPU on installed VM #339

Open S4Howie opened 7 months ago

S4Howie commented 7 months ago

I added a second GPU in my system. Then i updated the driver on a VM using the Update-VMGpuPartitionDriver script and change the GpuName String from "Auto" to "Name of Gpu2". And everything worked fine. Started the VM and it used Gpu2 and i could see it in Device Manager. But if i want to change the VM back to use Gpu1. I let run the script again with GpuName change to "Name of Gpu1". Then boot up the VM again just to see it still using Gpu2 and still showing Gpu2 in Device Manager. How can i change the VM to use Gpu1 again? Why it keeps installing Gpu2 while the name says Gpu1 in Script. I even tried to boot the VM in SecureMode. Then deleted the Gpu2 in Device Manager. Deleted the driver files in HostDriverFiles. Run the script again with Name of Gpu1 and still it keeps installing Gpu2.

Thanks for help in advanced.