Thought I'd put this together based on what I just did as it's hard to find a place where you get complete info in one place for this topic.
Not taking any credit as it's just piecing together stuff found on the net.
Of course this is for my specific hardware and system so YMMV:
- Palit Sonic GT 240 card
- Lucid 10.04.1 64-bit
- Intel DG33FB board and E7200 CPU
- LG monitor L194WT at 1440x900 res
Reason for choosing the latest NVidia drivers instead of the ones available from the System > Administration > Hardware Drivers option is that the latest ones contain specific fixes for my card, that are not available in the others.
All of the following is based on a freshly installed 64-bit Lucid 10.04.1 system. Some actions may need modification if you have already been tinkering with Nvidia drivers.
1. Backup your /etc/X11/xorg.conf file if any. The default clean install of 64-bit Lucid 10.04.1 doesn't create this file so unless you have generated and modified the xorg.conf file for your specific needs, skip this.
2. Install the following packages
If this doesn't work, run
sudo apt-get install build-essential linux-headers-`uname -r`
and paste the output of that in the command above so you get, say
3. Remove the following packages using Synaptic's 'Completely Remove' option
sudo apt-get install build-essential linux-headers-2.6.32-27-generic
4. Create a new text file disable-nouveau.conf in the directory /etc/modprobe.d/ with the following contents
5. Download the latest NVidia drivers applicable to your card from here:
options nouveau modeset=0
6. Save the downloaded file (e.g. NVIDIA-Linux-x86_64-260.19.29.run in my case) to an easily accessible location like your home folder. Make this file executable by running, say
7. Check that the driver was correctly downloaded.
sudo chmod +x NVIDIA-Linux-x86_64-260.19.29.run
8. Run Update Manager, Check for updates and Apply any found
sh NVIDIA-Linux-x86_64-260.19.29.run --check
1. Restart and choose the recovery option from the Grub options list.
2. Choose the Root Shell option in the list of options presented subsequently.
3. At the root shell run the following
If you skip this, the driver installer will inform you of the need to do this.
4. This will present you with a login prompt. Login with your admin username and password.
5. Navigate to the folder where the driver installer is present and run it, like
6. Accept the license text.
sudo sh NVIDIA-Linux-x86_64-260.19.29.run
7. Say Yes to installing the 32-bit Open GL drivers.
8. I think you need to say Yes/ Accept once more time to initiate the driver installation.
9. Once the driver is installed it will ask you whether it should configure xorg.conf for you, say Yes. This will create the xorg.conf file if not present in your system and modify an existing one if present.
10. Back at the prompt, shutdown the system
11. Restart and use the normal startup option in the Grub options list, if all goes well you should see your beautiful desktop.