Re: [mythtv-users] Where's the playback bottleneck?

2006-01-24 Thread Jerry Rubinow
On 1/24/06, Kevin Kuphal <[EMAIL PROTECTED]> wrote:
> Jerry Rubinow wrote:
> > On 1/24/06, Robert Johnston <[EMAIL PROTECTED]> wrote:
> >
> >> On 1/24/06, Jerry Rubinow <[EMAIL PROTECTED]> wrote:
> >>
> >>> If I playback an HD resolution file, I get stuttering, pick a codec, any 
> >>> codec.
> >>>
> >>> If I play it back with mplayer (-vo xv -vc ffmpeg12), also stuttering.
> >>>  If I play it back with mplayer (-vo xvmc -vc ffmpeg12mc), plays back
> >>> pretty much ok.
> >>>
> >>> In all cases, myth and mplayer, CPU is between 20% and 50% (this is on
> >>> a combined front/backend, P4 2.8 Pundit, with onboard VGA disabled,
> >>> using a PCI FX5200).
> >>>
> >>> The fact that I can playback the file in mplayer with xvmc, tells me
> >>> it's not a disk issue, and the fact that mplayer cannot play it back
> >>> smoothly with xv tells me it's probably not a myth issue.
> >>>
> >>> Is it a bandwidth problem in the video card or the bus?  Some BIOS
> >>> setting incorrect?  Does anyone have any suggestions for how to narrow
> >>> it down and tell for sure where the problem might be?
> >>>
> >>> Is anyone using an original (sis-based) Pundit for HD playback 
> >>> successfully?
> >>>
> >> If you can play back using mplayer (and XvMC), it means you can enable
> >> XvMC in Myth and have smooth HDTV playback.
> >> --
> >> Robert "Anaerin" Johnston
> >>
> >
> > Theoretically, yes, but I've tried many different combinations of
> > options (vsync, vblank, audio buffering, etc) and it's just not quite
> > good enough for useability.  Sometimes I get a lockup when starting to
> > play, sometimes it gets a stutter, sometimes it gets out of sync with
> > sound.  Nothing consistent, but perhaps indicative of getting near the
> > same bandwidth limit I'm hitting consistently without xvmc.
> >
> What video card and driver version?
>
> I have trouble with anything other than Nvidia 7676
>
> Kevin

That is, in fact, the very one I'm using (though I've tried a bunch of others).
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Where's the playback bottleneck?

2006-01-24 Thread Jerry Rubinow
On 1/24/06, John P Poet <[EMAIL PROTECTED]> wrote:
> On 1/24/06, Jerry Rubinow <[EMAIL PROTECTED]> wrote:
> > If I playback an HD resolution file, I get stuttering, pick a codec, any 
> > codec.
> >
> > If I play it back with mplayer (-vo xv -vc ffmpeg12), also stuttering.
> >  If I play it back with mplayer (-vo xvmc -vc ffmpeg12mc), plays back
> > pretty much ok.
> >
> > In all cases, myth and mplayer, CPU is between 20% and 50% (this is on
> > a combined front/backend, P4 2.8 Pundit, with onboard VGA disabled,
> > using a PCI FX5200).
> >
> > The fact that I can playback the file in mplayer with xvmc, tells me
> > it's not a disk issue, and the fact that mplayer cannot play it back
> > smoothly with xv tells me it's probably not a myth issue.
> >
> > Is it a bandwidth problem in the video card or the bus?  Some BIOS
> > setting incorrect?  Does anyone have any suggestions for how to narrow
> > it down and tell for sure where the problem might be?
> >
> > Is anyone using an original (sis-based) Pundit for HD playback successfully?
> >
> > Thanks.
> >
> > -Jerry
>
> I have never tried it myself, but I remember a discussion about a year
> ago which came to the conclusion that a PCI based video card did not
> have enough bandwidth for HD.
>
> John

John, your memory serves you correctly, thanks.

Here:

http://www.gossamer-threads.com/lists/mythtv/users/122696?search_string=hd%20pci%20bandwidth;#122696

I found this quote, attributed to the DScaler people:

"PCI can reliably
continuously transfer up to about 600-700 megabits per second *in one
direction only* out of a possible 1056 megabits per second (132
megabytes per second) due to overhead."

