AMD Vi error: unable to write to iommu perf counter
I'm getting an error when I try to boot from a live USB: AMD Vi error: unable to write to iommu perf counter
This happens after the grub menu and before the system boots into the graphical manager.
Solution 1:
Add this line to /etc/default/grub:
GRUB_CMDLINE_LINUX="iommu=soft"
Then sudo update-grub
and the error goes away. Answer taken from here. Works for me with a Ryzen 4350G CPU + MainMSI B550M PRO-VDH WIFIB550