[mythtv-users] Unable to create XvMC Surface. was: mythfrontend, watch TV: slow motion...

R. G. Newbury newbury at mandamus.org
Fri Feb 20 15:16:35 UTC 2009


Udo van den Heuvel wrote:
> R. G. Newbury wrote:
>> Udo van den Heuvel wrote:
> (...)
>>> So what could be wrong?
>>
>> Do you have an /etc/X11/XvMCConfig file with the name of the xvmc lib 
>> file (libViaXvMC.so...iirc) in it?
> 
> Yes:
> 
> # cat /etc/X11/XvMCConfig
> libchromeXvMCPro.so.1
(Clutching at straws here!)
And that file exists in a place which is listed in /etc/ld.so.conf?

>> Do you have the correct entries in your xorg.conf file for the 
>> openchrome driver? See XvMC wiki page.
> 
> xine works OK with xxmc.
> 
>  Unlike the Intel and nvidia
>> drivers, which load all the modules they need automagically, you need 
>> to specify all of the modules explicitly. An insidious error is to 
>> miss adding the DRI section which allows read-write access to the dri 
>> extension. Not sure if that would cause your particular error but it 
>> does produce a weird set of errors.
> 
> Section "DRI"
>         Group        0
>         Mode         0666
> EndSection
> 
>> Read the output of Xorg.0.log very carefully and check that it reports 
>> all of the modules are loaded properly and that the /dev/dri/card0 
>> entry is created.
> 
> Indeed:
> 
> 
>> I don't know how fixes does playback profiles, but if it is anything 
>> like trunk do you have the profile set to use only one CPU, and have 
>> only bob and/or linear as the deinterlacer for xvmc?
> 
> No interlace stuff.
> Just to specifcy that anyting between 0x0 and 1024x1024 gets XvMC.

Try reducing the max XvMC size to 720x526 (PAL max size and see what 
happens. The Intel driver (for some unknown reason) limits XvMC to PAL 
size. IIRC, the openchrome driver allows a much larger size (maybe as 
much as 2048x2048) but maybe not. Or it may be limited to different 
levels depending on the particular via output chip (VT1623 VT1625 etc).


> 
> Thanks for your tips.
> I will ookinto the utl-xvmc.h thing.
> 
> Kind regards,
> Udo



More information about the mythtv-users mailing list