<div dir="ltr">On Tue, Jan 15, 2019 at 12:39 PM David Engel <<a href="mailto:david@istwok.net">david@istwok.net</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, Jan 15, 2019 at 12:19:33PM -0600, Greg Oliver wrote:<br>
> When turning off my TV (I leave my Shield always on) and mythfrontend is<br>
> running on my Shield and turn it back on later, it is always a black<br>
> screen.  Pressing Home and restarting mythfrontend fixes it, but also if I<br>
> wait between 5 and 10 minutes, it also comes back eventually.<br>
> <br>
> Anyone else experience it this way?  I know others have posted about it<br>
> stopping completely whereas other apps will remember position and menu<br>
> location, etc since Android is multi-task capable nowadays in userspace.<br>
> Are there plans to accommodate that in mythfrontend?  Not a nag - just<br>
> wondering - I will always be watching Mythfrontend 99% of the time, but the<br>
> black screen and a full restart of mythfrontend seems odd when it was<br>
> running when I turn off the TV.<br>
<br>
This is a known problem that has proven to be incredibly hard to<br>
debug.  Qt tries very hard to hide all things Android from MythTV.  As<br>
best as I can tell, when MythTV goes into the background, Qt stops<br>
handling some things.  When MythTV is brought back to the foreground,<br>
Qt then spins at 100% CPU usage until it catches back up.  That's<br>
what's happening when the screen is black.<br>
<br>
The problem is exacerbated when MythTV is left on the Watch Recordings<br>
screen.  That leads me to belive that event processing plays a big<br>
role in the problem.  MythTV recieves and processes a lot of events on<br>
that screen.  Unfortunately, all attempts so far to narrow down the problem<br>
have failed.<br>
<br>
David<br>
<br>
> I have CEC completely off on all of my devices, "Keep SHIELD awake on TV<br>
> input switch" and "Play comfort noise on HDMI" enabled on the shield.<br>
<br>
-- <br>
David Engel<br>
<a href="mailto:david@istwok.net" target="_blank">david@istwok.net</a><br></blockquote><div><br></div><div><div style="font-family:monospace,monospace" class="gmail_default">I'm not sure if it helps track anything down, but last night I went to sleep with he Shield playing TV and just turned the TV off.  When I woke up this morning, there was a message on the screen that video failed waiting on buffers, but the Shield was on and immediately responsive.  I guess it was on an OpenGL screen there though..?</div><div style="font-family:monospace,monospace" class="gmail_default"><br></div><div style="font-family:monospace,monospace" class="gmail_default">First time I did not need to wait or restart mythfrontend to get it to play nice.   </div><br></div><div> </div></div></div>