I ran into this exact same problem and spent a painfully long week trying to fix it. Unfortunately I couldn't... My only solution was to switch distros and the problem disappeared. I went with Fedora and now every game works like a dream. I still don't know what the issue was but it seems to be something to do with having an AMD system and using steam on Ubuntu.
Probably not the solution you're looking for, but it is a solution!
Prompt: create me an image of view through a castle window looking out over exotic distant lands. The image should be in the style of paper cut outs that are layered on top of each other.
Here is an interesting fact: Bananas are naturally radioactive. They contain potassium, and a tiny fraction of that potassium is actually the radioactive isotope potassium-40. This has even led to the creation of the "banana equivalent dose," a playful unit of radiation exposure!
I think it's the best replacement for Twitter if you're someone trying to build an audience or if you want to be one of the audience. I've realized that I'm not either so I don't really use it much.
I left before the API fiasco because I was addicted. Had a brief, beautiful couple of months away from platforms like reddit. Now addicted to Lemmy instead.
The first is a surprise; the second is testing.