<html>
  <head>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi all,<br>
    <br>
    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.<br>
    <br>
    Trying to get it running, I broke the system and had to do a
    re-install. Although, sticking to 0.2.906 would have been the
    solution...<br>
    <br>
    I have now installed 0.3.1 and still no luck.<br>
    <br>
    The box is booting from the network using NFS and pxelinux. That
    works great (much better and stable than I expected!) and gets me
    into console mode ok, after setting some viafb properties, on both
    the DVI as well as the TV (S-Video) output.<br>
    <br>
    The experiments I have done are as follows:<br>
    <br>
    First I needed to get viafb properly running, so I created the
    following options.conf in my /etc/modprobe.d. directory:<br>
    <br>
    <code>options viafb viafb_active_dev=DVI+LCD
      viafb_display_hardware_layout=2 viafb_platform_epia_dvi=1
      viafb_dvi_port=DVP1 viafb_lcd_panel_id=9 viafb_mode=1024x768
      viafb_refresh=70</code><br>
    <br>
    This seems to help the viafb to give me a working console in
    1024x768 resolution on the DVI output. So far so good...<br>
    <br>
    The drm module is inserted into the kernel at boot. For this I
    included the following lines in my mkinitcpio.conf:<br>
    <code><br>
    </code><code>...</code><code><br>
    </code><code>MODULES="nfsv3 via_agp drm"</code><code><br>
    </code><code>...</code><code><br>
    </code><code>FILES="/etc/modprobe.d/options.conf"</code><br>
    ...<br>
    <br>
    But, starting up lxdm (X), there is no graphical output on the DVI
    port, when I have viafb inserted in the kernel. The screen goes to
    black with a static console cursor in the top left hand corner.
    Using Ctrl-Alt-F1 I can get to the console, just fine.<br>
    <br>
    I found that leaving out viafb (blacklist it) from the kernel, I
    start getting some output on the DVI port. But the video does not
    properly sync. I get horizontally and vertically moving garbled
    lines floating across my 1920x1080 screen...<br>
    <br>
    The system does not freeze. I can still login using ssh and even,
    knowing the keystrokes by hart, I can even login to X (LXDM).<br>
    <br>
    This is my 10-monitor.conf in /etc/X11/xorg.conf.d/:<br>
    <br>
    <code>Section "Monitor"</code><code><br>
    </code><code>  Identifier "Monitor0"</code><code><br>
    </code><code>#  HorizSync 30 - 50</code><code><br>
    </code><code># VertRefresh 50.0 - 50.0</code><code><br>
    </code><code>EndSection</code><code><br>
    </code><code><br>
    </code><code>Section "Device"</code><code><br>
    </code><code>  Identifier "Device0"</code><code><br>
    </code><code>  Driver "openchrome"</code><code><br>
    </code><code>  Option "ActiveDevice" "DFP"</code><code><br>
    </code><code>#  Option "TVType" "PAL"</code><code><br>
    </code><code>#  Option "TVOutput" "S-Video"</code><code><br>
    </code><code>EndSection</code><code><br>
    </code><code><br>
    </code><code>Section "Screen"</code><code><br>
    </code><code>  Identifier "Screen0"</code><code><br>
    </code><code>  Device "Device0"</code><code><br>
    </code><code>  Monitor "Monitor0"</code><code><br>
    </code><code>  DefaultDepth 32</code><code><br>
    </code><code>  SubSection "Display"</code><code><br>
    </code><code>    Viewport 0 0</code><code><br>
    </code><code>#    Modes "720x576" "720x576Noscale"</code><code><br>
    </code><code>    Modes "1920x1080"</code><code><br>
    </code><code>#    Virtual 3200 1080</code><code><br>
    </code><code>#    Modes "640x480"</code><code><br>
    </code><code>#    Modes "1024x768"</code><code><br>
    </code><code>  EndSubSection</code><code><br>
    </code><code>EndSection</code><br>
    <br>
    So I figured I should do some further checks, as indicated at <a
      class="moz-txt-link-freetext"
      href="http://www.openchrome.org/trac/wiki/Troubleshooting">http://www.openchrome.org/trac/wiki/Troubleshooting</a><br>
    <br>
    Here we go:<br>
    <br>
    <code># dmesg | grep -e agp -e drm</code><code><br>
    </code><code>[    2.473998] Linux agpgart interface v0.103</code><code><br>
    </code><code>[    2.475573] agpgart: Detected VIA CX700 chipset</code><code><br>
    </code><code>[    2.485747] agpgart-via 0000:00:00.0: AGP aperture
      is 128M @ 0xd0000000</code><code><br>
    </code><code>[    2.499803] [drm] Initialized drm 1.1.0 20060810</code><code><br>
    </code><code><br>
    </code><code># grep openchrome /var/log/Xorg.0.log</code><code><br>
    </code><code>[   431.974] (II) LoadModule: "openchrome"</code><code><br>
    </code><code>[   431.977] (II) Loading
      /usr/lib/xorg/modules/drivers/openchrome_drv.so</code><code><br>
    </code><code>[   431.978] (II) Module openchrome: vendor=<a
        class="moz-txt-link-rfc2396E" href="http://openchrome.org/">"http://openchrome.org/"</a></code><code><br>
    </code><code>[   431.985] (!!) For support, please refer to <a
        class="moz-txt-link-freetext" href="http://www.openchrome.org/">http://www.openchrome.org/</a>.</code><code><br>
    </code><code>[   431.985] (!!) (openchrome 0.3.1 release)</code><code><br>
    </code><code><br>
    </code><code># grep rendering /var/log/Xorg.0.log</code><code><br>
    </code><code><br>
    </code><code># grep "(EE)" /var/log/Xorg.0.log</code><code><br>
    </code><code>[   286.707] (EE) CHROME(0): [drm] Failed to open DRM
      device for pci:0000:01:00.0: No such file or directory</code><code><br>
    </code><br>
    Aha! DRM issue?<br>
    <br>
    <code># lsmod | grep drm</code><code><br>
    </code><code>drm                   180042  0 </code><code><br>
    </code><code>i2c_core               16943  2 drm,i2c_viapro</code><code><br>
    </code><code>agpgart                21935  2 drm,via_agp</code><code><br>
    </code><code><br>
    </code><code># modinfo  drm</code><code><br>
    </code><code>filename:      
      /lib/modules/3.6.6-1-ARCH/kernel/drivers/gpu/drm/drm.ko.gz</code><code><br>
    </code><code>license:        GPL and additional rights</code><code><br>
    </code><code>description:    DRM shared core routines</code><code><br>
    </code><code>author:         Gareth Hughes, Leif Delgass, José
      Fonseca, Jon Smirl</code><code><br>
    </code><code>depends:        agpgart,i2c-core</code><code><br>
    </code><code>intree:         Y</code><code><br>
    </code><code>vermagic:       3.6.6-1-ARCH SMP preempt mod_unload
      modversions 686 </code><code><br>
    </code><code>parm:           edid_fixup:Minimum number of valid EDID
      header bytes (0-8, default 6) (int)</code><code><br>
    </code><code>parm:           debug:Enable debug output (int)</code><code><br>
    </code><code>parm:           vblankoffdelay:Delay until vblank irq
      auto-disable [msecs] (int)</code><code><br>
    </code><code>parm:           timestamp_precision_usec:Max. error on
      timestamps [usecs] (int)</code><code><br>
    </code><br>
    Loaded ok...<br>
    <br>
    <code># lspci | grep 01:00.0</code><code><br>
    </code><code>01:00.0 VGA compatible controller: VIA Technologies,
      Inc. CX700/VX700 [S3 UniChrome Pro] (rev 03)</code><code><br>
    </code><br>
    Card is there...<br>
    <br>
    Are there any warnings?<br>
    <br>
    <code># grep "(WW)" /var/log/Xorg.0.log</code><code><br>
    </code><code>[   286.457] (WW) The directory "/usr/share/fonts/TTF/"
      does not exist.</code><code><br>
    </code><code>[   286.458] (WW) The directory "/usr/share/fonts/OTF/"
      does not exist.</code><code><br>
    </code><code>[   286.458] (WW) The directory
      "/usr/share/fonts/Type1/" does not exist.</code><code><br>
    </code><code>[   286.471] (WW) `fonts.dir' not found (or not valid)
      in "/usr/share/fonts/100dpi/".</code><code><br>
    </code><code>[   286.473] (WW) `fonts.dir' not found (or not valid)
      in "/usr/share/fonts/75dpi/".</code><code><br>
    </code><code>[   286.479] (WW) Open ACPI failed
      (/var/run/acpid.socket) (No such file or directory)</code><code><br>
    </code><code>[   286.735] (WW) CHROME(0): Manufacturer plainly
      copied main PCI IDs to subsystem/card IDs.</code><code><br>
    </code><code>[   287.922] (WW) CHROME(0): [XvMC] XvMC is not
      supported on this chipset.</code><code><br>
    </code><br>
    Ok. So: some fonts missing, acpid not operational, a lazy
    manufacturer and XvMC not supported.<br>
    <br>
    Some other things I tested:<br>
    <br>
    Setting <code>VBEModes</code> to "true" sigfaults X...<br>
    <br>
    When I set <code>Option "ActiveDevice" "TV"</code>, X no longer
    checks if there is anything connected to DP-1 and tells me:<br>
    <br>
    <code>...<br>
      [  1386.156] (--) CHROME(0): Detected VIA Technologies VT1625 TV
      Encoder</code><code><br>
    </code><code>[  1386.156] (II) CHROME(0): ViaVT162xInit</code><code><br>
    </code><code>[  1386.157] (II) CHROME(0): Output TV-1 has no monitor
      section</code><code><br>
    </code><code>[  1386.157] (II) CHROME(0): VT162xSave</code><code><br>
    </code><code>[  1386.257] (II) CHROME(0): I2C device "I2C bus
      1:ddc2" registered at address 0xA0.</code><code><br>
    </code><code>[  1386.261] (II) CHROME(0): ViaDisplayDisableCRT</code><code><br>
    </code><code>[  1386.261] (II) CHROME(0): EDID for output VGA-1</code><code><br>
    </code><code>[  1386.261] (II) CHROME(0): VT1625DACSense</code><code><br>
    </code><code>[  1386.265] (--) CHROME(0): VT1625: Nothing connected.</code><code><br>
    </code><code>[  1386.265] (II) CHROME(0): EDID for output TV-1</code><code><br>
    </code><code>[  1386.265] (II) CHROME(0): Output VGA-1 disconnected</code><code><br>
    </code><code>[  1386.265] (II) CHROME(0): Output TV-1 disconnected</code><code><br>
    </code><code>[  1386.265] (WW) CHROME(0): No outputs definitely
      connected, trying again...</code><code><br>
    </code><code>[  1386.266] (II) CHROME(0): Output VGA-1 disconnected</code><code><br>
    </code><code>[  1386.266] (II) CHROME(0): Output TV-1 disconnected</code><code><br>
    </code><code>[  1386.266] (WW) CHROME(0): Unable to find connected
      outputs - setting 1024x768 initial framebuffer</code><code><br>
    </code><code>[  1386.266] (II) CHROME(0): Using default gamma of
      (1.0, 1.0, 1.0) unless otherwise stated.</code><code><br>
    </code><code>[  1386.266] (==) CHROME(0): DPI set to (96, 96)</code><br>
    ...<br>
    <br>
    But both the DVI and the TV are connected!<br>
    <br>
    I am out of ideas now after having tried many things...<br>
    <br>
    Maybe you can spot an issue... <br>
    <br>
    Thanks for any further suggestions.<br>
    Willem<br>
  </body>
</html>