Hello, I did not know, that installing Nvidia-drivers regarding Optimus Card (with CUDA) is still unsolved ... ?!
In Ubuntu I wrote in askubuntu.com as User dschinn1001 a solution how to install the correct driver for this Graphics-Card, which is
built in acer 3830TG (13-inch-Display) and in DELL XPS Notebook (13-inch-Display). The thing is that this Graphics Card is hybrid and allows it, that one
can at same time, use 2 different Graphics Displays - each other separated from, so that you could have two different Desktops with one machine.
The solution for NVIDIA Optimus CUDA 540M is as follows, this workaround below refers to Ubuntu 13.04 - and there was older driver bumblebee. Now
I dont know if bumblebee is still used as driver. In case yes, you could install bumblebee - otherwise leave bumblebee package out:
This description is working with hybrid-cards of nvidia, who contains CUDA chipset (additionally in some cases with 'Optimus'-feature) like those with letter 'M' as graphics-cards for notebooks.
no question - linux-headers have to be installed first suiting to your installed kernel.
in case of hybrid-chipsets like CUDA with Optimus this following package might NOT work entirely :
you instead should try this package:
You can download it here:
In this example the 1 year old graphics hypbrid chipset with GeForce 540M CUDA Optimus (notebooks) - CUDA_SDK_1.1_Beta is working quite good ...
On desktop in terminal one first needs to do:
and on 32-bit-machines this:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/nvidia-current:/usr/lib32/nvidia- current
but on 64-bit-machines this:
I had kernel 3.9.0 and after:
Strg-Alt-F1 (use Ctrl instead of Strg on most non-German keyboards)
then it depends on your system what works better:
either this package for 32-bit:
apt-get install nvidia-current
or either this package for 64-bit:
apt-get install nvidia-current-updates
(never mix these both packages !)
I simply went out of x:0 with looking for x-window processes (gdm, lightdm, xdm, kdm and else ... ) with top and then ended all concerning x:0-processes with killing them manually:
(in protected mode resp. Strg-Alt-F1)
kill -9 PID number-of-PID
( this works more explicitly than xdm stop, gdm stop or kdm stop resp. lightdm stop and commands like init or telinit are not to recommend here in 12.10 - I write this here, because in many tutorials regarding nvidia these stopping commands are always told )
Then finally I simply ran off that package:
when finish do not forget then:
gdm start (when gnome is installed)
lightdm start (when gdm and gnome is not installed)
following is necessary in case of geforce-cards with cuda-optimus:
back to desktop with:
there type into terminal
sudo add-apt repository ppa:bumblebee/stable
sudo apt-get update
sudo apt-get install --reinstall bumblebee virtualgl linux-headers-generic
(otherwise installation of cuda-sdk-package has no effect)
now you should have wobbly graphics best working with compiz and cairo-dock and icon-fusion !!!
(remark: later after installing kernel 3.10 - Nvidia-driver CUDA-SDK-1.1 was accepted by 3.10 without further problems)