[Openchrome-users] Xvmc fails due to memory allocation error: [drm:via_mem_alloc] *ERROR*

R. G. Newbury newbury
Thu May 3 13:28:29 PDT 2007


I am presently running a old version of openchrome on my SP13000 based 
mythbox. About a week ago, I updated from myth SVN 12618 to 13313 with a 
scanning patch (equivalent to SVN 13316).
This apparently broke drm and xvmc in a weird way.

I no longer get the grey OSD and info panels indicative of a working 
xvmc, and shows recorded since then are shown essentially in black and 
white, with a solid bright green line across the bottom of the screen.
I updated to SVN 13339 this morning, and checked
a) that the myth build had all of the xvmc configurations set,
b) that the XvmcUsesTextures false setting was included in xorg,conf,
c) that the UsesChromaKeyOSD true (1) setting was in mythconverg.settings,
d) that libviaXvMCPro.so was in the XvMCConfig file. amd
e) no de-interlacing (playback by vga to LCD).

No joy.
The Xorg.0.log includes these lines:

(II) VIA(0): [XvMC] Registering viaXvMCPro.
(II) VIA(0): [XvMC] Initialized XvMC extension.
(WW) VIA(0): Option "XvmcUsesTextures" is not used

(Only oddity I can see is that xorg initializes the /dev/dri/card0 
folder twice, once just before and once just after the lines given 
above. In both cases, it reports a proper initialization...

But xvmc does not work..
This is what I get at the end of dmesg:

[drm] Initialized drm 1.0.1 20051102
ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 10 (level, 
low) -> IRQ 10
[drm] Initialized via 2.10.0 20060529 on minor 0
agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
agpgart: Xorg tried to set rate=x12. Setting to AGP3 x8 mode.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
[drm:via_mem_alloc] *ERROR* Attempt to allocate from uninitialized 
memory manager.

Evne more interesting, is that the one remaining program which was 
recorded PRIOR to the myth change, plays properly.....Huh???
This would seem to imply a recording error. But I have programs recorded 
from both tuners of a PVR500 and both tuners of an HDHomeRun. Same black 
and white reproduction...AND, the preview is in full color...

Something's happening here. What it is ain't exactly clear.....


I did a google on the error message and found a thread from last June 
which essentially reported that this was fixed in openchrome SVN 189 and 
or a drm update.

I will be updating tonight to SVN330 or whatever and rebuilding drm, but 
I was wondering....is there any other testing/checking I can do to try 
to narrow down what is happening/has happened?
The fact that an old recording plays properly while new ones do not is 
weird, IF the error is purely a playback problem.

And I do not think that it is a hardware problem as the HDHomeRun was 
serving part of the baseball game, to my laptop last night without 
problem. I still have that LiveTV recording on the laptop (which uses 
an ATI Radeon chipset)...

Any idea on what the result will be when I attempt to replay these 
programs with the updated openchrome?

Geoff

-- 
              R. Geoffrey Newbury			

        Helping with the HTTP issue
<a href="http://www.w3.org/Protocols/">HTTP</a>




More information about the Openchrome-users mailing list