<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>XF86Config </TITLE>
</HEAD>
<BODY BGCOLOR="#efefef" TEXT="black" LINK="blue" VLINK="#551A8B" ALINK="red">

<A HREF="P9000.html"><EM>XFree86 P9000 Server Release Notes</EM></A>
 <b>:</b> <EM>XF86Config </EM><BR>
<b>Previous:</b> <A HREF="P90009.html"><EM>Operating System Notes </EM></A><BR>
<b>Next:</b> <A HREF="P900011.html"><EM>Known Bugs </EM></A>


<HR NOSHADE>
  <H2><A NAME="13"></A>10. XF86Config </H2>
<p>The <code>modes</code> line in the <code>XF86Config</code> file is now handled
differently.
The virtual line is now ignored entirely.  Each mode on the mode
line is looked at and the first usable mode is selected (ie the first
one which works with available memory, etc).  Any other modes which
are valid and have the same dimensions are also used.  And other modes
are ignored.</p>
<p>The current supported keywords in the <code>Device</code> section
of the <code>XF86Config</code> file are:
<dl>
<dt><b>VideoRAM</b><dd><p>1024 or 2048  (use 2048 for ``3MB'' Orchid P9000's)</p>
<dt><b>ChipSet</b><dd><p><code>"vipervlb"</code> or <code>"viperpci"</code> or
<code>"orchid_p9000"</code></p>
<dt><b>MemBase</b><dd><p>
<dl>
<dt><b>Viper VLB:</b><dd><p>0xA0000000 or 0x20000000 or 0x80000000
(0x80000000 is default if none spec'd)</p>
<dt><b>Orchid P9000:</b><dd><p>0xC0000000 or 0xD0000000 or
0xE0000000
(this MUST be set to correspond to the jumpers)</p>
<dt><b>Viper PCI:</b><dd><p>any value corresponding to the output
of <code>PCIDUMP.EXE</code></p>
</dl>
</p>
<dt><b>IOBase</b><dd><p>
<dl>
<dt><b>Viper PCI:</b><dd><p>any value corresponding to the output
of <code>PCIDUMP.EXE</code></p>
<dt><b>Others:</b><dd><p>unused</p>
</dl>
</p>
<dt><b>Clocks</b><dd><p>any values between 25 and 135 corresponding to the
clocks for the mode entries being used.
This line may now be omitted and clocks will
be matched automatically.</p>
<dt><b>Option</b><dd><p>
<dl>
<dt><b>"sw_cursor"</b><dd><p>use software cursor</p>
<dt><b>"vram_128"</b><dd><p>use if you have 1024K VRAM in 128Kx8 SIMMS</p>
<dt><b>"sync_on_green"</b><dd><p>generate sync pulses on the green signal.  Most
(all?) P9000 based boards don't support this.</p>
<dt><b>"noaccel"</b><dd><p>do not do hardware acceleration if
it's causing problems for you</p>
</dl>
</p>
<dt><b>Modes</b><dd><p>almost any valid mode (there are constraints on
the horiz res so not all values are possible)</p>

</dl>

The current supported keywords in the Display section
of the <code>XF86Config</code> file are:
<dl>
<dt><b>Depth</b><dd><p>
<dl>
<dt><b>8:</b><dd><p>use 8 bits per pixel for 256 colors (default)</p>
<dt><b>15 or 16:</b><dd><p>use 16 bits per pixel for up to 65K colors</p>
<dt><b>24 or 32:</b><dd><p>use 32 bits per pixel (sparse 24 bpp)
for up to 16 million colors</p>
</dl>
</p>
<dt><b>Weight</b><dd><p>555 or 565 if Depth is 15 or 16.  Otherwise this
is ignored.  These are the Red, Green,
and Blue bits per pixel (default=565)</p>
</dl>

Here's a portion of a sample <code>XF86Config</code> file for the Viper VLB:
<pre>
Section "Device"
    Identifier "ViperVLB"
    VendorName "Diamond"
    BoardName "Viper VLB"
    Videoram 2048                        # This is mandatory
    Membase 0x80000000                   # This is mandatory on non-ViperVLB's
    IOBase  0xe000			 # Use this ONLY on ViperPCI's
EndSection

Section "Screen"
    Driver "accel"
    Device "ViperVLB"
    Monitor "NEC4FGe"
    Subsection "Display"
	Depth 8   # This line is optional
        Modes "1024x768" "800x600"
    EndSubsection
EndSection
</pre>
</p>

 <HR NOSHADE>
<A HREF="P9000.html"><EM>XFree86 P9000 Server Release Notes</EM></A>
 <b>:</b> <EM>XF86Config </EM><BR>
<b>Previous:</b> <A HREF="P90009.html"><EM>Operating System Notes </EM></A><BR>
<b>Next:</b> <A HREF="P900011.html"><EM>Known Bugs </EM></A>



</BODY>
</HTML>
