has anyone actually successfully done gpu passthrough so that you get at least 80% native performance? it seems nearly impossible for me to get it to work. every time i try there's massive issues and remarkedly shittier performance
is this a waste of time or what? the people that claim 98% are like linux dads who don't actually play games or do anything that would require the proper performance
id say performance overhead for GPU is negligible disk I/O is a bit a slower latency can also be a problem overall it's a lot smoother than dualbooting
getting it to work is not that hard if you have the right hardware but getting everything right including mouse/kb, audio etc can be a bitch
Cooper Stewart
there are a lot of things that can influence performance: - MSI interrupts in the windows guests (need to edit registry) - cpu governor/etc. on the host (controlled with cpupower) - hugepages for memory
Jace Turner
How the fuck did Linus do 7 players 1 CPU, they were virtualizing windows, am I not right?
What were they using for multiple players to play crysis?
I'm curious too. I managed to get it working once with a GTX 970 as the passthroughed card, it's been a while but I think these were my findings:
Deus Ex Human Revolution ran at about 45 fps 1080p, felt pretty bad. Deus Ex Mankind Divided crash on startup Left 4 Dead 2 ran at literally 1 fps or lower, like it couldn't find the GPU or something. I then stopped using it because having to use two monitors/mice/keyboards was getting annoying and the heat was oppressive.
Dylan Adams
vCPU affinity can also be a problem anyway in my limited experience its pretty close to metal
>has anyone actually successfully done gpu passthrough so that you get at least 80% native performance? I've gotten close to 100% performance. For disks I've gotten very good performance. Pic related
>can you post your config? It's long gone, those benchmarks are from April. I did some experiments with passing through a physically remote device to Qemu by hooking on the mdev API in KVM.
>also does this translate to fps in video games as well? Latency is an issue, so not sure. Never looked at fps, only artificial benchmarks with CUDA.
Matthew Stewart
they key is optimizing the cpu use cpu pinning
It's not really worth it unless you have only one computer imo. Just Have a desktop for gaming and a laptop for linux. Booting up the vm takes just as much time as simply dual booting too.
Brayden Morales
>Running microshaft cock in anyway way shape or form kill yourself
I got OK experience with it I guess. Audio crackling and popping all the time until I set the windows audio service to cpu 3 and set isolcpu to cpu 4 on host. Now it's less often but still there.
Carter Turner
I've got 100%gpu pass through with an arch vfio The GPU is really the only thing that affects my performance as I can only lend 6 of my 8 cores
Cooper Jenkins
i don't have the space to set up two computers. if it worked it would be infinitely more convenient than dual booting
i have cpu pinning set up but its still pretty bad performance in general
I get decent performance but I don't benchmark or anything. One good trick I found is to use spice for audio so you don't get tons of crackling.
Mason Davis
this can help mayb: /usr/bin/cpupower set -b 0 /usr/bin/cpupower idle-set -D 100 /usr/bin/cpupower frequency-set -g performance
i swear the fuckin captcha is trollin me
Sebastian Walker
cant do it without running gentoo and downloading fifty patches from sketchy github pages and trawling forums and support boards and subreddits and shitty blog sites to find the correct xml config to get it working
Ryder Hill
you can do it on any recent distro with vanilla stuff but yeah its a bit like that
Jacob Peterson
how do you use spice for audio? i actually don't have audio at all right now even tho ive tried every driver and tried adding options to route it to pulseaudio
im getting like 40/50% native performance right now. i dont know if i want to wipe my windows ssd for that though (and it has to be a wipe since the i/o is so insanely high on anything but ssd). im exhausted for now so ill have to try the cpupower tomorrow
Hudson Smith
Some select AMD GPU cards might crash the host if all the CPUs are fully utilised (i.e playing CPU intensive games such as Total War or Kingdom Come). To mitigate this, enable irqpoll and at least reserve 1 CPU core for the host.
Zachary Flores
Did you use host-passthrough?
Jaxson Barnes
now with DXVK around it is pretty useless to even bother, honestly. But yes when I did passthru I got like 95% performance trick I found was just make the virtual system have no idea it's a virtual system
Juan Wright
i tried playing path of exile through the steam proton solution which uses dxvk but it was unplayably laggy. im not sure if that was using it or not because it had to be launched in dx9 since it crashed on dx11. none of the other games i tried would even launch so i gave up on that pretty quick
yea their implementation lacks scripts for a lot of games still. lutris.net/games/path-of-exile/ not much info vs other games it seems, nobody even reported how well it works. Lutris is basically where steam is copying honestly.
Jason Lee
Don't waste the time or effort with the hassle. Just dual boot if you have to windows. SSDs are cheap enough that re booting takes no time at all.
Joshua Foster
im too lazy and play games too sporadically to dual boot. whatever os i am booted into is going to dictate what im doing. i already have like 80% of the work completed for doing this i just need to know some secret performance techniques