I have been having the same issue for a while now. Also have been looking for a solution for some time.
I'm now using an all amd machine, running win11, and dx9. I was having the same issue on a win10 machine running intel cpu, and amd gpu, also running dx9.
Personally, I feel like it's a windows issue. It seems to me that it started after a windows update. I've been searching for a solution, but have yet to find one. It's not just an AH problem. If you search screen freezes, or screen stuttering you get a bunch of fix videos.
If you find a solution post it here so the rest of us can get the fix.
