@malcolmlewis thanks for the help.
Turns out it was some kind of corruption related to fonts, as for the cause it seems like the root filesystem was out of space at one point around the time the GUI stopped working.
Reinstalling xorg-x11-fonts, running fc-cache -f -v and fonts-config was enough to get the GUI to boot up correctly.