[meta-freescale] [meta-fsl-arm] Memory leak in graphic application (dora)
Chris Tapp
opensource at keylevel.com
Mon May 8 00:31:39 PDT 2017
Hi Vincent,
Sorry, but I can’t really advise as I’m not familiar with those drivers.
Chris
> On 1 May 2017, at 11:00, Vincent DEHORS <vincent.dehors at smile.fr> wrote:
>
> Hi,
>
> I am not using the Intel driver but the Vivante one packaged by these recipes :
>
> https://github.com/Freescale/meta-fsl-arm/tree/dora/recipes-graphics <https://github.com/Freescale/meta-fsl-arm/tree/dora/recipes-graphics>
> Do you think I can use another version of gpu-viv-bin-mx6q and xf86-video-imxfb keeping my 3.0.35 kernel ?
>
> Regards,
>
> Vincent
>
>
>
> Le 2017-04-28 11:52, Chris Tapp a écrit :
>
>> Hi Vincent,
>>
>> I saw something similar to this a while back with Fido when using the Intel video driver (Thread “"Crazy" Xorg memory usage after upgrading from Daisy to Fido”).
>>
>> My app would often get killed due to lack of memory, but it sometimes ran long enough that a load of memory was released back to the pool and the app would then run as long as I left it running.
>>
>> My fix was:
>>
>> The undesirable memory usage within Xorg isn’t there if I create an xorg.conf file containing:
>>
>> Section “Device”
>> Identifier “Intel Video”
>> Driver “intel”
>> Option “TearFree” “true"
>> EndSection
>>
>> So it looks as if I need to enable “TearFree”. I didn’t need to add this for the 2.99.910 version of xf86-video-intel included with ‘daisy’.
>>
>> This probably won’t work for you, but it may be worth a try.
>>
>> Chris
>>
>>> On 28 Apr 2017, at 10:21, Vincent DEHORS <vincent.dehors at smile.fr <mailto:vincent.dehors at smile.fr>> wrote:
>>>
>>> Hi,
>>>
>>> I use a dora branch (as constructor only provides a 3.0.35 kernel) and when I launch any graphical application using libGLES2 (with X11), the memory increase continuously until there is no memory left (and oom-killer kill the app).
>>>
>>> I can see the leak with a minimalist Qt5/qml application with an animation or with a Gstreamer pipeline using eglvivsink.
>>>
>>> Is there any known issue with graphic application in old BSP for i.MX6 ?
>>>
>>> If the leak is located in the proprietary libGL, is there a way to use a more recent one without upgrading the kernel version ?
>>>
>>> Regards,
>>>
>>> Vincent
>>>
>>>
>>> --
>>> _______________________________________________
>>> meta-freescale mailing list
>>> meta-freescale at yoctoproject.org <mailto:meta-freescale at yoctoproject.org>
>>> https://lists.yoctoproject.org/listinfo/meta-freescale
>>
>> --
>>
>> Chris Tapp
>> opensource at keylevel.com <mailto:opensource at keylevel.com>
>> www.keylevel.com <http://www.keylevel.com/>
>>
>> ----
>> You can tell you're getting older when your car insurance gets real cheap!
--
Chris Tapp
opensource at keylevel.com
www.keylevel.com
----
You can tell you're getting older when your car insurance gets real cheap!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20170508/0585f03e/attachment.html>
More information about the meta-freescale
mailing list