I found a solution.
I use QuadHD monitor with Mac Mini M1, but macOS doesn't support HighDPI on this monitor. Fonts small & sharp or large & blurry. So I use Better Dummy free utility which emulates secondary 4K monitor and use mirroring to use HighDPI 2560x1440 on this display.
Visual artefacts appear after screen lock or sleep. When I disabled this utility to use native non-Retina resolution the problem didn't appear. I found "Disconnect and reconnect after sleep” option in this utility and it helped to solve that problem.
However it can be a bug in macOS.
Topic:
App & System Services
SubTopic:
Core OS
Tags: