Pci Passthrough for gaming?

I've been seriously looking into upgrading my rig to do pci passthrough. Before i do so
1. will it tax my hardware pretty bad
2. is it overly complicated to maintain
3. does it hinder performance

Attached: 1519715188170.jpg (2000x2000, 315K)

Other urls found in this thread:

forums.linuxmint.com/viewtopic.php?f=231&t=212692&sid=d132ec1a7c971fce30a90e5e33720e40
twitter.com/SFWRedditVideos

1. Not so much anymore if you're using KVM. You get something like 90-95% efficiency. The caveat to this is that this no longer applies to Intel chips because of Meltdown + Spectre. Those two issues hamstringed the fuck out of Intel chips in regard to virtualization. I think there have been a couple fixes, but it's still pretty bad, so if you want to do this, Ryzen is probably your best bet.

2. No, just somewhat difficult to set up, though there are a few guides out there which make it fairly easy now. It's just a bit of a bitch because you need to use a KVM switch or Synergy for your HIDs, and you need to switch inputs on your monitor, or have two displays. Oh right, the setup also requires that you have two GPUs, but as long as you have a CPU with an integrated GPU, you can use that one for the main os, and use your other GPU for the passthrough.

3. See 1.

no
only if you have zero idea how to work configurations
by like 2%

1. i don't use my 1070 as much as i wanted. Except that it's working well.
2. once it's working everything will be daijoubu
3. it depends of what you're doing. Let's say i finished NieR:Automata at 60FPS (limited by options) in a VM, and GTA V is working fine in high/ultra at 70FPS.

Ryzen 1700 - GTX 1070 is really a great combo.

Attached: screen129.png (640x480, 236K)

You can disable the pti patch if you want.

Just dual boot you autistic faggot

Dual booting is for plebs.

Attached: 1503442867662.jpg (400x462, 26K)

I'm posting from my PCI passthrough VM while Overwatch updates right now.
1. only as bad as running windows does to begin with? so not really? your shit will run bad in both the guest and host if your hardware is shit, but even WITH shit hardware it isn't too bad. I'm on a bulldozer FX-4100 CPU, with my VM using 3 cores, it's my biggest bottleneck, and I can still get 100+ fps in most games I've tried with a 1060.
2. no. the setup is a bitch at points, but once it's going, it should just work whenever you boot it. I've had a fedora system update kill my VM in the past, but it was simply a matter of using my backed up EFI boot vars and such to fix it. it seems like it'd be harder to un-fuck if you use virt-manager, and imo you should probably go with a method similar to that explained in this post:
forums.linuxmint.com/viewtopic.php?f=231&t=212692&sid=d132ec1a7c971fce30a90e5e33720e40
3. as the other guy said, it's pretty close to bare metal speeds, but that's IF and ONLY if you set it up correctly. it is entirely possible to get it running but performing like shit if your computer's hardware isn't quite technologically advanced enough, or if you don't set your boot script up with proper optimizations, and some of those optimizations don't play nice with certain hardware, and stuff like that. it's finicky if you want max performance.

dual booting is a fucking horrible solution, I'd much rather run ./win.sh and have windows start on my third monitor than have to close everything, reboot, wait for windows to boot, etc etc

also, to slightly add to this, and I'm sure you know this, but you will need 2 GPUs, preferably one AMD and one Nvidia if you've got that sitting around. it makes it easier to get the host to handle it, since you can just blacklist the guest card's brand's drivers and make vfio bind it on startup with boot options- it can work with 2 of the same brand but I had some issues, and saw some people saying the same.

>Ryzen 1700 - GTX 1070 is really a great combo.

just don't forget that Nvidia tries to Jew you out of running their Windows drivers in a client VM and you need to actively mess with a few extra settings because of it.

Virt-manager makes it easy, you do have to place your gpu into a different iommu group though

adding "kvm=off" to fake not using KVM is real hard man

