I’m going to say this again, as I have for so many other people having issues with F38:
FEDORA 38 IS TERRIBLE FOR GAMING
Switch to a different distro that is much better suited for gaming. Ubuntu, Mint, PopOS, SteamOS, Manjaro…just not F38. There are so many complaints, it’s time to just ditch it.