I’d like to start off saying that I’m really sorry if I’m starting a new post for something that is already being discussed for a while. Also, I am really confused with this forum format and I’m kinda loss . (Been brought to "The VFIO and GPU Passthrough Beginner's Resource and I don’t get where I can ask questions )
Alright, now with the subject at hand. I’ve been trying for a little over 12-13 hours to figure out how to setup my passthrough KVM. The thing is, I have two identical GPUs (GTX 1070) and it’s being one hardcore puzzle for me so far. I’ve followed a couple of tutorials and forums but I’m starting to get alienated .
Tutorials I’ve followed so far:
I’ve managed to get everything in order up to the point where I regen my initramfs (mkinitcpio -p linux56) but when I reboot, it gives me the sh /usr/bin/vfio-pci-override.sh Permission Denied echo. I tried chmoding the script with 777 but still brings me the permission denied. I asked for help on the manjaro forum and a nice guy brought me here.
The last of the three tutorials I linked seems to have found a solution. Although I do not understand much of it. How can I append pcie_acs_override=downstream,multifunction to my boot? Also, will I have to manually shutdown the second iommu group at each boot? Is there any step-by-step tutorials for identical GPUs on manjaro that I missed?
I wouldn’t mind restarting from scratch (already at my 3rd reinstallation of manjaro). Also I’d like to keep the second 1070 since the only other GPU that I have is a downgrade. I’d really like this to work since I don’t want to duel-boot anymore. Windows is kind of a pain (pc-breaking updates and having to reboot only to play a game).
Here’s my build:
Z170a PC Mate (updated bios and vt-d stuff enabled)
The formatting of your post was edited for clarity.
You can use `` (backticks) to surround a snippet of code for formatting.
Can you try running the script manually?
The reason it is vague is that there is more than one option to boot your system with. Grub and Systemdboot are the two options are common. You will have to figure out which one manjaro uses.
The arch wiki pages are written for arch users first and it assumes that they know which one they are using since they had to manually set it up.
For grub, edit /etc/default/grub
Add the desired parameter to the line GRUB_CMDLINE_LINUX_DEFAULT="<parameters>" , leave any existing items in between the quotes.
Then save, run grub-mkconfig -o /boot/grub/grub.cfg and reboot.
Oh boy… I did run the script manually but I actually have no clue how to know if it actually did something .
Truth be told, I think this way too advanced for me at the moment . I really appreciated your swift reply but I’m starting to think I should downgrade to my spare GPU until I get to know more about Unix Oses. Also, I don’t want to waste people’s time.
I like reading and learning, but this is kind of gibberish to me. I’m not through though, I will definitely give this another try (sooner than later), but at this point, I kinda want to use the PC
Yeah I did those (with the special script for identical GPUs) and I get the permission denied at grub stage. I will reboot to check this one last time since it seems that the permission on the script had not been done for some reason. If it still echos me the permission denied, I’ll downgrade my second GPU for convenience.
Well, now I have a crappy GPU for my linux but as I thought it was a thousand times easier to install the KVM ! I had time to reinstall Manjaro and install all of this in like an hour compared to like 13 hours that ended up not working for identical GPUs.