You may or may not know this but you DO NOT have to manually install the nVIDIA drivers for your video card (assuming you have an nVIDIA card of course). They are available via apt & Synaptic. Here's what you will want to do:
- Open System --> Administration --> Synaptic Package Manager
- Click Reload in the Synaptic toolbar
- Click Search
- I chose to replace the generic kernel with the amd64-k8, so I entered Search = Linux & Look in = Name in the Find box.
- Scrolled through the results and selected:
- linux-headers-amd64-k8
- linux-image-amd64-k8
- linux-kernel-headers
- linux-restricted-modules-amd64-k8 (Note: No matter which kernel you are using, you NEED to load the linux-restricted-modules for the kernel of your choice. Otherwise, no nVIDIA drivers.)
- Next Click Search again and in the Find box enter Search = nvidia & Look in = Description and Name
- Scroll through the results and select:
- nvidia-glx
- nvidia-kernel-common
- nvidia-settings
- Click Apply
- Open Applications --> Accessories --> Terminal
- Enter the command sudo nano /etc/X11/xorg.conf
- Enter your password at the prompt
- Make the following changes to xorg.conf
- In Section "Module" comment out the following with the hash symbol:
- # Load "dri"
- # Load "GLcore"
- Add Load "glx" in this section if it is not present
- Scroll down to Section "Device" where you will find the entry for your video card. Change Driver "nv" to Driver "nvidia"
- Scroll down to Section "Monitor" and verify the HorizSync & VertRefresh settings for your monitor. If you are not sure what they should be, look them up from the MANUFACTURERS website. Setting these values incorrectly could permanently damage your monitor!
- Finished? Press Ctrl+X and enter Y to save the changes
- Close your open windows
- Reboot the PC and if all is well you should see the nVIDIA splash screen and then the gdm login screen
Enjoy! And, by the way. I am writing all this up on my shiny new Ubuntu 5.10 system. :-)
Disclaimer: Remember, you use these instructions at your own risk. No guarantees, warranty, liability or accuracy regarding the above information is expressed or implied. If you blow something up on your system, it's your business, not mine.
[Updated 18 October 2005: Clarified that you MUST install a linux-restricted-modules package for the kernel you are running in order to obtain the nvidia kernel module.]
[Updated 31 October 2005: More of a comment than an update... Site Meter indicates that this is the most popular entry in my blog. I hope you find it useful. If you have questions or comments about the procedure above, please let me know.]
2 comments:
Instead of rebooting, what about /etc/init.d/gdm restart as root
Instead of rebooting, what about /etc/init.d/gdm restart as root
That would be fine if you are not installing an alternate kernel as I did in my example.
If you are sticking with the stock kernel and simply adding the restricted modules that should work I believe...
Post a Comment