[mythtv-users] Ubuntu-mate on Raspberry pi and mythtv library problems

Bob Sully rcs at malibyte.net
Mon Jul 25 20:28:39 UTC 2016


Peter:  thanks - haven't tried running without X yet (will do so 
later), as I use the Pi for other things besides Myth (yes, I know, can 
boot to CLI, then use startx - I will try that).  I already have gpumem 
@ 192M.  Not using subtitles.  Sound seems to be working OK now (using 
ALSA), at least with other apps (Kodi, Rhythmbox) and sounds OK with 
Myth given the choppy video.  Tried mythfrontend -v playback, and got a 
lot of the following:


2016-07-25 13:08:29.513982 I  Player(5): Video is 30 frames behind 
audio (too slow), dropping frame to catch up.
2016-07-25 13:08:29.560127 I  Player(5): Video is 28.2919 frames behind 
audio (too slow), dropping frame to catch up.
2016-07-25 13:08:29.568432 I  Player(5): Waiting for video buffers...
2016-07-25 13:08:29.576114 I  Player(5): Video is 30 frames behind 
audio (too slow), dropping frame to catch up.
2016-07-25 13:08:29.579007 I  Player(5): Video is 30 frames behind 
audio (too slow), dropping frame to catch up.
2016-07-25 13:08:29.581891 I  Player(5): Video is 30 frames behind 
audio (too slow), dropping frame to catch up.
2016-07-25 13:08:29.582613 I  Player(5): Waiting for video buffers...
2016-07-25 13:08:29.600338 I  Player(5): Video is 30 frames behind 
audio (too slow), dropping frame to catch up.
2016-07-25 13:08:29.610113 I  Player(5): Video is 30 frames behind 
audio (too slow), dropping frame to catch up.
2016-07-25 13:08:29.611861 I  Player(5): Video is 30 frames behind 
audio (too slow), dropping frame to catch up.
2016-07-25 13:08:29.613116 I  Player(5): Waiting for video buffers...
2016-07-25 13:08:29.664377 I  Player(5): Video is 30 frames behind 
audio (too slow), dropping frame to catch up.
2016-07-25 13:08:29.666847 I  Player(5): Video is 30 frames behind 
audio (too slow), dropping frame to catch up.
2016-07-25 13:08:29.668409 I  Player(5): Video is 30 frames behind 
audio (too slow), dropping frame to catch up.
2016-07-25 13:08:29.669364 I  Player(5): Waiting for video buffers...
2016-07-25 13:08:29.698566 I  Player(5): Video is 30 frames behind 
audio (too slow), dropping frame to catch up.
2016-07-25 13:08:29.702103 I  Player(5): Video is 30 frames behind 
audio (too slow), dropping frame to catch up.
2016-07-25 13:08:29.705499 I  Player(5): Video is 30 frames behind 
audio (too slow), dropping frame to catch up.
2016-07-25 13:08:29.706135 I  Player(5): Waiting for video buffers...
2016-07-25 13:08:29.811905 N  Player(5): Waited 105ms for video buffers 
AAAALLAALPPP
2016-07-25 13:08:29.916275 N  Player(5): Waited 210ms for video buffers 
AAAALLAALPPP
2016-07-25 13:08:30.018695 N  Player(5): Waited 312ms for video buffers 
AAAALLAALPPP
2016-07-25 13:08:30.123253 N  Player(5): Waited 416ms for video buffers 
AAAALLAALPPP


I don't think this is a memory issue, no?  Even with X running, I have 
something like 480M free.

Why is Kodi able to play everything without any issues, and Myth can't 
under the same conditions?  Just curious.


> I have not had these problems, even with Pi 2, and I have not used 
> any
> overclocking. Here are some suggestions to try.
>
> The GPU memory can be set at 192 with OpenMAX High Quality, or at 128
> with OpenMAX normal. Those settings may help to make more memory
> available to MythTV. Don't try Picture-in-picture with these 
> settings.
> Preferably do not try picture-in-picture at all.
>
> You can try using ALSA for the audio to see if that helps. ALSA works
> with analog as well as HDMI output, but you have to disable the Dolby
> and DTS check boxes if using ALSA.
>
> If pulse audio is running in your system you can disable it, as it is
> not needed. Also disable blue tooth and wifi if you are not using 
> them.
>
> You can also save on memory usage by disabling GUI logon, do not use
> startx, and launch the frontend using this, from command line or a 
> script:
> xinit mythfrontend
>
> Subtitles seem to be very heavy on the system, so avoid enabling them 
> if
> possible.
>
> Also you can start mythfrontend with options
> mythfrontend -v playback
> This will give some playback informational messages and statistics in
> the log.
>
> If you get no audio with ALSA, try forcing the device using advanced
> options in raspi-config, force HDMI or force analog. If you do this 
> you
> can use ALSA:default to output to the selected device.
>
> Let me know if you have any questions on how to do any of these 
> things.>
>
> Let me know how you make out.
-- 



More information about the mythtv-users mailing list