<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.linuxmce.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jca1</id>
	<title>LinuxMCE - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.linuxmce.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jca1"/>
	<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php/Special:Contributions/Jca1"/>
	<updated>2026-07-22T02:20:57Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Display_Drivers&amp;diff=7249</id>
		<title>Display Drivers</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Display_Drivers&amp;diff=7249"/>
		<updated>2007-11-20T21:56:55Z</updated>

		<summary type="html">&lt;p&gt;Jca1: /* Intel Chipsets */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; {| align=&amp;quot;right&amp;quot;&lt;br /&gt;
  | __TOC__&lt;br /&gt;
  |}&lt;br /&gt;
[[Category: Tutorials]]&lt;br /&gt;
[[Category: Hardware| ]]&lt;br /&gt;
&lt;br /&gt;
An incomplete HowTo on updating LinuxMCE to the latest display drivers and configuring them manually.  It could use your help, so if something is different in your situation, please add it.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note that this should normally not be necessary unless you have specific wishes or trouble getting your display to work properly.&#039;&#039;&#039;  &lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
=== ATI Chipsets ===&lt;br /&gt;
The two main ways to install the ATI drivers are described in the [http://wiki.cchtml.com/index.php/Ubuntu_Feisty_Installation_Guide Ubuntu Feisty Installation Guide].&lt;br /&gt;
&lt;br /&gt;
For more information see also the [http://wiki.cchtml.com/index.php/Main_Page Unofficial ATI Linux Driver Wiki] and you might want to have a look at [http://www.mythtv.org/wiki/index.php/AtiProprietaryDriver AtiProprietaryDriver] in the MythTV wiki as well since LinuxMCE depends on it for viewing TV.  MythTV in turn relies heavily on the support of certain features by the graphics drivers.  The ATI drivers turn out to be a bit &amp;quot;challenged&amp;quot; in this area to say the least.&lt;br /&gt;
&lt;br /&gt;
=== NVidia Chipsets ===&lt;br /&gt;
There are several ways to install NVidia drivers, the way described here is meant as a guide to install the very latest drivers from the NVidia website.  Note that this way will bypass the LinuxMCE (Kubuntu) packaging system, possibly removing and/or overwriting some of it&#039;s files.&lt;br /&gt;
&lt;br /&gt;
1. Go to a console (text) terminal by holding [CTRL]-[ALT] and pressing the [F1] key simultaneously, log in with the user account you have created during the Kubuntu install and become root, if you haven&#039;t done so already. &lt;br /&gt;
 &#039;&#039;&#039;&amp;lt;you&amp;gt;@dcerouter:~$&#039;&#039;&#039; sudo -s&lt;br /&gt;
2. Download the latest [http://www.nvidia.com/object/unix.html linux drivers from NVidia] (depending [http://www.nvidia.com/object/IO_32667.html on your hardware], one of versions: 100.14.23, 1.0-9639 or 1.0-7185 currently), if you haven&#039;t done so already.&lt;br /&gt;
 &#039;&#039;&#039;root@dcerouter:~#&#039;&#039;&#039; wget &amp;lt;nowiki&amp;gt;http://us.download.nvidia.com/XFree86/Linux-x86/100.14.23/NVIDIA-Linux-x86-&amp;lt;/nowiki&amp;gt;&#039;&#039;&amp;lt;version&amp;gt;&#039;&#039;&amp;lt;nowiki&amp;gt;-pkg1.run&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
3. Go to runlevel 1 to stop the currently running X-server.&lt;br /&gt;
 &#039;&#039;&#039;root@dcerouter:~#&#039;&#039;&#039; telinit 1&lt;br /&gt;
4. Execute the installer and follow instructions.  Ignore the warning about runlevel 1 and don&#039;t bother looking for precompiled drivers.&lt;br /&gt;
 &#039;&#039;&#039;root@dcerouter:~#&#039;&#039;&#039; sh NVIDIA-Linux-x86-&#039;&#039;&amp;lt;version&amp;gt;&#039;&#039;-pkg1.run&lt;br /&gt;
5. Now it needs to be configured.  The recommended and most convenient way is to use the [[AVWizard]].  For more advanced setup, or if the AVWizard for some reason is unable to set your up your screens to your liking, you can configure the &#039;&#039;X-server&#039;&#039; manually by editing the &#039;&#039;xorg.conf&#039;&#039; file directly.&lt;br /&gt;
&lt;br /&gt;
=== Intel Chipsets ===&lt;br /&gt;
There is a renewed interest in the Intel graphics chipsets since Intel released the drivers under the GPL. However, they&#039;re still not at the same level as nVidia&#039;s and can&#039;t do alpha blending.&lt;br /&gt;
&lt;br /&gt;
You will want to make sure you are using the newer intel drivers from http://packages.ubuntu.com/feisty/x11/xserver-xorg-video-intel. These replace the older i810, etc. drivers and should cover all the modern intel chipsets. The name for this driver is &#039;intel&#039; and would replace the older &#039;i810&#039; drivers.&lt;br /&gt;
&lt;br /&gt;
=== Via Chipsets ===&lt;br /&gt;
Use the Openchrome or Via Unichrome drivers. The Via Unichrome drivers can be downloaded from http://www.viaarena.com/default.aspx?PageID=2&amp;amp;OSID=45&amp;amp;CatID=3220&lt;br /&gt;
&lt;br /&gt;
=== Other Chipsets ===&lt;br /&gt;
Please help out by adding more if you can.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
The recommended and most convenient way is to use the [[AVWizard]].  For more advanced setup, or if the X-server (and thus also the AVWizard) is unable to start, you can configure the &#039;&#039;X-server&#039;&#039; manually by editing the &#039;&#039;xorg.conf&#039;&#039; file directly.&lt;br /&gt;
&lt;br /&gt;
=== Getting started ===&lt;br /&gt;
Start by making a backup copy of the &#039;&#039;/etc/X11/xorg.conf&#039;&#039; file (even if it doesn&#039;t work it might contain settings you could need).  In this example we will start from scratch and edit the configuration file step by step to get the main display setup.  &lt;br /&gt;
&lt;br /&gt;
Some of these steps require that there will be no X-server active on the system, the easiest way to achieve this is to boot in &#039;&#039;rescue-mode&#039;&#039;, just hit [Esc] when [[Grub]] tells you to during the startup of your machine and select the right line from the menu.  Another way is to go to a text-mode console (aka. terminal) with [CTRL]-[ALT]-[F1], [[Logging In|log in]], become root and issue the command:&lt;br /&gt;
 telinit 1&lt;br /&gt;
This wil stop the running X-server and drop you into rescue mode as well.  &lt;br /&gt;
&lt;br /&gt;
One of the advantages is that now you can start and stop the X-server by hand with an alternative configuration file and without having to reboot or even start an entire desktop environment.&lt;br /&gt;
&lt;br /&gt;
=== Generating a template ===&lt;br /&gt;
These instructions were originally written for ATI chipsets, so they might need to be adjusted and updated a bit.  Not all of the specific options may be relevant for your chipset. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;While there is no (other) X-server running&#039;&#039;&#039; you can create a template configuration file by running:&lt;br /&gt;
 X -configure&lt;br /&gt;
This will create a file called xorg.conf.new in your &#039;&#039;home&#039;&#039; directory, test it with the following command and hit [CTRL]-[ALT]-[Backspace] when done:&lt;br /&gt;
 X -config ~/xorg.conf.new&lt;br /&gt;
Within a few seconds a gray bitpattern should show up with an &#039;X&#039; shaped mouse cursor.  If the screen is distorted or reports the refresh rate to be out of range then you will either have to specify the proper refreshrate limitations for your screen or insert &amp;quot;modelines&amp;quot; for the resolution(s) you want to use (see below).  &lt;br /&gt;
&lt;br /&gt;
When you&#039;re satisfied you can overwrite &#039;&#039;/etc/X11/xorg.conf&#039;&#039; with this file to make it the default (you did make a backup didn&#039;t you?), once you have done that you can use &amp;quot;startx&amp;quot; to test and have the use of your desktop as well.  This should at least be enough to allow the use of a graphic configuration tool (like the [[AVWizard]] for instance) to set up your display further.  More advanced manual configuration options can be found below.&lt;br /&gt;
&lt;br /&gt;
Here is an example of such a generated file:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
        Identifier     &amp;quot;X.org Configured&amp;quot;&lt;br /&gt;
        Screen      0  &amp;quot;Screen0&amp;quot; 0 0&lt;br /&gt;
        InputDevice    &amp;quot;Mouse0&amp;quot; &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        InputDevice    &amp;quot;Keyboard0&amp;quot; &amp;quot;CoreKeyboard&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Files&amp;quot;&lt;br /&gt;
        RgbPath      &amp;quot;/etc/X11/rgb&amp;quot;&lt;br /&gt;
        ModulePath   &amp;quot;/usr/lib/xorg/modules&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/misc&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/X11R6/lib/X11/fonts/misc&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/cyrillic&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/100dpi/:unscaled&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/75dpi/:unscaled&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/Type1&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/X11R6/lib/X11/fonts/Type1&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/100dpi&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/75dpi&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
        Load  &amp;quot;extmod&amp;quot;&lt;br /&gt;
        Load  &amp;quot;record&amp;quot;&lt;br /&gt;
        Load  &amp;quot;xtrap&amp;quot;&lt;br /&gt;
        Load  &amp;quot;dri&amp;quot;&lt;br /&gt;
        Load  &amp;quot;glx&amp;quot;&lt;br /&gt;
        Load  &amp;quot;dbe&amp;quot;&lt;br /&gt;
        Load  &amp;quot;GLcore&amp;quot;&lt;br /&gt;
        Load  &amp;quot;type1&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Keyboard0&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;kbd&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Mouse0&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;auto&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
        Option      &amp;quot;ZAxisMapping&amp;quot; &amp;quot;4 5 6 7&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier   &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
        VendorName   &amp;quot;Monitor Vendor&amp;quot;&lt;br /&gt;
        ModelName    &amp;quot;Monitor Model&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        ### Available Driver options are:-&lt;br /&gt;
        ### Values: &amp;amp;lt;i&amp;amp;gt;: integer, &amp;lt;f&amp;gt;: float, &amp;lt;bool&amp;gt;: &amp;quot;True&amp;quot;/&amp;quot;False&amp;quot;,&lt;br /&gt;
        ### &amp;lt;string&amp;gt;: &amp;quot;String&amp;quot;, &amp;lt;freq&amp;gt;: &amp;quot;&amp;lt;f&amp;gt; Hz/kHz/MHz&amp;quot;&lt;br /&gt;
        ### [arg]: arg optional&lt;br /&gt;
        #Option     &amp;quot;ShadowFB&amp;quot;                  # [&amp;lt;bool&amp;gt;]&lt;br /&gt;
        #Option     &amp;quot;DefaultRefresh&amp;quot;            # [&amp;lt;bool&amp;gt;]&lt;br /&gt;
        #Option     &amp;quot;ModeSetClearScreen&amp;quot;        # [&amp;lt;bool&amp;gt;]&lt;br /&gt;
        Identifier  &amp;quot;Card0&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;vesa&amp;quot;&lt;br /&gt;
        &#039;&#039;VendorName  &amp;quot;ATI Technologies Inc&amp;quot;&#039;&#039;&lt;br /&gt;
        &#039;&#039;BoardName   &amp;quot;ATI Radeon Xpress 1200 Series&amp;quot;&#039;&#039;&lt;br /&gt;
        &#039;&#039;BusID       &#039;&#039;&#039;&amp;quot;PCI:1:5:0&amp;quot;&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier &amp;quot;Screen0&amp;quot;&lt;br /&gt;
        Device     &amp;quot;Card0&amp;quot;&lt;br /&gt;
        Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     1&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     4&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     8&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     15&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     16&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     24&lt;br /&gt;
        EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
Note that the only thing really specific to my setup in this config file is &#039;&#039;BusID&#039;&#039;, if you only have one graphics adapter in your system this value can be omitted, otherwise the value(s) can be found with:&lt;br /&gt;
 X -scanpci&lt;br /&gt;
Where each card will need it&#039;s own Device Section in the config file.  The &amp;quot;VendorName&amp;quot; and &amp;quot;BoardName&amp;quot; settings are just labels and serve no real purpose other then being able to identify this particular device, which is usefull if you have more then one.&lt;br /&gt;
&lt;br /&gt;
We&#039;ll be using this sample configuration as a starting point in the other examples below, the comments (lines starting with &#039;&#039;#&#039;&#039; can be safely removed as well as the &#039;&#039;&amp;quot;Display&amp;quot;&#039;&#039; subsections for the colordepths we don&#039;t plan on using.&lt;br /&gt;
&lt;br /&gt;
=== Refresh rate / ModeLine ===&lt;br /&gt;
The easiest way to sort this problem is to let the X-server figure this out by not specifying the limits of your screen.  However this often fails, leaving you with an unusable display.  Simply look up &#039;&#039;&#039;your screen&#039;&#039;&#039;&#039;s refresh rates in the documentation and add them like this:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier   &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
        VendorName   &amp;quot;Monitor Vendor&amp;quot;&lt;br /&gt;
        ModelName    &amp;quot;Monitor Model&amp;quot;&lt;br /&gt;
        &#039;&#039;HorizSync     &#039;&#039;&#039;27-102&#039;&#039;&#039; # kHz&#039;&#039;&lt;br /&gt;
        &#039;&#039;VertRefresh   &#039;&#039;&#039;50-160&#039;&#039;&#039; # Hz&#039;&#039;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
Alternatively you could specify a &amp;quot;ModeLine&amp;quot; for each resolution you want to use.  By using ModeLines you have much finer controll over the timings of the output signal generated by your videocard.  The drawback is that the timing values can be hard to get right.  &lt;br /&gt;
&lt;br /&gt;
Search the web for a &amp;quot;modeline generator&amp;quot;, and many of these will include instructions on how to add the modeline, but briefly, you just add it to the &amp;quot;Monitor&amp;quot; section.  Read the [http://en.wikipedia.org/wiki/Modeline wikipedia entry] to learn how to use modelines.  &lt;br /&gt;
* http://koala.ilog.fr/cgi-bin/nph-colas-modelines&lt;br /&gt;
* http://xtiming.sourceforge.net/cgi-bin/xtiming.pl&lt;br /&gt;
* http://www.bohne-lang.de/spec/linux/modeline/&lt;br /&gt;
* http://amlc.berlios.de/&lt;br /&gt;
If one modeline doesn&#039;t work perfectly, try another, perhaps from another generator, because they can vary so much.&lt;br /&gt;
&lt;br /&gt;
Using the wrong timings could in some (nowadays rare) occasions damage the hardware of your screen, so if it looks garbeled don&#039;t leave it like that for hours on end but hit [Ctrl]-[Alt]-[&amp;amp;larr;Backspace] and readjust your settings.  Most modern screens however simply report that the signal is out of range if this happens.&lt;br /&gt;
&lt;br /&gt;
=== Colordepth and resolution ===&lt;br /&gt;
Specify the colordepth and resolution(s) you would like to use, like this:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier   &amp;quot;Screen0&amp;quot;&lt;br /&gt;
        Device       &amp;quot;Card0&amp;quot;&lt;br /&gt;
        Monitor      &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
        &#039;&#039;DefaultDepth &#039;&#039;&#039;24&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth      24&lt;br /&gt;
                &#039;&#039;Virtual    &#039;&#039;&#039;1600 1200&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
                &#039;&#039;Modes      &#039;&#039;&#039;&amp;quot;1600x1200&amp;quot; &amp;quot;1280x1024&amp;quot; &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot; &amp;quot;512x384&amp;quot; &amp;quot;400x300&amp;quot; &amp;quot;320x240&amp;quot;&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
        EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
As most people will only be using 24 bits anyway, I have removed the other redundant subsections.  &amp;quot;Virtual&amp;quot; is the size of your desktop and &amp;quot;Modes&amp;quot; are physical resolutions, you can flip through these by holding [CTRL]-[ALT] and pressing the plus or minus on the numeric keypad.  These are just examples, most people will only want to specify the resolution they actually use.&lt;br /&gt;
&lt;br /&gt;
=== DRI device permissions ===&lt;br /&gt;
This section is needed to have the X-server set the proper permissions on the DRI device during startup.  Simply add it to the end of the /etx/X11.xorg file if it isn&#039;t there already.&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
        Mode         0666&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== Chipset driver ===&lt;br /&gt;
Change &amp;quot;&#039;&#039;&#039;vesa&#039;&#039;&#039;&amp;quot; to &amp;quot;&#039;&#039;&#039;fglrx&#039;&#039;&#039;&amp;quot; (or &amp;quot;&#039;&#039;&#039;ati&#039;&#039;&#039;&amp;quot;, depending on which drivers you installed earlier), as shown below, the old line is left as a comment in this example for clarity, but it&#039;s better to remove it as some scripts seem to find it confusing.  For Nvidia chipsets use &#039;&#039;&#039;nvidia&#039;&#039;&#039; or &#039;&#039;&#039;nv&#039;&#039;&#039; as the driver names (instead of &#039;&#039;&#039;fglrx&#039;&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Card0&amp;quot;&lt;br /&gt;
 &#039;&#039;#      Driver      &amp;quot;&#039;&#039;&#039;vesa&#039;&#039;&#039;&amp;quot;&#039;&#039;&lt;br /&gt;
        &#039;&#039;Driver      &amp;quot;&#039;&#039;&#039;fglrx&#039;&#039;&#039;&amp;quot;&#039;&#039;&lt;br /&gt;
        VendorName  &amp;quot;ATI Technologies Inc&amp;quot;&lt;br /&gt;
        BoardName   &amp;quot;ATI Radeon Xpress 1200 Series&amp;quot;&lt;br /&gt;
        BusID       &amp;quot;PCI:1:5:0&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
If your X-server was running you will have to restart it completely for the changes to take effect, the easiest and most thorough way to do this is to reboot.&lt;br /&gt;
&lt;br /&gt;
=== Physical display size ===&lt;br /&gt;
Like specifying the refresh rate his is optional but sometimes necessary, most of the time it is either detected or some sane defaults are used but sometimes it isn&#039;t, which can result in unreadable font sizes.&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
   ...&lt;br /&gt;
   DisplaySize &#039;&#039;&#039;155 95&#039;&#039;&#039;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
Where you have to replace the numbers with the physical &#039;&#039;&#039;width&#039;&#039;&#039; and &#039;&#039;&#039;height&#039;&#039;&#039; of your screen in millimeters (1&amp;quot; = 25mm), feel free to try mine, however these are for a small touchscreen.&lt;br /&gt;
&lt;br /&gt;
=== Disable composite ===&lt;br /&gt;
Aparently the ATI &#039;&#039;&#039;fglrx&#039;&#039;&#039; driver does not &#039;&#039;yet&#039;&#039; support composite with DRI.  So if you are using the fglrx driver, disable it by adding this to the end of the /etx/X11.xorg file if it isn&#039;t there already.&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Composite&amp;quot; &amp;quot;Disable&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== Additional options ===&lt;br /&gt;
To be continued, I don&#039;t think this is enough to get UI2 completely (either mode) going yet.  Feel free to jump in anytime... &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Things still to sort out amongst others (i.e. what is it, do we need it and what are the settings if any):&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
        Load  &amp;quot;i2c&amp;quot;&lt;br /&gt;
        Load  &amp;quot;bitmap&amp;quot;&lt;br /&gt;
        Load  &amp;quot;ddc&amp;quot;&lt;br /&gt;
        Load  &amp;quot;freetype&amp;quot;&lt;br /&gt;
        Load  &amp;quot;int10&amp;quot;&lt;br /&gt;
        Load  &amp;quot;vbe&amp;quot;&lt;br /&gt;
        Load  &amp;quot;speedo&amp;quot;&lt;br /&gt;
        Load  &amp;quot;type1&amp;quot;&lt;br /&gt;
        Load  &amp;quot;dbe&amp;quot;&lt;br /&gt;
        Load  &amp;quot;glx&amp;quot;&lt;br /&gt;
        Load  &amp;quot;v4l&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;ServerFlags&amp;quot;&lt;br /&gt;
        Option &amp;quot;AIXGL&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Composite&amp;quot; &amp;quot;Disable&amp;quot;&lt;br /&gt;
 #      Option      &amp;quot;RENDER&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
        Option      &amp;quot;PseudoColorVisuals&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
        Option      &amp;quot;OpenGLOverlay&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
        Option      &amp;quot;VideoOverlay&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
        Option      &amp;quot;DesktopSetup&amp;quot; &amp;quot;clone&amp;quot;&lt;br /&gt;
&lt;br /&gt;
TV-out options, 2nd display, etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== X-windows won&#039;t start for AVWizard ===&lt;br /&gt;
&lt;br /&gt;
*One problem on nvidia-cards could be that it does not detect the right monitor.&lt;br /&gt;
&lt;br /&gt;
::Go to Console 1 ([Ctrl]+[Alt]+1) and edit /etc/X11/xorg.conf (nano -w /etc/X11/xorg.conf). Find the section ::Device with the driver nvidia add the line &amp;lt;pre&amp;gt;Option &amp;quot;ConnectedMonitor&amp;quot; &amp;quot;XXX&amp;quot;&lt;br /&gt;
::where XXX is CRT, CRT-0, CRT-1, DVI-0, DVI-1, ...&amp;lt;/pre&amp;gt;&lt;br /&gt;
::Save and exit (nano: Ctrl+x) and restart the computer. In my case it was &amp;quot;CRT-1&amp;quot;.&lt;br /&gt;
* Screen is black, after install seemed to go okay. You may have even seen the Kubuntu splash screen.&lt;br /&gt;
**[[AVWizard]]&lt;br /&gt;
&lt;br /&gt;
=== X-windows won&#039;t start ===&lt;br /&gt;
&lt;br /&gt;
Reboot into rescue-mode if needed (hit [Esc] when [[Grub]] tells you to), and restore a working copy of your /etc/X11/xorg.conf, or edit it by hand to fix the problem. Test it with the command &amp;quot;X&amp;quot; and press [Ctrl]-[Alt]-[&amp;amp;larr;Backspace] simultaneous to quit (alternative: use &amp;quot;startx&amp;quot; and get the full desktop, if any), then reboot when it works and you&#039;re done.&lt;br /&gt;
&lt;br /&gt;
=== Signal out of range ===&lt;br /&gt;
&lt;br /&gt;
See &#039;&#039;[http://wiki.linuxmce.com/index.php/Display_Drivers#Refresh_rate Refresh rate]&#039;&#039; above.&lt;br /&gt;
&lt;br /&gt;
=== Microscopic fonts in KDE ===&lt;br /&gt;
&lt;br /&gt;
See &#039;&#039;[http://wiki.linuxmce.com/index.php/Display_Drivers#Physical_display_size Physical display size]&#039;&#039; above.&lt;br /&gt;
&lt;br /&gt;
If the above does not work, probably Xorg is calculating the DPI value in the wrong way.&lt;br /&gt;
This can be verified by having a look at the file /var/log/Xorg.0.log related to the MD with this issue searching for the line containing &amp;quot;DPI set to (x , y)&amp;quot;,where x and y are values that apply to the specific display.&lt;br /&gt;
&lt;br /&gt;
If those values are too small, fonts will be displayed accordingly (i.e, VERY small)&lt;br /&gt;
&lt;br /&gt;
A workaround is to force Xorg to startup with a given DPI value.&lt;br /&gt;
&lt;br /&gt;
To achieve this the following steps are required:&lt;br /&gt;
&lt;br /&gt;
* edit the file /usr/pluto/bin/Start_X_Wrapper.sh on your MD where you are facing the font problem&lt;br /&gt;
* find the line beginning with xinit&lt;br /&gt;
* add &amp;quot;-dpi 96&amp;quot; (without quotes) at the end of this line&lt;br /&gt;
* save the file and reboot MD&lt;br /&gt;
&lt;br /&gt;
Obviously it is possible to set DPI to something different than 96, according to specific needs.&lt;br /&gt;
&lt;br /&gt;
Please note that after an LMCE update the startup script may be replaced by new ones, so the above workaround may have to be re-applied in order to keep fonts at the desired dimension.&lt;br /&gt;
&lt;br /&gt;
=== LinuxMCE keeps reconfiguring my display settings ===&lt;br /&gt;
&lt;br /&gt;
Add a line containing &#039;&#039;&#039;exit&#039;&#039;&#039; to the top of the &#039;&#039;/usr/pluto/bin/Xconfigure.sh&#039;&#039; file.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [http://www.mythtv.org/wiki/index.php/Main_Page MythTV wiki] &lt;br /&gt;
* MythTV Experience [http://brentlagesse.net/~brent/mythtv.php]&lt;br /&gt;
* [[X_Configuration_Scripts]]&lt;/div&gt;</summary>
		<author><name>Jca1</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Display_Drivers&amp;diff=7248</id>
		<title>Display Drivers</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Display_Drivers&amp;diff=7248"/>
		<updated>2007-11-20T21:54:34Z</updated>

		<summary type="html">&lt;p&gt;Jca1: /* Intel Chipsets */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt; {| align=&amp;quot;right&amp;quot;&lt;br /&gt;
  | __TOC__&lt;br /&gt;
  |}&lt;br /&gt;
[[Category: Tutorials]]&lt;br /&gt;
[[Category: Hardware| ]]&lt;br /&gt;
&lt;br /&gt;
An incomplete HowTo on updating LinuxMCE to the latest display drivers and configuring them manually.  It could use your help, so if something is different in your situation, please add it.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note that this should normally not be necessary unless you have specific wishes or trouble getting your display to work properly.&#039;&#039;&#039;  &lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
=== ATI Chipsets ===&lt;br /&gt;
The two main ways to install the ATI drivers are described in the [http://wiki.cchtml.com/index.php/Ubuntu_Feisty_Installation_Guide Ubuntu Feisty Installation Guide].&lt;br /&gt;
&lt;br /&gt;
For more information see also the [http://wiki.cchtml.com/index.php/Main_Page Unofficial ATI Linux Driver Wiki] and you might want to have a look at [http://www.mythtv.org/wiki/index.php/AtiProprietaryDriver AtiProprietaryDriver] in the MythTV wiki as well since LinuxMCE depends on it for viewing TV.  MythTV in turn relies heavily on the support of certain features by the graphics drivers.  The ATI drivers turn out to be a bit &amp;quot;challenged&amp;quot; in this area to say the least.&lt;br /&gt;
&lt;br /&gt;
=== NVidia Chipsets ===&lt;br /&gt;
There are several ways to install NVidia drivers, the way described here is meant as a guide to install the very latest drivers from the NVidia website.  Note that this way will bypass the LinuxMCE (Kubuntu) packaging system, possibly removing and/or overwriting some of it&#039;s files.&lt;br /&gt;
&lt;br /&gt;
1. Go to a console (text) terminal by holding [CTRL]-[ALT] and pressing the [F1] key simultaneously, log in with the user account you have created during the Kubuntu install and become root, if you haven&#039;t done so already. &lt;br /&gt;
 &#039;&#039;&#039;&amp;lt;you&amp;gt;@dcerouter:~$&#039;&#039;&#039; sudo -s&lt;br /&gt;
2. Download the latest [http://www.nvidia.com/object/unix.html linux drivers from NVidia] (depending [http://www.nvidia.com/object/IO_32667.html on your hardware], one of versions: 100.14.23, 1.0-9639 or 1.0-7185 currently), if you haven&#039;t done so already.&lt;br /&gt;
 &#039;&#039;&#039;root@dcerouter:~#&#039;&#039;&#039; wget &amp;lt;nowiki&amp;gt;http://us.download.nvidia.com/XFree86/Linux-x86/100.14.23/NVIDIA-Linux-x86-&amp;lt;/nowiki&amp;gt;&#039;&#039;&amp;lt;version&amp;gt;&#039;&#039;&amp;lt;nowiki&amp;gt;-pkg1.run&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
3. Go to runlevel 1 to stop the currently running X-server.&lt;br /&gt;
 &#039;&#039;&#039;root@dcerouter:~#&#039;&#039;&#039; telinit 1&lt;br /&gt;
4. Execute the installer and follow instructions.  Ignore the warning about runlevel 1 and don&#039;t bother looking for precompiled drivers.&lt;br /&gt;
 &#039;&#039;&#039;root@dcerouter:~#&#039;&#039;&#039; sh NVIDIA-Linux-x86-&#039;&#039;&amp;lt;version&amp;gt;&#039;&#039;-pkg1.run&lt;br /&gt;
5. Now it needs to be configured.  The recommended and most convenient way is to use the [[AVWizard]].  For more advanced setup, or if the AVWizard for some reason is unable to set your up your screens to your liking, you can configure the &#039;&#039;X-server&#039;&#039; manually by editing the &#039;&#039;xorg.conf&#039;&#039; file directly.&lt;br /&gt;
&lt;br /&gt;
=== Intel Chipsets ===&lt;br /&gt;
There is a renewed interest in the Intel graphics chipsets since Intel released the drivers under the GPL. However, they&#039;re still not at the same level as nVidia&#039;s and can&#039;t do alpha blending.&lt;br /&gt;
&lt;br /&gt;
You will want to make sure you are using the newer intel drivers from http://packages.ubuntu.com/feisty/x11/xserver-xorg-video-intel. These replace the older i810, etc. drivers and should cover all the modern intel chipsets.&lt;br /&gt;
&lt;br /&gt;
=== Via Chipsets ===&lt;br /&gt;
Use the Openchrome or Via Unichrome drivers. The Via Unichrome drivers can be downloaded from http://www.viaarena.com/default.aspx?PageID=2&amp;amp;OSID=45&amp;amp;CatID=3220&lt;br /&gt;
&lt;br /&gt;
=== Other Chipsets ===&lt;br /&gt;
Please help out by adding more if you can.&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
The recommended and most convenient way is to use the [[AVWizard]].  For more advanced setup, or if the X-server (and thus also the AVWizard) is unable to start, you can configure the &#039;&#039;X-server&#039;&#039; manually by editing the &#039;&#039;xorg.conf&#039;&#039; file directly.&lt;br /&gt;
&lt;br /&gt;
=== Getting started ===&lt;br /&gt;
Start by making a backup copy of the &#039;&#039;/etc/X11/xorg.conf&#039;&#039; file (even if it doesn&#039;t work it might contain settings you could need).  In this example we will start from scratch and edit the configuration file step by step to get the main display setup.  &lt;br /&gt;
&lt;br /&gt;
Some of these steps require that there will be no X-server active on the system, the easiest way to achieve this is to boot in &#039;&#039;rescue-mode&#039;&#039;, just hit [Esc] when [[Grub]] tells you to during the startup of your machine and select the right line from the menu.  Another way is to go to a text-mode console (aka. terminal) with [CTRL]-[ALT]-[F1], [[Logging In|log in]], become root and issue the command:&lt;br /&gt;
 telinit 1&lt;br /&gt;
This wil stop the running X-server and drop you into rescue mode as well.  &lt;br /&gt;
&lt;br /&gt;
One of the advantages is that now you can start and stop the X-server by hand with an alternative configuration file and without having to reboot or even start an entire desktop environment.&lt;br /&gt;
&lt;br /&gt;
=== Generating a template ===&lt;br /&gt;
These instructions were originally written for ATI chipsets, so they might need to be adjusted and updated a bit.  Not all of the specific options may be relevant for your chipset. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;While there is no (other) X-server running&#039;&#039;&#039; you can create a template configuration file by running:&lt;br /&gt;
 X -configure&lt;br /&gt;
This will create a file called xorg.conf.new in your &#039;&#039;home&#039;&#039; directory, test it with the following command and hit [CTRL]-[ALT]-[Backspace] when done:&lt;br /&gt;
 X -config ~/xorg.conf.new&lt;br /&gt;
Within a few seconds a gray bitpattern should show up with an &#039;X&#039; shaped mouse cursor.  If the screen is distorted or reports the refresh rate to be out of range then you will either have to specify the proper refreshrate limitations for your screen or insert &amp;quot;modelines&amp;quot; for the resolution(s) you want to use (see below).  &lt;br /&gt;
&lt;br /&gt;
When you&#039;re satisfied you can overwrite &#039;&#039;/etc/X11/xorg.conf&#039;&#039; with this file to make it the default (you did make a backup didn&#039;t you?), once you have done that you can use &amp;quot;startx&amp;quot; to test and have the use of your desktop as well.  This should at least be enough to allow the use of a graphic configuration tool (like the [[AVWizard]] for instance) to set up your display further.  More advanced manual configuration options can be found below.&lt;br /&gt;
&lt;br /&gt;
Here is an example of such a generated file:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;ServerLayout&amp;quot;&lt;br /&gt;
        Identifier     &amp;quot;X.org Configured&amp;quot;&lt;br /&gt;
        Screen      0  &amp;quot;Screen0&amp;quot; 0 0&lt;br /&gt;
        InputDevice    &amp;quot;Mouse0&amp;quot; &amp;quot;CorePointer&amp;quot;&lt;br /&gt;
        InputDevice    &amp;quot;Keyboard0&amp;quot; &amp;quot;CoreKeyboard&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Files&amp;quot;&lt;br /&gt;
        RgbPath      &amp;quot;/etc/X11/rgb&amp;quot;&lt;br /&gt;
        ModulePath   &amp;quot;/usr/lib/xorg/modules&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/misc&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/X11R6/lib/X11/fonts/misc&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/cyrillic&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/100dpi/:unscaled&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/75dpi/:unscaled&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/Type1&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/X11R6/lib/X11/fonts/Type1&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/100dpi&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/usr/share/fonts/X11/75dpi&amp;quot;&lt;br /&gt;
        FontPath     &amp;quot;/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
        Load  &amp;quot;extmod&amp;quot;&lt;br /&gt;
        Load  &amp;quot;record&amp;quot;&lt;br /&gt;
        Load  &amp;quot;xtrap&amp;quot;&lt;br /&gt;
        Load  &amp;quot;dri&amp;quot;&lt;br /&gt;
        Load  &amp;quot;glx&amp;quot;&lt;br /&gt;
        Load  &amp;quot;dbe&amp;quot;&lt;br /&gt;
        Load  &amp;quot;GLcore&amp;quot;&lt;br /&gt;
        Load  &amp;quot;type1&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Keyboard0&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;kbd&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;InputDevice&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Mouse0&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;mouse&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Protocol&amp;quot; &amp;quot;auto&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Device&amp;quot; &amp;quot;/dev/input/mice&amp;quot;&lt;br /&gt;
        Option      &amp;quot;ZAxisMapping&amp;quot; &amp;quot;4 5 6 7&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier   &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
        VendorName   &amp;quot;Monitor Vendor&amp;quot;&lt;br /&gt;
        ModelName    &amp;quot;Monitor Model&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        ### Available Driver options are:-&lt;br /&gt;
        ### Values: &amp;amp;lt;i&amp;amp;gt;: integer, &amp;lt;f&amp;gt;: float, &amp;lt;bool&amp;gt;: &amp;quot;True&amp;quot;/&amp;quot;False&amp;quot;,&lt;br /&gt;
        ### &amp;lt;string&amp;gt;: &amp;quot;String&amp;quot;, &amp;lt;freq&amp;gt;: &amp;quot;&amp;lt;f&amp;gt; Hz/kHz/MHz&amp;quot;&lt;br /&gt;
        ### [arg]: arg optional&lt;br /&gt;
        #Option     &amp;quot;ShadowFB&amp;quot;                  # [&amp;lt;bool&amp;gt;]&lt;br /&gt;
        #Option     &amp;quot;DefaultRefresh&amp;quot;            # [&amp;lt;bool&amp;gt;]&lt;br /&gt;
        #Option     &amp;quot;ModeSetClearScreen&amp;quot;        # [&amp;lt;bool&amp;gt;]&lt;br /&gt;
        Identifier  &amp;quot;Card0&amp;quot;&lt;br /&gt;
        Driver      &amp;quot;vesa&amp;quot;&lt;br /&gt;
        &#039;&#039;VendorName  &amp;quot;ATI Technologies Inc&amp;quot;&#039;&#039;&lt;br /&gt;
        &#039;&#039;BoardName   &amp;quot;ATI Radeon Xpress 1200 Series&amp;quot;&#039;&#039;&lt;br /&gt;
        &#039;&#039;BusID       &#039;&#039;&#039;&amp;quot;PCI:1:5:0&amp;quot;&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
 EndSection&lt;br /&gt;
 &lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier &amp;quot;Screen0&amp;quot;&lt;br /&gt;
        Device     &amp;quot;Card0&amp;quot;&lt;br /&gt;
        Monitor    &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     1&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     4&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     8&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     15&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     16&lt;br /&gt;
        EndSubSection&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth     24&lt;br /&gt;
        EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
Note that the only thing really specific to my setup in this config file is &#039;&#039;BusID&#039;&#039;, if you only have one graphics adapter in your system this value can be omitted, otherwise the value(s) can be found with:&lt;br /&gt;
 X -scanpci&lt;br /&gt;
Where each card will need it&#039;s own Device Section in the config file.  The &amp;quot;VendorName&amp;quot; and &amp;quot;BoardName&amp;quot; settings are just labels and serve no real purpose other then being able to identify this particular device, which is usefull if you have more then one.&lt;br /&gt;
&lt;br /&gt;
We&#039;ll be using this sample configuration as a starting point in the other examples below, the comments (lines starting with &#039;&#039;#&#039;&#039; can be safely removed as well as the &#039;&#039;&amp;quot;Display&amp;quot;&#039;&#039; subsections for the colordepths we don&#039;t plan on using.&lt;br /&gt;
&lt;br /&gt;
=== Refresh rate / ModeLine ===&lt;br /&gt;
The easiest way to sort this problem is to let the X-server figure this out by not specifying the limits of your screen.  However this often fails, leaving you with an unusable display.  Simply look up &#039;&#039;&#039;your screen&#039;&#039;&#039;&#039;s refresh rates in the documentation and add them like this:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
        Identifier   &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
        VendorName   &amp;quot;Monitor Vendor&amp;quot;&lt;br /&gt;
        ModelName    &amp;quot;Monitor Model&amp;quot;&lt;br /&gt;
        &#039;&#039;HorizSync     &#039;&#039;&#039;27-102&#039;&#039;&#039; # kHz&#039;&#039;&lt;br /&gt;
        &#039;&#039;VertRefresh   &#039;&#039;&#039;50-160&#039;&#039;&#039; # Hz&#039;&#039;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
Alternatively you could specify a &amp;quot;ModeLine&amp;quot; for each resolution you want to use.  By using ModeLines you have much finer controll over the timings of the output signal generated by your videocard.  The drawback is that the timing values can be hard to get right.  &lt;br /&gt;
&lt;br /&gt;
Search the web for a &amp;quot;modeline generator&amp;quot;, and many of these will include instructions on how to add the modeline, but briefly, you just add it to the &amp;quot;Monitor&amp;quot; section.  Read the [http://en.wikipedia.org/wiki/Modeline wikipedia entry] to learn how to use modelines.  &lt;br /&gt;
* http://koala.ilog.fr/cgi-bin/nph-colas-modelines&lt;br /&gt;
* http://xtiming.sourceforge.net/cgi-bin/xtiming.pl&lt;br /&gt;
* http://www.bohne-lang.de/spec/linux/modeline/&lt;br /&gt;
* http://amlc.berlios.de/&lt;br /&gt;
If one modeline doesn&#039;t work perfectly, try another, perhaps from another generator, because they can vary so much.&lt;br /&gt;
&lt;br /&gt;
Using the wrong timings could in some (nowadays rare) occasions damage the hardware of your screen, so if it looks garbeled don&#039;t leave it like that for hours on end but hit [Ctrl]-[Alt]-[&amp;amp;larr;Backspace] and readjust your settings.  Most modern screens however simply report that the signal is out of range if this happens.&lt;br /&gt;
&lt;br /&gt;
=== Colordepth and resolution ===&lt;br /&gt;
Specify the colordepth and resolution(s) you would like to use, like this:&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Screen&amp;quot;&lt;br /&gt;
        Identifier   &amp;quot;Screen0&amp;quot;&lt;br /&gt;
        Device       &amp;quot;Card0&amp;quot;&lt;br /&gt;
        Monitor      &amp;quot;Monitor0&amp;quot;&lt;br /&gt;
        &#039;&#039;DefaultDepth &#039;&#039;&#039;24&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
        SubSection &amp;quot;Display&amp;quot;&lt;br /&gt;
                Viewport   0 0&lt;br /&gt;
                Depth      24&lt;br /&gt;
                &#039;&#039;Virtual    &#039;&#039;&#039;1600 1200&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
                &#039;&#039;Modes      &#039;&#039;&#039;&amp;quot;1600x1200&amp;quot; &amp;quot;1280x1024&amp;quot; &amp;quot;1024x768&amp;quot; &amp;quot;800x600&amp;quot; &amp;quot;640x480&amp;quot; &amp;quot;512x384&amp;quot; &amp;quot;400x300&amp;quot; &amp;quot;320x240&amp;quot;&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
        EndSubSection&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
As most people will only be using 24 bits anyway, I have removed the other redundant subsections.  &amp;quot;Virtual&amp;quot; is the size of your desktop and &amp;quot;Modes&amp;quot; are physical resolutions, you can flip through these by holding [CTRL]-[ALT] and pressing the plus or minus on the numeric keypad.  These are just examples, most people will only want to specify the resolution they actually use.&lt;br /&gt;
&lt;br /&gt;
=== DRI device permissions ===&lt;br /&gt;
This section is needed to have the X-server set the proper permissions on the DRI device during startup.  Simply add it to the end of the /etx/X11.xorg file if it isn&#039;t there already.&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;DRI&amp;quot;&lt;br /&gt;
        Mode         0666&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== Chipset driver ===&lt;br /&gt;
Change &amp;quot;&#039;&#039;&#039;vesa&#039;&#039;&#039;&amp;quot; to &amp;quot;&#039;&#039;&#039;fglrx&#039;&#039;&#039;&amp;quot; (or &amp;quot;&#039;&#039;&#039;ati&#039;&#039;&#039;&amp;quot;, depending on which drivers you installed earlier), as shown below, the old line is left as a comment in this example for clarity, but it&#039;s better to remove it as some scripts seem to find it confusing.  For Nvidia chipsets use &#039;&#039;&#039;nvidia&#039;&#039;&#039; or &#039;&#039;&#039;nv&#039;&#039;&#039; as the driver names (instead of &#039;&#039;&#039;fglrx&#039;&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Device&amp;quot;&lt;br /&gt;
        Identifier  &amp;quot;Card0&amp;quot;&lt;br /&gt;
 &#039;&#039;#      Driver      &amp;quot;&#039;&#039;&#039;vesa&#039;&#039;&#039;&amp;quot;&#039;&#039;&lt;br /&gt;
        &#039;&#039;Driver      &amp;quot;&#039;&#039;&#039;fglrx&#039;&#039;&#039;&amp;quot;&#039;&#039;&lt;br /&gt;
        VendorName  &amp;quot;ATI Technologies Inc&amp;quot;&lt;br /&gt;
        BoardName   &amp;quot;ATI Radeon Xpress 1200 Series&amp;quot;&lt;br /&gt;
        BusID       &amp;quot;PCI:1:5:0&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
If your X-server was running you will have to restart it completely for the changes to take effect, the easiest and most thorough way to do this is to reboot.&lt;br /&gt;
&lt;br /&gt;
=== Physical display size ===&lt;br /&gt;
Like specifying the refresh rate his is optional but sometimes necessary, most of the time it is either detected or some sane defaults are used but sometimes it isn&#039;t, which can result in unreadable font sizes.&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Monitor&amp;quot;&lt;br /&gt;
   ...&lt;br /&gt;
   DisplaySize &#039;&#039;&#039;155 95&#039;&#039;&#039;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
Where you have to replace the numbers with the physical &#039;&#039;&#039;width&#039;&#039;&#039; and &#039;&#039;&#039;height&#039;&#039;&#039; of your screen in millimeters (1&amp;quot; = 25mm), feel free to try mine, however these are for a small touchscreen.&lt;br /&gt;
&lt;br /&gt;
=== Disable composite ===&lt;br /&gt;
Aparently the ATI &#039;&#039;&#039;fglrx&#039;&#039;&#039; driver does not &#039;&#039;yet&#039;&#039; support composite with DRI.  So if you are using the fglrx driver, disable it by adding this to the end of the /etx/X11.xorg file if it isn&#039;t there already.&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Composite&amp;quot; &amp;quot;Disable&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
=== Additional options ===&lt;br /&gt;
To be continued, I don&#039;t think this is enough to get UI2 completely (either mode) going yet.  Feel free to jump in anytime... &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Things still to sort out amongst others (i.e. what is it, do we need it and what are the settings if any):&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Module&amp;quot;&lt;br /&gt;
        Load  &amp;quot;i2c&amp;quot;&lt;br /&gt;
        Load  &amp;quot;bitmap&amp;quot;&lt;br /&gt;
        Load  &amp;quot;ddc&amp;quot;&lt;br /&gt;
        Load  &amp;quot;freetype&amp;quot;&lt;br /&gt;
        Load  &amp;quot;int10&amp;quot;&lt;br /&gt;
        Load  &amp;quot;vbe&amp;quot;&lt;br /&gt;
        Load  &amp;quot;speedo&amp;quot;&lt;br /&gt;
        Load  &amp;quot;type1&amp;quot;&lt;br /&gt;
        Load  &amp;quot;dbe&amp;quot;&lt;br /&gt;
        Load  &amp;quot;glx&amp;quot;&lt;br /&gt;
        Load  &amp;quot;v4l&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;ServerFlags&amp;quot;&lt;br /&gt;
        Option &amp;quot;AIXGL&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
 Section &amp;quot;Extensions&amp;quot;&lt;br /&gt;
        Option      &amp;quot;Composite&amp;quot; &amp;quot;Disable&amp;quot;&lt;br /&gt;
 #      Option      &amp;quot;RENDER&amp;quot; &amp;quot;true&amp;quot;&lt;br /&gt;
 EndSection&lt;br /&gt;
&lt;br /&gt;
        Option      &amp;quot;PseudoColorVisuals&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
        Option      &amp;quot;OpenGLOverlay&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
        Option      &amp;quot;VideoOverlay&amp;quot; &amp;quot;off&amp;quot;&lt;br /&gt;
        Option      &amp;quot;DesktopSetup&amp;quot; &amp;quot;clone&amp;quot;&lt;br /&gt;
&lt;br /&gt;
TV-out options, 2nd display, etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
=== X-windows won&#039;t start for AVWizard ===&lt;br /&gt;
&lt;br /&gt;
*One problem on nvidia-cards could be that it does not detect the right monitor.&lt;br /&gt;
&lt;br /&gt;
::Go to Console 1 ([Ctrl]+[Alt]+1) and edit /etc/X11/xorg.conf (nano -w /etc/X11/xorg.conf). Find the section ::Device with the driver nvidia add the line &amp;lt;pre&amp;gt;Option &amp;quot;ConnectedMonitor&amp;quot; &amp;quot;XXX&amp;quot;&lt;br /&gt;
::where XXX is CRT, CRT-0, CRT-1, DVI-0, DVI-1, ...&amp;lt;/pre&amp;gt;&lt;br /&gt;
::Save and exit (nano: Ctrl+x) and restart the computer. In my case it was &amp;quot;CRT-1&amp;quot;.&lt;br /&gt;
* Screen is black, after install seemed to go okay. You may have even seen the Kubuntu splash screen.&lt;br /&gt;
**[[AVWizard]]&lt;br /&gt;
&lt;br /&gt;
=== X-windows won&#039;t start ===&lt;br /&gt;
&lt;br /&gt;
Reboot into rescue-mode if needed (hit [Esc] when [[Grub]] tells you to), and restore a working copy of your /etc/X11/xorg.conf, or edit it by hand to fix the problem. Test it with the command &amp;quot;X&amp;quot; and press [Ctrl]-[Alt]-[&amp;amp;larr;Backspace] simultaneous to quit (alternative: use &amp;quot;startx&amp;quot; and get the full desktop, if any), then reboot when it works and you&#039;re done.&lt;br /&gt;
&lt;br /&gt;
=== Signal out of range ===&lt;br /&gt;
&lt;br /&gt;
See &#039;&#039;[http://wiki.linuxmce.com/index.php/Display_Drivers#Refresh_rate Refresh rate]&#039;&#039; above.&lt;br /&gt;
&lt;br /&gt;
=== Microscopic fonts in KDE ===&lt;br /&gt;
&lt;br /&gt;
See &#039;&#039;[http://wiki.linuxmce.com/index.php/Display_Drivers#Physical_display_size Physical display size]&#039;&#039; above.&lt;br /&gt;
&lt;br /&gt;
If the above does not work, probably Xorg is calculating the DPI value in the wrong way.&lt;br /&gt;
This can be verified by having a look at the file /var/log/Xorg.0.log related to the MD with this issue searching for the line containing &amp;quot;DPI set to (x , y)&amp;quot;,where x and y are values that apply to the specific display.&lt;br /&gt;
&lt;br /&gt;
If those values are too small, fonts will be displayed accordingly (i.e, VERY small)&lt;br /&gt;
&lt;br /&gt;
A workaround is to force Xorg to startup with a given DPI value.&lt;br /&gt;
&lt;br /&gt;
To achieve this the following steps are required:&lt;br /&gt;
&lt;br /&gt;
* edit the file /usr/pluto/bin/Start_X_Wrapper.sh on your MD where you are facing the font problem&lt;br /&gt;
* find the line beginning with xinit&lt;br /&gt;
* add &amp;quot;-dpi 96&amp;quot; (without quotes) at the end of this line&lt;br /&gt;
* save the file and reboot MD&lt;br /&gt;
&lt;br /&gt;
Obviously it is possible to set DPI to something different than 96, according to specific needs.&lt;br /&gt;
&lt;br /&gt;
Please note that after an LMCE update the startup script may be replaced by new ones, so the above workaround may have to be re-applied in order to keep fonts at the desired dimension.&lt;br /&gt;
&lt;br /&gt;
=== LinuxMCE keeps reconfiguring my display settings ===&lt;br /&gt;
&lt;br /&gt;
Add a line containing &#039;&#039;&#039;exit&#039;&#039;&#039; to the top of the &#039;&#039;/usr/pluto/bin/Xconfigure.sh&#039;&#039; file.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [http://www.mythtv.org/wiki/index.php/Main_Page MythTV wiki] &lt;br /&gt;
* MythTV Experience [http://brentlagesse.net/~brent/mythtv.php]&lt;br /&gt;
* [[X_Configuration_Scripts]]&lt;/div&gt;</summary>
		<author><name>Jca1</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Automatic_diskless_boot_of_media_directors&amp;diff=7247</id>
		<title>Automatic diskless boot of media directors</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Automatic_diskless_boot_of_media_directors&amp;diff=7247"/>
		<updated>2007-11-20T21:50:06Z</updated>

		<summary type="html">&lt;p&gt;Jca1: /* Unsupported Cards */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: Tutorials]]&lt;br /&gt;
[[Category: Networking]]&lt;br /&gt;
[[Category: Programmer&#039;s Guide]]&lt;br /&gt;
 {| align=&amp;quot;right&amp;quot;&lt;br /&gt;
  | __TOC__&lt;br /&gt;
  |}&lt;br /&gt;
LinuxMCE allows [[media director]]s to be booted over the network. This means that you can boot up thin clients without hard drives, or systems with other operating systems without affecting what is already on the disk.&lt;br /&gt;
&lt;br /&gt;
==How to set it up==&lt;br /&gt;
===Enable PXE boot===&lt;br /&gt;
This is also known as network boot and can be accessed in your computer&#039;s [http://en.wikipedia.org/wiki/BIOS BIOS]. The exact procedure varies depending on your PC.  Normally you press F2 or DEL right after turning the PC on to enter the BIOS settings.  There is then usually an advanced option to enable this.&lt;br /&gt;
&lt;br /&gt;
===Set the correct boot order===&lt;br /&gt;
You are also going to want to set the boot order in the BIOS so the network boot comes first, and your hard drive second. However most BIOS&#039;s will make you first enable network boot, save your changes, restart the computer, and then enter the BIOS settings a second time to set the boot order. &lt;br /&gt;
&lt;br /&gt;
===Determine your network card&#039;s MAC address===&lt;br /&gt;
When network boot is working you should see at bootup the PC&#039;s mac address, and a messages about trying to contact a DHCP server, or trying to find a network boot image.  This will be a new message you didn&#039;t see before and it means network boot is active on the PC.  It will usually try for about 10 seconds to do a network boot image, and then give up and boot off the hard drive.  This is what you want.  When you see the message that it is trying to do the network boot, write down the mac address.&lt;br /&gt;
&lt;br /&gt;
You can also get the mac address in Windows by running IPCONFIG command prompt, or in Linux by typing ifconfig as root from a console or a terminal.&lt;br /&gt;
&lt;br /&gt;
===Setup the media director in LinuxMCE===&lt;br /&gt;
In LinuxMCE Admin go to &#039;&#039;&#039;Wizard &amp;gt; Devices &amp;gt; Media Directors&#039;&#039;&#039;.  Add the media director if this is a new one, and set the mac address.  The mac address should be a series of six 2 character sequences separated by colons, like this:  1A:00:F2:21:23:9F&lt;br /&gt;
&lt;br /&gt;
Click &#039;update&#039; to save your changes, and then click &#039;Setup Diskless Media Directors&#039;.  Wait for the popup window to finish.  If this is a new media director you just added, go to Wizard, Restart and click &#039;Quick Reload Router&#039; so the Router is aware of this new device.&lt;br /&gt;
&lt;br /&gt;
===Boot up from the network===&lt;br /&gt;
Now turn on the PC.  You should see that it gets an IP address and boots into the media director software.  The first time you boot it, it can take up to 30 minutes to boot because it will be installing a lot of the software on the diskless image on the core, and it will also need to generate a user interface.&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up, use the &#039;&#039;&#039;Wizard &amp;gt; Devices &amp;gt; Media Directors&#039;&#039;&#039; page to set the display resolution and also choose extra software you want to run on that Media Director with the &#039;Edit Computing Applications&#039; button.&lt;br /&gt;
&lt;br /&gt;
==How to use it==&lt;br /&gt;
[[Using LinuxMCE]].  If this media director has a hard drive in it that contains another operating system (like Windows or Linux), then from the media director&#039;s on-screen orbiter, or from any other orbiter that is currently controlling that media director, hit the &#039;power&#039; button and choose &#039;restart as windows/linux&#039; to boot up the computer off the hard drive and use it like a normal PC.  Then choose &#039;restart as LinuxMCE&#039; from the orbiter to boot it back again into LinuxMCE.&lt;br /&gt;
&lt;br /&gt;
==GRUB PXE network boot==&lt;br /&gt;
In some situations, it may be more appropriate to use GNU GRUB bootloader:&lt;br /&gt;
&lt;br /&gt;
#The machine does not support PXE booting directly (no boot-ROM).&lt;br /&gt;
#You can use a GRUB bootmenu to decide wheter you want to boot LMCE or the native OS.&lt;br /&gt;
#Booting is a lot faster when you boot the native OS by skipping the network step.&lt;br /&gt;
#GRUB allows for easy adjustments of the boot parameters at boottime. &lt;br /&gt;
&lt;br /&gt;
This is described in detail at [[GRUB PXE network boot]].&lt;br /&gt;
&lt;br /&gt;
==Programmer&#039;s guide==&lt;br /&gt;
The network boot images are contained in /usr/pluto/diskless/[deviceID].  If a network image is corrupted, just delete that directory, and re-run &#039;Setup Diskless Media Directors&#039;.&lt;br /&gt;
&lt;br /&gt;
When the user hits the power button to change which device is booted, the command is sent to &amp;quot;General Info Plugin&amp;quot;, which updates /tftpboot/pxelinux.cfg/01-[mac address].  That file contains a line KERNEL or LOCALBOOT 0, depending on what the user wants to boot.  If it&#039;s LOCALBOOT 0, then when the media director tries to do a network boot the Core will tell it to boot off the hard drive instead.  General Info Plugin then sends the App Server running on that machine a command to reboot.&lt;br /&gt;
&lt;br /&gt;
Since there is both a Linux and Windows version of App Server, if App Server is installed and running on the Windows PC, then LinuxMCE can still reboot it remotely back into the network boot even if it&#039;s running Windows.  Also the Windows App Server utility gives you a tray icon to switch back to network boot.&lt;br /&gt;
&lt;br /&gt;
==Other Network Cards==&lt;br /&gt;
If you get to the remote machine starting the boot process, but then fails with it unable to find eth0, the reason may be because the stock diskless image did not have your network card statically compiled. The linux image building process does allow for additional network modules to be loaded during the boot process. The installer that linuxmce uses builds this image from a base copy of the operating system (ubuntu) that is untar&#039;d during the diskless setup process. It puts this into it&#039;s own directory that serves as a virtual harddrive for your diskless machine. In the /usr/pluto/diskless directory you should have a list of device numbers that correspond to your diskless machines. For example: &#039;45&#039; was the number for my diskless machine. Edit the file /usr/pluto/diskless/###/etc/initramfs-tools/modules and add on your nic&#039;s module. In my case I edit /usr/pluto/diskless/45/etc/initramfs-tools/modules and added sky2. Then run the /usr/pluto/bin/Diskless_InstallKernel.sh script with the device number (directory name) of your diskless machine. In my case &amp;quot;/usr/pluto/bin/Diskless_InstallKernel.sh 45&amp;quot;. This script builds the initrd image and puts it in the proper place (symlinks it actually).&lt;br /&gt;
&lt;br /&gt;
The driver used in my machine was the &#039;sky2&#039; driver for Marvell Gigabit ethernet cards. Other drivers will be located in the /usr/pluto/diskless/xx/lib/modules/2.xxx/kernel/drivers/net/ directory.&lt;/div&gt;</summary>
		<author><name>Jca1</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Automatic_diskless_boot_of_media_directors&amp;diff=7246</id>
		<title>Automatic diskless boot of media directors</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Automatic_diskless_boot_of_media_directors&amp;diff=7246"/>
		<updated>2007-11-20T21:43:46Z</updated>

		<summary type="html">&lt;p&gt;Jca1: /* Unsupported Cards */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: Tutorials]]&lt;br /&gt;
[[Category: Networking]]&lt;br /&gt;
[[Category: Programmer&#039;s Guide]]&lt;br /&gt;
 {| align=&amp;quot;right&amp;quot;&lt;br /&gt;
  | __TOC__&lt;br /&gt;
  |}&lt;br /&gt;
LinuxMCE allows [[media director]]s to be booted over the network. This means that you can boot up thin clients without hard drives, or systems with other operating systems without affecting what is already on the disk.&lt;br /&gt;
&lt;br /&gt;
==How to set it up==&lt;br /&gt;
===Enable PXE boot===&lt;br /&gt;
This is also known as network boot and can be accessed in your computer&#039;s [http://en.wikipedia.org/wiki/BIOS BIOS]. The exact procedure varies depending on your PC.  Normally you press F2 or DEL right after turning the PC on to enter the BIOS settings.  There is then usually an advanced option to enable this.&lt;br /&gt;
&lt;br /&gt;
===Set the correct boot order===&lt;br /&gt;
You are also going to want to set the boot order in the BIOS so the network boot comes first, and your hard drive second. However most BIOS&#039;s will make you first enable network boot, save your changes, restart the computer, and then enter the BIOS settings a second time to set the boot order. &lt;br /&gt;
&lt;br /&gt;
===Determine your network card&#039;s MAC address===&lt;br /&gt;
When network boot is working you should see at bootup the PC&#039;s mac address, and a messages about trying to contact a DHCP server, or trying to find a network boot image.  This will be a new message you didn&#039;t see before and it means network boot is active on the PC.  It will usually try for about 10 seconds to do a network boot image, and then give up and boot off the hard drive.  This is what you want.  When you see the message that it is trying to do the network boot, write down the mac address.&lt;br /&gt;
&lt;br /&gt;
You can also get the mac address in Windows by running IPCONFIG command prompt, or in Linux by typing ifconfig as root from a console or a terminal.&lt;br /&gt;
&lt;br /&gt;
===Setup the media director in LinuxMCE===&lt;br /&gt;
In LinuxMCE Admin go to &#039;&#039;&#039;Wizard &amp;gt; Devices &amp;gt; Media Directors&#039;&#039;&#039;.  Add the media director if this is a new one, and set the mac address.  The mac address should be a series of six 2 character sequences separated by colons, like this:  1A:00:F2:21:23:9F&lt;br /&gt;
&lt;br /&gt;
Click &#039;update&#039; to save your changes, and then click &#039;Setup Diskless Media Directors&#039;.  Wait for the popup window to finish.  If this is a new media director you just added, go to Wizard, Restart and click &#039;Quick Reload Router&#039; so the Router is aware of this new device.&lt;br /&gt;
&lt;br /&gt;
===Boot up from the network===&lt;br /&gt;
Now turn on the PC.  You should see that it gets an IP address and boots into the media director software.  The first time you boot it, it can take up to 30 minutes to boot because it will be installing a lot of the software on the diskless image on the core, and it will also need to generate a user interface.&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up, use the &#039;&#039;&#039;Wizard &amp;gt; Devices &amp;gt; Media Directors&#039;&#039;&#039; page to set the display resolution and also choose extra software you want to run on that Media Director with the &#039;Edit Computing Applications&#039; button.&lt;br /&gt;
&lt;br /&gt;
==How to use it==&lt;br /&gt;
[[Using LinuxMCE]].  If this media director has a hard drive in it that contains another operating system (like Windows or Linux), then from the media director&#039;s on-screen orbiter, or from any other orbiter that is currently controlling that media director, hit the &#039;power&#039; button and choose &#039;restart as windows/linux&#039; to boot up the computer off the hard drive and use it like a normal PC.  Then choose &#039;restart as LinuxMCE&#039; from the orbiter to boot it back again into LinuxMCE.&lt;br /&gt;
&lt;br /&gt;
==GRUB PXE network boot==&lt;br /&gt;
In some situations, it may be more appropriate to use GNU GRUB bootloader:&lt;br /&gt;
&lt;br /&gt;
#The machine does not support PXE booting directly (no boot-ROM).&lt;br /&gt;
#You can use a GRUB bootmenu to decide wheter you want to boot LMCE or the native OS.&lt;br /&gt;
#Booting is a lot faster when you boot the native OS by skipping the network step.&lt;br /&gt;
#GRUB allows for easy adjustments of the boot parameters at boottime. &lt;br /&gt;
&lt;br /&gt;
This is described in detail at [[GRUB PXE network boot]].&lt;br /&gt;
&lt;br /&gt;
==Programmer&#039;s guide==&lt;br /&gt;
The network boot images are contained in /usr/pluto/diskless/[deviceID].  If a network image is corrupted, just delete that directory, and re-run &#039;Setup Diskless Media Directors&#039;.&lt;br /&gt;
&lt;br /&gt;
When the user hits the power button to change which device is booted, the command is sent to &amp;quot;General Info Plugin&amp;quot;, which updates /tftpboot/pxelinux.cfg/01-[mac address].  That file contains a line KERNEL or LOCALBOOT 0, depending on what the user wants to boot.  If it&#039;s LOCALBOOT 0, then when the media director tries to do a network boot the Core will tell it to boot off the hard drive instead.  General Info Plugin then sends the App Server running on that machine a command to reboot.&lt;br /&gt;
&lt;br /&gt;
Since there is both a Linux and Windows version of App Server, if App Server is installed and running on the Windows PC, then LinuxMCE can still reboot it remotely back into the network boot even if it&#039;s running Windows.  Also the Windows App Server utility gives you a tray icon to switch back to network boot.&lt;br /&gt;
&lt;br /&gt;
==Unsupported Cards==&lt;br /&gt;
If you get to the remote machine starting the boot process, but then fails with it unable to find eth0, the reason may be because the stock diskless image did not have your network card statically compiled. The linux image building process does allow for additional network modules to be loaded during the boot process. The installer that linuxmce uses builds this image from a base copy of the operating system (ubuntu) that is untar&#039;d during the diskless setup process. It puts this into it&#039;s own directory that serves as a virtual harddrive for your diskless machine. In the /usr/pluto/diskless directory you should have a list of device numbers that correspond to your diskless machines. For example: &#039;45&#039; was the number for my diskless machine. Edit the file /usr/pluto/diskless/###/etc/initramfs-tools/modules and add on your nic&#039;s module. In my case I edit /usr/pluto/diskless/45/etc/initramfs-tools/modules and added sky2. Then run the /usr/pluto/bin/Diskless_InstallKernel.sh script with the device number (directory name) of your diskless machine. In my case &amp;quot;/usr/pluto/bin/Diskless_InstallKernel.sh 45&amp;quot;. This script builds the initrd image and puts it in the proper place (symlinks it actually).&lt;br /&gt;
&lt;br /&gt;
The driver used in my machine was the &#039;sky2&#039; driver for Marvell Gigabit ethernet cards. Other drivers will be located in the /usr/pluto/diskless/xx/lib/modules/2.xxx/kernel/drivers/net/ directory.&lt;/div&gt;</summary>
		<author><name>Jca1</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Automatic_diskless_boot_of_media_directors&amp;diff=7245</id>
		<title>Automatic diskless boot of media directors</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Automatic_diskless_boot_of_media_directors&amp;diff=7245"/>
		<updated>2007-11-20T21:43:22Z</updated>

		<summary type="html">&lt;p&gt;Jca1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: Tutorials]]&lt;br /&gt;
[[Category: Networking]]&lt;br /&gt;
[[Category: Programmer&#039;s Guide]]&lt;br /&gt;
 {| align=&amp;quot;right&amp;quot;&lt;br /&gt;
  | __TOC__&lt;br /&gt;
  |}&lt;br /&gt;
LinuxMCE allows [[media director]]s to be booted over the network. This means that you can boot up thin clients without hard drives, or systems with other operating systems without affecting what is already on the disk.&lt;br /&gt;
&lt;br /&gt;
==How to set it up==&lt;br /&gt;
===Enable PXE boot===&lt;br /&gt;
This is also known as network boot and can be accessed in your computer&#039;s [http://en.wikipedia.org/wiki/BIOS BIOS]. The exact procedure varies depending on your PC.  Normally you press F2 or DEL right after turning the PC on to enter the BIOS settings.  There is then usually an advanced option to enable this.&lt;br /&gt;
&lt;br /&gt;
===Set the correct boot order===&lt;br /&gt;
You are also going to want to set the boot order in the BIOS so the network boot comes first, and your hard drive second. However most BIOS&#039;s will make you first enable network boot, save your changes, restart the computer, and then enter the BIOS settings a second time to set the boot order. &lt;br /&gt;
&lt;br /&gt;
===Determine your network card&#039;s MAC address===&lt;br /&gt;
When network boot is working you should see at bootup the PC&#039;s mac address, and a messages about trying to contact a DHCP server, or trying to find a network boot image.  This will be a new message you didn&#039;t see before and it means network boot is active on the PC.  It will usually try for about 10 seconds to do a network boot image, and then give up and boot off the hard drive.  This is what you want.  When you see the message that it is trying to do the network boot, write down the mac address.&lt;br /&gt;
&lt;br /&gt;
You can also get the mac address in Windows by running IPCONFIG command prompt, or in Linux by typing ifconfig as root from a console or a terminal.&lt;br /&gt;
&lt;br /&gt;
===Setup the media director in LinuxMCE===&lt;br /&gt;
In LinuxMCE Admin go to &#039;&#039;&#039;Wizard &amp;gt; Devices &amp;gt; Media Directors&#039;&#039;&#039;.  Add the media director if this is a new one, and set the mac address.  The mac address should be a series of six 2 character sequences separated by colons, like this:  1A:00:F2:21:23:9F&lt;br /&gt;
&lt;br /&gt;
Click &#039;update&#039; to save your changes, and then click &#039;Setup Diskless Media Directors&#039;.  Wait for the popup window to finish.  If this is a new media director you just added, go to Wizard, Restart and click &#039;Quick Reload Router&#039; so the Router is aware of this new device.&lt;br /&gt;
&lt;br /&gt;
===Boot up from the network===&lt;br /&gt;
Now turn on the PC.  You should see that it gets an IP address and boots into the media director software.  The first time you boot it, it can take up to 30 minutes to boot because it will be installing a lot of the software on the diskless image on the core, and it will also need to generate a user interface.&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up, use the &#039;&#039;&#039;Wizard &amp;gt; Devices &amp;gt; Media Directors&#039;&#039;&#039; page to set the display resolution and also choose extra software you want to run on that Media Director with the &#039;Edit Computing Applications&#039; button.&lt;br /&gt;
&lt;br /&gt;
==How to use it==&lt;br /&gt;
[[Using LinuxMCE]].  If this media director has a hard drive in it that contains another operating system (like Windows or Linux), then from the media director&#039;s on-screen orbiter, or from any other orbiter that is currently controlling that media director, hit the &#039;power&#039; button and choose &#039;restart as windows/linux&#039; to boot up the computer off the hard drive and use it like a normal PC.  Then choose &#039;restart as LinuxMCE&#039; from the orbiter to boot it back again into LinuxMCE.&lt;br /&gt;
&lt;br /&gt;
==GRUB PXE network boot==&lt;br /&gt;
In some situations, it may be more appropriate to use GNU GRUB bootloader:&lt;br /&gt;
&lt;br /&gt;
#The machine does not support PXE booting directly (no boot-ROM).&lt;br /&gt;
#You can use a GRUB bootmenu to decide wheter you want to boot LMCE or the native OS.&lt;br /&gt;
#Booting is a lot faster when you boot the native OS by skipping the network step.&lt;br /&gt;
#GRUB allows for easy adjustments of the boot parameters at boottime. &lt;br /&gt;
&lt;br /&gt;
This is described in detail at [[GRUB PXE network boot]].&lt;br /&gt;
&lt;br /&gt;
==Programmer&#039;s guide==&lt;br /&gt;
The network boot images are contained in /usr/pluto/diskless/[deviceID].  If a network image is corrupted, just delete that directory, and re-run &#039;Setup Diskless Media Directors&#039;.&lt;br /&gt;
&lt;br /&gt;
When the user hits the power button to change which device is booted, the command is sent to &amp;quot;General Info Plugin&amp;quot;, which updates /tftpboot/pxelinux.cfg/01-[mac address].  That file contains a line KERNEL or LOCALBOOT 0, depending on what the user wants to boot.  If it&#039;s LOCALBOOT 0, then when the media director tries to do a network boot the Core will tell it to boot off the hard drive instead.  General Info Plugin then sends the App Server running on that machine a command to reboot.&lt;br /&gt;
&lt;br /&gt;
Since there is both a Linux and Windows version of App Server, if App Server is installed and running on the Windows PC, then LinuxMCE can still reboot it remotely back into the network boot even if it&#039;s running Windows.  Also the Windows App Server utility gives you a tray icon to switch back to network boot.&lt;br /&gt;
&lt;br /&gt;
==Unsupported Cards==&lt;br /&gt;
If you get to the remote machine starting the boot process, but then fails with it unable to find eth0, the reason may be because the stock diskless image did not have your network card statically compiled. The linux image building process does allow for additional network modules to be loaded during the boot process. The installer that linuxmce uses builds this image from a base copy of the operating system (ubuntu) that is untar&#039;d during the diskless setup process. It puts this into it&#039;s own directory that serves as a virtual harddrive for your diskless machine. In the /usr/pluto/diskless directory you should have a list of device numbers that correspond to your diskless machines. For example: &#039;45&#039; was the number for my diskless machine. Edit the file /usr/pluto/diskless/###/etc/initramfs-tools/modules and add on your nic&#039;s module. In my case I edit /usr/pluto/diskless/45/etc/initramfs-tools/modules and added sky2. Then run the /usr/pluto/bin/Diskless_InstallKernel.sh script with the device number (directory name) of your diskless machine. In my case &amp;quot;/usr/pluto/bin/Diskless_InstallKernel.sh 45&amp;quot;. This script builds the initrd image and puts it in the proper place (symlinks it actually).&lt;br /&gt;
&lt;br /&gt;
The driver used in my machine was the &#039;sky2&#039; driver for Marvell Gigabit ethernet cards. Other drivers will be located in the /usr/pluto/diskless/45/lib/modules/2.xxx/kernel/drivers/net/ directory.&lt;/div&gt;</summary>
		<author><name>Jca1</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Automatic_diskless_boot_of_media_directors&amp;diff=7244</id>
		<title>Automatic diskless boot of media directors</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Automatic_diskless_boot_of_media_directors&amp;diff=7244"/>
		<updated>2007-11-20T21:37:28Z</updated>

		<summary type="html">&lt;p&gt;Jca1: /* Programmer&amp;#039;s guide */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: Tutorials]]&lt;br /&gt;
[[Category: Networking]]&lt;br /&gt;
[[Category: Programmer&#039;s Guide]]&lt;br /&gt;
 {| align=&amp;quot;right&amp;quot;&lt;br /&gt;
  | __TOC__&lt;br /&gt;
  |}&lt;br /&gt;
LinuxMCE allows [[media director]]s to be booted over the network. This means that you can boot up thin clients without hard drives, or systems with other operating systems without affecting what is already on the disk.&lt;br /&gt;
&lt;br /&gt;
==How to set it up==&lt;br /&gt;
===Enable PXE boot===&lt;br /&gt;
This is also known as network boot and can be accessed in your computer&#039;s [http://en.wikipedia.org/wiki/BIOS BIOS]. The exact procedure varies depending on your PC.  Normally you press F2 or DEL right after turning the PC on to enter the BIOS settings.  There is then usually an advanced option to enable this.&lt;br /&gt;
&lt;br /&gt;
===Set the correct boot order===&lt;br /&gt;
You are also going to want to set the boot order in the BIOS so the network boot comes first, and your hard drive second. However most BIOS&#039;s will make you first enable network boot, save your changes, restart the computer, and then enter the BIOS settings a second time to set the boot order. &lt;br /&gt;
&lt;br /&gt;
===Determine your network card&#039;s MAC address===&lt;br /&gt;
When network boot is working you should see at bootup the PC&#039;s mac address, and a messages about trying to contact a DHCP server, or trying to find a network boot image.  This will be a new message you didn&#039;t see before and it means network boot is active on the PC.  It will usually try for about 10 seconds to do a network boot image, and then give up and boot off the hard drive.  This is what you want.  When you see the message that it is trying to do the network boot, write down the mac address.&lt;br /&gt;
&lt;br /&gt;
You can also get the mac address in Windows by running IPCONFIG command prompt, or in Linux by typing ifconfig as root from a console or a terminal.&lt;br /&gt;
&lt;br /&gt;
===Setup the media director in LinuxMCE===&lt;br /&gt;
In LinuxMCE Admin go to &#039;&#039;&#039;Wizard &amp;gt; Devices &amp;gt; Media Directors&#039;&#039;&#039;.  Add the media director if this is a new one, and set the mac address.  The mac address should be a series of six 2 character sequences separated by colons, like this:  1A:00:F2:21:23:9F&lt;br /&gt;
&lt;br /&gt;
Click &#039;update&#039; to save your changes, and then click &#039;Setup Diskless Media Directors&#039;.  Wait for the popup window to finish.  If this is a new media director you just added, go to Wizard, Restart and click &#039;Quick Reload Router&#039; so the Router is aware of this new device.&lt;br /&gt;
&lt;br /&gt;
===Boot up from the network===&lt;br /&gt;
Now turn on the PC.  You should see that it gets an IP address and boots into the media director software.  The first time you boot it, it can take up to 30 minutes to boot because it will be installing a lot of the software on the diskless image on the core, and it will also need to generate a user interface.&lt;br /&gt;
&lt;br /&gt;
Once it&#039;s up, use the &#039;&#039;&#039;Wizard &amp;gt; Devices &amp;gt; Media Directors&#039;&#039;&#039; page to set the display resolution and also choose extra software you want to run on that Media Director with the &#039;Edit Computing Applications&#039; button.&lt;br /&gt;
&lt;br /&gt;
==How to use it==&lt;br /&gt;
[[Using LinuxMCE]].  If this media director has a hard drive in it that contains another operating system (like Windows or Linux), then from the media director&#039;s on-screen orbiter, or from any other orbiter that is currently controlling that media director, hit the &#039;power&#039; button and choose &#039;restart as windows/linux&#039; to boot up the computer off the hard drive and use it like a normal PC.  Then choose &#039;restart as LinuxMCE&#039; from the orbiter to boot it back again into LinuxMCE.&lt;br /&gt;
&lt;br /&gt;
==GRUB PXE network boot==&lt;br /&gt;
In some situations, it may be more appropriate to use GNU GRUB bootloader:&lt;br /&gt;
&lt;br /&gt;
#The machine does not support PXE booting directly (no boot-ROM).&lt;br /&gt;
#You can use a GRUB bootmenu to decide wheter you want to boot LMCE or the native OS.&lt;br /&gt;
#Booting is a lot faster when you boot the native OS by skipping the network step.&lt;br /&gt;
#GRUB allows for easy adjustments of the boot parameters at boottime. &lt;br /&gt;
&lt;br /&gt;
This is described in detail at [[GRUB PXE network boot]].&lt;br /&gt;
&lt;br /&gt;
==Programmer&#039;s guide==&lt;br /&gt;
The network boot images are contained in /usr/pluto/diskless/[deviceID].  If a network image is corrupted, just delete that directory, and re-run &#039;Setup Diskless Media Directors&#039;.&lt;br /&gt;
&lt;br /&gt;
When the user hits the power button to change which device is booted, the command is sent to &amp;quot;General Info Plugin&amp;quot;, which updates /tftpboot/pxelinux.cfg/01-[mac address].  That file contains a line KERNEL or LOCALBOOT 0, depending on what the user wants to boot.  If it&#039;s LOCALBOOT 0, then when the media director tries to do a network boot the Core will tell it to boot off the hard drive instead.  General Info Plugin then sends the App Server running on that machine a command to reboot.&lt;br /&gt;
&lt;br /&gt;
Since there is both a Linux and Windows version of App Server, if App Server is installed and running on the Windows PC, then LinuxMCE can still reboot it remotely back into the network boot even if it&#039;s running Windows.  Also the Windows App Server utility gives you a tray icon to switch back to network boot.&lt;/div&gt;</summary>
		<author><name>Jca1</name></author>
	</entry>
</feed>