I’ve got weird artifacts on my Ryzen 5 7600x integrated gpu

I just finished putting together my new kit, a Ryzen 5 7600x installed in a TUF gaming b650m-plus without an external graphics card (I’m running on an integrated one). On Windows 11 I sometimes see strange artifacts when using the software. Interestingly, while gaming I have no problems. All drivers are installed and up to date. As if that wasn’t enough sometimes Windows freezes for a w hile, then monitor losts signal. After second it turns on again and a message from AMD software appears that the driver took too long to respond. Has anyone seen something similar and know what could be the cause?
google chrome titlebar
cura3d, pointy line shouldn’t be there