This problem also occurred to me using a fresh install of Ubuntu 22.04.
Firefox throws an error:
glxtest: Could not connect to wayland socket
Firefox falls back to xwayland. I noticed it as all the text was unsharp using fractional scaling.
The problem also occurred when removing firefox snap and installing it as flatpak.
Using firefox-esr (91.8) as snap solves the problem.
This problem also occurred to me using a fresh install of Ubuntu 22.04.
Firefox throws an error:
glxtest: Could not connect to wayland socket
Firefox falls back to xwayland. I noticed it as all the text was unsharp using fractional scaling.
The problem also occurred when removing firefox snap and installing it as flatpak.
Using firefox-esr (91.8) as snap solves the problem.