best solution afaik is to use software rendering like BloodScourge suggested, which can be enabled by running
export LIBGL_ALWAYS_SOFTWARE=true
Thank you, that did it!