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
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
03-09-2003, 11:26 AM
#1
Member
Registered: Dec 2001
Location: Stow, OH
Distribution: Slackware 10
Posts: 73
Rep:
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
03-09-2003, 11:32 AM
#2
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
What happens when you run startx? Could you copy the messages?
03-09-2003, 11:35 AM
#3
Member
Registered: Dec 2001
Location: Stow, OH
Distribution: Slackware 10
Posts: 73
Original Poster
Rep:
X starts just fine and runs at the 16 bit color depth it just ignores the resolution modes.
03-09-2003, 12:13 PM
#4
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
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).
03-09-2003, 12:22 PM
#5
Member
Registered: Dec 2001
Location: Stow, OH
Distribution: Slackware 10
Posts: 73
Original Poster
Rep:
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!
03-09-2003, 12:37 PM
#6
Member
Registered: Feb 2003
Distribution: Debian
Posts: 797
Rep:
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.
03-09-2003, 12:52 PM
#7
Member
Registered: Dec 2001
Location: Stow, OH
Distribution: Slackware 10
Posts: 73
Original Poster
Rep:
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!
03-09-2003, 01:24 PM
#8
Member
Registered: Feb 2003
Distribution: Debian
Posts: 797
Rep:
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.
03-09-2003, 01:25 PM
#9
Member
Registered: Dec 2001
Location: Stow, OH
Distribution: Slackware 10
Posts: 73
Original Poster
Rep:
Great, will do!
Thanks for your help.
I'm off to tackle my sound and mouse problem now... yeah!
Thanks,
Keith
03-11-2003, 11:32 PM
#10
Member
Registered: Jan 2003
Posts: 121
Rep:
Hey can you do me a favor, keith? Paste your file here...I assume its the XF86Config, right?
All times are GMT -5. The time now is 03:18 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News