Can't get X to start in 1280 x 1024 resolution
Russell Shaw
rjshaw at netspace.net.au
Fri Aug 4 09:11:35 PDT 2006
Tom wrote:
> I have the conf and log file here:
>
> http://forums.gentoo.org/viewtopic-t-485818.html
>
> You can probably read everything in
> a better format than this e-mail.
>
> I have an LG CB575E-NA monitor. The
> manual gives the maximum resolution
> as 1280 x 1024, with a horizontal
> sync of 30 - 70 kHz and a vertical
> refresh of 60 -85 Hz.
>
> The xorg.conf:
>
> Section "ServerLayout"
> Identifier "X.org Configured"
> Screen 0 "Screen0" 0 0
> InputDevice "Keyboard0" "CoreKeyboard"
> InputDevice "Mouse0" "CorePointer"
> EndSection
>
> Section "Files"
> RgbPath "/usr/share/X11/rgb"
> ModulePath "/usr/lib/xorg/modules"
> FontPath "/usr/share/fonts/misc"
> FontPath "/usr/share/fonts/75dpi"
> FontPath "/usr/share/fonts/100dpi"
> FontPath "/usr/share/fonts/ttf-bitstream-vera"
> FontPath "/usr/share/fonts/default/ghostscript"
> FontPath "/usr/share/fonts/Type1"
> EndSection
>
> Section "Module"
> Load "dbe"
> Load "dri"
> Load "extmod"
> Load "freetype"
> Load "glx"
> Load "record"
> Load "type1"
> Load "xtrap"
> EndSection
>
> Section "InputDevice"
> Identifier "Keyboard0"
> Driver "kbd"
> EndSection
>
> Section "InputDevice"
> Identifier "Mouse0"
> Driver "mouse"
> Option "Protocol" "auto"
> Option "Device" "/dev/input/mouse0"
> EndSection
>
> Section "Monitor"
> Identifier "Monitor0"
> HorizSync 30 - 70
> VertRefresh 60 - 85
> EndSection
>
> Section "Device"
> Identifier "Card0"
> Driver "i810"
> VendorName "Intel Corporation"
> BoardName "82810E DC-133 CGC [Chipset Graphics Controller]"
> BusID "PCI:0:1:0"
> EndSection
>
> Section "Screen"
> Identifier "Screen0"
> Device "Card0"
> Monitor "Monitor0"
> DefaultDepth 16
> SubSection "Display"
> Viewport 0 0
> Depth 1
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 4
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 8
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 15
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 16
> EndSubSection
> SubSection "Display"
> Viewport 0 0
> Depth 24
> EndSubSection
> EndSection
>
> Section "DRI"
> Mode 0666
> EndSection
>
> This configuration file starts X
> with a resolution of 1400 x 1050
> (above the maximum specified in
> the manual for the monitor). The
> log file:
...
It just picked the highest resolution things would allow because
you didn't specify a modes line like this:
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1280x1024"
EndSubSection
You get more colours if you specify
DefaultDepth 24
Then you should have:
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024"
EndSubSection
Also, you don't need those "Viewport 0 0" lines.
More information about the xorg
mailing list