Skip to content

Instantly share code, notes, and snippets.

@mallendeo
Last active September 20, 2023 21:10
Show Gist options
  • Save mallendeo/afceedfdc9c5c8f260e18a6bde89a868 to your computer and use it in GitHub Desktop.
Save mallendeo/afceedfdc9c5c8f260e18a6bde89a868 to your computer and use it in GitHub Desktop.
Unraid boot config
kernel /bzimage
append
isolcpus=2-7,10-15
pcie_acs_override=downstream,multifunction
pci-stub.ids=14e4:43a0
vfio-pci.ids=8086:a348,10de:10f8,10de:1ad8,1b73:1100,8086:24f3,14e4:43a0
pci=noaer
modprobe.blacklist=amdgpu,wl,bluetooth,b43
kvm.ignore_msrs=1
vfio_iommu_type1.allow_unsafe_interrupts=1
initrd=/bzroot
# AMD Gpu fix
kernel /bzimage
append
pci-stub.ids=14e4:43a0
vfio-pci.ids=8086:a348,10de:10f8,10de:1ad8,1b73:1100,8086:24f3,14e4:43a0
pci=noaer
modprobe.blacklist=amdgpu,wl,bluetooth,b43
kvm.ignore_msrs=1
pcie_acs_override=downstream,multifunction
vfio_iommu_type1.allow_unsafe_interrupts=1
pcie_no_flr=1002:67df,1002:aaf0
initrd=/bzroot
kernel /bzimage
append hugepagesz=2M hugepages=8192 pci-stub.ids=14e4:43a0 vfio-pci.ids=8086:a348,10de:10f8,10de:1ad8,1b73:1100,8086:24f3,14e4:43a0 pci=noaer modprobe.blacklist=amdgpu,wl,bluetooth,b43 kvm.ignore_msrs=1 pcie_acs_override=downstream,multifunction vfio_iommu_type1.allow_unsafe_interrupts=1 pcie_no_flr=1002:67df,1002:aaf0 isolcpus=2-7,10-15 nohz_full=2-7,10-15 rcu_nocbs=2-7,10-15 initrd=/bzroot
# Intel IGD passthrough
kernel /bzimage
append
video=efifb:off,vesafb:off
default_hugepagesz=1G hugepagesz=1G hugepages=16
pci-stub.ids=14e4:43a0,00:02.0 vfio-pci.ids=8086:a348,10de:10f8,10de:1ad8,1b73:1100,8086:24f3,14e4:43a0 pci=noaer
modprobe.blacklist=amdgpu,wl,bluetooth,b43,i2c_i801,i2c_smbus,snd_hda_intel,snd_hda_codec_hdmi,i915,drm,drm_kms_helper,i2c_algo_bit
kvm.ignore_msrs=1 pcie_acs_override=downstream vfio_iommu_type1.allow_unsafe_interrupts=1
pcie_no_flr=1002:67df,1002:aaf0
isolcpus=3-7,11-15 nohz_full=3-7,11-15 rcu_nocbs=3-7,11-15
initrd=/bzroot
@csandman
Copy link

csandman commented Dec 4, 2020

I happened upon this but can you explain what its for? I've been trying to get Hardware Transcoding working with Intel Quick Sync, does this have anything to do with that?

@mallendeo
Copy link
Author

mallendeo commented Dec 5, 2020

@csandman These are linux boot args to passthrough GPUs and isolate CPU cores for VM use. The last config is for passing-through the integrated intel graphics, but I don't know if it has something to do with Quick Sync. Most of the other arguments are specific to PCI devices on my PC, and hugepagez is for ram performance.

@csandman
Copy link

csandman commented Dec 7, 2020

@mallendeo I don't believe this is related to what I was doing but I appreciate you taking the time to respond!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment