[Nouveau] Errors during vdpau mpeg2 decoding

Maarten Lankhorst maarten.lankhorst at canonical.com
Wed Sep 3 22:04:22 PDT 2014


Hey,

On 04-09-14 05:53, Ilia Mirkin wrote:
> Hi Maarten,
> 
> I'm seeing these prints, which feel like they're accompanied by bad frames:
> 
> 0x7f7fcb29ab70 is not a real ref: -0.011 72712/72709  0% 35%  1.0% 0 0
> 
> This comes from
> 
>       if (dec->refs[idx].vidbuf != refs[i]) {
>          debug_printf("%p is not a real ref\n", refs[i]);
>          // FIXME: Maybe do m2mf copy here if a application really
> depends on it?
>          continue;
>       }
> 
> Can you explain what this means, and what the fixme is referring to?
I keep internal track of the reference frames that were decoded last. If vidbuf in the internal state is not equal to the ref here it means something else got decoded in that slot and we no longer have the intermediary frame used for decoding.

~Maarten


More information about the Nouveau mailing list