I have tried alot of different ways to get my pc working with graphics card but hasnt got me anywhere. I started off with installing ubuntu 12.04 for the first time which left me stuck at black login screen. (solved now).
I have tried bubmlebee method and installing driver from Nvidia directly but both didnt work. (I’ve got removed Nvidia* now since it didnt work) with bumblebee I could not run optirun or prium
lspci -nn | grep -i vga
00:02.0 VGA compatible controller : Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06)
sudo lshw -C display
*-display UNCLAIMED description: 3D controller product: GK106M [GeForce GTX 765M] vendor: NVIDIA Corporation physical id: 0 bus info: pci@0000:01:00.0 version: a1 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list configuration: latency=0 resources: memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:f7000000-f707ffff *-display description: VGA compatible controller product: 4th Gen Core Processor Integrated Graphics Controller vendor: Intel Corporation physical id: 2 bus info: pci@0000:00:02.0 version: 06 width: 64 bits clock: 33MHz capabilities: msi pm vga_controller bus_master cap_list rom configuration: driver=i915 latency=0 resources: irq:45 memory:f7400000-f77fffff memory:d0000000-dfffffff ioport:f000(size=64)
lspci | grep NVIDIA
01:00.0 3D controller: NVIDIA Corporation GK106M [GeForce GTX 765M] (rev a1)
PS: I used http://followthegeeks.com/a-noobs-guide-to-installing-nvidia-optimus-driver-in-ubuntu/ to solve black screen problem.