LinuxQuestions.org
Visit Jeremy's Blog.
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 12-25-2004, 07:50 PM   #1
elven
LQ Newbie
 
Registered: Dec 2004
Location: Vienna
Distribution: Debian
Posts: 2

Rep: Reputation: 0
Question Strange XServer behaviour on startup


Hi all,

I'm having a strange problem with my xserver/graphicscard/monitor that I hope someone here will be able to help me with... probably it's just some little tweak somewhere that I have overlooked...

To make a long story short, the problem is that I can get my xserver to start only in the highest (1600x1200) or lowest (640x480) mode... nothing in between.
The specifications of monitor and graphics card in my XF86Config-4 read like this:

(...)
Section "Monitor"
#DisplaySize 320 240 # mm
Identifier "CPQMonitor"
VendorName "CPQ"
ModelName "COMPAQ V700"
HorizSync 30-85
VertRefresh 50-160
EndSection

Section "Device"
Identifier "S3VideoCard"
Driver "savage"
VendorName "S3 Inc."
BoardName "VT8375 [ProSavage8 KM266/KL266]"
BusID "PCI:01:00:0"
EndSection
(...)

Now, when I do NOT specify any "Modes" in section "Screen", the xserver starts up correctly, but with the highest possible mode. The log then reads like this:

(...)
(--) SAVAGE(0): probed videoram: 32768k
(--) SAVAGE(0): Detected current MCLK value of 14.318 MHz
(II) SAVAGE(0): CPQMonitor: Using hsync range of 30.00-85.00 kHz
(II) SAVAGE(0): CPQMonitor: Using vrefresh range of 50.00-160.00 Hz
(II) SAVAGE(0): Clock range: 10.00 to 220.00 MHz
(II) SAVAGE(0): Not using default mode "1280x960" (hsync out of range)
(II) SAVAGE(0): Not using default mode "640x480" (hsync out of range)
(...)
(--) SAVAGE(0): Found 13 modes at this depth:
[10f] 320 x 200, 70Hz
[134] 320 x 240, 72Hz
[144] 400 x 300, 72Hz
[154] 512 x 384, 70Hz
[11e] 640 x 400, 70Hz
[112] 640 x 480, 60Hz, 75Hz, 85Hz, 100Hz, 160Hz
[115] 800 x 600, 60Hz, 75Hz, 85Hz
[118] 1024 x 768, 60Hz, 70Hz, 75Hz, 85Hz, 100Hz, 130Hz
[17b] 1280 x 768, 60Hz
[16a] 1280 x 960, 60Hz, 85Hz
[11b] 1280 x 1024, 60Hz, 75Hz, 85Hz, 100Hz
[13e] 1400 x 1050, 60Hz, 75Hz
[124] 1600 x 1200, 60Hz
(**) SAVAGE(0): Default mode "1792x1344": 204.8 MHz, 83.7 kHz, 60.0 Hz
(II) SAVAGE(0): Modeline "1792x1344" 204.80 1792 1920 2120 2448 1344 1345 1348 1394 -hsync +vsync
(**) SAVAGE(0): Default mode "1600x1200": 175.5 MHz, 81.2 kHz, 65.0 Hz
(II) SAVAGE(0): Modeline "1600x1200" 175.50 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
(**) SAVAGE(0): Default mode "1600x1200": 162.0 MHz, 75.0 kHz, 60.0 Hz
(II) SAVAGE(0): Modeline "1600x1200" 162.00 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
(**) SAVAGE(0): Default mode "1400x1050": 155.8 MHz, 81.5 kHz, 74.8 Hz
(II) SAVAGE(0): Modeline "1400x1050" 155.80 1400 1464 1784 1912 1050 1052 1064 1090 +hsync +vsync
(**) SAVAGE(0): Default mode "1400x1050": 122.0 MHz, 64.9 kHz, 60.0 Hz
(II) SAVAGE(0): Modeline "1400x1050" 122.00 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync
(**) SAVAGE(0): Default mode "1280x1024": 135.0 MHz, 80.0 kHz, 75.0 Hz
(II) SAVAGE(0): Modeline "1280x1024" 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
(**) SAVAGE(0): Default mode "1280x1024": 108.0 MHz, 64.0 kHz, 60.0 Hz
(II) SAVAGE(0): Modeline "1280x1024" 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
(...)

As this is not what I want, I proceed to specify "Modes":

(...)
Section "Screen"
Identifier "Default Screen"
Device "S3VideoCard"
Monitor "CPQMonitor"
DefaultDepth 16
(...)
SubSection "Display"
Depth 16
Modes "1280x960" "1024x768" "800x600" "640x480"
EndSubSection
(...)
EndSection
(...)

Normally, I would expect the xserver to start up in 1280x960 now, but what happens instead is that as soon as I enter "startx" the screen turns black and goes to "sleep". I have to Alt-Strg-Fx into another console then and kill the x-process.

The funny thing is that when I remove the "HorizSync (...)" line in the monitor section, the xserver falls back to the default "HorizSync 28-33" and fires up the "640x480" mode in 16-bit color.

And, yes, both the horizontal sync and the vertical refresh rates are correct, i.e. they conform to the specifications.

After countless hours trying to figure out the solution I'm clueless now.
Anybody? Pretty please?

TIA,
marcus
 
Old 12-26-2004, 06:28 AM   #2
elven
LQ Newbie
 
Registered: Dec 2004
Location: Vienna
Distribution: Debian
Posts: 2

Original Poster
Rep: Reputation: 0
Interestingly, after many "trials and errors", I found that I can achieve 800x600 by adding the following lines:

HorizSync 50 # instead of HorizSync 30-85
(...)
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection

Please note that the following modifications did NOT work:

HorizSync 30-40
HorizSync 60
HorizSync 30-50

I had also tried to add various modelines for 800x600, even the default ones that I found in the xserver-log, without success.

I am dumbfounded!!!
 
Old 01-25-2005, 09:44 AM   #3
opioid
Member
 
Registered: Jul 2003
Location: Chicago
Distribution: Ubuntu
Posts: 124

Rep: Reputation: 15
[SOLVED]

H Freq/ V Freq: 30-85 / 50-160

works for me...
 
  


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
Strange behaviour Anmol SUSE / openSUSE 2 10-27-2005 11:05 PM
SCP strange behaviour sbalasuriya Linux - Software 0 09-21-2004 10:50 AM
Strange behaviour with new Kernel sausagejohnson Linux - General 5 04-18-2004 06:21 PM
Strange USB behaviour powadha Slackware 0 12-20-2003 03:24 PM
Strange Behaviour mikeyt_3333 Linux - General 4 08-06-2001 03:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:10 AM.

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
Open Source Consulting | Domain Registration