[mythtv-users] Beta of MiniMyth2 RPI2 edition

Piotr Oniszczuk piotr.oniszczuk at gmail.com
Mon Feb 15 21:15:26 UTC 2016


> Wiadomość napisana przez Peter Bennett (cats22) <cats22 at comcast.net> w dniu 14.02.2016, o godz. 21:43:
> 
> Hi Piotr
> 
> I tried this new image
> 
> The first time prompt shows me first the country and language prompt and
> then the select screen with option "MythTV AV server". If I select this
> I get the error message "Unknown Error", and it goes back to the country
> and language prompt.
Hmm - this must be issue with mythtv upnp subsystem. At this stage FE uses upnp to discover and list available backends.
I’m wonder why it works well in my environment. 
On my BE/FE I have patch which changes reporting upnp ver as v1 instead v4 as this allows me to use many upnp players successfully. 
Maybe issue is here?
I’ll build next ver. of mythfrontend ARM packages and we can test how it goes. 
I’ll ping You here when new packages will be available and You can remotely update MiniMyth2 with new packages by „pacman -Syu” command. 
Also You may try to enable system logging in /usr/bin/mythfeontend.sh by adding „-v system,upnp” in line 20
and see whats going on.  
> The same if I select "Manual". I rebooted a few
> times and tried again and I could not get past this error. So I manually
> copied the config.xml to the /home/mythtv/.mythtv directory. Then after
> reboot, myth fronted starts.
Right. mythfrontend.sh checks for config.xml and if present it starts frontend without „-p".
> 
> Frontend is working fine, but there is only a small selection for themes
> and download themes do not work. On my raspi build for 0.28 the download
> themes also does not work.
This is issue with lack of themes.zip for 0.28.
I think it is bug in fallback code in mythtv as it should fallback to trunk.zip - but mythtv is not doing so….
Strange is that the same mythtv code works OK on x86 platforms! 
> Playing recordings is working fine. (With the
> jerkiness in OSD that is always there with xcb).
Indeed. While XCB has quite acceptable playback, OSD is a problem.
EGLFS is opposite from XCB: playback smoothness is not acceptable but OSD works nicely.
I’m wonder where issue is with EGLFS playback. 
My hypothesis is that whole frame processing (decoding, deinterlacing and rendering) takes more time that available time (1/fps). As XCB plays quite well - it looks like issue is somehow related with rendering video into EGLFS surface vs X11 drawing area.   
> 
> There is a problem with Live TV. Also on my own build of raspi for 0.28,
> it plays for about 30 seconds or 1 minute then stops with a whole lot of
> log messages as follows:
> 
> 2016-02-14 15:10:38.209571 N  Player(1): Waited 103ms for video buffers
> ALAAAAAALPPP
> ..--many more of these--..
> 2016-02-14 15:10:47.984928 N  Player(1): Waited 9878ms for video buffers
> ALAAAAAALPPP
> 2016-02-14 15:10:48.051265 W 
> RingBuf(myth://andromeda/1001_20160214200903.ts): ReadPriv(..32768,
> normal) -- waited 10009 ms for avail(0) > count(32768)
> 2016-02-14 15:10:48.051361 E 
> RingBuf(myth://andromeda/1001_20160214200903.ts): ReadPriv(..32768,
> normal) -- timed out waiting for data (10009 ms)
> 2016-02-14 15:10:48.087694 N  Player(1): Waited 9981ms for video buffers
> ALAAAAAALPPP
> 2016-02-14 15:10:48.305056 E  decoding error
>                        eno: Unknown error 541478725 (541478725)
> 2016-02-14 15:10:48.351999 E  decoding error
>                        eno: Unknown error 541478725 (541478725)
> ..--more of these--..
> 
> The 0.27 version does not have this problem. I will try to find out what
> is going on with this.
> 
> I think this LiveTV problem may also exist with the amd64 version of
> 0.28, but takes longer before it happens, maybe 10 or 20 minutes. I am
> doing some testing. I did have it happen once.
Well - I’m using master since 1.5y on ION1 and AMD E2100 on x86 MiniMyth2 and LiveTV works no problem. 
I done 12h continuous LiveTV test: no problem.
I also launch 2h test on MiniMyth2 RPI2 with EGLFS. Also works.
Interesting why You have problems with LiveTV….
Are You in 60Hz country?



More information about the mythtv-users mailing list