I've been also suffering from the directx error for 5-6 months now, but unlike for most other people I always get it as I launch the game, making it literally impossible to play.

I've tried clean installing drivers, I've tried running it both borderless windowed and fullscreen, reinstalled windows, underclocked/overclocked and tried many other things that are posted on different forums, but nothing works. It's extremely annoying and disappointing at this point that the issue has been around for such a long time and seemingly there is no clear solution to it and everyone is just guessing what might work. I love the game so much, but it's starting to get very exhausting that I have to spend so much time with trying to fix this...