1 |
Hi to all, |
2 |
I've bought a VIA EPIA EN 12000EG 1.2GHz Fanless C7 Motherboard, but XvMC doesn't work. |
3 |
|
4 |
I've compiled the kernel with AGP Support, VIA chipset support, Direct Rendering Manager and Via unichrome video cards enabled as modules. |
5 |
|
6 |
<M> /dev/agpgart (AGP Support) |
7 |
<M> VIA chipset support |
8 |
<M> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) |
9 |
<M> Via unichrome video cards |
10 |
|
11 |
Then I've installed the openchrome driver with --prefix=/usr to override the old driver and libxvmc. |
12 |
When I start X,even if the card seems to be correctly detected, and the DRI is enabled, still XvCM dowsn't work. |
13 |
|
14 |
the modules loaded are: |
15 |
|
16 |
Module Size Used by |
17 |
via 34880 2 |
18 |
drm 58900 3 via |
19 |
via_agp 7424 1 |
20 |
agpgart 22704 2 drm,via_agp |
21 |
|
22 |
in /var/log/Xorg.0.log I found the following... |
23 |
|
24 |
(II) VIA(0): [drm] Detected AGP vendor 0x1106, device 0x04314 |
25 |
(II) VIA(0): [drm] Found AGP v3 compatible device. Trying AGP 8X mode. |
26 |
(II) VIA(0): [drm] Trying to enable AGP fast writes. |
27 |
(II) VIA(0): [drm] drmAgpEnabled succeeded |
28 |
(II) VIA(0): [drm] agpAddr = 0xe8000000 |
29 |
(II) VIA(0): [drm] agpBase = (nil) |
30 |
(II) VIA(0): [drm] agpAddr = 0xe8000000 |
31 |
(II) VIA(0): [drm] agpSize = 0x02000000 |
32 |
(II) VIA(0): [drm] agp physical addr = 0x00000000 |
33 |
(II) VIA(0): [dri] use agp. |
34 |
(II) VIA(0): [drm] Using 45860832 bytes for DRM memory heap. |
35 |
(II) VIA(0): [dri] frame buffer initialized. |
36 |
(II) VIA(0): X context handle = 0x1 |
37 |
(II) VIA(0): [drm] installed DRM signal handler |
38 |
(II) VIA(0): [DRI] installation complete |
39 |
(II) VIA(0): [dri] kernel data initialized. |
40 |
(II) VIA(0): [drm] Irq handler installed, using IRQ 21. |
41 |
(II) VIA(0): direct rendering enabled |
42 |
(II) VIA(0): [Xv] Using PCI DMA for Xv image transfer. |
43 |
Fulfilled via DRI at 20976640 |
44 |
(II) VIA(0): Benchmarking video copy. Less is better. |
45 |
(--) VIA(0): Timed libc YUV420 copy... 2208298. Throughput: 321.6 MiB/s. |
46 |
(--) VIA(0): Timed kernel YUV420 copy... 2150810. Throughput: 330.2 MiB/s. |
47 |
(--) VIA(0): Timed SSE YUV420 copy... 1256449. Throughput: 565.2 MiB/s. |
48 |
(--) VIA(0): Timed MMX YUV420 copy... 1887934. Throughput: 376.1 MiB/s. |
49 |
(--) VIA(0): Ditch 3DNow! YUV420 copy... Not supported by CPU. |
50 |
(--) VIA(0): Timed MMX2 YUV420 copy... 1356254. Throughput: 523.6 MiB/s. |
51 |
Freed 20976640 (pool 2) |
52 |
(--) VIA(0): Using SSE YUV42X copy for video. |
53 |
(EE) VIA(0): [XvMC] XvMCScreenInit failed. Disabling XvMC. |
54 |
(II) VIA(0): - Done |
55 |
(==) RandR enabled |
56 |
|
57 |
The output of the lscpi -vvv -n is: |
58 |
|
59 |
01:00.0 0300: 1106:3344 (rev 01) |
60 |
Subsystem: 1106:3344 |
61 |
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- |
62 |
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- |
63 |
Latency: 32 (500ns min) |
64 |
Interrupt: pin A routed to IRQ 21 |
65 |
Region 0: Memory at f4000000 (32-bit, prefetchable) [size=64M] |
66 |
Region 1: Memory at fb000000 (32-bit, non-prefetchable) [size=16M] |
67 |
[virtual] Expansion ROM at fc000000 [disabled] [size=64K] |
68 |
Capabilities: [60] Power Management version 2 |
69 |
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) |
70 |
Status: D0 PME-Enable- DSel=0 DScale=0 PME- |
71 |
Capabilities: [70] AGP version 3.0 |
72 |
Status: RQ=256 Iso- ArqSz=0 Cal=7 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3+ Rate=x4,x8 |
73 |
Command: RQ=8 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x8 |
74 |
|
75 |
|
76 |
The problem comes at resolutions of 1280x1024, 1024x768 and 800x600. |
77 |
Kernel version is 2.6.19-gentoo-r5. |
78 |
|
79 |
Is there anyone that can tell me where I'm wrong? |
80 |
Or maybe this hw isn't supported yet? |
81 |
|
82 |
Many thanks in advance |
83 |
Giampiero Gabbiani |