Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Dev

VDPAU stuttering in trunk

 

 

MythTV dev RSS feed   Index | Next | Previous | View Threaded


stichnot at gmail

Jan 26, 2010, 7:11 AM

Post #1 of 16 (2739 views)
Permalink
VDPAU stuttering in trunk

I'm seeing a problem in recent trunk (r23306) with OTA recordings from
NBC using the VDPAU Normal profile on an ION frontend. There is
constant stuttering with continual log output like this:

2010-01-26 06:59:43.956 NVP(2): Video is 5.59171 frames ahead of audio,
doubling video frame interval to slow down.
2010-01-26 06:59:44.006 NVP(2): Video is 5.3776 frames ahead of audio,
doubling video frame interval to slow down.
2010-01-26 06:59:44.056 NVP(2): Video is 5.08964 frames ahead of audio,
doubling video frame interval to slow down.

The stuttering goes away if I use the Slim profile or if I lock the
video scan to Progressive. My previous version where playback worked
properly was r23233. This stuttering is present in all the Heroes
episodes shown in January (but not the episodes from November), which
I still have around.

Is anyone else seeing this?

Jim
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


stuart at tase

Jan 26, 2010, 2:08 PM

Post #2 of 16 (2684 views)
Permalink
Re: VDPAU stuttering in trunk [In reply to]

On Tuesday 26 Jan 2010 15:11:08 Jim Stichnoth wrote:
> I'm seeing a problem in recent trunk (r23306) with OTA recordings from
> NBC using the VDPAU Normal profile on an ION frontend. There is
> constant stuttering with continual log output like this:
<snip>
> Is anyone else seeing this?

Yes, I am and Mark is aware.
--
Stuart Morgan
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


stichnot at gmail

Jan 26, 2010, 2:19 PM

Post #3 of 16 (2687 views)
Permalink
Re: VDPAU stuttering in trunk [In reply to]

On Tue, Jan 26, 2010 at 2:08 PM, Stuart Morgan <stuart [at] tase> wrote:
> On Tuesday 26 Jan 2010 15:11:08 Jim Stichnoth wrote:
>> I'm seeing a problem in recent trunk (r23306) with OTA recordings from
>> NBC using the VDPAU Normal profile on an ION frontend.  There is
>> constant stuttering with continual log output like this:
> <snip>
>> Is anyone else seeing this?
>
> Yes, I am and Mark is aware.

Great, thanks. FWIW, I found playback to be OK in r23235 but
problematic in r23236 and beyond, and the patch in
http://svn.mythtv.org/trac/attachment/ticket/7067/mythtv.patch appears
to correct it in a more recent trunk, r23311. ("Appears" == no
unusual log messages during NetworkControl playback, but I still need
to verify it visually.)

Jim
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


mark.kendall at gmail

Feb 4, 2010, 6:11 AM

Post #4 of 16 (2489 views)
Permalink
Re: VDPAU stuttering in trunk [In reply to]

On 27 January 2010 06:19, Jim Stichnoth <stichnot [at] gmail> wrote:

Jim

Do you still have performance issues with the latest trunk version?
Stuart has confirmed on irc that his playback is now fine and you are
the only other person I know of who has reported ongoing performance
issues (yes - others are having issues but mostly around
initialisation I think).

Thanks and regards

Mark
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


stichnot at gmail

Feb 4, 2010, 7:03 AM

Post #5 of 16 (2478 views)
Permalink
Re: VDPAU stuttering in trunk [In reply to]

On Thu, Feb 4, 2010 at 6:11 AM, Mark Kendall <mark.kendall [at] gmail> wrote:
> On 27 January 2010 06:19, Jim Stichnoth <stichnot [at] gmail> wrote:
>
> Jim
>
> Do you still have performance issues with the latest trunk version?
> Stuart has confirmed on irc that his playback is now fine and you are
> the only other person I know of who has reported ongoing performance
> issues (yes - others are having issues but mostly around
> initialisation I think).

