Click to See Complete Forum and Search --> : Ubuntu resolution jacked?


Poseur
08-18-2005, 01:49 PM
Two days ago I made the change to Linux and after many hours of learning and configuring, I finally hit a dead end. I'm using Ubuntu, and when I first installed, I failed to run xorgconfig, instead right away installing the Nvidia drivers for my GeForce 4600 and (after many hours of labor...) the Nforce2 drivers for my Abit NF7-S (v.2). I've configured Twinview to give me two desktops, I got the sound working and, for the most part, all is well. However, I'm given only 2 options for screen resolution: 2048x768 (85Hz) or 2560x1024 (60Hz). Odd, to say the least.

I searched the forums here for help, and the thread that was closest to answering my question was This one (http://www.justlinux.com/forum/showthread.php?t=140165) . As suggested somewhere on here, I ran xorgconfig. After my first try I attempted to configure the resulting xorg.conf to use Twinview, but that gave me a blue screen telling me it couldn't run the GUI because my graphics settings were wonky. The second try I left it as-is after xorgconfig ran and it gave me the same blue screen. I'm thinking that because I screwed up the order in which I did my configurations, I'm boned for good. This seems to be a more linear "Windows-y" mentality, though, so I'm here asking for help. Below is the current, "working" (runs Linux but at wierd resolutions) xorg.conf file:

Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "NVIDIA Corporation NV25 [GeForce4 Ti 4600]"
Driver "nvidia"
BusID "PCI:2:0:0"
Option "TwinView"
Option "HorizSync" "50-110"
Option "VertRefresh" "60-120"
Option "MetaModes" "1280x1024,1280x1024;1024x768,1024x768"
Option "NoDCC"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Option "UseInternalAGPGART" "no"
Option "RenderAccel" "true"
Option "Coolbits" "1"
Option "NoLogo"
VideoRam 131072
EndSection

Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 30-65
VertRefresh 50-75
EndSection

Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV25 [GeForce4 Ti 4600]"
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" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

As you can see, nowhere in the xorg.conf file does it list either of the two screen resolutions I'm stuck at. I'm thoroughly confused.

I'll list my system specs for good measure:

Abit NF7-S(v.2)
Athlon XP 3200+
512mg pc 3500 DDR
Visiontek GeForce 4600
Ubuntu Linux Distro

I sincerely appreciate any help in the matter, and if there is any other pertinent information I haven't listed here, please ask.

ArgPirate
08-18-2005, 09:45 PM
Ive been having my twin view do some pretty wonky things lately...i cant seem to get it to do anything but "clone" if i do otherwise it kills my monitor off...anyways diffrent thread but if i where you i would try commenting out the twin view and see if that makes things anybetter. other than that i dont know what to tell you...what was the exact error your getting when your it wont let you run X?

AlienNation
08-19-2005, 03:24 AM
You might wanna try

Xorg -configure

That will automatically create the config file (As opposed to xorgconfig which is only semiautomatic). Then do

X -config /root/xorg.conf.new

to try the new file before copying it to /etx/X11/xorg.conf.