QEMU/KVM and GPU Passthrough Troubleshooting: Difference between revisions

From WikiMLT
Line 27: 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]
== Hide the Warnings KVM: vcpu0 ignored rdmsr ==
<syntaxhighlight lang="shell" line="1">
sudo nano /etc/modprobe.d/kvm.conf
</syntaxhighlight>
<syntaxhighlight lang="bash">
options kvm report_ignored_msrs=0 # Or: GRUB_CMDLINE_LINUX_DEFAULT="... kvm.report_ignored_msrs=0 ..."
</syntaxhighlight>
<syntaxhighlight lang="shell" line=1>
sudo update-initramfs -u -k all
</syntaxhighlight>
* Note, according to my experience, this option may cause crashes of the host system!?
===References===
* [https://forum.proxmox.com/threads/how-to-stop-warnings-kvm-vcpu0-ignored-rdmsr.28552/ Proxmox: How to stop warnings "kvm: vcpu0 ignored rdmsr"]
* [https://forum.proxmox.com/threads/ignore_msrs-for-host-cpu-being-ignored.42416/ ignore_msrs for host CPU being ignored]

Revision as of 14:02, 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 was 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

Hide the Warn­ings KVM: vcpu0 ig­nored rdm­sr

sudo nano /etc/modprobe.d/kvm.conf
options kvm report_ignored_msrs=0 # Or: GRUB_CMDLINE_LINUX_DEFAULT="... kvm.report_ignored_msrs=0 ..."
sudo update-initramfs -u -k all
  • Note, ac­cord­ing to my ex­pe­ri­ence, this op­tion may cause crash­es of the host sys­tem!?

Ref­er­ences