Go to file
2021-11-14 03:35:52 -08:00
Machine Working?! 2021-10-18 13:20:40 -07:00
User Close to the end 2021-10-18 14:59:10 -07:00
autounattend.xml Remove dash from Username 2021-11-13 03:00:05 -08:00
cert.bat Working?! 2021-10-18 13:20:40 -07:00
CopyFilesToVM.ps1 Enable TPM on VM 2021-11-14 03:35:52 -08:00
dev.ps1 Enable TPM on VM 2021-11-14 03:35:52 -08:00
gpt.ini Working?! 2021-10-18 13:20:40 -07:00
PreChecks.ps1 Update PreChecks.ps1 2021-10-19 08:11:19 +02:00
README.md Update README.md 2021-11-13 22:53:26 +01:00

Easy-GPU-P

A Project dedicated to making GPU Partitioning on Windows Hyper-V easier! Also known as GPU Paravirtualization.
GPU-P allows you to partition your systems dedicated or integrated GPU and assign it to several Hyper-V VMs.

Easy-GPU-P aims to make this easier by automating the steps required to get a GPU-P VM up and running.
Easy GPU P does the following...

  1. Creates a VM of your choosing
  2. Installs Windows 11
  3. Partitions your GPU of choice and copies the required driver files to the VM
  4. Installs Parsec to the VM

WARNING: A work in progress...

Prerequisits:

  • Windows 11 Pro or Enterprise
  • Desktop Computer with dedicated NVIDIA/AMD GPU or Integrated Intel GPU - Laptops with NVIDIA GPUs are not supported at this time, but Intel integrated GPUs work on laptops. GPU must support hardware video encoding (NVIDIA NVENC, Intel Quicksync or AMD AMF).
  • Latest GPU driver from Intel.com or NVIDIA.com, don't rely on Device manager or Windows update.
  • Windows 11 ISO downloaded from here
  • Virtualisation enabled in the motherboard and Hyper-V fully enabled on the Windows 11 OS (requires reboot)
  • Allow Powershell scripts to run on your system - typically by running "Set-ExecutionPolicy unrestricted" in Powershell

Instructions

  1. Make sure your system meets the prerequisits.
  2. Download the Repo and extract.
  3. Search your system for Powershell ISE and run as Administrator.
  4. In the extracted folder you downloaded, open PreChecks.ps1 in Powershell ISE.
  5. Open and Run PreChecks.ps1 in Powershell ISE using the green play button and copy the GPU Listed (or the warnings that you need to fix).
  6. Open CopyFilesToVM.ps1 and edit the params section at the top of the file, you need to be careful about how much ram, storage and hard drive you give it as you system needs to have that available. You also need to write the GPU name exactly how it appears in PreChecks.ps1. Additionally, you need to provide the path to the Windows 11 ISO file you downloaded.
  7. Run CopyFilesToVM.ps1 with your changes to the params section - this may take 5-10 minutes.
  8. View the VM in Hyper-V, once it gets to the Windows Desktop you will need to approve the certificate install request.
  9. Sign into Parsec on the VM.
  10. If you need audio, install Virtual Audio Cable (Google it).
  11. You should be good to go!

Thanks to https://github.com/tabs-not-spaces/Hyper-ConvertImage for creating an updated version of https://github.com/MicrosoftDocs/Virtualization-Documentation/tree/master/hyperv-tools/Convert-WindowsImage that is compatible with Windows 10 and 11.

Notes: You must connect a physical display to the GPU (or HDMI dongle) in order for Parsec to work.