I have an HP Envy DV7 7212 with the GeForce GT 650M. I dual boot Windows 8 and Linux 12.10, Quantal. The video hardware operates properly under Windows 8. The Linux drivers are not loaded by the time that I try to login to X.

I get what looks like a safe X boot screen at 600x800 resolution

I've generated a great number of log files and reference some of their data here

nvidia-installer.log for the 313.18 installer shows no errors and successful completion

I've added blacklist entries in /etc/modprobe.d/blacklist.conf for nouveau and nvidiafb and my lsmod does not show them loaded. Though, the nvidia module is loaded with 0 users associated with it.

Having discovered that this could be an Optimus issue. I've installed Bumblebee according to their recommendations http://bumblebee-project.org/install.html#Ubuntu
However, I've ended up with some further issues. I'm searching for information on these, but I thought I'd go ahead and record them here for posterity.

First off, I get to the lightdm login screen just fine, but when I enter my password, I end up crashing the X server, or lightdm, and getting sent back to the login prompt, the login prompt reloads with that familiar chiming sound and further attempts to login result in the same crash and prompt repeating.

/var/log/upstart/bumblebee.log repeats the following 2 messages :

ls: cannot access /usr/lib/nvidia*/libGL.so: No such file or directory
/proc/self/fd/9 31: exec: /usr/sbin/bumblebeed: not found

the first message is odd because /usr/lib/nvidia-current/libGL.so does exist
the second is string because /usr/sbin/bumblebeed exists

That fixed the bumblebee error. After adding the repo that you cited above, I was able to add the additional driver through jocket. I wasn't able to get into the GUI, and so I used jockey-text --list to get a list of all of the appropriate drivers, then I enabled the driver for 313 through : jockey-text -e kmod:nvidia_313
–
OYRMMar 5 '13 at 21:08

This worked for me with GTX 860M, annoying that standard ubuntu didn't make drivers available!!
–
uzi3kJun 21 '14 at 20:37

The .XAuthority permission error was repaired by chown'ing the ~/.XAuthority file
between Thomas15v's answer re: restricted drivers, and my own .XAuthority fix, along with the Bumblebee installation, I'm able to login and run optirun in an operational X environment.