This question already has an answer here:
I have a laptop with VGA Onboard Intel HD integrated graphics and an Nvidia GeForce 740M graphics processor. How I can install the Nvidia GeForce 740M driver in Ubuntu 12.04? Because, yesterday I can't install it. After restarting my laptop's resolution was 600x480.
Do I have to install that with terminal PPA or by downloading the file from the NVIDIA official website? Please give me solutions. Thanks.