[Help]Install Nvidia drivers for Ubuntu


Recommended Posts

I would do the following

Section "Device"

Identifier "NVIDIA Corporation NV43 [GeForce 6600/GeForce 6600 Ultra]"

Driver "nvidia"

BusID "PCI:1:0:0"

EndSection

Section "Monitor"

Identifier "Generic Monitor"

Option "DPMS"

HorizSync 30-65

VertRefresh 50-75

EndSection

Section "Screen"

Identifier "Default Screen"

Device "NVIDIA Corporation NV43 [GeForce 6600/GeForce 6600 Ultra]"

Monitor "Generic Monitor"

DefaultDepth 24

SubSection "Display"

Depth 1

Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"

EndSubSection

SubSection "Display"

Depth 4

Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"

EndSubSection

SubSection "Display"

Depth 8

Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"

EndSubSection

SubSection "Display"

Depth 15

Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"

EndSubSection

SubSection "Display"

Depth 16

Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"

EndSubSection

SubSection "Display"

Depth 24

Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"

EndSubSection

EndSection

The crossed-out sections, you can remove. The bold items will need to be typed in by you.

We eliminate all the lower color depths you are likely to never ever use. Keep 16, just in case.

Then we eliminate the 1280x124 that you seem to not want (true?)

and add in the 1152x864 that you asked about. Do this to both the 16 and 24-bit depths.

Link to comment
Share on other sites

I would do the following

The crossed-out sections, you can remove.  The bold items will need to be typed in by you.

We eliminate all the lower color depths you are likely to never ever use.  Keep 16, just in case.

Then we eliminate the 1280x124 that you seem to not want (true?)

and add in the 1152x864 that you asked about.  Do this to both the 16 and 24-bit depths.

585747619[/snapback]

done so, and even rebooted. But it doesnt show up when i go to:

system>preferences>screen resolution

is it possible im going to the wrong spot to change the res? :blush:

Link to comment
Share on other sites

done so, and even rebooted. But it doesnt show up when i go to:

system>preferences>screen resolution

is it possible im going to the wrong spot to change the res? :blush:

585747695[/snapback]

I don't know if Ubuntu/Gnome is remembering something you set through your GUI tool for resolution. The direct edit to your xorg.conf file should have been all that was needed, and should have overridden any thing like that.

If you try using CTRL + ALT + [num pad plus] and CTRL + ALT + [num pad minus], does your resolution switch between your allowed settings in your xorg.conf file?

EDIT: Did you keep the 1280x1024 in your config? What res does it boot up to? Also, what monitor do you have?

Link to comment
Share on other sites

If you try using CTRL + ALT + [num pad plus] and CTRL + ALT + [num pad minus], does your resolution switch between your allowed settings in your xorg.conf file?

585747741[/snapback]

yes it does so.

Link to comment
Share on other sites

Screw all that. Install the Nvidia drivers this way.

Download the newest Nvidia drivers from www.nvidia.com for Linux with the *.sh extension.

apt-get your kernel headers (example: 'apt-get install linux-headers-686' or -smp for HT Processors)

get out of X and type '/etc/init.d/gdm stop'

goto the directory where you downloaded the Nvidia drivers

Type this 'sh NVIDIA-Linux-x86-1.0-7174-pkg1.run' or what ever it is named

Press enter a bunch of times. (inside of this text menu thing, this is where you need the kernel headers for the driver to compile a module for you)

now type this 'nano /etc/X11/xorg.conf'

remove the 'Load GLI' entry from the file and change the 'Driver = NV' to Driver = NVIDIA'

now save the file and reboot or restart X/GDM (it's up to you). You should be fine with the newest official drivers.

If I skipped something, let me know since I'm doing this from memory.

Link to comment
Share on other sites

  • 3 weeks later...

Hope this helps someone who comes across this thread in google when having the same problem, it's probably too late for ripgut.

The reason you were unable to use 1152x864 is your monitors vertical and horizontal sync rates are misconfigured in xorg.conf.

HorizSync 30-65

VertRefresh 50-75

I don't know what voodoo the nvidia driver does to determine your allowed screen resolutions and refresh rates, but I was able to get 1152x864 @ 85hz with a horizontal sync rate of 30-85 and vertical refresh of 50-160. This is on a monitor that can do 1280x1024 @ 75hz, and 1600x1200 @ 65hz.

Now, don't just set your sync rates to the same as mine. Check your monitor documentation or search google to find the manufacturers specifications, then use those.

Good luck, maybe someday configuring screen resolutions and refresh rates under X will be as easy as it was on Windows 95 almost 10 years ago.

Dan

Link to comment
Share on other sites

Also, the only time you would need to download drivers from nvidia.com is if you are not using the default 386 kernel. To see which kernels are available, try

apt-cache search linux-image

To see which kernel you are using, run

uname -a

To see which kernels are installed, run

dpkg -l linux-image*

So if you want to try the 686 kernel (for Intel computers) or the k7 kernel (for AMD boxen) you will need to compile the nvidia driver. I assume these kernels will yield better perfomance since they make use of MMX, SEE and 3DNOW... but I haven't come across any benchmarks.

Dan

Link to comment
Share on other sites

Not sure how to edit my last post, but I was wrong about needing to download the nvidia drivers. If you are using a 686 or k7 kernel, just install the appropriate linux-restricted-2.6........ package, along with nvidia-glx and nvidia-settings. This got me to the latest 7174 nvidia driver. Here is an excellent howto

Dan

Link to comment
Share on other sites

you will need to have nvidia-glx and nvidia-kernel packages installed, can't remember exactly (not on Linux anymore), sorry.

ah! here's a good howto. Have fun.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.