<!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>linear Addressing </TITLE>
</HEAD>
<BODY BGCOLOR="#efefef" TEXT="black" LINK="blue" VLINK="#551A8B" ALINK="red">

<A HREF="isc.html"><EM> Information for ISC Users</EM></A>
 <b>:</b> <EM>linear Addressing </EM><BR>
<b>Previous:</b> <A HREF="isc4.html"><EM>make World </EM></A><BR>
<b>Next:</b> <A HREF="isc6.html"><EM>XKeyboard Extension</EM></A>


<HR NOSHADE>
  <H2><A NAME="11"></A>5. linear Addressing </H2>

<p>
<ul>
<li>Compiling ... <p>If you want to include support for linear addressing into the server binaries,
you have to define 
<pre>
#define HasSVR3mmapDrv		YES
</pre>

in xf86site.def.
This is necessary to get the correct setup to be defined for the build.</p>
<p>You need the mmap-2.2.3 driver installed on your system.
If you don't have the mmap-2.2.3 driver installed, you could use the driver
source in the file 
<pre>
xc/programs/Xserver/hw/xfree86/etc/mmapSVR3.shar
</pre>

or
<pre>
/usr/X11R6/lib/X11/etc/mmapSVR3.shar
</pre>

Build and install the driver as instructed. You'll need the file
/usr/include/sys/mmap.h for compiling the X11R6/XFree86 source tree,
with linear addressing enabled.</p>

</li>
<li>Using ... 
<p>To use the linear address-mapping of the framebuffer you need the mmap Driver
by Thomas Wolfram (Version 2.2.3) installed in your Kernel.
If you have installed it, most servers will use linear addressing by default.
Others may require
setting the 
<pre>
Option "linear"
</pre>

in your XF86Config.   Check the appropriate manual pages for details.
Maybe you need also the MemBase specified in XF86Config. Please refer to the 
appropriate README of your Card/Server, for 
<b>How to use..</b>.
Note that the P9000 server will not work at all unless linear addressing
is available.</p>
<p>I could only test these cards against the linear addressing.
<ul>
<li>Spea/V7 Vega - clgd5428 - VLB<p>with 32MB MainMemory installed I couldn't use it.
My tests with different mappings into the address space
results in no Graphics displayed or a spontaneous reboot.</p>

</li>
<li>ATI GUP      - mach32   - VLB<p>with 32MB MainMemory installed I could map the CardMemory
at MemBase 0x07c00000. I could work with all clients
until I try to activate a Motif 1.1.1 InputField inside a 
Motif Client like Mosaic-2.4 or xplan. This results in a 
crash of the XServer. </p>
<p>
<pre>
           !!! You could work around this !!!
           
</pre>

Expand your .Xdefaults with
<pre>
           *blinkRate:			0
           *cursorPositionVisible:	false
           
</pre>
</p>
<p>This bug seems to be fixed since 3.1.2, and therefore the 
workaround is not needed anymore.</p>
</li>
<li>ELSA Winner 2000PRO/X Revision G<p>if you experience a Problem with this Card you could try to
use the older Chipset Driver instead "newmmio".</p>
<p>If you declare 
<pre>
           Chipset "mmio_928"
           
</pre>

inside your XF86Config, it may be alright again.</p>
<p>With the current XF86_S3 I don't encounter any problem.</p>

</li>
</ul>
</p>

</li>
</ul>
</p>

 <HR NOSHADE>
<A HREF="isc.html"><EM> Information for ISC Users</EM></A>
 <b>:</b> <EM>linear Addressing </EM><BR>
<b>Previous:</b> <A HREF="isc4.html"><EM>make World </EM></A><BR>
<b>Next:</b> <A HREF="isc6.html"><EM>XKeyboard Extension</EM></A>



</BODY>
</HTML>
