Are you using the driver supported by your distro? I’m not Nvidia user, but I have fair share of installing Nvidia drivers on Linux. As long as you don’t stray from driver the distro gave you, I never have problem. Literally not once.
And if you are trying to install AMD or Intel proprietary driver. Why? Just…, why?