[mythtv] [PATCH]pvr-350 performance patch

John Harvey john.p.harvey at btinternet.com
Wed Jan 12 08:33:35 EST 2005


No its nothing to do with this. This patch just
affects the performance of the OSD when watching live
tv or a recording.
It sounds like you are still using X to display the
tv. The 350 support needs to be enabled in the
setup/.../playback section and mythtv needs to be able
to succesfully open playback device /dev/video16 for
it to work.

John
 --- Nicolas Mainil <nicolas.mainil at gmail.com> wrote: 
> I have X working on the PVR-350 output with the
> latest ivtvdev driver 
> (v0.8) but I'm really confused with mythtv : I can't
> watch MPEG-2 
> recordings or live tv except sometimes at really
> poor framrate but xvid 
> transcoded files are working, besides that the GUI
> of the frontend is 
> displayed without any problems. I tried two things :
> first compiling 
> mythtv with Xv second without Xv and no changes
> cause I read that the 
> PVR-350 doesn't support Xv. Is this patch intended
> for this problem or 
> am I doing something wrong in an earlier stage of my
> setup.
> 
> My setup :
> mythtv checked out from cvs today
> gentoo-2.6.9-r4
> ivtv-0.3.2a
> bttv-0.9.15
> PVR-350 model 992 (PAL-SECAM)
> xorg-6.8.0-r3
> 
> John Harvey wrote:
> 
> > The attached patch is a slightly cleaned up
> version of  a patch 
> > several people have been using with recent ivtv
> drivers.
> >
> > I have modified the original patch to
> >
> >  
> >
> > 1)       Work with older ivtv code
> >
> > 2)       Have an option in settigs.pro to allow
> the inclusion of an 
> > installed ivtv header file.
> >
> >  
> >
> > I originally had code to check for the existence
> of the installed 
> > header file but there were some objections to this
> so I have made it 
> > an option in settings.pro which by default is off.
> I would prefer it 
> > to be on but I think we probably need to have had
> a couple of releases 
> > of ivtv that install the header file before we
> make that the default.
> >
> >  
> >
> > This patch improves the performance of the OSD
> update code in 2 ways
> >
> >  
> >
> > 1)       ClearOSD is performed by a bitblt
> operation on the card which 
> > is a single api command rather than a complete dma
> of the screen
> >
> > 2)       It calculates the region of the frame
> buffer that needs to be 
> > updated and passes it out so that only that region
> is sent to the card 
> > rather than the whole screen for every update.
> >
> >  
> >
> > Any problems or suggested changes let me know.
> >
> >  
> >
> > John
> >
>
>------------------------------------------------------------------------
> >
> >_______________________________________________
> >mythtv-dev mailing list
> >mythtv-dev at mythtv.org
>
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
> >  
> >
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
>
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>  


More information about the mythtv-dev mailing list