@gvx64 Thanks for your reply! Do you perhaps have a resource where I could read about the memory allocation of the pi?
I still wonder why running in lower resolutions seems to help then.
Unfortunately, your suggestions do not apply to me.
I run it in stock version. Let me know if there are more diagnostics I could provide you though! I monitored the CPU usage via htop but I do not know how to do the same for the GPU. I have the 8 gigabyte version, that should be plenty right? While monitoring with htop there seemed to be enough headroom.