<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Installing the Arch package for the
      "old" driver 0.2.906 fails because it expects an older version of
      X.<br>
      So I downloaded the source to compile it myself. Alas.<br>
      There is a file 'via_accel.c' that expects xaalocal.h, but that
      file is not there in the X development files.<br>
      I figure this has to do with dropping XAA?<br>
      Any clue as to how to work around this error?<br>
      Thanks,<br>
      Willem<br>
      <br>
      On 11/17/2012 11:13 PM, Willem van Asperen wrote:<br>
    </div>
    <blockquote cite="mid:50A80C23.7090202@van.asperen.org" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">I have now git cloned from
        git://anongit.freedesktop.org/openchrome/xf86-video-openchrome
        and compiled / installed.<br>
        This version still does not see my TV being connected:<br>
        <br>
        <code>...</code><code><br>
        </code><code>[  3808.281] (II) CHROME(0): Output VGA-1 using
          monitor section Monitor0</code><code><br>
        </code><code>[  3808.281] (II) CHROME(0): ViaVT162xDetect</code><code><br>
        </code><code>[  3808.281] (II) CHROME(0): I2C device "I2C bus
          2:VT162x" registered at address 0x40.</code><code><br>
        </code><code>[  3808.282] (--) CHROME(0): Detected VIA
          Technologies VT1625 TV Encoder</code><code><br>
        </code><code>[  3808.282] (II) CHROME(0): ViaVT162xInit</code><code><br>
        </code><code>[  3808.283] (II) CHROME(0): Output TV-1 has no
          monitor section</code><code><br>
        </code><code>[  3808.283] (II) CHROME(0): VT162xSave</code><code><br>
        </code><code>[  3808.383] (II) CHROME(0): I2C device "I2C bus
          1:ddc2" registered at address 0xA0.</code><code><br>
        </code><code>[  3808.390] (--) CHROME(0): Test for CRT with
          VSYNC</code><code><br>
        </code><code>[  3808.390] (II) CHROME(0): EDID for output VGA-1</code><code><br>
        </code><code>[  3808.390] (II) CHROME(0): VT1625DACSense</code><code><br>
        </code><code>[  3808.395] (WW) CHROME(0): VT1625: Unknown cable
          combination: 0x03D.</code><code><br>
        </code><code>[  3808.395] (II) CHROME(0): EDID for output TV-1</code><code><br>
        </code><code>[  3808.395] (II) CHROME(0): Output VGA-1
          disconnected</code><code><br>
        </code><code>[  3808.395] (II) CHROME(0): Output TV-1
          disconnected</code><code><br>
        </code><code>[  3808.395] (WW) CHROME(0): No outputs definitely
          connected, trying again...</code><code><br>
        </code><code>[  3808.395] (II) CHROME(0): Output VGA-1
          disconnected</code><code><br>
        </code><code>[  3808.395] (II) CHROME(0): Output TV-1
          disconnected</code><code><br>
        </code><code>[  3808.395] (WW) CHROME(0): Unable to find
          connected outputs - setting 1024x768 initial framebuffer</code><code><br>
        </code><code>[  3808.395] (II) CHROME(0): Using default gamma of
          (1.0, 1.0, 1.0) unless otherwise stated.</code><code><br>
        </code><code>...</code><br>
        <br>
        When applying the patch, the driver "sees" my TV-1 being
        connected, but still just makes X quit:<br>
        <br>
        <code>...</code><code><br>
        </code><code>[  4036.653] (II) CHROME(0): Output VGA-1 using
          monitor section Monitor0</code><code><br>
        </code><code>[  4036.654] (II) CHROME(0): ViaVT162xDetect</code><code><br>
        </code><code>[  4036.654] (II) CHROME(0): I2C device "I2C bus
          2:VT162x" registered at address 0x40.</code><code><br>
        </code><code>[  4036.655] (--) CHROME(0): Detected VIA
          Technologies VT1625 TV Encoder</code><code><br>
        </code><code>[  4036.655] (II) CHROME(0): ViaVT162xInit</code><code><br>
        </code><code>[  4036.655] (II) CHROME(0): Output TV-1 has no
          monitor section</code><code><br>
        </code><code>[  4036.655] (II) CHROME(0): VT162xSave</code><code><br>
        </code><code>[  4036.755] (II) CHROME(0): I2C device "I2C bus
          1:ddc2" registered at address 0xA0.</code><code><br>
        </code><code>[  4036.762] (--) CHROME(0): Test for CRT with
          VSYNC</code><code><br>
        </code><code>[  4036.763] (II) CHROME(0): EDID for output VGA-1</code><code><br>
        </code><code>[  4036.763] (II) CHROME(0): Printing probed modes
          for output TV-1</code><code><br>
        </code><code>[  4036.763] (II) CHROME(0): Modeline
          "640x480"x63.8   30.00  640 688 744 784  480 488 495 600
          -hsync -vsync (38.3 kHz d)</code><code><br>
        </code><code>[  4036.763] (II) CHROME(0): Output VGA-1
          disconnected</code><code><br>
        </code><code>[  4036.763] (II) CHROME(0): Output TV-1 connected</code><code>
          <font color="#ff0000"><<-- result of the HACK</font><br>
        </code><code>[  4036.763] (II) CHROME(0): Using exact sizes for
          initial modes</code><code><br>
        </code><code>[  4036.763] (II) CHROME(0): Output TV-1 using
          initial mode 640x480</code><code><br>
        </code><code>[  4036.763] (II) CHROME(0): VIAFreeScreen</code><code><br>
        </code><code>[  4036.763] (II) CHROME(0): VIAUnmapMem</code><code><br>
        </code><code>[  4036.766] (II) CHROME(0): VIAFreeRec</code><code><br>
        </code><code>[  4036.766] (II) CHROME(0): I2C device "I2C bus
          2:VT1625" removed.</code><br>
        <br>
        This is the tail of my Xorg.0.log file.<br>
        <br>
        Any ideas what I could test further? Happy to be of help.<br>
        <br>
        Regards,<br>
        Willem<br>
        <br>
        On 11/15/2012 11:35 PM, Willem van Asperen wrote:<br>
      </div>
      <blockquote cite="mid:50A56E4D.3060801@van.asperen.org"
        type="cite">
        <meta content="text/html; charset=ISO-8859-1"
          http-equiv="Content-Type">
        <div class="moz-cite-prefix">Hi All,<br>
          <br>
          Based on the patch supplied by Xavier I have created the
          following patch on via_output.c:<br>
          <br>
          <code>343c343,344</code><code><br>
          </code><code><     if (ViaTVDACSense(pScrn))</code><code><br>
          </code><code>---</code><code><br>
          </code><code>>     // HACK: force TV connected to cater for
            EPIA board</code><code><br>
          </code><code>>     //if (ViaTVDACSense(pScrn))</code><code><br>
          </code><br>
          This makes my TV-1 being seen as "connected", so that's the
          good news!<br>
          <br>
          Xorg.0.log:<br>
          <code>...</code><code><br>
          </code><code>[  4170.999] (II) CHROME(0): Printing probed
            modes for output TV-1</code><code><br>
          </code><code>[  4170.999] (II) CHROME(0): Modeline
            "640x480"x63.8   30.00  640 688 744 784  480 488 495 600
            -hsync -vsync (38.3 kHz d)</code><code><br>
          </code><code>[  4170.999] (II) CHROME(0): Output VGA-1
            disconnected</code><code><br>
          </code><code>[  4170.999] (II) CHROME(0): Output TV-1
            connected</code><code><font color="#ff0000"> <<---
              Result!</font><br>
          </code><code>[  4170.999] (II) CHROME(0): Using exact sizes
            for initial modes</code><code><br>
          </code><code>[  4170.999] (II) CHROME(0): Output TV-1 using
            initial mode 640x480</code><code><br>
          </code><code>[  4170.999] (II) CHROME(0): VIAFreeScreen</code><code><br>
          </code><code>[  4170.999] (II) CHROME(0): VIAUnmapMem</code><code><br>
          </code><code>[  4171.003] (II) CHROME(0): VIAFreeRec</code><code><br>
          </code><code>[  4171.003] (II) CHROME(0): I2C device "I2C bus
            2:VT1625" removed.</code><code><br>
          </code><br>
          The bad news is that it makes X go ploof... The above is
          actually the tail of Xorg.0.log. After this, X just
          disappears.<br>
          <br>
          So there must be more to it.<br>
          <br>
          Any thoughts?<br>
          <br>
          Regards,<br>
          Willem<br>
          <br>
          On 11/11/2012 11:14 PM, Xavier Bachelot wrote:<br>
        </div>
        <blockquote cite="mid:50A02344.2020803@bachelot.org" type="cite">
          <pre wrap="">Hi Willem,

On 11/10/2012 01:56 PM, Willem van Asperen wrote:
</pre>
          <blockquote type="cite">
            <pre wrap="">I have been running Arch Linux on a VIA EPIA EX10000EG with success
using version openchrome 0.2.906, until the upgrade of openchrome to
0.3.0. Since then my screen just comes up blank black.
</pre>
          </blockquote>
          <pre wrap="">I'm using the attached patch with an Epia EX. However, in my case, the
display is connected throught DVI-A using a DVI-to-VGA dongle. I'm not
sure how your board is connected, so that may or may not help.

Regards,
Xavier
</pre>
        </blockquote>
        <br>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </body>
</html>