View Single Post
Old 06-08-09, 04:45 AM   #15
Gewitty
Registered User
 
Join Date: May 2009
Posts: 11
Default Re: Unable to set correct resolution for GEFORCE 9400GT in Ubuntu 9.04

Still no success, but I can't figure out whether this is due to using the wrong EDID file, configuring xorg.conf incorrectly, or just plain stupidity.

I've followed the instructions in Appendix B of the Nvidia driver ReadMe file. This opens up with the statement:

Appendix B. X Config Options

The following driver options are supported by the NVIDIA X driver. They may be
specified either in the Screen or Device sections of the X config file.



In the specific section relating to the use of a custom EDID file, it says:

Option "CustomEDID" "string"

This option forces the X driver to use the EDID specified in a file rather
than the display's EDID. You may specify a semicolon separated list of
display names and filename pairs. The display name is any of "CRT-0",
"CRT-1", "DFP-0", "DFP-1", "TV-0", "TV-1", or one of the generic names
"CRT", "DFP", "TV", which apply the EDID to all devices of the specified
type. The file contains a raw EDID (e.g., a file generated by
nvidia-settings).

For example:

Option "CustomEDID" "CRT-0:/tmp/edid1.bin; DFP-0:/tmp/edid2.bin"

will assign the EDID from the file /tmp/edid1.bin to the display device
CRT-0, and the EDID from the file /tmp/edid2.bin to the display device
DFP-0. Note that a display device name must always be specified even if
only one EDID is specified.


I installed the 185 driver and then edited xorg.conf so it now looks like this:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder62) Sat Apr 4 07:37:37 PST 2009

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

Section "Files"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
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"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "CustomEDID" "DFP:/home/dave/W193_1440X900-D.dat"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection


If I open the W193_1440X900-D.dat file (this is what the screen manufacturer sent me as an EDID file) in a text editor, this is what it contains:

00 FF FF FF FF FF FF 00 1D 65 13 00 0D 00 00 00

03 12 01 03 80 29 1A 78 2E D7 A5 A2 59 4A 96 24

14 50 54 BF EF 00 95 00 81 80 71 8F 00 00 00 00

00 00 00 00 01 01 9A 29 A0 D0 51 84 22 30 50 98

36 00 9A 00 11 00 00 1C 00 00 00 FF 00 31 0A 20

20 20 20 20 20 20 20 20 20 20 00 00 00 FD 00 32

55 1E 52 0E 00 0A 20 20 20 20 20 20 00 00 00 FC

00 57 31 39 33 0A 20 20 20 20 20 20 20 20 00 CA

Can anyone spot the problem here?
Gewitty is offline   Reply With Quote