@ -17,9 +17,12 @@ Enable ***Intel VT-d*** or ***AMD-Vi*** in BIOS settings. If these options are n
Disable ***Resizable BAR Support*** in BIOS settings.
Disable ***Resizable BAR Support*** in BIOS settings.
Cards that support Resizable BAR can cause problems with black screens following driver load if Resizable BAR is enabled in UEFI/BIOS. There doesn't seem to be a large performance penalty for disabling it, so turn it off for now until ReBAR support is available for KVM.
Cards that support Resizable BAR can cause problems with black screens following driver load if Resizable BAR is enabled in UEFI/BIOS. There doesn't seem to be a large performance penalty for disabling it, so turn it off for now until ReBAR support is available for KVM.
***Set the kernel paramater depending on your CPU.*** \
***Set the kernel paramater depending on your CPU.***
Unlike GRUB, systemd-boot doesn't require a separate command to regenerate the configuration. It automatically detects changes
Reboot your system for the changes to take effect.
Reboot your system for the changes to take effect.
***To verify IOMMU, run the following command.***
***To verify IOMMU, run the following command.***
@ -417,9 +423,50 @@ virsh edit win10
</table>
</table>
### **Audio Passthrough**
### **Audio Passthrough**
VM's audio can be routed to the host. You need ***Pulseaudio***. It's hit or miss. \
VM's audio can be routed to the host using ***Pipewire*** or ***Pulseaudio***. It's hit or miss. \
You can also use [Scream](https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF#Passing_VM_audio_to_host_via_Scream) instead of Pulseaudio. \
You can also use [Scream](https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF#Passing_VM_audio_to_host_via_Scream) instead.
Modify the libvirt configuration of your VM.
<details>
<summary><b>Pipewire</b></summary>
From [ArchWiki](https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF#Passing_audio_from_virtual_machine_to_host_via_JACK_and_PipeWire)
***Note***: You may use [Calra](https://kx.studio//Applications:Carla) to figure out appropriate input/output. Replace `1000` with your current user id.