[mythtv] XvMc-OpenGL and OpenGL-OSD
Daniel and Mary-Beth Sherwood
jackanddougal at yahoo.co.uk
Wed Apr 30 10:42:31 UTC 2008
That does sound like an excellent idea. Two thoughts on ways to do it would be...
1) to extend xvmcw to support these extensions. I have found very little information on xvmcw but I believe it currently lives in XOrx so this would probably be a slow process.
2) use dlsym() to resolve the symbols at run time (and check the result to determine if features are available). Obviously this would have to be applied to the whole of the XvMC library so would probably reinstate the util-xvmc.cpp file to put this stuff in. We would need an additional configuration parameter somewhere to specify the XvMC library to load.
Option 2 makes more sense to me an is what was used in the original mpeg2play_accel project.
I think a similar approach could be taken in future with libGL as well as I am interested in using the GlXxxFenceNV() functions which allow 5% improved playback performance with mpeg2play_accel.
On another note, I was going to raise an ATRPMS bug report about the xvmc-opelgl support (but ATRPMS was playing up). I had to patch the spec file to get it working as you have to ensure --disable-xvmcw --disable-xvmc-pro and --disable-xvmc-vld are all used before --enable-xvmc-opengl actually takes effect.
--- On Wed, 30/4/08, Axel Thimm <Axel.Thimm at ATrpms.net> wrote:
> From: Axel Thimm <Axel.Thimm at ATrpms.net>
> Subject: Re: [mythtv] XvMc-OpenGL and OpenGL-OSD
> To: "Development of mythtv" <mythtv-dev at mythtv.org>
> Date: Wednesday, 30 April, 2008, 9:40 AM
> On Tue, Apr 29, 2008 at 02:54:46PM -0400, Michael T. Dean
> > On 04/29/2008 02:44 PM, Daniel and Mary-Beth Sherwood
> > > ***Q1*** Please can someone confirm that XvMCW
> doesn't support XvMC-OpenGL
> > Notice the name, "nVidia XvMC copy to texture
> > > ***Q2*** What is the current state of this
> configuration? Is it stable and working? or is this
> behaviour expected?
> > >
> > Pretty sure it's not really "supported"
> on 0.21 (which is--at least part
> > of the reason--why the packagers don't enable it).
> Could this become a runtime option? The main reason for
> packaging w/o
> it is that it's either XvMCW or XvMC-OpenGL for nvidia
> only, e.g. a
> generic package vs. a hardware specific one.
> Axel.Thimm at
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
More information about the mythtv-dev