I have tried a lot of different ways to get my PC working with graphics card but hasn't 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 bumblebee method and installing driver from Nvidia directly but both didn't work. (I’ve got removed Nvidia* now since it didn't 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)