[Openchrome-users] issue on VIA EPIA EX10000EG using openchrome

Willem van Asperen willem at van.asperen.org
Wed Nov 14 07:52:10 PST 2012


Hi all,

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.

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...

I have now installed 0.3.1 and still no luck.

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.

The experiments I have done are as follows:

First I needed to get viafb properly running, so I created the following 
options.conf in my /etc/modprobe.d. directory:

|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|

This seems to help the viafb to give me a working console in 1024x768 
resolution on the DVI output. So far so good...

The drm module is inserted into the kernel at boot. For this I included 
the following lines in my mkinitcpio.conf:
|
||...||
||MODULES="nfsv3 via_agp drm"||
||...||
||FILES="/etc/modprobe.d/options.conf"|
...

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.

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...

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).

This is my 10-monitor.conf in /etc/X11/xorg.conf.d/:

|Section "Monitor"||
||  Identifier "Monitor0"||
||#  HorizSync 30 - 50||
||# VertRefresh 50.0 - 50.0||
||EndSection||
||
||Section "Device"||
||  Identifier "Device0"||
||  Driver "openchrome"||
||  Option "ActiveDevice" "DFP"||
||#  Option "TVType" "PAL"||
||#  Option "TVOutput" "S-Video"||
||EndSection||
||
||Section "Screen"||
||  Identifier "Screen0"||
||  Device "Device0"||
||  Monitor "Monitor0"||
||  DefaultDepth 32||
||  SubSection "Display"||
||    Viewport 0 0||
||#    Modes "720x576" "720x576Noscale"||
||    Modes "1920x1080"||
||#    Virtual 3200 1080||
||#    Modes "640x480"||
||#    Modes "1024x768"||
||  EndSubSection||
||EndSection|

So I figured I should do some further checks, as indicated at 
http://www.openchrome.org/trac/wiki/Troubleshooting

Here we go:

|# dmesg | grep -e agp -e drm||
||[    2.473998] Linux agpgart interface v0.103||
||[    2.475573] agpgart: Detected VIA CX700 chipset||
||[    2.485747] agpgart-via 0000:00:00.0: AGP aperture is 128M @ 
0xd0000000||
||[    2.499803] [drm] Initialized drm 1.1.0 20060810||
||
||# grep openchrome /var/log/Xorg.0.log||
||[   431.974] (II) LoadModule: "openchrome"||
||[   431.977] (II) Loading 
/usr/lib/xorg/modules/drivers/openchrome_drv.so||
||[   431.978] (II) Module openchrome: vendor="http://openchrome.org/"||
||[   431.985] (!!) For support, please refer to 
http://www.openchrome.org/.||
||[   431.985] (!!) (openchrome 0.3.1 release)||
||
||# grep rendering /var/log/Xorg.0.log||
||
||# grep "(EE)" /var/log/Xorg.0.log||
||[   286.707] (EE) CHROME(0): [drm] Failed to open DRM device for 
pci:0000:01:00.0: No such file or directory||
|
Aha! DRM issue?

|# lsmod | grep drm||
||drm                   180042  0 ||
||i2c_core               16943  2 drm,i2c_viapro||
||agpgart                21935  2 drm,via_agp||
||
||# modinfo  drm||
||filename: /lib/modules/3.6.6-1-ARCH/kernel/drivers/gpu/drm/drm.ko.gz||
||license:        GPL and additional rights||
||description:    DRM shared core routines||
||author:         Gareth Hughes, Leif Delgass, José Fonseca, Jon Smirl||
||depends:        agpgart,i2c-core||
||intree:         Y||
||vermagic:       3.6.6-1-ARCH SMP preempt mod_unload modversions 686 ||
||parm:           edid_fixup:Minimum number of valid EDID header bytes 
(0-8, default 6) (int)||
||parm:           debug:Enable debug output (int)||
||parm:           vblankoffdelay:Delay until vblank irq auto-disable 
[msecs] (int)||
||parm:           timestamp_precision_usec:Max. error on timestamps 
[usecs] (int)||
|
Loaded ok...

|# lspci | grep 01:00.0||
||01:00.0 VGA compatible controller: VIA Technologies, Inc. CX700/VX700 
[S3 UniChrome Pro] (rev 03)||
|
Card is there...

Are there any warnings?

|# grep "(WW)" /var/log/Xorg.0.log||
||[   286.457] (WW) The directory "/usr/share/fonts/TTF/" does not exist.||
||[   286.458] (WW) The directory "/usr/share/fonts/OTF/" does not exist.||
||[   286.458] (WW) The directory "/usr/share/fonts/Type1/" does not 
exist.||
||[   286.471] (WW) `fonts.dir' not found (or not valid) in 
"/usr/share/fonts/100dpi/".||
||[   286.473] (WW) `fonts.dir' not found (or not valid) in 
"/usr/share/fonts/75dpi/".||
||[   286.479] (WW) Open ACPI failed (/var/run/acpid.socket) (No such 
file or directory)||
||[   286.735] (WW) CHROME(0): Manufacturer plainly copied main PCI IDs 
to subsystem/card IDs.||
||[   287.922] (WW) CHROME(0): [XvMC] XvMC is not supported on this 
chipset.||
|
Ok. So: some fonts missing, acpid not operational, a lazy manufacturer 
and XvMC not supported.

Some other things I tested:

Setting |VBEModes| to "true" sigfaults X...

When I set |Option "ActiveDevice" "TV"|, X no longer checks if there is 
anything connected to DP-1 and tells me:

|...
[  1386.156] (--) CHROME(0): Detected VIA Technologies VT1625 TV Encoder||
||[  1386.156] (II) CHROME(0): ViaVT162xInit||
||[  1386.157] (II) CHROME(0): Output TV-1 has no monitor section||
||[  1386.157] (II) CHROME(0): VT162xSave||
||[  1386.257] (II) CHROME(0): I2C device "I2C bus 1:ddc2" registered at 
address 0xA0.||
||[  1386.261] (II) CHROME(0): ViaDisplayDisableCRT||
||[  1386.261] (II) CHROME(0): EDID for output VGA-1||
||[  1386.261] (II) CHROME(0): VT1625DACSense||
||[  1386.265] (--) CHROME(0): VT1625: Nothing connected.||
||[  1386.265] (II) CHROME(0): EDID for output TV-1||
||[  1386.265] (II) CHROME(0): Output VGA-1 disconnected||
||[  1386.265] (II) CHROME(0): Output TV-1 disconnected||
||[  1386.265] (WW) CHROME(0): No outputs definitely connected, trying 
again...||
||[  1386.266] (II) CHROME(0): Output VGA-1 disconnected||
||[  1386.266] (II) CHROME(0): Output TV-1 disconnected||
||[  1386.266] (WW) CHROME(0): Unable to find connected outputs - 
setting 1024x768 initial framebuffer||
||[  1386.266] (II) CHROME(0): Using default gamma of (1.0, 1.0, 1.0) 
unless otherwise stated.||
||[  1386.266] (==) CHROME(0): DPI set to (96, 96)|
...

But both the DVI and the TV are connected!

I am out of ideas now after having tried many things...

Maybe you can spot an issue...

Thanks for any further suggestions.
Willem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/openchrome-users/attachments/20121114/bcbf818c/attachment.html>


More information about the Openchrome-users mailing list