there are multiple things that can trigger error 43, and while hiding the hypervisor is by far the most common, it's not the only thing that can cause it to appear.

AMD pass-through honestly had bigger issues for a pretty long time, but none of them were due to intentional sabotage.

fair point, and fair point.

you can also run everything as root, it's faster that way

>integrated GPU
Who would buy low end cpu's for gaming?

I'm not too worried about the security part. I don't install software often, when I do they come from the repos and I rare visit sites other than this shithole and some reputable news sites.

>adding "kvm=off" to fake not using KVM is real hard man
That will also hinder the OS from detecting that it runs in a VM and consequently fuck your I/O performance.

KVM=off shuts down virtualization features.
There are other commands to hide the VM to the operating system. Let me search.

I'm no expert, but I believe that can be countered by using a few flags.

Nier works really well with dxvk, same with gta 5. I'm mostly paying witcher3 and overwatch these days. I hate fucking with vms, dual boot, etc. You can save a lot of hassle just using wine for a lot of that. Don't have full compatibility buy there are a lot of playable titles.

I've never had any issues with cards of the same brand. You just need to specify the bus correctly.

>Just dual boot
>Just use a lowest common denominator file system like ExFat or NTFS so you can access your data from both system
>Alternatively just put all your data on a NAS and get 10 Gb/s Ethernet to recreate the experience of locally stored data
>Configure all your programs like email twice
>Just use webmail LMAO YOLO
>Reboot constantly
Dual booting is pants-on retarded.

Not really to all three.
You'll need a second GPU.

Integrated Intel GPU for Linux host is what everyone relies on.

>Nier works really well with dxvk, same with gta 5. I'm mostly paying witcher3 and overwatch these days. I hate fucking with vms, dual boot, etc. You can save a lot of hassle just using wine for a lot of that. Don't have full compatibility buy there are a lot of playable titles.
True man, I personally have high hopes that wine will be a good windows replacement in five years or so. The only thing it has trouble with is dx11/12, directmusic and net framework. That's all I would need to play all my chinese porngames and steam library.
Most things work already, especially now that it has HID support for gamepads. Hope that will stay that way, considering the direction windows is heading with the store and windows s.

>needing super insecure kernel patches
eww.

> Intel
Don't buy intel it has heavy performance drops in VM scenarios thanks to meltdown.

Are you using your computer to play games or as a server?

>needing a separate computer for both
Why?

VM workload is comparable to server workload.

Attached: f71.jpg (680x680, 42K)

Not that guy, but really? I've been using kvm=off to get around the nvidia cuck for a bit now, since the other methods I could find didn't fix it, and it doesn't seem to have fucked up my performance at all. I seem to be hitting exactly where I was expecting to be, performance wise.

I was under the impression that using accel=kvm in the machine flags and kvm=off in the CPU flags turned kvm on, but faked not using it to the OS, and then a bunch of flags on the CPU/HV effectively unfucked the now fucked I/O performance. I wouldn't be surpised if I'm retarded and completely wrong, but it does seem to reflect my experiences. accel=kvm killed my drivers, kvm=off turned em back on but with REALLY horrible I/O performance, like, unbearable, and then a bunch of hypervisor flags re-un-fucked my I/O performance. Now I'm getting ~90% I/O and CPU performance with damn near perfect graphics performance.

>implying
>GPU: AMD Radeon R7 370
>GPU: NVIDIA GeForce GTX 1060

>dxvk
I've never heard of this, but I am extremely fucking interested. I've been fucking around with WINE a bit recently, mostly to play Guilty Gear, and it works a WHOOOOLE lot better than I remember it working like a decade ago (well no fucking shit)

Can it be done on a Windows host too?

Attached: image_gallery.jpg (1960x1840, 649K)

So you already have a second GPU?

Fuck I'm too hammered for Jow Forums, I was aiming at AND I misread it anyway

To think I fucked with my laptop's kernel like this, time for bed.