That guys create a duplicate post but I can't find it anymore. After I tried what he said, I can overclock my gpu without any problems / reenable freesync without any problems/ reenable hardware acceleration without any black screen at least for 3 days.
If you can find that thread, please post it here. He will explain a lot better than me.
He posted something about editing Frequency on the adrenaline software.
This is my 5600xt gpu and I do the same as he posted and all of problems resolve.
All you need to do is editing Frequency on the AMD software.
Edit: I found it. Guide to lock GPU Clock for AMD NAVI Users (5600Xt, 5700, 5700xt) <<< This guide resolve all of my amd problem