LQ Newbie
Registered: Dec 2004
Location: Vienna
Distribution: Debian
Posts: 2
Rep:
|
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
|