Yes. I just updated to r23468, and I still see the same problems with
the latest episode of Heroes (but not all NBC programs). It happens
immediately, so I could upload a sample somewhere. Let me know how I
can help.

Jim
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


stichnot at gmail

Feb 4, 2010, 9:48 AM

Post #6 of 16 (2477 views)
Permalink
Re: VDPAU stuttering in trunk [In reply to]

On Thu, Feb 4, 2010 at 7:03 AM, Jim Stichnoth <stichnot [at] gmail> wrote:
> On Thu, Feb 4, 2010 at 6:11 AM, Mark Kendall <mark.kendall [at] gmail> wrote:
>> On 27 January 2010 06:19, Jim Stichnoth <stichnot [at] gmail> wrote:
>>
>> Jim
>>
>> Do you still have performance issues with the latest trunk version?
>> Stuart has confirmed on irc that his playback is now fine and you are
>> the only other person I know of who has reported ongoing performance
>> issues (yes - others are having issues but mostly around
>> initialisation I think).
>
> Yes.  I just updated to r23468, and I still see the same problems with
> the latest episode of Heroes (but not all NBC programs).  It happens
> immediately, so I could upload a sample somewhere.  Let me know how I
> can help.

Attached is the log output of "mythavtest -v
important,general,playback,extra /mnt/heroes_test.mpg". I would
upload the 10MB heroes_test.mpg file if pastebin.ca weren't down.

Jim
Attachments: heroes_test.log (23.8 KB)


stichnot at gmail

Feb 4, 2010, 7:05 PM

Post #7 of 16 (2455 views)
Permalink
Re: VDPAU stuttering in trunk [In reply to]

On Thu, Feb 4, 2010 at 9:48 AM, Jim Stichnoth <stichnot [at] gmail> wrote:
> On Thu, Feb 4, 2010 at 7:03 AM, Jim Stichnoth <stichnot [at] gmail> wrote:
>> On Thu, Feb 4, 2010 at 6:11 AM, Mark Kendall <mark.kendall [at] gmail> wrote:
>>> On 27 January 2010 06:19, Jim Stichnoth <stichnot [at] gmail> wrote:
>>>
>>> Jim
>>>
>>> Do you still have performance issues with the latest trunk version?
>>> Stuart has confirmed on irc that his playback is now fine and you are
>>> the only other person I know of who has reported ongoing performance
>>> issues (yes - others are having issues but mostly around
>>> initialisation I think).
>>
>> Yes.  I just updated to r23468, and I still see the same problems with
>> the latest episode of Heroes (but not all NBC programs).  It happens
>> immediately, so I could upload a sample somewhere.  Let me know how I
>> can help.
>
> Attached is the log output of "mythavtest -v
> important,general,playback,extra /mnt/heroes_test.mpg".  I would
> upload the 10MB heroes_test.mpg file if pastebin.ca weren't down.

One last response to my own message. The mythtv.2.patch in #7067
largely fixes the stuttering. If I look closely, I can sometimes see
some unevenness in pans, but it's worlds better than the unpatched
version. Maybe this is the same unevenness that Daniel observed
today.

Jim
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


mark.kendall at gmail

Feb 4, 2010, 7:34 PM

Post #8 of 16 (2453 views)
Permalink
Re: VDPAU stuttering in trunk [In reply to]

On 5 February 2010 11:05, Jim Stichnoth <stichnot [at] gmail> wrote:
> One last response to my own message.  The mythtv.2.patch in #7067
> largely fixes the stuttering.  If I look closely, I can sometimes see
> some unevenness in pans, but it's worlds better than the unpatched
> version.  Maybe this is the same unevenness that Daniel observed
> today.

Jim

I think I'm going to need a sample if you can upload it somewhere.
There is nothing in your log that gives me an indication of where the
problem is.

thanks

Mark
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


stichnot at gmail

Feb 4, 2010, 8:03 PM

Post #9 of 16 (2455 views)
Permalink
Re: VDPAU stuttering in trunk [In reply to]

