[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Ok nigga, tell me about gpu pass through. Is it really as good

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 143
Thread images: 12

File: maxresdefault.jpg (129KB, 1280x720px) Image search: [Google]
maxresdefault.jpg
129KB, 1280x720px
Ok nigga, tell me about gpu pass through. Is it really as good as people saying? Do you need 2 monitors for that?
>>
>>60125659
You don't need two monitors as long as your monitor has more than one input source. You need two GPUs
>>
>>60125659
I'm running Overwatch at 50+ FPS consistently with just Intel integrated graphics on Arch Linux using GPU passthrough. I've been I can hit 60 with a little bit of tinkering, but I'm too lazy for that. 50+ is pretty sweet F A M.
>>
>>60125659

gpu pass trough.
not cpu
>>
>>60125659
What you actually need:
>a cpu and a motherboard supporting PCI passthrough
>two (ideally different) GPUs
>modern lunix
I've run a setup since 2015, I can answer some questions.

>>60125677
Don't the IOMMU groupings effectively prevent you from passing through intel graphics?
>>
>>60127068

https://01.org/igvt-g

Based Intel comes down from the heavens to bestow graphics virtualization upon us lowly peasants. Meanwhile AMD locks their technology down to FirePro branded cards.
>>
>>60127398
Huh.
I don't think this was a thing when I set my setup up. Though it's not a conventional PCI passthrough either.

What do you mean with AMD locking the technology though? I run nVidia and know that their GTX windows driver will lock up if it detects it's running in a virtual machine while letting quadros run just fine, but I'm not familiar with AMD's quirks here.
Besides this thing of course.
http://arseniyshestakov.com/2016/03/31/how-to-pass-gpu-to-vm-and-back-without-x-restart/
>>
>>60127398
That's new, I passed through my 270x just last year. I only stopped because I found a spare case to throw a second tower together for streaming.
>>
>>60127495

Multiple VMs on one GPU will be possible with AMD video cards, but only if they are branded FirePro.
>>
>>60125677
>competative shooter
>50fps
this is about 1/6th of where it should be
completely unplayable
>>
>>60127398
>requires special kernel or patches
>requires 3.X kernel
so that tells me the code is shite

I dont have a problem compiling a kernel with my own patches but shit like acs bypass are ezmodo and just werk, all these patches im not so sure
>>
>>60127398
No they don't.
t.rx480 owner
>>60127068
You don't need 2 GPUs
>>60125659
Don't need 2 monitors, it works fine for me. Any idiot can use
 virt-manager
and be in business in minutes, no complicated cli commands.
>>
Is this shit actually possible with modern GPUs? Everywhere I read says that unless you spend a shitload on a quadro/firepro the drivers don't allow it.
>>
It's finnicky bullshit.

I just boot my Windows partition for gaymen.
>>
>>60125659
for me its the way to go, I play GTA V, The Witcher 3 with GPU Passtrough. I really like it
>>
>>60125659
here is an good guide to GPU Passtrough
https://hastebin.com/afokasevaw.sql

and my startscript
https://hastebin.com/uqudirukon.tex
>>
>>60130747
with the -net nic command I am able to RDP into my VM via 127.0.0.1 btw
>>
>>60125659
>Is it really as good as people saying?
It depends on what you've heard, I've done it on an I5 4440 with a gtx 960 and it works fine, the only reason I did it was to play witcher 3 and I didn't noticed any difference on performance with the system on dual-boot, depending on your use case scenario it could change.

>Do you need 2 monitors for that?
No, if you have a monitor with 2 entries you can just switch between entries, if your monitor doesn't have 2 entries you could use a KVM switch
>>
>>60129807
>You don't need 2 GPUs
So you can do this with just a single radeon? I'm really starting to regret my GTX 970.

>no complicated cli commands
virt-manager is missing the kvm=off option which lets you run GTX cards insider virtual machines. I'm really really starting to regret my 970.

>>60130747
Isn't this guide starting to get outdated? I followed it in 2015 and this thread is full of shit I haven't even heard of.

>>60129857
It's fun.
>>
>>60131689
If this is your idea of fun you might get yourself checked for autism but whatever floats your boat I guess
>>
>>60131853
I generally find computers and other technology fun. It's why I'm here.
If you disagree, you might as well leave.
>>
>>60131689
>Isn't this guide starting to get outdated?
I used it maybe 1 month ago, so it still works. But you are right, there will be a new kernel module for gpu passtrough.
>>
>>60125659
I tried it on gigabyte 990fx and audio stuttering was terrible.

In the end I just built a second gaymen pc.
>>
>>60131689
Yeah, single rx480 and muh 6600k plays doom fine in windows 7 on a vm. It's the only game that I play, or care about that doesn't have a linux option. I went with AMD unironically because of the superior linux options, such as this issue.
>>
>>60132572
Sorry bout that, I only use optical out to my receiver. This has saved me many, many headaches and issues.
>>
>>60129844
it's been possible for a while now
nothing new
>>
>>60125673
So if I have a single GPU and no IGP I cannot use GPU passthrough? Why would that even be allowed? Or is it probably the state of loonix in 2017?
>>
>>60132951
Nvidia or AMD? Nvidia will fuck you over. AMD and my iGPU is disabled in bios. I guess I just need one.
>>
>>60132882
Can you outline how your VM is set up for me?

I have a 6600k and a r9 290 and I'd prefer to just use a VM in Linux. I NEED 144hz support, if there isn't 144hz support I'm gonna stick to dual booting.
>>
>>60133066
>>60133168 here how so I set up pass through using a single AMD GPU and multiple inputs on my monitor
>>
>>60133168
I really didn't do anything but follow the prompts in
virt-manager
. It's just like setting up a vm in virtual box or whatever. I think I had to have the w7 .iso on my disk instead of a cdrom for some reason, I can;t remember, but cdrom is the default or something anyway.
>>
>>60133254
Sweet thanks
>>
>>60133266
If libvirt-d won't start:
systemctl enable libvirtd
(as root af)
>>
>>60127495
>nvidia drivers detect they're in a VM and lock up

source
>>
>>60133353
>common knowledge
>>
>>60132882
DOOM runs fine in WINE you fucking cuckold
>>
>>60133374
I have no reason whatsoever to use wine. It's more headache than just starting a vm for me. And i get to have native performance on comfy w7, while obscuring my iprivacy, and security, somewhat.
>>
>>60133365
then whats the point? the whole purpose of this is gaming in a windows guest and linux host. nobody is buying a quadro gpu just because nvidia wants to price gouge server owners who use gpus for database operations and number crunching
>>
why not just use windows instead of jumping through all these autistic hoops. On top of that you're completely defeating the point of "muh freedomz" if you're just going to use closed source software anyway
>will linux kids ever learn
>>
>>60133415
Sorry you got cucked by Nvidia, all AMD cards have this ability
>>60133436
I don't care about freedom, and neither does anyone else buying an Nvidia card.
>>
>>60129406
It's only competitive if you play it competitively
besides, 60FPS is great
>>
>>60133407
A VM requires you to pay hundreds of dollars for a Windows license and spend 12 hours installing it.
>>
>>60133365
>>60133353
the bigger question is why would anyone prefer to game in a VM

If you're on a VM, then you're probably on a Windows host machine so just play on that.

If you're on a Linux host, then just set up passthrough there

If you're on an OSX host then literally end your life
>>
File: virtm.png (498KB, 822x747px) Image search: [Google]
virtm.png
498KB, 822x747px
>>60133485
LOL no
>>
>>60133495
And where are you getting the install image from, ``genius"?
>>
>>60133490
Using
virt-manager
is a VM using kvm/qemu. I'm on Linux when I use it for anything I need to do on Windows, including obscuring my identity online.
>>60133509
Already have it, or you can torrent, or download directly from Microsoft.
>>
Is it possible to do this on laptops?
>>
File: 1492581833580.webm (2MB, 480x270px) Image search: [Google]
1492581833580.webm
2MB, 480x270px
>>60125659
it is fucking amazing. Successfully passed through with the following hardware
>Asus H97M-E motherboard
>GTX 980
>i7 4790 (not k) CPU

Recently figured out how to rebind my dedicated Nvidia GPU back to host OS when not using VM without a system restart (you have to log out and login and switch PRIME profile in Nvidia settings to do so)
Everything I have thrown at the VM works as though I was using bare metal with minimal hassle after the initial hurdle setting it up.
Performance loss is minimal, around 5% on the CPU but can go as low as 1% with more optimization. Games are generally GPU bound so it hasn't been an issue.
>>
>>60133524
check if your cpu has vt-d
>>
>>60133523
Oh, thought you meant Nvidia drivers on linux.

Yeah I dont know what to tell you about that.
>>
>stuttery framerate
>crackling sound
>unreliable input
>will spend hours trying different things to fix these and get nowhere
It's not worth it
>>
>>60133549
Sorry to hear.

>crackling sound
Disable HDMI audio from GPU in VM and try using AC97 + alsa plugin instead of pulse audio, that solved the crackling for me.

>stuttery framerate
haven't had that issue, what hardware are you using?

>unreliable input
QXL without video runs fine enough for me, you can disable QXL and pass through your keyboard and mouse to the VM by device ID.
Most reliable hassle free way of getting USB input devices to work plug and play without configuration is to get a PCIE usb controller and pass the whole thing through. Just make sure you avoid ASmedia and other shitty controllers. The 5 port Inatek works fine for me
>>
>>60129406
>overwatch
>needing high fps/precision
kek
>>
>>60133509
is this your first day online or something?
>>
>>60127495
you can pass Nvidia GPU back to host as well by switching PRIME profile in Nvidia settings then logging out and logging back in.

>I run nVidia and know that their GTX windows driver will lock up if it detects it's running in a virtual machine while letting quadros run just fine
Yes I have witnessed it, it gives error code 43 in windows if you use hyper-V extensions.
There is a simple one line workaround for now
# Basic CPU settings.(hyperv tweak for better GPU performance disable if it fucks up)
OPTS="$OPTS -cpu host,kvm=off,hv_spinlocks=0x1fff,hv_relaxed,hv_time,hv_vendor_id=Nvidia43FIX"

My next upgrade might be an AMD Vega for this reason since there is no telling whether they will fuck with this further in future drivers. And the driver telemetry of course though that is less of an issue unless they include it on the linux driver as well since the windows VM is effectively a sandbox and most of my activity is on the host OS.
>>
lscpu | grep vmx
VT-D should be enough to get started with GPU passthrough right?
>>
>>60133898
I found this guide handy when setting mine up, there might be some easier and better ones out there but this one has been fairly thorough
>https://www.evonide.com/non-root-gpu-passthrough-setup/#GPU_passthrough_with_QEMU
>>
>>60129406
>Overwatch
>Competative shooter
>>
Does GPU pass work on laptops?
If laptop has integrated and dedicated graphics card?
>>
>>60135451
They don't usually design laptop motherboards with GPU passthrough in mind so the memory grouping is often fucked up.

You cannot pass the GPU through without a kernel patch if the GPU isn't in its own memory group or all devices in that memory group are passed through.
>>
File: 1298527151028.jpg (25KB, 627x627px) Image search: [Google]
1298527151028.jpg
25KB, 627x627px
>using linux because MUH PRIVACY XD
>just run windows in a vm because that somehow makes it better
>just run steam on top of that
>try to act like you are sticking it to the man
>>
>>60135539
Do you realise that you then use Windows for gaming and in VM it is isolated from your actual OS, where are all private stuff?
>>
>>60135622
i bet you actually think that, how quaint
>>
>>60135539
There is no escape from the botnet regardless of OS. That takes far more effort than simply installing Linux.

Windows 7 was fine, windows 8.1 started going tootie fruity and w10 went full retard with its heavy handed bullshit.
There is still benefit to using linux as host OS
, the updates are less obnoxious, VM can sit and update all it wants it won't stop me from working on my computer.

Telemetry entrenched in the OS instead of through your browser/adware/third party software is far more obnoxious, having it sandboxed in a VM is preferable.
>>
>>60135656
there are plenty of ways to manage windows update yourself, and if you cannot make any of it happen then dont try to kid yourself that you can manage linux correctly
>>
>>60135683
Can and have set it up to stop updating for now, but good luck disabling telemetry completely.
Far easier to do so on linux because guess what, it doesn't have any of that skulduggery.
>>
>>60125659
no, you can use one monitor with 2 inputs, yes it's as good as people are saying, you just need a decent cpu and you'll get native performance
>>
>>60129725
>>requires 3.x kernel
whew im already on 4.x
>>
Can I still use one mouse and keyboard for both linux and windows? Can I tab out from my VM and use linux at the same time? Someone said you can do it with just one gpu, anyone have any more info on this? Will both OS's get rendered, or do I have to swap between them?
>>
>>60132900
It stuttered no matter what, I tried HDMI audio and passing through the motherboard sound.
>>
>>60135817
>Can I still use one mouse and keyboard for both linux and windows?
yes
>Can I tab out from my VM and use linux at the same time?
yes
see >>60133528

>Someone said you can do it with just one gpu, anyone have any more info on this? Will both OS's get rendered, or do I have to swap between them?
I don't know about using a single GPU only, trickier to pull off.
Some CPUs have integrated GPUs that you can use on the host OS while you pass through the dedicated GPU.
>>
>>60135917
Awesome. I'll try and set it up with one GPU, I have a ryzen, so no integrated graphics. I imagine I could get something really cheap just for running linux.
>>
>>60135817
>Can I still use one mouse and keyboard for both linux and windows?
Several methods to do so,
first method involves using device emulation like QXL to pass M+KB through to guest OS, shortcut to exit guest OS and go back to host is ctrl+alt.

Another other method is to passthrough the M+KB by USB device ID in the startup script, once the VM is shutdown the host regains access to the devices. You want the previous method, because method 2 can lock you out of the host OS unless you have a second set of M+KB.
Yet another is to use a KVM switch which handles switching between guest and host in hardware.

Reason some might prefer to pass the device through instead of some form of device emulation like QXL is for security reasons and to reduce input delay if you are playing twitch shooters or games requiring high APM and fast reaction time. Works fine for general use otherwise.
>>
>>60136031
Ok, input lag could be an issue. Guess I'll just have to try it out and see. Thanks!
>>
>>60135946
I wouldn't recommend you try to pull off GPU passthrough with a single GPU and a ryzen CPU as a beginner unless you have the patience and don't mind wasting all the time potentially going nowhere.
Even with access to two GPUs it is harder to pull off with a ryzen CPU primarily due to the memory grouping on current AM4 motherboards, you'd need to patch the kernel using ACS to pull it off.
I don't like having to resort to ACS patch since it can be a security risk and you will likely have to reapply it after every kernel update (not sure about that).

Better off just dual booting in your case, if you are worried about privacy then perhaps run linux on a laptop.
If you find no harm in trying and having to reinstall windows bare metal after all that effort then go ahead, no harm in learning something new.
>>
the best benefit of pass through is the security if you're autistic enough
>>
>>60133509
You have to be trolling.
>>
>>60136116
Yeah, I do currently dual boot, kind of a pain cause all I use windows for is muh games. Do you have any more info on the ryzen stuff? I don't mind wasting my time, but it looks like you only have access to one desktop at once when passing through, so I'll buy another GPU.

Anyone know a GPU which will run linux just fine for cheap?
>>
Its a shame that Ryzen fucked it up so hard otherwise I would consider doing it for my next build.
>>
>>60136316
>Ryzen fucked it up so hard
What the hell are you talking about?
>>
File: don't bully.jpg (29KB, 153x317px) Image search: [Google]
don't bully.jpg
29KB, 153x317px
Given how AMD is putting some of their GPU virtualization code on the kernel, what are the chances we could get this running on future consumer cards? GPU passthrough sounds nice, but I actually do gayme on Linux from time to time, more-so than on Windows nowadays. Having a shit GPU for Linux turns me off. If you could switch graphics on the fly and have the powerful GPU alternate between the host and VM whether the VM was on would be a godsend.
>>
File: T_granulosa1JOHNSON.jpg (14KB, 233x300px) Image search: [Google]
T_granulosa1JOHNSON.jpg
14KB, 233x300px
>>60133791
>>60134108
Not same anonymity but I've played 2,000 hours of CS:GO and reached the top 1%, overwatch actually has a high skill ceiling. Besides mechanical skill there's teamwork and strategy that are quite in-depth.
>>
>>60136494
>0.00001 rupees have been deposited on your SJW account
>>
I did this about two years ago:

Supermicro X10SAE board
Intel Xeon E3-1226 v3
AMD R9 290X

Some suggestions from experience:
- If you want more headroom for more virtualisation, get a processor with more physical cores. My next build will be Xeon E5 or equivalent.
- For the host, use a low-latency / real-time kernel. Ubuntu and Debian have packages for these in the main repos, with Gentoo you can go all out with a custom rt-sources kernel if you know what you're doing.
- Learn the libvirt XML format. There's a few optimisations you just can't do in virt-manager, like pinning virtual CPU cores to physical cores (pic related, look at the <cputune> stuff)
- Use OVMF UEFI for the guest BIOS
>>
>>60136494
>Basic team communication is a skill
>>
>>60133353
Error 43
https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF#.22Error_43_:_Driver_failed_to_load.22_on_Nvidia_GPUs_passed_to_Windows_VMs
Funnily enough, the internet is full of people who don't know how to bypass this. A simple
-cpu host,kvm=off
gets you past this. At least for me, I haven't updated my GPU drivers in a while.

>>60133485
>>60133495
>>60133509
I downloaded a w10 iso from Microsoft and it didn't even need a key.

>>60133873
Huh.
So much has changed here. Thanks for the pointer, I have some reading to do. Is this a feature of nVidia drivers or nouveau? I'd prefer to run the latter on my host system.
Well, I can always bind the GPU into a linux vm running nVidia drivers to play around with all that fancy cuda stuff.

>>60135451
No.
If you're talking about the hybrid laptops, they don't work because the dedicated card renders to the framebuffer of the integrated device. It shouldn't be difficult to virtualize this setup though.
>>
Why not just run Windows as host os and linux in a vm?
>>
>>60127068
Why different GPUs?
>>
>>60132951
You could use integraded graphics for linux and gpu pass through for the VM
>>
>>60140034
Because vfio-pci isolates the PCI devices by vendor and product IDs, which means that the same models from the same manufacturers have the same IDs and will get isolated together.
There is a way involving bash scripting in initramfs. I haven't tried this for not having two identical GPUs, but it doesn's seem like a very clean solution.

Also, it seems like a lot of this stuff has changed since I set mine up. This data might as well be out of date.
For example, with a radeon card it looks like you don't even need two.
>>
>>60140034
>>60140088
Meant to link this.
https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF#Using_identical_guest_and_host_GPUs
>>
>>60136354
it is not ryzen itself just the individual motherboard manufacturer's IOMMU groupings, wait on one of the motherboards to get a bios update with better grouping such that you don't need to run ACS patch on the kernel to get it working.

It is not a priority for manufacturers, maybe if enough people complain about it they'd bother fixing it. Or go with one of the older intel motherboards that are confirmed to support it without patching the kernel.

Only reason I haven't switched to ryzen yet is that I know of no AM4 motherboards that support GPU passthrough out of the box without fucking the ACS. And IPC is still lagging slightly behind hasswell.

Maybe the next lineup of 8 core CPUs will tide me in so I can pin 4 cores to host and 4 cores to guest VM to minimize context switching if I want to do more intensive tasks on the host which is rarely the case.
>>
>>60136229
here is a table that shows vfio support for various GPUs/CPUs/motherboards. It is a bit out of date I can confirm GTX980 works not sure about 700 series cards if you can get one cheap, nor am I certain about the 1000 series Nvidia GPUs. Not sure about AMD cards but I've heard of a lot of people pulling it off with the 290.
Chances are if they claim they support vt-d or AMD-V virtualization technology then they should work. Get some older card used that costs peanuts if it is just for running the host OS, you can rebind your powerful card back to host if you need the grunt later.
Older cards would likely have better open source driver support in linux anyways.

good luck without your endeavors anon
>https://en.wikipedia.org/wiki/List_of_IOMMU-supporting_hardware

I know reddit is frowned upon here but check that vfio group on reddit they might have useful resources. I don't know of many other forums with useful info besides what I bump into in my search engine.
>>
>>60139921
>Is this a feature of nVidia drivers or nouveau? I'd prefer to run the latter on my host system.
It has nothing to do with the linux drivers, you are passing through to the VM which is running the windows drivers.
The GPU must not be associated with any linux drivers for it to be taken by vfio and passed through.

If you want to do some reading on setting up from scratch I recommend the guide I used, covers all the basics. Even if you don't have the hardware and are curious I would suggest reading it to get an idea of what it involves. Looks daunting but once you set it up the first time it is real easy to do.
>https://www.evonide.com/non-root-gpu-passthrough-setup/
I anyone knows of better guides then by all means feel free to post them, some users probably already have in this thread.
>>
>>60140057
>no IGP
>You could use integraded graphics
>>
>>60140477
By the way you can assign all cores to the VM both host and guest will share the entire CPU but if your host hogs the CPU while you are playing a game for whatever reason then process related to your game could be assigned to different cores which could impede performance.

Generally you reserve a single core to your host OS to prevent this from happening. I don't do this and haven't experienced any stuttering issues while playing under general usage but that varies depending on how you use your system.
Also make sure you reserve enough memory for your host, if host OS doesn't have enough RAM it will freeze your entire system. Mine gets by fine on 3GB but again that varies on your typical usage. You don't want the VM to starve on RAM either and dip into the HDD pagefiles so it has to have enough preallocated.

8+GB for guest and around 3~4GB for host seems enough at minimum, I upgraded to 24GB RAM total from 16GB and allocate 8GB to host and 16GB to guest but that is beyond fucking overkill.
>>
>>60140766
I don't know if you could pull it off by killing Xserver then running the VM startup script in tty which unbinds the GPU from linux kernel and starts up the VM with GPU passed through then the script at the end automagically binds the GPU back to linux so you can proceed to resart xserver to regain graphical output.
Sounds like a massive pain since you cannot automate the process and have to physically intervene twice. I much rather have linux and VM running on dual monitor setup to maintain maximum shitposting profficiency.
>>
>>60140836
i personally have windows installed /only/ to use solidworks sometimes, not even games are enough to bother booting into windows for, everything i want to play can be played in linux
if i could passthrough with my single gpu, just by closing X and unloading the gpu driver in linux, then that'd be much better than needing to reboot, as most things can be left running (network shares, torrents, video encodes or other processing operations, etc) as they don't depend on X
not to mention all my storage is in linux formats, windows just isn't convenient to use on metal, when i'm in windows, i need to run a VM with my linux drives attached to get access to my data
>>
Ran on my RX 470 with no noticeable slowdown.
Not tried it on my 1080 yet.

Only annoying part was having to pass in mouse and keyboard too so if you want to use host OS you need a second mouse and keyboard too.
>>
>>60140901
Or you could use vnc to remote into host which is what I ultimately did
>>
>>60140890
Everyone has their own use case and I respect that. Be sure to keep us informed on your progress, I'd be curious to know how you pull it off in case I was limited to one GPU (laptop for instance).
>>
>>60136053
There is also the option of reverse synergy the inputs. basically passthrough the usb ports directly to the guest and using synergy to pass them between guest and host. This way will introduce input lag on host only but you can still move around the host and guest.
>>
>>60136419
Only Firepro. And who knows if the radoen cards even have the required bits to make it work at all.
>>
>>60140901
>you need a second mouse and keyboard too
Or just use synergy?
>>
>>60140970
i've looked into it a few times, but found no indication that it was possible with only one gpu
i first heard about the idea in 2009, with Xen
>>
>>60140988
It's not open source and also costs money.
>>
>>60140996
same with windows
>>
>>60141002
Yeah, but you need to run synergy on linux host. Windows is sandboxed in a vm.
>>
>>60141008
i see
you could sandbox it in linux, but it needs access to your keyboard globally either way, so that's not helping much
>>
>>60140913
>Or you could use vnc to remote into host which is what I ultimately did
be careful that can be a security risk.

You can use QXL for device emulation as well but that can also be a security risk, test it and check if that adds too much input lag to your liking first. Problem is that every time you press ctrl+alt it pull your input back to host so you have to press the escape keys again to regain input if doing ctrl+alt + delete in VM for instance.

There is a third option if you like living on the edge, pass the keyboard and mouse via USB device ID. That locks you out of the host OS until you shutdown the VM however and can risk being locked out of the host OS unless you power down your PC and reboot.
Now to solve that you can get a KVM switch which allows you to use a single set of M+KB and toggle the KVM switch either in software between Host and guest or with a physical button on the device.
>>
>>60140988
Um that shit always fucks up during vidyas and your mouse leaves the game.

In b4»»» /v/ because there's no other reason to passthrough
>>
>>60141018
Passing the devices into vm is what I did so that there wouldn't be shit lag, which is why I complained that it's annoying to lose them in host.

Kvm switch is a good but non gratis solution
>>
>>60141028
>In b4»»» /v/ because there's no other reason to passthrough
>>60140890
>>
>>60141043
unless KVM implements some sort of way to rebind devices within the VM back to host I don't know how you can work around it while maintaining minimal input lag.
What irks me is the 4 USB device limit (passed through individually by USB device ID), had to buy a PCIe USB controller and pass that through to get my vive working since that had like 10 USB devices in it alone.
>>
>>60141028
>Um that shit always fucks up during vidyas and your mouse leaves the game.
is there no option to toggle relative mouse movement?
>>
>>60136494
>1%
>thinks he's good

I have a friend that gets to the top ~50 in every single games he picks up. league, osu, csgo. without even trying hard.
>>
>>60141097
>league, osu, csgo
All games who normies can up into 50 top position very easy, try a harder game like WoW
>>
>>60140643
>Is this a feature of nVidia drivers or nouveau? I'd prefer to run the latter on my host system.
didn't read through properly, you were asking about the PRIME profiles setting, my bad.
Yeah that is in the propriety driver, not sure if it is implemented in nouveau as well, you could try bumblebee but I've heard that had plenty of problems of its own and that it was discontinued I think it was opensource.
>>
>>60131689
>So you can do this with just a single radeon? I'm really starting to regret my GTX 970.
No you do need two GPU's, he's using intel's iGPU(Intel HD graphics) to run Linux and his graphics card for Windows.
>>
>>60141127
>osu
>top 50 is very easy

someone has absolutely no idea how many hours people have to normally put to get even to three digits positions in osu

hint: it's you
>>
>>60138457
Learn the libvirt XML format. There's a few optimisations you just can't do in virt-manager. That is why the moment I got familiar with all the little bits and bobs from the GUI I switched to running a script with QEMU looks daunting but far simpler than fucking with the xml and you can convert it into XML format for use with virt-manager GUI.
>>
qcow2 or raw and why?
>>
>>60141097
proof?
>>
>>60141257
raw apparently faster but not so much so and less secure in case it gets corrupted, qcow2 offers more features for backing up apparently and the trade off in performance isn't particularly large.

Go with either, I went with qcow2 then converted my img file to raw with a single line in terminal didn't break though it is not encouraged without making a backup since you can potentially corrupt the file and break it.
>>
>>60129406
>competative
>>
>>60141295
yeah, I'm going to dox my friend to prove a point on 4chan lol

there are many people like him though, it's not an isolated case. some streamers change games and get to the top very quick, too.

the funny thing is how many friend requests he gets in game in lol and osu. he just accepts them, types "no u" in chat and unfriends them, kek
>>
>>60141344
I'll just simply not believe you then
>>
>>60141356
that's fine. i'm linking this thread to him though. i'm sure he'll find it fun.
>>
>>60141074
you post a GPU passthrough thread in /v/ and I guarantee you they will tell you to fuck off back to /g/, there is no winning man just want to discuss this shit and learn new tricks from other people.
Sure people are mostly interested in it to play GPU intensive games, but it is more discussion about the hardware and software involved than the games themselves which you would play in them that at best get a mere mention.
Besides there are other programs besides games that you could only run reliably on windows that may benefit from decent GPU acceleration.
>>
>>60141414
did you read the post i linked to?
>>
Does anybody know if you can run a vm with a gpu passed through in a window on linux, or does it need to be on a separate monitor?
>>
File: image (3).jpg (16KB, 294x296px) Image search: [Google]
image (3).jpg
16KB, 294x296px
>>60135539
telemetry is at the hardware level, there is no escaping surveillance

i use linux because i like it
>>
>>60141775
Has to be a second screen, but it can be a second input on the same monitor
>>
>>60140996
>>60141002
Download Synergy Nightlies
>>
>>60133528
From what I gather there are several ways to pass though a gpu.
The way I use involves blacklisting nvidia drivers and a vfiobind script service file runs at boot. I dont think that I could use the graphics card on the host without disabling shit and doing a full reboot.

What method are you using?
Also how are you doing the mouse on both vm and desktop? Is that just a software kvm switch?
>>
File: 1445716114210.jpg (122KB, 500x563px) Image search: [Google]
1445716114210.jpg
122KB, 500x563px
Anyone have any experience with NVidia features like Surround and Shadowplay in a passthrough VM? I'd like to switch but I use Shadowplay a lot and sometimes play on all my three monitors using Surround.
>>
>>60142630
I wouldn't mind giving up Surround, but I would really like to keep Shadowplay.
>>
File: 1492291966889.png (249KB, 500x499px) Image search: [Google]
1492291966889.png
249KB, 500x499px
>>60129406
>>competative shooter
>50 fps
>INTEL iGPU
>completely unplayable
I want /v/ to leave.

This is more your speed.
https://www.youtube.com/watch?v=TbggD3O6kq0
>>
>>60142669
Call of duty at 91 fps feels bad due to being used to 144
>>
File: 1491535683066.jpg (33KB, 480x284px) Image search: [Google]
1491535683066.jpg
33KB, 480x284px
>>60135539
>VM can survive transitions between machines and architectures.
>VM has faster disk read & writethrough.
>You can layer passthrough with better file system than NTFS to gain those benefits (CoW)
>VM benefits from native compression
>VM can be synced between multiple PCs with a script.
>VM can be put on a NAT subnet for muh privacy.
>USB passthrough responds without issue, feel fine flashing your phone from inside the VM.
>Use Windows as just a gaming box that you turn on, use, then turn off. As it should be.

>Only limitation: You cannot use SLI/ corssfire
>>
what is gpu passthrough? what are you guys talking about?
>>
>>60142970
If you are on linux but want for example play windows games, you create a windows virtual machine and assign a graphics card to it
>>
>>60142786
>Only limitation: You cannot use SLI/ corssfire
most games can't use sli or crossfire either, so it's not like you'd notice

>>60142970
pci-e devices can be 'passed through' to a VM which gets exclusive access to them

that means a gpu in a windows vm with near-native performance for gaymes or maybe you're running some server shit and want to give it a dedicated network adapter, etc.

gpu seems to be the most common use though
Thread posts: 143
Thread images: 12


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.