Black screen for some Electron apps

HI everyone, lately I’m having problems with some Electron apps (using the .appimage format) showing up with a black screen.

The app on the left is Standard Notes, and the app on the right is Obsidian.
Clearing ~/.config/<app name>/GPUCache folder works temporarily, but doesn’t survive a reboot.

I found this on common issues with is similar: Chromium-based browsers display garbled web pages after Mesa is updated

Does anyone else have this problem? How could it be solved?