VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » IT, programs, coding
PCI Passthrough - Virtual Machine Setup - Part 2 - Chris Titus Tech

PCI Passthrough - Virtual Machine Setup - Part 2 - Chris Titus Tech

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
PCI Passthrough - Virtual Machine Setup - Part 2 - Chris Titus Tech In this video, I am continuing the PCI Passthrough Series with Virtual Machine Setup in Part 2. Part 1: System Configuration https://www.youtube.com/watch?v=3yhwJxWSqXI Part 2: Making The VM 1. Customize config before starting 2. Change firmware from BIOS to UEFI 3. Setup CPU Topology 4. Install Blacklisted GPU as PCI device Note: Nvideo cards need to do $sudo virsh edit MachineName 5. Setup Windows 6. Setup virtIO Drivers - https://docs.fedoraproject.org/en-US/quick-docs/creating-windows-virtual-machines-using-virtio-drivers/index.html 7. Disable UAC 8. Debloat Win10 9. Install video drivers Current OS Debian KDE 10 buster
Date: 2022-03-20

Comments and reviews: 10


-Chris Titus Tech
Chris, thanks for making the second part. A few questions.
- If you use soundcard via PCIe , a soundcard via USB or a DAC via S/PDIF , will you get sound in both the host machine and the virtual machine or do you have to pass it through and will you then only get sound in the virtual machine?
- What is the minimum of CPU cores and RAM which would work? So how many CPU cores and how much RAM does Linux need for the virtual machine and Looking Glass? I assume that Looking Glass needs very little given that it only copies frames but what about KVM? A likely scenario for people who set it up is that they have 8 cores and 16 GB. I know that 8 GB is not enough for gaming these days so I would use as much RAM as possible, preferably 14 or even 15 GB. I also wouldn't want to run games in a virtual machine with less than 6 cores and 12 threads. For many games 4 cores is fine but some recent AAA games need at least 6 cores and 12 threads.
In short, do you think that 1 core and 1-2 GB of RAM would suffice for the host system if you close all other programs?
I would like to see you do the third part. People for whom it is too technical can skip it, right? No harm there.

reply

Question: In what regards is the performance of the 2nd GPU needed to run the game? Just curious if it needs to be similar to like running it as a primary GPU or is it just used to display the output? Trying to understand PCI passthrough more as I attempting to convert from Windows to Linux, but I am having issues with 2 of my top 3 games i play normally on windows. 1 i have not found a way to get it to run in Linux between lutris, wine, and such... and the 2nd one was working through wine... but broke when the game updated 2 days ago and feel this passthrough method may be an answer to these 2 games I prefer to play. For example, i run a 1080ti to play on a 1440p-165hz monitor, do I need another GPU like the 1080ti or something simple like a 1050ti?
reply

Very nice and informative video as always. Two questions though. If the setup includes 2 cpu sockets and want to use 2 cores from each socket (total 4) for the VM, how you choose that in manual cpu topology?
Also during passing through the gpu as a good practice all recommend to pass through the audio also. Isn t this usable in cases of monitors with build in speakers? What if someone wants to use pc speakers instead? How onboard sound chip going to act in a situation like this?
Thank you

reply

I would like to see if it is possible to passthrough Thunderbolt 3 PCIe card to Windows VM and then connect eGPU via Thunderbolt cable and then install Nvidia or AMD drivers in VM like you normally would on a laptop with eGPU (External graphic card). If this makes GPU passthrough a little easier and straightforward to setup compared to regular GPU passthrough.
reply

Also worth noting it is possible to have that secondary GPU become active or inactive on the fly with the virtual machine. It is possible to use the same big GPU for gaming on Linux and then shut it down and use it on the Windows VM, it just cannot be the primary GPU your desktop renders on AFAIK. VFIO reddit has a lot of scripts for this and such.
reply

I struggled a bit getting to win10, and when I finally launched it, it goes straight to UEFI and I can exit to BIOS in virt, but I can't find the proper boot device. I've watched a few VM setups in linux, but none address this error. Searching for errors just tells me to switch to a different device, but it just brings the UEFI menu back up.
reply

i followed your instructions exactly and the GPU i wanted to isolate (AMD Rx 480) could also be isolated, but when i try to start the VM with PCI passthrough the VM stops immediately and my second monitor on which the VM should be displayed stays black. do you know what the issue could be? without pci passthrough the vm starts
reply

+1 for Looking Glass guide. There is too much misinformation regarding the topic out there and we need a single comprehensive guide. Please, you have made a great tutorial regarding setting up a GPU passthrough, Looking Glass is what makes this whole thing worth the effort and is a natural sequel to the series.
reply

Looking Glass should be done. It makes this whole thing worth the effort in the end. Good job on the vid, as a person who did this last year and fumbling through multiple videos and tutorials and forums and just headaches this is a good simple introduction to this process. Keep it coming.
reply

Thanks very much Chris, I've been looking forward to this. A couple of basic questions: a) is that QEMU you're using, and is VMware/VBox fine also? and b) you talked about using two monitors - is this just during the setup phase? You can have the VM on the same monitor as the host, right?
reply
Add a review, comment






Other channel videos