When I try to play a game that uses DirectX 9, my computer will freeze after sometime. The screen will completely freeze and the sound will repeat itself as a buzzing. Any game that uses other DirectX versions (10, 11, 12, etc...) won't freeze.
GPU : Radeon RX 570
8 Gb of RAM