[mythtv] [mythtv-commits] Ticket #2676: Video skips badly w/ XvMC when OSD is up

Alan Calvert cal at graggrag.com
Fri Apr 20 04:48:20 UTC 2007


Johan wrote:
> Daniel wrote:
>>  The XvMC with nVidia cards is buffer starved when using XvMC OSD. There
>>  isn't much we can do, except use another OSD rendering method. We have the
>>  chromakey OSD for 4xxx & 5xxx cards and for later cards you can use the
>>  XvMC OpenGL OSD renderer with SVN head if you compile with "--xvmc-
>>  lib=XvMCNVIDIA --enable-xvmc-opengl".
> 
> On current SVN I try to compile with those options and I get:
> 
> ../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to
> `XvMCLoadQMatrix'
> ../../libs/libavcodec/libmythavcodec-0.20.so: undefined reference to
> `XvMCBeginSurface'
> ../../libs/libmythtv/libmythtv-0.20.so: undefined reference to
> `XvMCPutSlice2'
> 
> I have the NVidia 9755 driver installed, and don't have a problem with
> normal XvMC compile.
> 
> A distclean on my source tree yields the same result - what am I missing?
> 
> Johan.

I hit the same issue yesterday. As far as I can tell, the three functions in
question simply don't exist in Nvidia 9755. XvMCLoadQMatrix and XvMCBeginSurface
appear to used in libs/libavcodec/xvmcvldvideo.c to simply check a status and
log the result. XvMCPutSlice2 in libs/libmythtv/videoout_xv.cpp also appears to
be just a status check. Since the functions didn't appear to exist, I simply 
commented out the status checks, and the build completed ok. Fixing it "properly"
might involve a little more though.

cheers, Cal
   


More information about the mythtv-dev mailing list