Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How well do laptops with Nvidia Optimus work?

I have installed ubuntu 12.04 on my laptop. In live mode, ubuntu booted in "3d" mode. But after installing it would always login in 2d mode. I have nvidia graphics card geforce gt 540m. Should I install any extra packages? What could be the problem?

share|improve this question

marked as duplicate by Lekensteyn, Jorge Castro, James Aug 15 '12 at 18:41

This question was marked as an exact duplicate of an existing question.

Have you installed any drivers?

Run sudo add-apt-repository ppa:ubuntu-x-swat/x-updatesin terminal.

Then press ctrl-alt-f1 in desktop and run

sudo /etc/init.d/lightdm stop
sudo apt-get update
sudo apt-get install nvidia-current nvidia-settings
sudo reboot
share|improve this answer
nvidia-current is already installed. when I have run nvidia-xconfig, an error message has come up Using X configuration file: "/etc/X11/xorg.conf". VALIDATION ERROR: Data incomplete in file /etc/X11/xorg.conf. Device section "Default Device" must have a Driver line. Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup' New X configuration file written to '/etc/X11/xorg.conf' – salsabear Jun 5 '12 at 14:19
what is the output when you type sudo apt-get install nvidia-current nvidia-settings ? – Rrjrjtlokrthjji Jun 5 '12 at 14:23
I ran nvidia-xconfig after killing lightdm. But now the screen is in a poorer resolution, and open the nvidia-settings window still prompts "run nvidia-xconfig as root" – salsabear Jun 5 '12 at 14:33
the output is that the packages are already installed – salsabear Jun 5 '12 at 14:33

Not the answer you're looking for? Browse other questions tagged or ask your own question.