1280x720x24bits (or is it 24 bits plus 8 for alpha?  Anyone know
what's being send to the video card?) = ~22Mbits, at 30 frames a
second, that's 660Mbits/sec, which means I'm probably bumping up
against that limit every time something decides to do something on the
bus.  So basically, I'm screwed and stuck with some useless hardware.

Or, more positively, this means I have no choice but to go and buy
more stuff to build the even greater frontend that will come after and
finally answer the question.  Surely the wife will see the logic in
this.

If anyone sees any flaws in my calculations, now's the time to speak
up, before I spend a bunch of money I don't have to.

-Jerry
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Where's the playback bottleneck?

2006-01-24 Thread Jerry Rubinow
On 1/24/06, Steve Adeff <[EMAIL PROTECTED]> wrote:
> On Tuesday 24 January 2006 20:31, Robert Johnston wrote:
> > On 1/24/06, Jerry Rubinow <[EMAIL PROTECTED]> wrote:
> > > If I playback an HD resolution file, I get stuttering, pick a codec, any
> > > codec.
> > >
> > > If I play it back with mplayer (-vo xv -vc ffmpeg12), also stuttering.
> > >  If I play it back with mplayer (-vo xvmc -vc ffmpeg12mc), plays back
> > > pretty much ok.
> > >
> > > In all cases, myth and mplayer, CPU is between 20% and 50% (this is on
> > > a combined front/backend, P4 2.8 Pundit, with onboard VGA disabled,
> > > using a PCI FX5200).
> > >
> > > The fact that I can playback the file in mplayer with xvmc, tells me
> > > it's not a disk issue, and the fact that mplayer cannot play it back
> > > smoothly with xv tells me it's probably not a myth issue.
> > >
> > > Is it a bandwidth problem in the video card or the bus?  Some BIOS
> > > setting incorrect?  Does anyone have any suggestions for how to narrow
> > > it down and tell for sure where the problem might be?
> > >
> > > Is anyone using an original (sis-based) Pundit for HD playback
> > > successfully?
> >
> > If you can play back using mplayer (and XvMC), it means you can enable
> > XvMC in Myth and have smooth HDTV playback.
>
> other than that it sounds like a CPU speed issue.
>
> --
> Steve

I don't understand how it could be a CPU speed issue if usage if below 50%.

-Jerry
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Where's the playback bottleneck?

2006-01-24 Thread Kevin Kuphal
Jerry Rubinow wrote:
> On 1/24/06, Robert Johnston <[EMAIL PROTECTED]> wrote:
>   
>> On 1/24/06, Jerry Rubinow <[EMAIL PROTECTED]> wrote:
>> 
>>> If I playback an HD resolution file, I get stuttering, pick a codec, any 
>>> codec.
>>>
>>> If I play it back with mplayer (-vo xv -vc ffmpeg12), also stuttering.
>>>  If I play it back with mplayer (-vo xvmc -vc ffmpeg12mc), plays back
>>> pretty much ok.
>>>
>>> In all cases, myth and mplayer, CPU is between 20% and 50% (this is on
>>> a combined front/backend, P4 2.8 Pundit, with onboard VGA disabled,
>>> using a PCI FX5200).
>>>
>>> The fact that I can playback the file in mplayer with xvmc, tells me
>>> it's not a disk issue, and the fact that mplayer cannot play it back
>>> smoothly with xv tells me it's probably not a myth issue.
>>>
>>> Is it a bandwidth problem in the video card or the bus?  Some BIOS
>>> setting incorrect?  Does anyone have any suggestions for how to narrow
>>> it down and tell for sure where the problem might be?
>>>
>>> Is anyone using an original (sis-based) Pundit for HD playback successfully?
>>>   
>> If you can play back using mplayer (and XvMC), it means you can enable
>> XvMC in Myth and have smooth HDTV playback.
>> --
>> Robert "Anaerin" Johnston
>> 
>
> Theoretically, yes, but I've tried many different combinations of
> options (vsync, vblank, audio buffering, etc) and it's just not quite
> good enough for useability.  Sometimes I get a lockup when starting to
> play, sometimes it gets a stutter, sometimes it gets out of sync with
> sound.  Nothing consistent, but perhaps indicative of getting near the
> same bandwidth limit I'm hitting consistently without xvmc.
>   
What video card and driver version?

I have trouble with anything other than Nvidia 7676

Kevin
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Where's the playback bottleneck?

2006-01-24 Thread Steve Adeff
On Tuesday 24 January 2006 20:31, Robert Johnston wrote:
> On 1/24/06, Jerry Rubinow <[EMAIL PROTECTED]> wrote:
> > If I playback an HD resolution file, I get stuttering, pick a codec, any
> > codec.
> >
> > If I play it back with mplayer (-vo xv -vc ffmpeg12), also stuttering.
> >  If I play it back with mplayer (-vo xvmc -vc ffmpeg12mc), plays back
> > pretty much ok.
> >
> > In all cases, myth and mplayer, CPU is between 20% and 50% (this is on
> > a combined front/backend, P4 2.8 Pundit, with onboard VGA disabled,
> > using a PCI FX5200).
> >
> > The fact that I can playback the file in mplayer with xvmc, tells me
> > it's not a disk issue, and the fact that mplayer cannot play it back
> > smoothly with xv tells me it's probably not a myth issue.
> >
> > Is it a bandwidth problem in the video card or the bus?  Some BIOS
> > setting incorrect?  Does anyone have any suggestions for how to narrow
> > it down and tell for sure where the problem might be?
> >
> > Is anyone using an original (sis-based) Pundit for HD playback
> > successfully?
>
> If you can play back using mplayer (and XvMC), it means you can enable
> XvMC in Myth and have smooth HDTV playback.

other than that it sounds like a CPU speed issue.

-- 
Steve
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Where's the playback bottleneck?

2006-01-24 Thread Jerry Rubinow
On 1/24/06, Robert Johnston <[EMAIL PROTECTED]> wrote:
> On 1/24/06, Jerry Rubinow <[EMAIL PROTECTED]> wrote:
> > If I playback an HD resolution file, I get stuttering, pick a codec, any 
> > codec.
> >
> > If I play it back with mplayer (-vo xv -vc ffmpeg12), also stuttering.
> >  If I play it back with mplayer (-vo xvmc -vc ffmpeg12mc), plays back
> > pretty much ok.
> >
> > In all cases, myth and mplayer, CPU is between 20% and 50% (this is on
> > a combined front/backend, P4 2.8 Pundit, with onboard VGA disabled,
> > using a PCI FX5200).
> >
> > The fact that I can playback the file in mplayer with xvmc, tells me
> > it's not a disk issue, and the fact that mplayer cannot play it back
> > smoothly with xv tells me it's probably not a myth issue.
> >
> > Is it a bandwidth problem in the video card or the bus?  Some BIOS
> > setting incorrect?  Does anyone have any suggestions for how to narrow
> > it down and tell for sure where the problem might be?
> >
> > Is anyone using an original (sis-based) Pundit for HD playback successfully?
>
> If you can play back using mplayer (and XvMC), it means you can enable
> XvMC in Myth and have smooth HDTV playback.
> --
> Robert "Anaerin" Johnston

Theoretically, yes, but I've tried many different combinations of
options (vsync, vblank, audio buffering, etc) and it's just not quite
good enough for useability.  Sometimes I get a lockup when starting to
play, sometimes it gets a stutter, sometimes it gets out of sync with
sound.  Nothing consistent, but perhaps indicative of getting near the
same bandwidth limit I'm hitting consistently without xvmc.

Am I correct in assuming that less data is going to the video card
when using xvmc?  Anyone know the data ratio of xvmc vs. non-xvmc?

-Jerry
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Where's the playback bottleneck?

2006-01-24 Thread John P Poet
On 1/24/06, Jerry Rubinow <[EMAIL PROTECTED]> wrote:
> If I playback an HD resolution file, I get stuttering, pick a codec, any 
> codec.
>
> If I play it back with mplayer (-vo xv -vc ffmpeg12), also stuttering.
>  If I play it back with mplayer (-vo xvmc -vc ffmpeg12mc), plays back
> pretty much ok.
>
> In all cases, myth and mplayer, CPU is between 20% and 50% (this is on
> a combined front/backend, P4 2.8 Pundit, with onboard VGA disabled,
> using a PCI FX5200).
>
> The fact that I can playback the file in mplayer with xvmc, tells me
> it's not a disk issue, and the fact that mplayer cannot play it back
> smoothly with xv tells me it's probably not a myth issue.
>
> Is it a bandwidth problem in the video card or the bus?  Some BIOS
> setting incorrect?  Does anyone have any suggestions for how to narrow
> it down and tell for sure where the problem might be?
>
> Is anyone using an original (sis-based) Pundit for HD playback successfully?
>
> Thanks.
>
> -Jerry

I have never tried it myself, but I remember a discussion about a year
ago which came to the conclusion that a PCI based video card did not
have enough bandwidth for HD.

John
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] Where's the playback bottleneck?

2006-01-24 Thread Robert Johnston
On 1/24/06, Jerry Rubinow <[EMAIL PROTECTED]> wrote:
> If I playback an HD resolution file, I get stuttering, pick a codec, any 
> codec.
>
> If I play it back with mplayer (-vo xv -vc ffmpeg12), also stuttering.
>  If I play it back with mplayer (-vo xvmc -vc ffmpeg12mc), plays back
> pretty much ok.
>
> In all cases, myth and mplayer, CPU is between 20% and 50% (this is on
> a combined front/backend, P4 2.8 Pundit, with onboard VGA disabled,
> using a PCI FX5200).
>
> The fact that I can playback the file in mplayer with xvmc, tells me
> it's not a disk issue, and the fact that mplayer cannot play it back
> smoothly with xv tells me it's probably not a myth issue.
>
> Is it a bandwidth problem in the video card or the bus?  Some BIOS
> setting incorrect?  Does anyone have any suggestions for how to narrow
> it down and tell for sure where the problem might be?
>
> Is anyone using an original (sis-based) Pundit for HD playback successfully?

If you can play back using mplayer (and XvMC), it means you can enable
XvMC in Myth and have smooth HDTV playback.
--
Robert "Anaerin" Johnston
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users