Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-23-09, 04:11 PM   #1
resoli
Registered User
 
Join Date: Apr 2009
Posts: 33
Default Bug report: jerky playback of 1080i with vdpau and 8400gs

I'm using 180.51 under ubuntu 8.10 and mythtv (from jyavenard repository); i'm experiencing blocking and severe artifacts; playing with sw decoder ("High quality" profile under mythtv) is ok.

I'm attaching the nvidia-bug-report output; a sample of jerky video is at http://www.resolutions.it/jerky.ts .

bye,
Rob
Attached Files
File Type: gz nvidia-bug-report.log.gz (35.8 KB, 89 views)
resoli is offline   Reply With Quote
Old 04-23-09, 05:27 PM   #2
cehoyos
FFmpeg developer
 
Join Date: Jan 2009
Location: Vienna, Austria
Posts: 467
Default Re: Bug report: jerky playback of 1080i with vdpau and 8400gs

Quote:
Originally Posted by resoli View Post
I'm experiencing blocking and severe artifacts;
a sample of jerky video is at http://www.resolutions.it/jerky.ts .
Artefacts reproducible with MPlayer, FFmpeg does not report relevant problems with the stream and decodes it fine.

Carl Eugen

Last edited by cehoyos; 04-24-09 at 03:40 AM. Reason: Clarify what is reproducible.
cehoyos is offline   Reply With Quote
Old 04-23-09, 07:18 PM   #3
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: Bug report: jerky playback of 1080i with vdpau and 8400gs

Thank you for the bug report. I've filed a bug. I haven't repro'd the issue yet, but will try to soon. I'll post any updates in this thread.
Stephen Warren is offline   Reply With Quote
Old 04-24-09, 04:41 AM   #4
resoli
Registered User
 
Join Date: Apr 2009
Posts: 33
Default Re: Bug report: jerky playback of 1080i with vdpau and 8400gs

Quote:
Originally Posted by Stephen Warren View Post
Thank you for the bug report. I've filed a bug. I haven't repro'd the issue yet, but will try to soon. I'll post any updates in this thread.
Great. Some more information: I thought at beginning that it was a deinterlace issue, but even with no deinterlacing at all the artifacts are there. 1080p plays wonderfully.

If you need I can provide the mythtv debug trace with VDPAU_TRACE=1 VDPAU_NVIDIA_DEBUG=3 set.

bye,
rob

Last edited by resoli; 04-28-09 at 05:47 AM.
resoli is offline   Reply With Quote
Old 04-24-09, 05:22 AM   #5
thefirstm
Registered User
 
Join Date: Feb 2009
Posts: 226
Default Re: Bug report: jerky playback of 1080i with vdpau and 8400gs

It happens to me, as well. I downloaded the video and played it in KMplayer with the mplayer backend using vdpau, and I got all sorts of artifacts. I also got a green screen when attempting to restart the video after it ended, along with this NVRM Xid:

[44279.291092] NVRM: Xid (0001:00): 13, 0007 00000000 0000502d 0000060c 000002c8 00000040
thefirstm is offline   Reply With Quote
Old 04-24-09, 03:21 PM   #6
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: Bug report: jerky playback of 1080i with vdpau and 8400gs

I believe this is an ffmpeg bug; I dumped the various VDPAU pictureInfo values, and found that the field_order_cnt and referenceFrames fields were completely mismatched with the correct values.

I don't understand why ffmpeg SW decoding doesn't show the artifacts. Perhaps ffmpeg internally detects the problems somehow, skips decoding corrupt data, and simply shows the previous frame content? Or, perhaps there's some bug in the way these fields are converted from ffmpeg data structures to VDPAU data structures (although there is basically no processing on these fields, and I can't see how such significant errors would appear for this one stream but not others).
Stephen Warren is offline   Reply With Quote
Old 04-25-09, 02:05 AM   #7
resoli
Registered User
 
Join Date: Apr 2009
Posts: 33
Default Re: Bug report: jerky playback of 1080i with vdpau and 8400gs

