On Thu, 1 Jan 1970, Roy Ayres wrote:
[snip]
> I tried alot of the modes given in the modes section (up as far as
> 1024x<whatever>) but I got the same resolution for all of them. I'm
> guessing that it was 320x200, cos it looked so bad, and from looking at
> the XF86Config file. In case it's any help here's the file :
> 
[snip] 
> Section "Monitor"
>    Identifier      "Primary Monitor"
>    VendorName      "Unknown"
>    ModelName       "Unknown"
>    HorizSync       30-69
>    VertRefresh     50-120
>    Modeline  "320x200"    25.18 320 344 376 400 204 206 225 0
> EndSection
> 
> Section "Device"
>    Identifier      "Primary Card"
>    VendorName      "Unknown"
>    BoardName       "RIVA128"
>    Clocks          25.18
> EndSection
> 
> Section "Screen"
>    Driver          "Accel"
>    Device          "Primary Card"
>    Monitor         "Primary Monitor"
>    DefaultColorDepth 16
>    SubSection "Display"
>       Depth        8
>       Modes        "320x204"
>    EndSubSection
>    SubSection "Display"
>       Depth        15
>       Modes        "320x204"
>    EndSubSection
>    SubSection "Display"
>       Depth        16
>       Modes        "320x204"
>    EndSubSection
>    SubSection "Display"
>       Depth        24
>       Modes        "320x204"
>    EndSubSection
>    SubSection "Display"
>       Depth        32
>       Modes        "320x204"
>    EndSubSection
> EndSection
> 
> Section "Screen"
>    Driver          "SVGA"
>    Device          "Primary Card"
>    Monitor         "Primary Monitor"
>    DefaultColorDepth 8
>    SubSection "Display"
>       Depth        8
>       Modes        "320x204"
>    EndSubSection
>    SubSection "Display"
>       Depth        15
>       Modes        "320x204"
>    EndSubSection
>    SubSection "Display"
>       Depth        16
>       Modes        "320x204"
>    EndSubSection
>    SubSection "Display"
>       Depth        24
>       Modes        "320x204"
>    EndSubSection
>    SubSection "Display"
>       Depth        32
>       Modes        "320x204"
>    EndSubSection
> EndSection
> Section "Screen"
>    Driver          "VGA16"
>    Device          "Primary Card"
>    Monitor         "Primary Monitor"
>    SubSection "Display"
>       Depth        4
>       Modes        "320x204"
>    EndSubSection
> EndSection
> 
> Section "Screen"
>    Driver          "VGA2"
>    Device          "Primary Card"
>    Monitor         "Primary Monitor"
>    SubSection "Display"
>       Depth        1
>      Modes        "320x204"
>    EndSubSection
> EndSection
> 
> Section "Screen"
>    Driver          "Mono"
>    Device          "Primary Card"
>    Monitor         "Primary Monitor"
>    SubSection "Display"
>       Depth        1
>       Modes        "320x204"
>    EndSubSection
> EndSection

I really don't know what I'm talking about, but my understanding is that 
you need two things different in your XF86Config file.

1) A modeline in the monitor section for the resolution you want to run 
(not just 320x200), along with the correct numbers to make it work (I 
can't figure out the numbers to get a good display on my machines, but 
I'm learnin').

2) A corresponding entry in your Screen section in the Display 
subsection. such as:  Modes  "320x200" "800x600" "1024x768"

Since your config file only references 320x200 in the Monitor section and 
320x204" in the Display subsection, the best you'll get is 320x20?. I 
wouldn't expect you to get anything since the numbers don't match each other.

BTW, the particular Display section in which you need the matching "Modes" 
line depends on the X server you're running (the XF86_VGA16 for the VGA16 
Display section, XF86_SVGA for SVGA, etc). The server you run is 
determined (in Debian but not necessarily in other dists) by the first 
line in /etc/X11/Xserver.

I hope you have more success with your video than I've had with mine.  
Until there's a better way to set up X than this "wrack your brain trial 
and error because xf86config and XF86Setup don't work even though 
XF86Setup says it did and had a pretty decent screen during 
it's gui phase" method, a lot of newcomers to linux will be turned back 
to Micro$loth, which I think is a trajedy.

Good luck on getting your video working well.

Kent West
[EMAIL PROTECTED]

Reply via email to