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

aaron memoryguy at gmail.com
Thu Apr 28 02:53:41 UTC 2011

On Wed, Apr 27, 2011 at 10:53, Michael T. Dean <mtdean at thirdcontact.com> 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.

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)

> 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 :)

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)

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.


More information about the mythtv-dev mailing list