Quote:
Originally Posted by Stephen Warren View Post
I believe this is an ffmpeg bug; I dumped the various VDPAU pictureInfo values, and found that the field_order_cnt and referenceFrames fields were completely mismatched with the correct values.
If you mean that the source is faulty, I suspected that; anyway playing with mythtv sw decoder you simply would'nt have noticed anything bad.



Quote:
Originally Posted by Stephen Warren View Post
I don't understand why ffmpeg SW decoding doesn't show the artifacts. Perhaps ffmpeg internally detects the problems somehow, skips decoding corrupt data, and simply shows the previous frame content? Or, perhaps there's some bug in the way these fields are converted from ffmpeg data structures to VDPAU data structures (although there is basically no processing on these fields, and I can't see how such significant errors would appear for this one stream but not others).
The "mplayer jerky.ts" output appears to confirm skipping ...

Quote:
[h264 @ 0x89070e0]B picture before any references, skipping??,?% 0 0
[h264 @ 0x89070e0]decode_slice_header error
[h264 @ 0x89070e0]no frame!
Error while decoding frame!
[h264 @ 0x89070e0]B picture before any references, skipping??,?% 1 0
[h264 @ 0x89070e0]decode_slice_header error
[h264 @ 0x89070e0]no frame!
Error while decoding frame!
[h264 @ 0x89070e0]B picture before any references, skipping??,?% 1 0
[h264 @ 0x89070e0]decode_slice_header error
[h264 @ 0x89070e0]no frame!
Error while decoding frame!
A:56771.3 V:56771.1 A-V: 0.113 ct: -0.205 62/ 62 51% 5% 0.7% 1 0
If I can help in any way...

Correctly watching that source is vital to me, it's the only free HD source available here (Italian public television HD test broadcasts). With ION boards appearing, I was really starting to plan a mythtv frontend upgrade, but this problem stopped me.
resoli is offline   Reply With Quote
Old 04-25-09, 06:12 AM   #8
cehoyos
FFmpeg developer
 
Join Date: Jan 2009
Location: Vienna, Austria
Posts: 467
Default Re: Bug report: jerky playback of 1080i with vdpau and 8400gs

Quote:
Originally Posted by Stephen Warren View Post
Perhaps ffmpeg internally detects the problems somehow, skips decoding corrupt data, and simply shows the previous frame content?
I don't think that is the case.
The reference decoder (15.1) only differs from ffmpeg in the second frame (which is not the one showing artefacts), the rest is bit-identical.

Carl Eugen
cehoyos is offline   Reply With Quote

Old 04-28-09, 02:48 AM   #9
resoli
Registered User
 
Join Date: Apr 2009
Posts: 33
Default Re: Bug report: jerky playback of 1080i with vdpau and 8400gs

Any new on this? I can provide more (and bigger) jerky samples, if needed.

bye,
rob
resoli is offline   Reply With Quote
Old 05-04-09, 12:19 PM   #10
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: Bug report: jerky playback of 1080i with vdpau and 8400gs

A quick update on this. I haven't really looked into why the DPB looks very different between ffmpeg and our the other decoder I tested against. However, we're looking into whether there are some changes we can make to improve the decoding of this clip either way. I'll post any updates here if/when they occur.
Stephen Warren is offline   Reply With Quote
Old 05-04-09, 04:44 PM   #11
resoli
Registered User
 
Join Date: Apr 2009
Posts: 33
Default Re: Bug report: jerky playback of 1080i with vdpau and 8400gs

Quote:
Originally Posted by Stephen Warren View Post
However, we're looking into whether there are some changes we can make to improve the decoding of this clip either way. I'll post any updates here if/when they occur.
Many thanks Stephen, I will check here; I hope this will be solved, playing 1080i dvb-t streams is very important for htpc functionality.

Bye,
rob
resoli is offline   Reply With Quote
Old 05-31-09, 12:39 AM   #12
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: Bug report: jerky playback of 1080i with vdpau and 8400gs

185.18.14 should fix this.
Stephen Warren is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:53 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.