Could we know what was your distro?
My full journey was Ubuntu, Manjaro, Debian, Arch. I would still consider myself a noob but know I don’t break stuff as often.
I do not know how to solve your problem but I suggest posting to c/voidlinux or their subreddit which should have more people capable to help.
Firefox and forks have Wayland support (MOZ_ENABLE_WAYLAND=1) by default since version 121 or so.