The Pragmatic Neckbeard 3: VFIO, IOMMU and PCIe

Yeah, sorry. I'm going to put the hammer down and find a solution.

Lots of people say "just pass through a controller" which isn't always an acceptable answer.

This is quite generic, but if I understand what needs to happen correctly, you may be able to sort it out by running libvirt as your user.

gpasswd -a kvm sinisa94
#I'm not 100% sure that the below will work.  I suck at regex, but you get the idea.
sudo sed -e 's/#user = "root"/user="sinisa94"/g' /etc/libvirt/qemu.conf

You're also going to need to edit udev to allow your GPU to have write permissions by the KVM group (or your user) so you can still use it for passthrough. I forget how to do this off the top of my head, but I'll get back to you with that.

This should point you in the right direction. Sorry it took me so long to get this to you, I only just got my coffee.

Thank a lot m8 ill try to do it.

1 Like

Glad to hear. Unfortunately, I can't give a step-by-step for it today. I'm extremely busy at work, "read only Friday" my ass...

should i set "group" to kvm aswell or it's already set by default? (in /qemu.conf)

Hmmmm group should be okay as is.

Proofreading part 4, I'll be releasing tonight or tomorrow morning. I want to talk about mouse sharing, but at this point, my hardware-based solution isn't mature enough and I don't have the patience to do a synergy tutorial, so I'll probably just leave a little footnote about "yall should use synergy... figure it out yourelf."

Meh, synergy is easy to setup anyways, it's harder to make audio work ;p

1 Like

Nice, Part 4 is out. Seems easy enough to follow. If only Intel did not remove VT-d support from past K series SKUs...

Gonna be patient and wait For ryZen

Yes, thanks a lot man, I've added those lines to config now it works perfectly, gonna test if it will give mini breaks on cpu load and lower bit rate if needed. Thanks again and this wouldn't be possible without @SgtAwesomesauce help.

1 Like