IOMMU help with dual gpu's and /usr/local/bin/vfio-pci-override.sh permissoins
Not sure if this is the best place to ask for this kind of help but here it is. I am setting up IOMMU using this Arch Wiki article and have set up a passthrough for a selected GPU using a script placed at /usr/local/bin/vfio-pci-override.sh, due to having 2 RX580’s.
The issue is that vfio-pci doesn’t load on boot and I get a
<span style="color:#323232;">sh: /usr/local/bin/vfio-pci-override.sh: Permission denied
</span>
The file is owned by root and has 755 permissions, in addition I moved modconf after block and filesystems in /etc/mkinitcpio.conf as suggested by this thread. I checked if vfio-pci was succesfully echoed to /sys/bus/pci/devices/0000:05:00.0/driver_override using cat but the only thing there is
<span style="color:#323232;">(null)
</span>
I’ll provide other files and info if needed. I really appreciate the help!
System specs/logs
- CPU | Intel Core i7-5820K
- Motherboard | Gigabyte GA-X99-UD3P
- Memory | Crucial Ballistix Sport 16 GB (4 x 4 GB) DDR4-2400 CL16 Memory
- Storage | TEAMGROUP T-Force Vulcan G 1 TB SSD
- Storage | Western Digital Caviar Blue 1 TB 3.5" HDD
- Video Cards | x2 [MSI ARMOR OC Radeon RX 580 8 GB](ca.pcpartpick
OS: Artix Linux Kernel: 6.6.9-artix1-1 Init System: OpenRC GPU Driver: amdgpu Encryption: I use Full-Disk Encryption