-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center.
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center.
- HP Community
- Desktops
- Desktop Operating Systems and Recovery
- GPU Passthrough
Create an account on the HP Community to personalize your profile and ask a question
11-07-2024 12:44 PM
Welcome to the HP support community.
Here’s a general overview of how to set this up:
1. Check CPU & Motherboard Compatibility
- Intel i5-8400 has an integrated GPU (iGPU), the Intel UHD 630, which you can use for GPU passthrough to a virtual machine.
- However, your motherboard and BIOS/UEFI settings will need to support virtualization and IOMMU (Input-Output Memory Management Unit), which is essential for GPU passthrough.
2. Enable Virtualization & iGPU in BIOS/UEFI
First, make sure the iGPU is enabled in your system BIOS and that virtualization is enabled:
- Turn on the computer and press the F10 key (or whatever key is used to access BIOS/UEFI on your system).
- Enable Intel Virtualization Technology (VT-x).
- Enable Intel VT-d or IOMMU, which is crucial for passthrough.
- Ensure that the iGPU (Intel UHD 630) is enabled in the BIOS. This is usually enabled by default, but it’s worth checking.
3. Setting Up GPU Passthrough for Virtualization
You'll need to use software that supports GPU passthrough (most commonly, KVM on Linux or VMware/Hyper-V on Windows). The most popular approach is using KVM/QEMU on Linux, but here’s a basic outline for both Linux and Windows.
Enable VFIO (Virtual Function I/O) Modules:
- Add the following to your GRUB configuration:
- Open the file with sudo nano /etc/default/grub
- Add the following line to the GRUB_CMDLINE_LINUX_DEFAULT variable:
- Then update GRUB and reboot:
- command : lspci | grep VGA then sudo update-grub sudo reboot
Create Virtual Machine in KVM/QEMU:
- Set up a new VM using virt-manager or the command line. Make sure to specify the GTX 1060 for passthrough and configure the iGPU for the VM display.
- You’ll need to specify two video devices: one for the VM using the iGPU (for display output), and one for the GTX 1060 (for passthrough).
- Install the NVIDIA drivers in your VM for the GTX 1060, and use the iGPU for the host system’s display.
For Windows (VMware/Hyper-V):
- VMware Workstation/ESXi: VMware supports GPU passthrough with their vSphere hypervisor, but it may require additional configuration, especially for passthrough of a discrete GPU while still using the iGPU.
- Hyper-V: GPU passthrough in Hyper-V (known as Discrete Device Assignment, or DDA) requires specific hardware support, and you’ll likely need to disable the primary GPU for passthrough to the VM. However, it's possible to use the iGPU for display tasks on the host.
4. Testing the Setup
After setting up the passthrough:
- Launch the VM with the GTX 1060 passed through and ensure that the display is working correctly on both the host (using the iGPU) and the VM (using the GTX 1060).
- Test the performance by running GPU-intensive tasks in the VM to make sure the passthrough is functioning correctly.
I hope this helps! Keep me posted.
Please click “Accepted Solution” if you feel my post solved your issue, it will help others find the solution.
-Regards
Raj-HP Support
Raj2111
I am an HP Employee
11-08-2024 10:45 AM
Welcome to the HP Support Community.
Thank you for posting your query. I will be glad to assist you.
I've sent you a private message with the instructions. In order to access your private messages, Click the Private message icon on the upper right corner of your HP Community profile Next, to your profile Name, you should see a little blue envelope, please click on it or simply click on this link
Take care and have a good day.
-Regards
Raj-HP Support
Raj2111
I am an HP Employee