I can confirm that this happens for me, too. But I have no solution.
Which Linux distro are you using? Up-to-date Ubuntu 24.04
Which kernel are you using? 6.8.0-41-generic
Which BIOS version are you using? KFM30.03.01
Which Framework Laptop 13 model are you using? Core Ultra 5 155H
Just like OP, I am seeing sporadic black squares appearing for a split second and then disappearing. Happens both on the built-in and an externally connected display. It seems to happen only when I’m running something GPU-heavy.
To investigate, I ran some benchmarks and noticed that my GPU seems to perform significantly worse than what is reported in published reviews. For example, with Geekbench 6 I’m getting:
CPU single-core: 2452 (in the review: 2201)
CPU multi-core: 10942 (in the review: 11270) GPU (Compute/Vulkan): 22632 (in the review: 35489)
After some searching, I suspect the black squares issue is specific to Chromium-based browsers. Do you see them in any other application?
About the performance: which power manager are you using (ppd, tlp)? I’m not sure which is the recommended way to go straight to the best config, so I’ve been experimenting.
Likely an issue with the graphics driver (i915). When I first got my 12th gen Framework 13, I had tons of issues with graphical glitches that all came from the graphics driver. They have been fixed for some time now but since core ultra is still very new there’s probably some newer bugs.
I indeed think this is a driver issue, seems too reproducible to be a hardware issue. I think time will solve this, but it is quite annoying for now, especially considering that this CPU has been out for almost a year now. I will test a few different distros, including clearlinux to see if there is any where this issue doesn’t occur.
No fix; changing to the experimental Xe driver mode with a kernel flag seems to decrease the frequency of the artifacts but doesn’t quite get rid of them.
I have tried the latest Fedora and it still has the problems. It’s a little surprising that others haven’t run into this, considering I followed the official instructions.
For me, this is also still happening on Arch Linux. I can’t imagine it would be a hardware issue because moving a window usually fixes it for me. Mainly seems to occur with scrolling in GPU heavy/accelerated applications.
I also have significantly reduced chrome visual artifacts w/ --ozone-platform=wayland, thank you for that suggestion! (definitely not gone, but before I’d have giant wedges of color / distortions / blocks / other render issues, and now it happens maybe 1/10th to 1/100th as often as before)