Hi to all,
I've bought a VIA EPIA EN 12000EG 1.2GHz Fanless C7 Motherboard, but  XvMC 
doesn't work.

I've compiled the kernel with AGP Support, VIA chipset support, Direct 
Rendering Manager and Via unichrome video cards enabled as modules.

<M> /dev/agpgart (AGP Support)
        <M>   VIA chipset support
        <M> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
        <M>   Via unichrome video cards

Then I've installed the openchrome driver with --prefix=/usr to override the 
old driver and libxvmc.
When I start X,even if the card seems to be correctly detected, and the DRI is 
enabled, still XvCM dowsn't work.

the modules loaded are:

Module                  Size  Used by
via                    34880  2
drm                    58900  3 via
via_agp                 7424  1
agpgart                22704  2 drm,via_agp

in /var/log/Xorg.0.log I found the following...

(II) VIA(0): [drm] Detected AGP vendor 0x1106, device 0x04314
(II) VIA(0): [drm] Found AGP v3 compatible device. Trying AGP 8X mode.
(II) VIA(0): [drm] Trying to enable AGP fast writes.
(II) VIA(0): [drm] drmAgpEnabled succeeded
(II) VIA(0): [drm] agpAddr = 0xe8000000
(II) VIA(0): [drm] agpBase = (nil)
(II) VIA(0): [drm] agpAddr = 0xe8000000
(II) VIA(0): [drm] agpSize = 0x02000000
(II) VIA(0): [drm] agp physical addr = 0x00000000
(II) VIA(0): [dri] use agp.
(II) VIA(0): [drm] Using 45860832 bytes for DRM memory heap.
(II) VIA(0): [dri] frame buffer initialized.
(II) VIA(0): X context handle = 0x1
(II) VIA(0): [drm] installed DRM signal handler
(II) VIA(0): [DRI] installation complete
(II) VIA(0): [dri] kernel data initialized.
(II) VIA(0): [drm] Irq handler installed, using IRQ 21.
(II) VIA(0): direct rendering enabled
(II) VIA(0): [Xv] Using PCI DMA for Xv image transfer.
Fulfilled via DRI at 20976640
(II) VIA(0): Benchmarking video copy. Less is better.
(--) VIA(0): Timed   libc YUV420 copy... 2208298. Throughput: 321.6 MiB/s.
(--) VIA(0): Timed kernel YUV420 copy... 2150810. Throughput: 330.2 MiB/s.
(--) VIA(0): Timed    SSE YUV420 copy... 1256449. Throughput: 565.2 MiB/s.
(--) VIA(0): Timed    MMX YUV420 copy... 1887934. Throughput: 376.1 MiB/s.
(--) VIA(0): Ditch 3DNow! YUV420 copy... Not supported by CPU.
(--) VIA(0): Timed   MMX2 YUV420 copy... 1356254. Throughput: 523.6 MiB/s.
Freed 20976640 (pool 2)
(--) VIA(0): Using SSE YUV42X copy for video.
(EE) VIA(0): [XvMC] XvMCScreenInit failed. Disabling XvMC.
(II) VIA(0): - Done
(==) RandR enabled

The output of the lscpi -vvv -n is:

01:00.0 0300: 1106:3344 (rev 01)
        Subsystem: 1106:3344
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 (500ns min)
        Interrupt: pin A routed to IRQ 21
        Region 0: Memory at f4000000 (32-bit, prefetchable) [size=64M]
        Region 1: Memory at fb000000 (32-bit, non-prefetchable) [size=16M]
        [virtual] Expansion ROM at fc000000 [disabled] [size=64K]
        Capabilities: [60] Power Management version 2
                Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA 
PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [70] AGP version 3.0
                Status: RQ=256 Iso- ArqSz=0 Cal=7 SBA+ ITACoh- GART64- HTrans- 
64bit- FW- AGP3+ Rate=x4,x8
                Command: RQ=8 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x8


The problem comes at resolutions of 1280x1024, 1024x768 and 800x600.
Kernel version is 2.6.19-gentoo-r5.

Is there anyone that can tell me where I'm wrong?
Or maybe this hw isn't supported yet?

Many thanks in advance
Giampiero Gabbiani

Attachment: pgpqik3VSsh40.pgp
Description: PGP signature

Reply via email to