For me it's the exact opposite, I had problems with Steam games on Wayland and I switched back to X11.
With AMD, always make sure to use latest kernel, Mesa and amdgpu firmware.
But then there was a strange glitch on every single game (both native and Proton-based). Periodically (e.g. every ~10 seconds on some 3D games, on every screen reload on some other) the screen turned black for about 2 seconds.
Then I remembered that I had some issue when I first installed Debian 12 two years, though I forgot which issues exactly, and that I solved them by switching from Wayland to X11.
I'll try updating the firmware and drivers manually if I have more issues in the future, thanks.