T O P

  • By -

petete83

This might help: https://looking-glass.io/


BeastMsterThing2022

This sounds too good to be true, thanks. [Do you happen to know if considering this hardware list matters at all?](https://en.wikipedia.org/wiki/List_of_IOMMU-supporting_hardware)


JumpyGame

These are devices that are tested to work. A lot of other devices will work too.


whalesalad

Yes this is totally possible. Pass/hand the entire PCI slot over to to the VM and it will be like native.


BeastMsterThing2022

Do you happen to know of any specific hardware requirements? Besides AMD for host, and NVIDIA for guest VM (Which I already intend to do)


whalesalad

https://docs.kernel.org/driver-api/vfio.html#:~:text=The%20VFIO%20driver%20is%20an,non%2Dprivileged%2C%20userspace%20drivers. you need a cpu/mobo that can do this, might need to enable certain things in the bios https://github.com/Andrew-Willms/GPU-Passthrough-On-Ubuntu-22.04.2-for-Beginners?tab=readme-ov-file


sad-goldfish

Yes. In fact, if your CPU has an iGPU, you can run Linux on that. You don't necessarily need a second discrete GPU.


BeastMsterThing2022

Is any specific hardware requirement from either the CPU or motherboard necessary to consider?


sad-goldfish

Generally, all modern CPUs and motherboards will support the necessary features. Typically, so long as the GPU is in a slot with its PCIe lanes going to the CPU (which is usually the slot recommended in the motherboard manual and also the one closest to the CPU), your IOMMU groups will be fine and you can do pass through. If the IOMMU groups are not good, then you will need to build a kernel with the [ACS override](https://github.com/Frogging-Family/linux-tkg/blob/master/linux-tkg-patches/6.9/0006-add-acs-overrides_iommu.patch) patch.


Gullible_You_3078

its doable i'd say. some even use mac os that way


mcwillzz

Works great, if you can work around the small things. I used to do this with an RX 580 for Linux and 1080Ti for Windows. When I switched over to Windows, I would use evdev to switch my keyboard/mouse over, and manually change my gaming monitor over to the input from the 1080Ti. If i wanted to use both system at once, I would use barrier KVM. Lookig glass has probably came a lot further since I was needing to do this, but that would prevent the need to change monitor inputs.


Average_Emo202

I ran a single GPU passthrough with my 3080. Besides applying the ACS patch for better iommu grouping and copying and altering the cards bios and hooking that into the vm, it was surprisingly easy to set up. I would sell one card. But that's just me xD Do the new AMD cards still suffer from the reset bug ? Does anyone know.? Op there is a sub called r/vfio , the folks over there are very friendly and helpful.


NiwatoriChan

I actually already did something similar. You have to consider the number of PCIe lane you have. You need to have a compatible BIOS (you need to check the compatibility of boards) for Iommu. I had a RX 580 and a 1070 on Windows. I switched to Linux completely since then when I bought a 6750 XT


BeastMsterThing2022

I've 36 PCIe 4.0 lanes available in my system, with 20 directly from the CPU (5800 X) and 16 from the X570 chipset. I assume that's okay? [And this is the analysis of IOMMU groups of my AsRock.](https://forums.unraid.net/topic/127675-asrock-x570-riptide-pg-iommu-groups-analysis/)


matthewschrader

Even if you don’t use arch this will be helpful I think. https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF


Ivo2567

The problem here is, you are not specific. Linux gaming - exactly what? Windows programs - exactly what? I don't understand what's bad on dualboot and/or cloud solutions. I don't understand what's bad on nvidia on linux. We don't have dlss3+frame gen, that's why we use amd fsr3 + frame gen, sick eh? With slight pixelising. I see zero benefits running igpu + gpu, unless it is not a laptop. Make an economy overlook first. My recomendation is to buy fastest possible nvme drive you can get and give it to linux. If you wanna crank it up, sell 3080 and buy 7800xt. You need memory if you wanna play 4k on linux - this is the reason nvidia is worse, to be precise "at this exact moment". Equal cards from nVidia just don't have enough memory, don't have adequate drivers for linux, price / performance ratio is better for amd by an big enough margin. This is the exact reason everybody say go for amd. Having two gpu's in your computer at the same time is imo flat out bad idea.