Yeah nvidia on linux is a pain in the ass really, especially if you are using their older cards.
Speaking about nvidia, my laptop nvidia chip is old so I have to use the legacy 390xx version of the nvidia proprietary driver, which doesn't have native optimus support because it wasn't introduced...