I’ve had this problem running Ubuntu (Xubuntu minimum install) 22.04 on my 12th gen i7 Framework and my older Dell Precision 5540 running Ubuntu 20.04.
I see visual glitches - black squares, displaced visual artifacts, etc - in a variety of applications, including but not limited to:
In all cases, I can start the application with the --disable-gpu flag and it runs without issue. However, this is a band-aid, not a fix. There is something going on with graphics acceleration in Electron or browser-based applications. Maybe this relates to Intel graphics support?
I have not yet tried reproducing the issue in other distributions.
I wonder if anyone else has experienced this issue, or if Framework devs encountered it while working on Linux support.
Have you tried with --disable-gpu-compositing only? I suspect the problem is only with the compositor, and only with some of them, because I have anecdotal reports of people not having the problem under Wayland.