[Openchrome-users] XvMC woes

Clive Eisen clive
Thu Apr 10 08:42:00 PDT 2008


Any help gratefully received.

The problem:
XvMC is loaded and provides acceleration, but fails when using any
resolution higher than 800x600 (in 16 bit colour depth) or 640x480 (32
bits).
(II) CHROME(0): [XvMC] Registering chromeXvMC.
(II) CHROME(0): [XvMC] Initialized XvMC extension.

This is using the latest svn trunk + mplayer patch.
mplayer is launched using:
mplayer -fs -ao null -vo xvmc,xv -vc ffmpeg12mc, /path/to/file.mpg

The ram (64M set in bios) is detected correctly by the system:
* By the kernel / framebuffer driver if one is loaded, ie:
[    0.373173] viafb: framebuffer size = 64 Mb
* By the X server:
(==) CHROME(0): Will try to allocate 32768 kB of AGP memory.
(II) CHROME(0): [drm] Using 56355552 bytes for DRM memory heap.

Tried tweaking:
* Bios settings (aperture, video memory, PnP)
* command line (noapic, acpi, ...)
* all xorg.conf options (XAA vs EXA, dma, dri,...)
* various framebuffer modes (disabled, vesa, viafb, vt8623, uvesafb,..)

Suspicions:
* in X log:
(EE) CHROME(0): [Xv] Port 0: Bandwidth is insufficient. Check bios
memory settings.
(there are no settings in the bios)
* in mplayer stderr:
X11 error: BadAlloc (insufficient resources for operation)?,?% 1 0


There is one case of memory detection failing with the vt8623fb module:

[    0.364823] vt8623fb 0000:01:00.0: memory size detection failed (1 
40), suppose 16 MB
[    0.473315] Console: switching to colour frame buffer device 80x30
[    0.477132] fb0: VIA VT8623 on 0000:01:00.0, 16 MB RAM

-- 
Clive
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: BadAlloc
Url: http://wiki.openchrome.org/pipermail/openchrome-users/attachments/20080410/6fbe978f/BadAlloc-0001.ksh
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dmesg-grep
Url: http://wiki.openchrome.org/pipermail/openchrome-users/attachments/20080410/6fbe978f/dmesg-grep-0001.ksh
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hwinfo--vbe
Url: http://wiki.openchrome.org/pipermail/openchrome-users/attachments/20080410/6fbe978f/hwinfo--vbe-0001.ksh
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lspci
Url: http://wiki.openchrome.org/pipermail/openchrome-users/attachments/20080410/6fbe978f/lspci-0001.ksh
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lspci-v
Url: http://wiki.openchrome.org/pipermail/openchrome-users/attachments/20080410/6fbe978f/lspci-v-0001.ksh
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vbetest
Url: http://wiki.openchrome.org/pipermail/openchrome-users/attachments/20080410/6fbe978f/vbetest-0001.ksh
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: xorg.conf
Url: http://wiki.openchrome.org/pipermail/openchrome-users/attachments/20080410/6fbe978f/xorg-0001.ksh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.0.log.bz2
Type: application/x-bzip
Size: 10286 bytes
Desc: not available
Url : http://wiki.openchrome.org/pipermail/openchrome-users/attachments/20080410/6fbe978f/Xorg.0.log-0001.bin



More information about the Openchrome-users mailing list