LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-09-2003, 12:26 PM   #1
KeithKessler
Member
 
Registered: Dec 2001
Location: Stow, OH
Distribution: Slackware 10
Posts: 73

Rep: Reputation: 15
X server Resolution Problem


Hello Everyone,

Sorry to trouble you with such a seeming simple question. I've tried to resolve the issue through my own research but haven't had any real luck thus far. Whenever I startx the default resolution is 640x480 and I can't seem to change it with ctl alt + or -

Below is my XF86Config file - I've added "modes" lines after the depth but the X server seeming ignores them.

Thanks in advance for you help.

Keith Kessler

-----------------------------------------------------------

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

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
Load "dbe"
Load "dri"
Load "extmod"
Load "glx"
Load "record"
Load "xtrap"
Load "speedo"
Load "type1"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/mouse"
EndSection

Section "Monitor"
#DisplaySize 280 210 # mm
Identifier "Monitor0"
VendorName "NEC"
ModelName "NEC A500"
Option "DPMS"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "HWCursor" # [<bool>]
#Option "SWCursor" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "Rotate" # [<str>]
#Option "UseBIOS" # [<bool>]
#Option "LCDClock" # <freq>
#Option "ShadowStatus" # [<bool>]
#Option "VideoRAM" # <i>
Identifier "Card0"
Driver "savage"
VendorName "S3"
BoardName "Savage4"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16

SubSection "Display"
Depth 1
Modes "1024x768" "800x600"
EndSubSection

SubSection "Display"
Depth 4
Modes "1024x768" "800x600"
EndSubSection

SubSection "Display"
Depth 8
Modes "1024x768" "800x600"
EndSubSection

SubSection "Display"
Depth 15
Modes "1024x768" "800x600"
EndSubSection

SubSection "Display"
Depth 16
Modes "1024x768" "800x600"
EndSubSection

SubSection "Display"
Depth 24
Modes "1024x768" "800x600"
EndSubSection
EndSection
 
Old 03-09-2003, 12:32 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
What happens when you run startx? Could you copy the messages?
 
Old 03-09-2003, 12:35 PM   #3
KeithKessler
Member
 
Registered: Dec 2001
Location: Stow, OH
Distribution: Slackware 10
Posts: 73

Original Poster
Rep: Reputation: 15
X starts just fine and runs at the 16 bit color depth it just ignores the resolution modes.
 
Old 03-09-2003, 01:13 PM   #4
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Which version of XFree are you using? It's 4.x, the right file is XF86Config-4 (if there's no such one, XF86Config is used).
 
Old 03-09-2003, 01:22 PM   #5
KeithKessler
Member
 
Registered: Dec 2001
Location: Stow, OH
Distribution: Slackware 10
Posts: 73

Original Poster
Rep: Reputation: 15
Whichever version of XFree that comes with slack 8.1

Below is an excerpt from the XFree86.0.log

---------------------------------------------

(II) SAVAGE(0): Not using default mode "800x512" (hsync out of range)

--- Lots of lines similar to the one above (hsync out of range)

(II) SAVAGE(0): Not using mode "1024x768" (no mode of this name)
(II) SAVAGE(0): Not using mode "800x600" (no mode of this name)

--- Above are the modes I have specified right?

(--) SAVAGE(0): Found 14 modes at this depth:
[10e] 320 x 200, 70Hz
[133] 320 x 240, 72Hz
[143] 400 x 300, 72Hz
[153] 512 x 384, 70Hz
[11d] 640 x 400, 70Hz
[111] 640 x 480, 160Hz, 85Hz, 75Hz, 72Hz, 60Hz
[173] 720 x 480, 75Hz
[17e] 720 x 576, 75Hz
[114] 800 x 600, 160Hz, 85Hz, 75Hz, 72Hz, 60Hz, 56Hz
[117] 1024 x 768, 130Hz, 85Hz, 75Hz, 70Hz, 60Hz
[163] 1152 x 864, 100Hz, 85Hz, 75Hz, 70Hz, 60Hz
[11a] 1280 x 1024, 100Hz, 85Hz, 75Hz, 60Hz
[122] 1600 x 1200, 85Hz, 75Hz, 60Hz
[138] 1920 x 1440, 60Hz
(--) SAVAGE(0): Virtual size is 640x480 (pitch 640)
(**) SAVAGE(0): Default mode "640x480": 25.2 MHz, 31.5 kHz, 60.0 Hz
(II) SAVAGE(0): Modeline "640x480" 25.20 640 656 752 800 480 490 492 525 -hsync -vsync
(**) SAVAGE(0): Default mode "320x240": 12.6 MHz, 31.5 kHz, 60.1 Hz (D)
(II) SAVAGE(0): Modeline "320x240" 12.60 320 328 376 400 240 245 246 262 doublescan -hsync -vsync
(==) SAVAGE(0): DPI set to (75, 75)
(II) Loading sub module "fb"

Hope that helps!

Thanks for your help on this!
 
Old 03-09-2003, 01:37 PM   #6
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
ok, lets try a couple of things. first run
X -version
and figure out the version of XFree86

Second, add to the monitor section your vertical and horizontal refresh rate (your monitor manual or look online for your specific model)

Code:
Section "Monitor"
        .....
        HorizSync    30.0 - 95.0
        VertRefresh  50.0 - 180.0
see if that helps.
 
Old 03-09-2003, 01:52 PM   #7
KeithKessler
Member
 
Registered: Dec 2001
Location: Stow, OH
Distribution: Slackware 10
Posts: 73

Original Poster
Rep: Reputation: 15
XFree Version 4.2.0

I added:

HorizSync 31.0 - 65.0
VertRefresh 55.0 - 120.0

to XFree86Config and now I'm up and running in 1024x768!!

Thanks so much for all your help!
 
Old 03-09-2003, 02:24 PM   #8
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
last thing you may want to do is run 'xvidtune' from an xterm - this way you can tune your screen very well. Then when you get a nice setup, use 'show' to display a line of info to the xterm something like

"1024x768" 94.50 1024 1036 1132 1260 768 769 772 796 +hsync +vsync

Then what you do is paste this into your monitor section undr your refresh rates:
Code:
        HorizSync    30.0 - 95.0
        VertRefresh  50.0 - 180.0
        ModeLine "1024x768" 94.50 1024 1036 1132 1260 768 769 772 796 +HSync +VS
ync
Don't know if this will help you, but it helped me get a nice refresh rate.
 
Old 03-09-2003, 02:25 PM   #9
KeithKessler
Member
 
Registered: Dec 2001
Location: Stow, OH
Distribution: Slackware 10
Posts: 73

Original Poster
Rep: Reputation: 15
Great, will do!

Thanks for your help.

I'm off to tackle my sound and mouse problem now... yeah!

Thanks,

Keith
 
Old 03-12-2003, 12:32 AM   #10
loran
Member
 
Registered: Jan 2003
Posts: 121

Rep: Reputation: 15
Hey can you do me a favor, keith? Paste your file here...I assume its the XF86Config, right?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
X server working only at 640x480 resolution pymehta Linux - Hardware 4 08-22-2005 05:07 AM
X server working only at 640x480 resolution pymehta Linux - Hardware 1 08-21-2005 04:33 PM
Query and change X server resolution?? bruno buys Debian 4 09-12-2004 07:21 PM
How to change Resolution in X Server? EnigmaX Linux - Newbie 2 02-12-2004 01:28 PM
name resolution problem mdwstmusik Linux - Networking 5 02-27-2003 10:53 PM


All times are GMT -5. The time now is 12:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration