If you're planning to use Windows, Nvidia is probably the better choice because of the RTX and DLSS features.
If you ~~are based~~ want Linux, AMD is the winner because the Nvidia driver has issues, some of its features don't work, and Wayland compatibility is spotty.
AMD also has FreeSync, and (in my experience) it has much wider support compared to its GSync competitor.