Jump to content

Anybody played with PCI Passthrough on Linux?

Hey guys,

 

I've been playing around with a ton of ideas for my next computer setup (primarily going laptop-only, but that isn't what this is about) and one thing I keep coming back to is the idea of PCI Passthrough. My original plan, if I went the desktop route, was to get two physical SSDs and have one dedicated to Linux and one dedicated to Windows. Recently though, I've done a fresh Windows install on my current rig and didn't set up any day-to-day software, just Discord, graphics drivers, and games. That way as soon as I'm done gaming, I'm sort of forced to jump back over to Linux so I don't end up hanging around on Windows for too long. So now, it pretty much doesn't seem worth it to have a physical drive dedicated to Windows, so I was thinking about just using a VM for the few games I still need Windows for.

 

So what I've been thinking about lately (and TL:DR) is building a system with an i5 or i7 with integrated graphics, using the iGPU for Linux, and then just having a Windows virtual machine that I would spin up on-demand that had the graphics card fully passed through to it, and just use that for all but the simplest of indie games. So my question for those who have experience with GPU passthrough, what's the experience like? Is there a noticeable input latency increase in playing games in a VM?

Link to comment
Share on other sites

Link to post
Share on other sites

Damn... nobody responded... I've looked into it some.. I have the same idea as you. My Ideal set-up would be some linux distro for daily use and a good Windows VM with GPU passthrough for gaming. I don't remember where i read a guide for it but I wonder what did you end up doing? Did it work as expected?

Personal Rig:

[UPGRADE]

CPU: AMD Ryzen 5900X    Mb: Gigabyte X570 Gaming X    RAM: 2x16GB DDR4 Corsair Vengeance Pro    GPU: Gigabyte NVIDIA RTX 3070    Case: Corsair 400D    Storage: INTEL SSDSCKJW120H6 M.2 120GB    PSU: Antec 850W 80+ Gold    Display(s): GAOO, 现代e窗, Samsung 4K TV

Cooling: Noctua NH-D15    Operating System(s): Windows 10 / Arch Linux / Garuda

 

[OLD]

CPU: Intel(R) Core(TM) i5-6500 @ 3.2 GHz    Mb: Gigabyte Z170X-Gaming 3    RAM: 2x4GB DDR4 GSKILL RIPJAWS 4    GPU: NVIDIA GeForce GTX 960    Case: Aerocool PSG V2X Advance    Storage: INTEL SSDSCKJW120H6 M.2 120GB    PSU: EVGA 500W 80+ Bronce    Display(s): Samsung LS19B150

Cooling: Aerocool Shark White    Operating System(s): Windows 10 / Arch Linux / OpenSUSE

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, VicBar said:

I don't remember where i read a guide for it but I wonder what did you end up doing? Did it work as expected?

Haven't taken the dive yet, and I actually don't think I will. That want I touched on in the beginning about moving to a laptop-only workload is too strong. Current plan is to build a cheap-ish "Esports machine" for like $800 or less to run only Windows for gaming and then just picking up something like the Dell XPS 13 Developer Edition for my daily use Linux computer with Fedora Workstation. I've been keeping a spreadsheet with all of my options and their prices and it seems like the most logical solution.

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×