Greetings to all who came to find the answer or just write it. As you understand on the topic, yes, screen flicker. A very infuriating case when you can even earn yourself epilepsy. Anyway, I will not waste time.
I myself do not have an AMD graphics card, unlike my friend. According to him, he installed drivers for the RX 6650 XT video card, version 23.8.2. And of course, after that, he started having those same problems. At the moment, he is downloading an older of the drivers and waiting for your help.
That's all, thanks in advance for the suggestions to solve the problem.