It is working now. Frankly, I don't know what changed. I have intel integrated graphics, so no Nvidia setting for me.
The problem I have now is that Atari 2600 has flaky graphics. Sprites are disappearing. I think the fix for that is to use Stella, instead of retroarch.