On Thu, Feb 4, 2010 at 7:34 PM, Mark Kendall <mark.kendall [at] gmail> wrote:
> I think I'm going to need a sample if you can upload it somewhere.
> There is nothing in your log that gives me an indication of where the
> problem is.

Wow, Google Docs now allows arbitrary documents. Please try this:

https://docs.google.com/leaf?id=0BxETmfuHvGPQMjRiZTZhYTItMDgwOC00MTYzLTk0YTItNWJhYWYxYWZiOTll&hl=en

and let me know if it doesn't work, or if you want a much larger sample.

Jim
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


taylor.ralph at gmail

Feb 10, 2010, 1:45 PM

Post #10 of 16 (2255 views)
Permalink
Re: VDPAU stuttering in trunk [In reply to]

On Thu, Feb 4, 2010 at 11:03 PM, Jim Stichnoth <stichnot [at] gmail> wrote:
> On Thu, Feb 4, 2010 at 7:34 PM, Mark Kendall <mark.kendall [at] gmail> wrote:
>> I think I'm going to need a sample if you can upload it somewhere.
>> There is nothing in your log that gives me an indication of where the
>> problem is.
>
> Wow, Google Docs now allows arbitrary documents.  Please try this:
>
> https://docs.google.com/leaf?id=0BxETmfuHvGPQMjRiZTZhYTItMDgwOC00MTYzLTk0YTItNWJhYWYxYWZiOTll&hl=en
>
> and let me know if it doesn't work, or if you want a much larger sample.
>
> Jim
>

I was able to reproduce the problem with my setup here with the
following config:

* Nvidia Quadro NVS 135M (G86)
* 256 MB GPU memory
* Nvidia 195.30 driver
* Temporal 2X (w/ skipchroma)

Before the new VDPAU rendering code was committed around changeset
[23235] the video plays flawlessly and afterwards the video fails to
keep up with the audio and results in massive frame drops like you are
experiencing.

Not sure if it matters but how much GPU memory do you have allocated
on your ION?

--
Taylor
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


stichnot at gmail

Feb 10, 2010, 2:42 PM

Post #11 of 16 (2251 views)
Permalink
Re: VDPAU stuttering in trunk [In reply to]

On Wed, Feb 10, 2010 at 1:45 PM, Taylor Ralph <taylor.ralph [at] gmail> wrote:
> On Thu, Feb 4, 2010 at 11:03 PM, Jim Stichnoth <stichnot [at] gmail> wrote:
>> Wow, Google Docs now allows arbitrary documents.  Please try this:
>>
>> https://docs.google.com/leaf?id=0BxETmfuHvGPQMjRiZTZhYTItMDgwOC00MTYzLTk0YTItNWJhYWYxYWZiOTll&hl=en
>>
>> and let me know if it doesn't work, or if you want a much larger sample.
>>
>> Jim
>>
>
> I was able to reproduce the problem with my setup here with the
> following config:
>
>  * Nvidia Quadro NVS 135M (G86)
>  * 256 MB GPU memory
>  * Nvidia 195.30 driver
>  * Temporal 2X (w/ skipchroma)
>
> Before the new VDPAU rendering code was committed around changeset
> [23235] the video plays flawlessly and afterwards the video fails to
> keep up with the audio and results in massive frame drops like you are
> experiencing.
>
> Not sure if it matters but how much GPU memory do you have allocated
> on your ION?

I'm not sure how to check remotely, but "top" reports 1812716k total
memory out of 2GB physically installed, so I'm guessing 256MB. I will
see if I can raise it.

Jim
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


taylor.ralph at gmail

Feb 10, 2010, 2:57 PM

Post #12 of 16 (2253 views)
Permalink
Re: VDPAU stuttering in trunk [In reply to]

