I just got a AMD RX6600 because I was having issues with my old gtx 1660 super. It’s not a big upgrade but I got this card for $120 and it was barely used for 5 months.
I wanted to give wayland a try and It was working fine for a few hours but now, the screen blacks out every time I open or close an application.
I have tried restarting, logging out and logging back in. Also updated the system, mesa packages etc. (This is on a fresh install of Opensuse Tumbleweed, but I also had the same issue on my Artix install with xfce)
Strangely enough, the issue doesn’t seem to affect my Hyprland session much.
The GPU works fine on Windows too.
What firefox version? It could be that you are using xwayland depending on your or your distros settings. Maybe try setting
$ MOZ_ENABLE_WAYLAND=1 firefox
https://wiki.archlinux.org/title/Firefox#Wayland