"Unable to write to iommu perf counter" error [duplicate]
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