[mythtv] Ticket #9707: Memory leak during playback of recent recordings (PVR-250)

Michael T. Dean mtdean at thirdcontact.com
Thu Apr 28 03:36:17 UTC 2011

On 04/27/2011 10:53 PM, aaron wrote:
> On Wed, Apr 27, 2011 at 10:53, Michael T. Dean wrote:
>> Out of curiosity, are you using nvidia drivers?  If so, which driver
>> version?  What Playback Profile (or if using one of the standard example
>> Playback Profile groups, which group)?
> I am using the nVidia drivers, yes. I have a GeForce4 440MX, so I'm
> using the legacy driver. It is version 96.43.14, I believe... if that
> is a meaningful version number. I have not upgraded the driver since I
> installed the system in... November 2009, I think.

Definitely not one of the broken ones.  Actually, a feeling of deja vu 
makes me think we've had this conversation, before.  Ah, -users list:  
http://www.gossamer-threads.com/lists/mythtv/users/475391#475391 (though 
it turns out I just "overheard" this conversation, and Nick mentioned 
the nvidia driver issue).

> As for Playback Profile... this system dates back to 2002, and I
> remember having some "issues" (user error ;-) ) when the current
> Playback Profiles were introduced. It looks like I'm using "High
> Quality" but I seem to recall customizing it a bit... I see it
> configured with:
>    "rez>  0 0 ->  ffmpeg&  XVideo" (all my content is SD)
>    video renderer: xv-blit
>    OSD renderer: softblend
>    Primary deinterlacer: Yadif (2x)
>    Custom filters: ivtc
> (happy to provide more details, just let me know what you need)

OK.  Xv renderer.

>> Mark Kendall may have an idea what's happening, but the line:
>> 2011-04-17 12:26:18.147 MythPainter: 953 images not yet de-allocated.
>> probably shows the source of the memory leak.  Don't know what would be
>> causing the Painter to keep images.  I know there was a problem with
>> some nvidia driver versions that caused serious memory leaks when using
>> certain video renderers (OpenGL?  or was it VDPAU? or maybe either?).
> I don't think I'm using OpenGL... I do know for sure that the recent
> change to try using the OpenGL painter (before falling back to Qt)
> makes my X server crash, which is why I'm forcing it to the Qt
> painter... I know that may not be related to OpenGL playback
> rendering, but still :)

Yeah, in theory, the UI painter shouldn't be related.

> I'm definitely not using VDPAU, as my hardware doesn't support it.
> I also believe I am not using XvMC because the OSD is in colour... I
> was also never able to get it to work the last time I tried (which
> was, admittedly, a few years ago)

Definitely not using XvMC on master.  :)

> The thing that seems weird to me about this (supposed) leak is that it
> *only* seems to happen for relatively recent recordings (recordings
> made in the last couple of months; I'm not sure exactly when it
> started). If I watch a recording from January or earlier, there
> doesn't seem to be a problem.

Yeah, sounds suspicious. I'll have to leave you to the video/playback 
experts.  Thanks for the info.


More information about the mythtv-dev mailing list