[mythtv] fixes/31 branch created!
Mike Bibbings
mike.bibbings at gmail.com
Tue Mar 10 12:57:22 UTC 2020
On 27/02/2020 11:14, Mark Kendall wrote:
> On Thu, 20 Feb 2020 at 18:39, Mike Bibbings <mike.bibbings at gmail.com> wrote:
>> Hi Mark,
>>
>> I have produced a script (a bit crude, but works) to handle the
>> resolution issue on Pi2/3/4 using a qt eglfs json override file as you
>> suggested.
>>
> Mike
>
> Nice work on the script. I do intend to rework the frontend window
> settings for 0.32 - and one of those changes will be to allow the user
> to set the default GUI video mode (rather than just using what it
> started with). As it stands however that won't work for the Pi without
> X - due to permission issues with drm.
>
> I've also made changes to the software deinterlacers. Yadif is now the
> high quality deinterlacer (with multithreading support) and there is a
> new linearblend filter for medium quality. It should be reasonably
> fast on the Pi *if* neon intrinsics support is enabled at compile time
> - details in the commit :-
>
> https://github.com/MythTV/mythtv/commit/8b16ce6ae8a8e214c3002a13d911c8356e061373
>
> Not sure if OpenGL onefield/bob is still faster though:)
>
> regards
> Mark
> _______________________________________________
Hi Mark,
Latest version v32-Pre-151-g4e81d4b52b working well on Pi4.
On a Pi2 I am seeing from time to time - it is fatal, and it needs a
reboot to resolve.
[ 4067.968745] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from
CMA:
[ 4067.968765] [drm] V3D: 158964kb BOs (1142)
[ 4067.968771] [drm] V3D shader: 84kb BOs (21)
[ 4067.968778] [drm] dumb: 8116kb BOs (2)
[ 4067.968783] [drm] binner: 16384kb BOs (1)
[ 4067.968789] [drm] total purged BO: 21216kb BOs (112)
[ 4067.970319] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from
CMA:
[ 4067.970333] [drm] V3D: 151216kb BOs (1114)
[ 4067.970339] [drm] V3D shader: 84kb BOs (21)
[ 4067.970343] [drm] dumb: 8116kb BOs (2)
[ 4067.970349] [drm] binner: 16384kb BOs (1)
[ 4067.970354] [drm] total purged BO: 21216kb BOs (112)
[ 4067.981562] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from
CMA:
[ 4067.981577] [drm] V3D: 151216kb BOs (1114)
[ 4067.981583] [drm] V3D shader: 84kb BOs (21)
[ 4067.981588] [drm] dumb: 8116kb BOs (2)
[ 4067.981595] [drm] binner: 16384kb BOs (1)
[ 4067.981601] [drm] total purged BO: 21216kb BOs (112)
[ 4068.076587] [drm:vc4_bo_create [vc4]] *ERROR* Failed to allocate from
CMA:
[ 4068.076607] [drm] V3D: 159380kb BOs (1116)
[ 4068.076613] [drm] V3D shader: 84kb BOs (21)
[ 4068.076620] [drm] dumb: 8116kb BOs (2)
[ 4068.076627] [drm] total purged BO: 31516kb BOs (174)
[ 4068.076642] vc4_v3d 3fc00000.v3d: Failed to allocate memory for tile
binning: -12. You may need to enable CMA or give it more memory.
Note this is using mythfrontend only to a remote backend.
Have you or anyone else seen this ?
There is a thread on Raspberry forum see
https://www.raspberrypi.org/forums/viewtopic.php?f=53&t=223363&p=1613246&hilit=vc4_v3d+3fc00000.v3d%3A+Failed+to+allocate+memory+for+tile+binning%3A#p1613246
which also gives a possible solution
echo on >/sys/devices/platform/soc/*.v3d/power/control
Mike
More information about the mythtv-dev
mailing list