On Monday, May 26, 2003 11:10 am, Simon Watson wrote:
> My monitor loses the videocard signal when XFree86 starts. Pressing
> CTL+ALT+- several times to change resolution brings back the display. I've
> tried editing XF86Config but with no luck - how can I force the correct
> display mode on startup?
>
> When I change display mode with CTRL+ALT+-, the picture
> returns (with less-than-ideal resolution) and I can see the login screen.

This means X, by default, is using a display mode that doesn't work.  Obvious, 
I know...

It's important to note that the default display mode is the first entry in the 
Modes section for the selected depth in the selected display.  Wait, that's 
not exactly right.  It's the first *working* entry.  But in your case, 
XFree86 and your graphics card and/or monitor disagree on the meaning of the 
word "working".

> Pressing it a couple more times, produces the perfect resolution on my LCD
> screen.

Tell us exactly how many times.  And you're using CTRL+ALT+MINUS, right?  That 
steps right-to-left through the Modes list.  CTRL+ALT+PLUS goes 
left-to-right.  (Is this always true?)  As I so-clumsily stated above, 
nonworking modes are skipped.

> The monitor reports this as 1280x1024, 80kHz, 75Hz. Looking at the
> XFree86 log file, I can see a list of 13 modes that were found, including
> the one that I think should work (prefixed with code 11a). I've tried
> adding the appropriate ModeLine to my XF86Config (1280x1024-75) and
> referencing this within the Screen section, but it doesn't seem to default
> to this (or if it does, it doesn't work).

If XFree86 doesn't default to it even though it's first in the list, then it 
doesn't think it works.

> Shuttle SK41G with ProSavage chipset
> IIyama 4315 LCD monitor (using analogue input) - its manual lists a
> 1280x1024, 79.976kHz, 75.025Hz, 135MHZ mode

> # Option "XkbVariant" "nodeadkeys"

I've always wondered what this meant...  Of course, here it's a comment, but 
still, what's "nodeadkeys"?


> Section "Monitor"
>  Identifier   "Monitor0"
>  VendorName   "Monitor Vendor"
>  ModelName    "AS4315"
>  DisplaySize  340 270
>  HorizSync    30.0 - 82.0
>  VertRefresh  50.0 - 75.0
>  ModeLine     "1280x1024-75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066
> +hsync +vsync
>  Option     "dpms"
> EndSection

Did you write that modeline yourself, or did it come from somewhere?  Did your 
configuration tool generate it?  Do you know if it's correct?

> Section "Screen"
>  Identifier "Screen0"
>  Device     "Videocard0"
>  Monitor    "Monitor0"
>  DefaultDepth     16
>  SubSection "Display"
>   Depth     16
>   Modes    "1280x1024-75" "1280x1024" "1280x960" "1152x864" "1024x768"
> "800x600" "640x480"
>  EndSubSection
> EndSection

Have you tried editing the Modes line by hand?  Comment out (#) the original 
and make a new one containing only the modes you'll actually be using.

> (--) SAVAGE(0): Found 13 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, 60Hz, 75Hz, 85Hz, 100Hz, 160Hz
>     [114] 800 x 600, 60Hz, 75Hz, 85Hz
>     [117] 1024 x 768, 60Hz, 70Hz, 75Hz, 85Hz, 100Hz, 130Hz
>     [17a] 1280 x 768, 60Hz
>     [14f] 1280 x 960, 60Hz, 85Hz
>     [11a] 1280 x 1024, 60Hz, 75Hz, 85Hz, 100Hz
>     [13c] 1400 x 1050, 60Hz, 75Hz
>     [122] 1600 x 1200, 60Hz
> (--) SAVAGE(0): Virtual size is 1280x1024 (pitch 1280)
> (**) SAVAGE(0): *Mode "1280x1024-75": 135.0 MHz, 80.0 kHz, 75.0 Hz
> (II) SAVAGE(0): Modeline "1280x1024-75"  135.00  1280 1296 1440 1688  1024
> 1025 1028 1066 +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

Yo, your modeline for "1280x1024-75" appears identical to the builtin 
"1280x1024".

> (**) 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

But it's listed twice, except here at a different rate (60 Hz instead of 75 
Hz).  I guess it knows how to handle this resolution at both 60 Hz and 75 Hz.  
Above it also lists 85 Hz and 100 Hz, but apparently X feels that even though 
your card might be able to handle those, your monitor can't.

(repeated)
>   Modes    "1280x1024-75" "1280x1024" "1280x960" "1152x864" "1024x768"
> "800x600" "640x480"

> (--) SAVAGE(0): Chose mode 11a at 75Hz.
[... other stuff ...]

This must be the mode it starts with.  Can someone verify this by double-
checking the log?

By checking the mode table logged above, I see this is 1280x1024.

It's probably "1280x1024-75" because that's what's first in your list and 
because I saw no log message saying it had been rejected.

> (--) SAVAGE(0): Chose mode 111 at 75Hz.

111: "640x480" (you must have used CTRL+ALT+MINUS)

> (--) SAVAGE(0): Chose mode 114 at 75Hz.

114: "800x600"

> (--) SAVAGE(0): Chose mode 117 at 75Hz.

117: "1024x768"

> (--) SAVAGE(0): No suitable BIOS mode found for 1152x864 108MHz.

"1152x864" isn't listed in the BIOS mode table above, so remove it from your 
Modes list.

> (--) SAVAGE(0): Chose mode 14f at 60Hz.

14f: "1280x960" (you might want to remove this because it's 60 Hz)

> (--) SAVAGE(0): Chose mode 11a at 75Hz.

11a: "1280x1024"

What happens when you press CTRL+ALT+MINUS one more time at this point?  Does 
the screen change?  It should 'flip' from "1280x1024" to "1280x1024-75", 
which, as far as I can tell, are identical.

It appears you settled on 1280x1024, 75 Hz after all.  Weeeird, this brings us 
to your problem.  The mode doesn't work the first time but works after you 
select something else and then come back.

First try removing "1280x1024-75" (it's redundant), "1152x864" (it's not 
supported), and "1280x960" (it's not 75 Hz).  I don't expect that to fix 
anything, but hey, you don't need those modes anyhow.

And we'll take it from there.

-- 
Andy Goth  |  [EMAIL PROTECTED]  |  http://ioioio.net/
End communication.

_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to