Important info:
Gpu 1: Nvidia 2070 and the graphics card through and the one that is in a IOMMU group with other things
Gpu 2: AMD 590 the host one
Before I start out a few things. I’m extremely new to linux I just downloaded it yesterday, so step by step instructions would be very appreciated.
Right Now i have 2 major problems.
First: is I have no clue how to patch my kernel with the ACS patch.
Second: If I have my AMD GPU in the second slot in my motherboard and have IOMMU enabled in the bois Manjaro gives a AMD-VI wait time out loop(I have tried updating the bois with no success)
Ok as the title says I have no idea how to get the GPU into it’s own group or even how the ACS patch override works, and if you are wondering what im trying to do it’s KVM.
Thank you
if using the AUR doesn’t work for you (never got it to work for me while using manjaro) you will have to download Manjaro’s kernel and apply the patch. But fear not it’s actually really easy, (although Nvidia proprietary graphics require a few extra steps)
Simply clone the kernel version you want from manjaros repo’s
Download and add patch (an easy place to download it is from Linux-vfio source) along side other patches and add patch name to PKGBUILD below other patches
updpkgsums
Build and install the kernel, I would reccomend using kernel manager to install an LTS kernel, Update it, and then download the source and compiling that one, as doing this for every new kernel is a bit of a hassle
EDIT: Steps are pretty much for linux54
git clone linux54 from manjaro’s gitlab
cd linux54
download acs-overrides.patch here
add acs-overrides.patch to PKGBUILD in along with other patches