Go back to topic: Virtualised Intel GPU with SR-IOV
| 6. Add the following to your GRUB Kernel commandline in `/etc/defualt/grub`: `intel_iommu=on i915.enable_guc=3 i915.max_vfs=7 module_blacklist=xe` | 6. Add the following to your GRUB Kernel commandline in `/etc/defualt/grub`: `intel_iommu=on i915.enable_guc=3 i915.max_vfs=7 module_blacklist=xe` (Variable named `GRUB_CMDLINE_LINUX_DEFAULT`) |
| 3. Try installing the Driver in the template via DKMS. For this you also need to setup [kernel provided by qube](https://doc.qubes-os.org/en/latest/user/advanced-topics/managing-vm-kernels.html#using-kernel-installed-in-the-vm). | 3. Try installing the Driver in the template via DKMS. For this you also need to setup [kernel provided by qube](https://doc.qubes-os.org/en/latest/user/advanced-topics/managing-vm-kernels.html#using-kernel-installed-in-the-vm). ## rebinding issues Since the vGPUs appear after QubesOS is booted, they shouldn't be assigned the i915 or Xe drivers. If that isn't the case add `rd.qubes.hide_pci=[pci-device]` to your Kernel boot parameters. You should include all vGPUs that are available as a comma separated list. |
| 12. Change VM Kernel to version used in dom0 (so the driver is also available to the VM. | 12. Change VM Kernel to version used in dom0 (so the driver is also available to the VM. This may need the `qubes-kernel-vm-support`, though not realy clear why) |
| GPU acceleration for other AI (the real one not LLMs) did work fine. | GPU acceleration for other things, like AI (the real one not LLMs), did work fine. # Troubleshooting ## driver not picked up in AppVM 1. Check if the AppVM uses the same kernel as dom0 (otherwise the driver might simply not be included in the modules) 2. Check if `firmware-intel-graphics` is installed. 3. Try installing the Driver in the template via DKMS. For this you also need to setup [kernel provided by qube](https://doc.qubes-os.org/en/latest/user/advanced-topics/managing-vm-kernels.html#using-kernel-installed-in-the-vm). |