That’s truly odd, I’m running a Ryzen 5600G and a 6700XT and the game is rock solid (Fedora 38, Gnome, Wayland). Runs great on Steam Deck as well. I wonder if the RX580 is the culprit? If MESA is up to date, try a newer kernel for updated Radeon driver? (I assume as Ubuntu 22.04 is LTS that you’re on an older kernel)