Tuesday, May 19, 2009

Ubuntu 9.04, Nvidia and GeForce4 MX440

If nothing above applies, move along - nothing to see. This is one for the google search.

If you are trying to get Ubuntu and a GeForce4 MX 440 with AGP8X working at a decent resolution then the following may help. The information is a little scattered, so here it is in one place.

1. Download the latest version of the Nvidia driver NVIDIA-Linux-x86-96.43.11-pkg1.run

2. Install (instructions at the link)

If the screen fails to come up, or displays an error about choosing a different resolution and refresh rate then boot in safe mode, no user interface.

3. Modify your /etc/X11/xorg.conf like below (backup the default version first!) - you might need to brush up on your vi commands

Restart.

You should see more resolution options when you open the Nvidia settings. You can then set your resolution.

4. To make the resolution stick, update the file /home/.username/.config/monitors.xml with your preferred resolution.

Links for futher information

https://bugs.launchpad.net/ubuntu/+source/nvidia-settings/+bug/362704/comments/6
http://ubuntuguide.org/wiki/Ubuntu:Jaunty#Install_Latest_Nvidia.2FATI_drivers

Other Notes

1. Every time that you upgrade, you might need to re-install the Nvidia driver.
2. If you have a more modern card you might not need to do this.


Files

xorg.conf

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildmeister@builder63) Mon Feb 23 15:44:13 PST 2009

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
EndSection

Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
# HorizSync source: xconfig, VertRefresh source: xconfig
Identifier "Monitor0"
VendorName "Unknown"
ModelName "CRT-0"
HorizSync 30.0 - 81.0
VertRefresh 60.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce4 MX 440 with AGP8X"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "metamodes" "1152x864_60 +0+0; 1280x1024_60 +0+0; 1024x768 +0+0; 800x600 +0+0; 640x480 +0+0; 800x600_60 +0+0"
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

monitors.xml

<monitors version="1">
<configuration>
<clone>no</clone>
<output name="default">
<vendor>???</vendor>
<product>0x0000</product>
<serial>0x00000000</serial>
<width>1152</width>
<height>864</height>
<rate>60</rate>
<x>0</x>
<y>0</y>
<rotation>normal</rotation>
<reflect_x>no</reflect_x>
<reflect_y>no</reflect_y>
</output>
</configuration>
</monitors>

1 comment:

  1. Anonymous1:56 pm

    Thank you - this was very helpful

    ReplyDelete