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

<A HREF="fbdev.html"><EM>The Linux/m68k Frame Buffer Device</EM></A>
 <b>:</b> <EM>The X Server</EM><BR>
<b>Previous:</b> <A HREF="fbdev4.html"><EM>Frame Buffer Resolution Maintenance</EM></A><BR>
<b>Next:</b> <A HREF="fbdev6.html"><EM>Video Mode Timings</EM></A>


<HR NOSHADE>
  <H2><A NAME="5"></A>5. The X Server</H2>
<p>The X server (XF68_FBDev) is the most notable application program for the frame
buffer device. Starting with XFree86 release 3.2, the X server is part of
XFree86 and has 2 modes:</p>
<p>
<ul>
<li>If the <code>Display</code> subsection for the <code>fbdev</code> driver in the
<code>/etc/XF86Config</code> file contains a

<blockquote><code>
<pre>
        Modes "default"
	
</pre>
</code></blockquote>


line, the X server will use the scheme discussed above, i.e. it will start
up in the resolution determined by <code>/dev/fb0</code> (or
<code>&#36;FRAMEBUFFER</code>, if set). You still have to specify the color
depth (using the <code>Depth</code> keyword) and virtual resolution (using the
<code>Virtual</code> keyword) though. This is the default for the configuration
file supplied with XFree86. It's the most simple configuration, but it has
some limitations.
</li>
<li>Therefore it's also possible to specify resolutions in the
<code>/etc/XF86Config</code> file. This allows for on-the-fly resolution
switching while retaining the same virtual desktop size. The frame buffer
device that's used is still <code>/dev/fb0</code> (or
<code>&#36;FRAMEBUFFER</code>), but the available resolutions are defined by
<code>/etc/XF86Config</code> now. The disadvantage is that you have to specify
the timings in a different format (but <code>fbset -x</code> may help).</li>
</ul>
</p>
<p>To tune a video mode, you can use fbset or xvidtune. Note that xvidtune doesn't
work 100% with XF68_FBDev: the reported clock values are always incorrect.</p>


 <HR NOSHADE>
<A HREF="fbdev.html"><EM>The Linux/m68k Frame Buffer Device</EM></A>
 <b>:</b> <EM>The X Server</EM><BR>
<b>Previous:</b> <A HREF="fbdev4.html"><EM>Frame Buffer Resolution Maintenance</EM></A><BR>
<b>Next:</b> <A HREF="fbdev6.html"><EM>Video Mode Timings</EM></A>



</BODY>
</HTML>
