[mythtv-users] Hard frontend crash with vaapi on Ubuntu 20.04 and Mythtv 31

OpenMedia Support support at openmedia.co.nz
Tue Jun 1 11:05:39 UTC 2021


>
> On 6/1/21 3:38 AM, OpenMedia Support wrote:
>> I'm running an Intel N3150 based NUC as a dedicated frontend for MythTV
>> and it keep getting hard crashes during video playback with VAAPI. Id
>> appreciate some guidance on how to best debug the problem.
>>
>> Hardware - Gigabyte Brix Intel N3150 / 4GB Ram / 120GB SSD
>>
>> OS - Ubuntu 20.04 LTS - regularly patched
>>
>> MythTV Backend - on different hardware with DVB-T and DVB-S cards
>>
>> MythTV Frontend - Lastest version from the PPA -
>> http://ppa.launchpad.net/mythbuntu/31/ubuntu
>>
>> Video playback currently uses a custom VAAPI profile, but the out of the
>> box VAAPI profile also has issues. It appears to occur when playing
>> H.264
>> based content. Our DVB-T FTA service is H.264 for both HD and SD
>> material.
>> It can occur when we're simply watching a show, and the video / audio
>> freezes and I need to hard-reset the Brix hardware.
>>
>> I've configured for
>>   - max_cpus = 3
>>   - deinterlacer - low:shader:driver
>>   - decoder - vaapi
>>   - videorender - opengl-hw
>>   - skiploop - 0
>>
>> I'll try and reproduce with "-v playback" enabled but at present there
>> is
>> nothing obvious in the frontend or system logs when the crash occurs.
>>
>> I'd really appreciate it if anyone else seen similar issues and could
>> provide guidance.
>
>
> I have a NUC i7-1165G7 and it has Iris graphics.  I can't get VAAPI to
> work at all. I have to use OpenGL low quality deinterlacing. When I use
> VAAPI it crashes with code 139. I can't run higher than low
> deinterlacing because the pictures tears about 10% from the top of the
> screen.
>
> Luckily, I didn't buy the $800 NUC as a mythtv frontend only. Iris GFX
> and Mythtv aren't a good solution for sure.
>
The N3150 Brix was relatively cheap and generally makes quite a nice front
end, and now it has an SSD is effectively silent.

Just had a fresh hard crash with "-v playback" and all I can see is the
following as I had an SSH session tailing the frontend logs.

Jun  1 21:49:37 mythfe1 mythfrontend.real: mythfrontend[1900]: I
CoreContext jitterometer.cpp:128 (RecordEndTime) Player(3): FPS:   24.99
Mean: 40015 Std.Dev:   674 CPUs: 21% 19% 16% 19%
Jun  1 21:49:37 mythfe1 mythfrontend.real: mythfrontend[1900]: I
CoreContext mythplayer.cpp:1771 (AVSync) Player(3): AV Sync: Audio ahead
by 38 ms
Jun  1 21:49:38 mythfe1 mythfrontend.real: mythfrontend[1900]: I
CoreContext mythplayer.cpp:1771 (AVSync) Player(3): AV Sync: Audio ahead
by 23 ms
Jun  1 21:49:38 mythfe1 mythfrontend.real: mythfrontend[1900]: I
CoreContext mythplayer.cpp:1771 (AVSync) Player(3): AV Sync: Audio ahead
by 25 ms
Jun  1 21:49:39 mythfe1 mythfrontend.real: mythfrontend[1900]: I
CoreContext mythplayer.cpp:1771 (AVSync) Player(3): AV Sync: Audio ahead
by 24 ms
Jun  1 21:49:39 mythfe1 mythfrontend.real: mythfrontend[1900]: I
CoreContext mythplayer.cpp:1771 (AVSync) Player(3): AV Sync: Audio ahead
by 42 ms
Jun  1 21:49:41 mythfe1 mythfrontend.real: mythfrontend[1900]: I
CoreContext mythplayer.cpp:1771 (AVSync) Player(3): AV Sync: Audio ahead
by 27 ms
Jun  1 21:49:41 mythfe1 mythfrontend.real: mythfrontend[1900]: I
CoreContext jitterometer.cpp:128 (RecordEndTime) Player(3): FPS:   25.01
Mean: 39979 Std.Dev:   655 CPUs: 21% 18% 20% 21%
Jun  1 21:49:41 mythfe1 mythfrontend.real: mythfrontend[1900]: I
CoreContext mythplayer.cpp:1771 (AVSync) Player(3): AV Sync: Audio ahead
by 44 ms
Jun  1 21:49:43 mythfe1 mythfrontend.real: mythfrontend[1900]: I
CoreContext mythplayer.cpp:1771 (AVSync) Player(3): AV Sync: Audio ahead
by 29 ms
Jun  1 21:49:44 mythfe1 mythfrontend.real: mythfrontend[1900]: I
CoreContext mythplayer.cpp:1771 (AVSync) Player(3): AV Sync: Audio ahead
by 44 ms
Jun  1 21:49:44 mythfe1 mythfrontend.real: mythfrontend[1900]: I
CoreContext mythplayer.cpp:1771 (AVSync) Player(3): AV Sync: Audio ahead
by 36 ms
Jun  1 21:49:45 mythfe1 mythfrontend.real: mythfrontend[1900]: I
CoreContext mythplayer.cpp:1771 (AVSync) Player(3): AV Sync: Audio ahead
by 22 ms
Jun  1 21:49:45 mythfe1 mythfrontend.real: mythfrontend[1900]: I
CoreContext mythplayer.cpp:1771 (AVSync) Player(3): AV Sync: Audio ahead
by 36 ms
Jun  1 21:49:45 mythfe1 mythfrontend.real: mythfrontend[1900]: I
CoreContext mythplayer.cpp:1771 (AVSync) Player(3): AV Sync: Audio ahead
by 38 ms
Jun  1 21:49:45 mythfe1 mythfrontend.real: mythfrontend[1900]: I
CoreContext jitterometer.cpp:128 (RecordEndTime) Player(3): FPS:   25.01
Mean: 39978 Std.Dev:   710 CPUs: 21% 18% 21% 21%
Jun  1 21:49:46 mythfe1 mythfrontend.real: mythfrontend[1900]: I
CoreContext mythplayer.cpp:1771 (AVSync) Player(3): AV Sync: Audio ahead
by 44 ms
Jun  1 21:49:46 mythfe1 mythfrontend.real: mythfrontend[1900]: I
CoreContext mythplayer.cpp:1771 (AVSync) Player(3): AV Sync: Audio ahead
by 28 ms
Jun  1 21:49:47 mythfe1 mythfrontend.real: mythfrontend[1900]: I
CoreContext mythplayer.cpp:1771 (AVSync) Player(3): AV Sync: Audio ahead
by 23 ms





More information about the mythtv-users mailing list