[mythtv-users] Unable to create XvMC Surface. was: mythfrontend, watch TV: slow motion...
Udo van den Heuvel
udovdh at xs4all.nl
Fri Feb 20 14:03:16 UTC 2009
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
> 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:
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 11, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 11, (OK)
drmOpenByBusid: Searching for BusID PCI:1:0:0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 11, (OK)
drmOpenByBusid: drmOpenMinor returns 11
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
> 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 turning opengl OFF everywhere and anywhere you can. That seemed to
> help me when I was running a via motherboard (Set it to use the qt
> painter on the 'Appearance' setup page.)
I have that.
> If this were trunk I would suggest compiling with
> '--disable-xvmc-opengl' and '--disable-opengl-vsync' at least as a test.
Fixes here.
> If you are compiling fixes, as distinct to just installing an rpm, you
> could also try re-compiling the source after changing
>
> mythtv/libs/libmythtv/util-xvmc.h:56: max_num_xvmc_surfaces(16),
> to:
> mythtv/libs/libmythtv/util-xvmc.h:56: max_num_xvmc_surfaces(14),
Interesting...
Thanks for your tips.
I will ookinto the utl-xvmc.h thing.
Kind regards,
Udo
More information about the mythtv-users
mailing list