On Wed, Feb 10, 2010 at 5:42 PM, Jim Stichnoth <stichnot [at] gmail> wrote:
> On Wed, Feb 10, 2010 at 1:45 PM, Taylor Ralph <taylor.ralph [at] gmail> wrote:
>> On Thu, Feb 4, 2010 at 11:03 PM, Jim Stichnoth <stichnot [at] gmail> wrote:
>>> Wow, Google Docs now allows arbitrary documents.  Please try this:
>>>
>>> https://docs.google.com/leaf?id=0BxETmfuHvGPQMjRiZTZhYTItMDgwOC00MTYzLTk0YTItNWJhYWYxYWZiOTll&hl=en
>>>
>>> and let me know if it doesn't work, or if you want a much larger sample.
>>>
>>> Jim
>>>
>>
>> I was able to reproduce the problem with my setup here with the
>> following config:
>>
>>  * Nvidia Quadro NVS 135M (G86)
>>  * 256 MB GPU memory
>>  * Nvidia 195.30 driver
>>  * Temporal 2X (w/ skipchroma)
>>
>> Before the new VDPAU rendering code was committed around changeset
>> [23235] the video plays flawlessly and afterwards the video fails to
>> keep up with the audio and results in massive frame drops like you are
>> experiencing.
>>
>> Not sure if it matters but how much GPU memory do you have allocated
>> on your ION?
>
> I'm not sure how to check remotely, but "top" reports 1812716k total
> memory out of 2GB physically installed, so I'm guessing 256MB.  I will
> see if I can raise it.
>
> Jim

Yes you probably have it set to 256 MB or so. I would recommend 512 MB
anyways but that isn't the problem. It appears to be related to mixed
progressive/interlaced content so for the time being I'd just switch
your deinterlacer to a simpler one like Bob 2X until it's fixed.
Thanks for the sample.

--
Taylor
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


ayoung at teleport

Feb 10, 2010, 4:09 PM

Post #13 of 16 (2250 views)
Permalink
Re: VDPAU stuttering in trunk [In reply to]

Jim Stichnoth wrote:
>
> I'm not sure how to check remotely, but "top" reports 1812716k total
> memory out of 2GB physically installed, so I'm guessing 256MB. I will
> see if I can raise it.
>

Grep the X server log for "Memory" or run

nvidia-settings -c localhost:0.0 -q VideoRam

Alan
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


stichnot at gmail

Feb 10, 2010, 4:16 PM

Post #14 of 16 (2253 views)
Permalink
Re: VDPAU stuttering in trunk [In reply to]

On Wed, Feb 10, 2010 at 4:09 PM, Alan Young <ayoung [at] teleport> wrote:
> Jim Stichnoth wrote:
>>
>> I'm not sure how to check remotely, but "top" reports 1812716k total
>> memory out of 2GB physically installed, so I'm guessing 256MB.  I will
>> see if I can raise it.
>>
>
> Grep the X server log for "Memory" or run
>
> nvidia-settings -c localhost:0.0 -q VideoRam

Nice, thanks.

Attribute 'VideoRam' (mythfe1:0.0): 524288.
'VideoRam' is an integer attribute.
'VideoRam' is a read-only attribute.
'VideoRam' can use the following target types: X Screen, GPU.

So I guess I should have ample video memory.

Jim
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


mark.kendall at gmail

Feb 10, 2010, 8:11 PM

Post #15 of 16 (2240 views)
Permalink
Re: VDPAU stuttering in trunk [In reply to]

On 11 February 2010 08:16, Jim Stichnoth <stichnot [at] gmail> wrote:
>
> So I guess I should have ample video memory.

Jim

This should now be fixed in trunk (http://cvs.mythtv.org/trac/changeset/23531).

I'd be grateful if you could confirm it's working again.

thanks and regards

Mark
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


stichnot at gmail

Feb 10, 2010, 9:51 PM

Post #16 of 16 (2225 views)
Permalink
Re: VDPAU stuttering in trunk [In reply to]

On Wed, Feb 10, 2010 at 8:11 PM, Mark Kendall <mark.kendall [at] gmail> wrote:
> Jim
>
> This should now be fixed in trunk (http://cvs.mythtv.org/trac/changeset/23531).
>
> I'd be grateful if you could confirm it's working again.
>
> thanks and regards

Beautiful, thanks!

Jim
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

MythTV dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.