Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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, jrg Aug 15 '12 at 18:41

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

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 ? –  Nickolas 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.