[mythtv] XvMc-OpenGL and OpenGL-OSD

Steve Wilson mythtv_arizona at yahoo.com
Thu May 1 22:53:53 UTC 2008


--- Daniel and Mary-Beth Sherwood
<jackanddougal at yahoo.co.uk> wrote:

> Steve
> 
> You want
> 
>   rpmbuild --without xvmcw --without xvmcvld --with
> xvmcnvidia
> 
> But you'll also want the patch I submitted to ATRPMS
> (http://bugzilla.atrpms.net/show_bug.cgi?id=1409) to
> get that to work:)
> 
> Daniel
> 
> --- On Thu, 1/5/08, Steve Wilson
> <mythtv_arizona at yahoo.com> wrote:
> 
> > From: Steve Wilson <mythtv_arizona at yahoo.com>
> > Subject: Re: [mythtv] XvMc-OpenGL and OpenGL-OSD
> > To: "Development of mythtv"
> <mythtv-dev at mythtv.org>
> > Date: Thursday, 1 May, 2008, 5:33 PM
> > --- Steve Wilson <mythtv_arizona at yahoo.com> wrote:
> > 
> > > 
> > > --- Steve Wilson <mythtv_arizona at yahoo.com>
> > wrote:
> > > 
> > > > 
> > > > --- Daniel and Mary-Beth Sherwood
> > > > <jackanddougal at yahoo.co.uk> wrote:
> > > > 
> > > > > Steve
> > > > > 
> > > > > The steps I have taken to get XvMC-OpenGL
> > > renderer
> > > > > and OpenGL OSD working (to give a Colour OSD
> > > with
> > > > > XvMC decoding) are as follows...
> > > > > 
> > > > > 1) rebuild MythTV 0.21 (trunk will probably
> > be
> > > the
> > > > > same) with --disable-xvmcw
> > --disable-xvmc-vld
> > > > > --disable-xvmc-pro --enable-xvmc-opengl
> > > > > 
> > > > > 2) set the Playback profile to xvmc-opengl
> > > > renderer
> > > > > and opengl OSD.
> > > > > 
> > > > > 3) Try it.
> > > > > 
> > > > > If you get something displayed but it
> > appears to
> > > > be
> > > > > corrupt (I have seen various comments
> > describing
> > > > > vertical bars, horizontal bars or just a
> > > > subsection
> > > > > of the image being displayed) then apply the
> > > > > attached patch to
> > libs/libmythtv/util-opengl.cpp
> > > > and
> > > > > try again.
> > > > > 
> > > > > Good luck
> > > > > 
> > > > > Daniel
> > > > > 
> > > > > 
> > > > > --- On Thu, 1/5/08, Steve Wilson
> > > > > <mythtv_arizona at yahoo.com> wrote:
> > > > > 
> > > > > > From: Steve Wilson
> > <mythtv_arizona at yahoo.com>
> > > > > > Subject: Re: [mythtv] XvMc-OpenGL and
> > > OpenGL-OSD
> > > > > > To: "Development of mythtv"
> > > > > <mythtv-dev at mythtv.org>
> > > > > > Date: Thursday, 1 May, 2008, 3:01 AM
> > > > > > --- Daniel and Mary-Beth Sherwood
> > > > > > <jackanddougal at yahoo.co.uk>
> > wrote:
> > > > > > 
> > > > > > > David
> > > > > > > 
> > > > > > > Sorry about that, it was just that
> > so many
> > > of
> > > > > the
> > > > > > > variables had identical names etc.
> >  Great
> > > > minds
> > > > > tink
> > > > > > > alike as they say:)
> > > > > > > 
> > > > > > > Cheers
> > > > > > > 
> > > > > > > Daniel
> > > > > > > 
> > > > > > > --- On Wed, 30/4/08, Daniel
> > Kristjansson
> > > > > > > <danielk at cuymedia.net>
> > wrote:
> > > > > > > 
> > > > > > > > From: Daniel Kristjansson
> > > > > > <danielk at cuymedia.net>
> > > > > > > > Subject: Re: [mythtv]
> > XvMc-OpenGL and
> > > > > OpenGL-OSD
> > > > > > > > To: "Development of
> > mythtv"
> > > > > > > <mythtv-dev at mythtv.org>
> > > > > > > > Date: Wednesday, 30 April,
> > 2008, 3:22 PM
> > > > > > > > On Wed, 2008-04-30 at 10:55
> > +0000, Daniel
> > > > and
> > > > > > > Mary-Beth
> > > > > > > > Sherwood wrote:
> > > > > > > > > Mike
> > > > > > > > > 
> > > > > > > > > A quick follow up to my
> > own post.  After
> > > > > > some
> > > > > > > more
> > > > > > > > digging around,
> > > > > > > > > I found the
> > 'original' source for
> > > > > > the
> > > > > > > > XvMC-OpenGL stuff currently
> > > > > > > > > in MythTV
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
(http://www.xfree86.org/~mvojkovi/mpeg2play_accel.tar.gz)
> > > > > > > > <snip>
> > > > > > > > 
> > > > > > > > This is not the
> > 'original' source for the
> > > > > > > > XvMC-OpenGL code in
> > > > > > > > MythTV. I wrote the code for
> > MythTV and
> > > have
> > > > > > never
> > > > > > > heard
> > > > > > > > about
> > > > > > > > this mpeg2play_accel.tar.gz
> > code.
> > > > > > > > 
> > > > > > > > -- Daniel
> > > > > > > > 
> > > > > > > >
> > > > >
> > > > > > > 
> > > > > > Can you post here how you did this?
> > Also, did
> > > it
> > > > > work
> > > > > > on making the OSD color instead of
> > gray?
> > > > > 
> > > > 
> > > > Thanks for the help. I think my command is
> bad.
> > > This
> > > > is what I have.
> > > > 
> > > > #rpmbuild -ba -with disable-xvmcw -with
> > > > disable-xvmc-vld -with disable-xvmc-pro -with
> > > > enable-xvmcw-opengl mythtv-0.21-185.src.rpm
> > > > 
> > > > It complains that I mythtv-0.21-185.src.rpm
> > isn't
> > > a
> > > > spec file. What am I doing wrong?
> > > > 
> > > > 
> > > >      
> > > >
> > >
> >
>
____________________________________________________________________________________
> > > > Be a better friend, newshound, and 
> > > 
> > === message truncated ===
> > 
> > Never mind. I figured it out. I needed the
> > atrpms-rpm-config package.
> > 
> > Thanks
> 
> 
> 
>      
>
___________________________________________________________
> 
> 

I'm still not getting any joy with this. It doesn't
want to pass the with and without statements as this
is what I'm getting from config.

# Video Output Support
x11 support               yes
xrandr support            yes
xv support                yes
XvMC support              yes
XvMC VLD support          yes
XvMC pro support          yes
XvMC OpenGL sup.          no
XvMC libs                 -lXvMCW
OpenGL video              yes
OpenGL vsync              yes
DirectFB                  no
Fribidi formatting        no

Even though I say no.

rpmbuild -ba --without xvmcw --without xvmcvld --with
xvmcnvidia

Also, I'm having a compile problem since it get's to
the plugins and it says that mythconfig.mak can't be
found. It's looking in
.../BUILD/mythtv-0.21/tmp/usr/include/mythtv/ but
mythconfig.mak is in ./BUILD/mythtv-0.21/libs/libmyth

Don't know what I'm doing wrong



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ



More information about the mythtv-dev mailing list