Last year i built my third gaming rig and have always been using full AMD setups. This time i have gone with a 5800X CPU and a RX 6700XT GPU. I'm also running full time linux (fedora) and i can't remember the last time i booted windows. Have played about 10-20 games in the last year, from indie to triple A, 90% of the time were buttery smooth experiences.
But back to your question. The 5800X serves me well, you could also consider the 3D variant. But then again, consider if you really want to invest in an "old" platform by now. You won't get PCIe 5 and DDR5.