People sometimes contest this and says times have changed and in a way it's true and nvidia drivers work better than they ever did before at least on linux but invariably you will run into something that doesn't work and it'll never get fixed because Nvidia. Doesn't. Care. If you can live with this nvidia is quite viable on linux nowadays and their proprietary blob drivers are not some stark contrast to AMDs stuff since while AMD has open drivers, you still get *a lot* of firmware bobs. While AMD can cause you less problems in this space both aren't really what I'd consider "open source". Still, nvidia might make you run straight into a wall. You've been warned, and all that.
They're pretty much the only thing though if you're interested in machine learning. AMDs support there is utter garbage. I feel this might become more important in the future when end-user software will take advantage of the GPU for AI.