QEMU/KVM and GPU Passthrough Troubleshooting: Difference between revisions

From WikiMLT
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{collapse/begin|{{{1|false-mlw-collapsed-gallery}}}}}
==Guest GPU Audio Crackling and IRQ xx: Nobody Cared Fix ==
== Guest GPU Audio Crackling and IRQ xx: Nobody Cared Fix ==
{{collapse/div|#References {{!}} #Instruction}}
The solution of the issue '''Guest GPU HDMI Audio Crackling, Broken or Losing''' is well explained by [https://forums.unraid.net/topic/40593-windows-10-vm-losing-audio/?tab=comments#comment-398133 Jonp at UNRAID Forums]. In short we must try to '''enable the MSI – Message Signaled Interrupts''' option if the device support it. Here is a detailed step-by-step instruction how to do that.
The solution of the issue '''Guest GPU HDMI Audio Crackling, Broken or Losing''' is well explained by [https://forums.unraid.net/topic/40593-windows-10-vm-losing-audio/?tab=comments#comment-398133 Jonp at UNRAID Forums]. In short we must try to '''enable the MSI – Message Signaled Interrupts''' option if the device support it. Here is a detailed step-by-step instruction how to do that.


Line 29: Line 27:
* [http://vfio.blogspot.com/2014/08/vfiovga-faq.html Alex Williamson: VFIO tips and tricks (at vifo.blogspot.com): Usefully Q&A]
* [http://vfio.blogspot.com/2014/08/vfiovga-faq.html Alex Williamson: VFIO tips and tricks (at vifo.blogspot.com): Usefully Q&A]
* [https://pve.proxmox.com/wiki/Pci_passthrough#HDMI_Audio_crackling.2Fbroken Proxmox Wiki: Pci passthrough » HDMI Audio crackling/broken]
* [https://pve.proxmox.com/wiki/Pci_passthrough#HDMI_Audio_crackling.2Fbroken Proxmox Wiki: Pci passthrough » HDMI Audio crackling/broken]
{{collapse/end}}

Revision as of 13:55, 2 September 2022

Guest GPU Au­dio Crack­ling and IRQ xx: No­body Cared Fix

The so­lu­tion of the is­sue Guest GPU HD­MI Au­dio Crack­ling, Bro­ken or Los­ing is well ex­plained by Jonp at UN­RAID Fo­rums. In short we must try to en­able the MSI – Mes­sage Sig­naled In­ter­rupts op­tion if the de­vice sup­port it. Here is a de­tailed step-by-step in­struc­tion how to do that.

I men­tioned the ker­nel com­mand irqpool as so­lu­tion for this is­sue, but in my opin­ion and ac­cord­ing to some oth­er posts, pro­vid­ed in the ref­er­ences sec­tion, this set­ting is an ac­tu­al so­lu­tion for the prob­lem irq 44: no­body cared (try boot­ing with the "irqpool" op­tion); han­dlers: vfio_​​​intx_​​​handler; Dis­abling IRQ #44, that ap­pears at my sys­tem when boot­ing a VM with GPU passthrough with a dis­play at­tached to it, which was caus­ing host sys­tem re­boot.

Ref­er­ences: