|
SageTV Clients Development This forum is for discussions relating to SageTV Open Source Clients Development. |
|
Thread Tools | Search this Thread | Display Modes |
#21
|
||||
|
||||
Quote:
__________________
Q: dad, when will you stop changing all the electronics? A: never, so you might as well get used to it. |
#22
|
|||
|
|||
Quote:
Is there a way to roll back the ShieldTV update if I go ahead and update it to see how bad this is on my setup? Thanks for all of your work on this as the mini client was a lifesaver for me because it gave me new option to view SageTV when the extenders died. Thanks again, Chuck
__________________
OS: Windows 10 Pro (64 bit) Motherboard/CPU/RAM: Gigabyte EP43-UD3/Intel Core 2 Quad Q9550 @ 2.83 GHz/8 GB RAM System Drive : Samsung 850 Pro SSD (256 GB) Recording Drive's: 2 x WD WD4001FAEX (4 TB) Tuner's: 2 x Ceton InfiniTV 4's Clients: 3 x Nvidia Shield TV's; Spares: 2 x HD300's SageTV v9.1.2.662 with OpenDCT v0.5.28 Java 1.8.0_111-b14 (32bit) |
#23
|
||||
|
||||
I didn't do extensive testing, but the default stv doesn't appear to be as badly affected. Keep in mind this is not an issue with Gemstone, but rather how Android loads the images sent from the server. And since everything is an image in sagetv, I wouldn't be surprised to see it having some issues, just not a many as Gemstone.
Quote:
I have two other options... 1. I start a new client for Android TV using native AndroidTV UI. (ie, it's an app like YouTube, Plex, Netflix, etc) 2. I see what I can do by creating a new UI renderer for Android, and see if I can somehow bypass the Android image loading. In looking at where the issues are happening, I can't be sure that I'm not dealing with some sort of OpenGL issue either, because some of the images that it is complaining about are actually temporary surfaces that are used to composit other images. But something definately changed in the Android Software with this update.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#24
|
|||
|
|||
Talk about discouraging.
Plex isn't a great option for me as I'm too used to comskip abs my wife loves being able to fast forward with the thumbnail navigation that gemstone provides... Well, whatever you decide to do, we're behind you. I, for one, will be glad to help out in any way I can. |
#25
|
||||
|
||||
The Fire TV with 4K Ultra HD is still working fine with the MiniClient. I switched to it when my Nexus updated to Oreo. Another option is to use Pheonix on the MiniClient it is more usable. Some of the menus don't work correctly, but you can count your button clicks to get where you want to go.
|
#26
|
|||
|
|||
Oreo has really made a mess of things. For me, it's made the mini-client unusable.
I've been running a parallel NextPVR/Kodi setup for a month or so and I actually like Kodi as a client. NextPVR leaves a lot to be desired as a backend. Wish I had Sage as a backend option. I still have an HD200 on the system and may use that for a bit. But I think switching to KODI may be my answer. And the new V18 will be integrating with Google Assitant. |
#27
|
|||
|
|||
For what it's worth I was able to get a log file from my phone, same issues there. I'm seeing the errors you're probably talking about, that say some bitmap is in the wrong format.
|
#28
|
||||
|
||||
Quote:
Thanks, Josh |
#29
|
||||
|
||||
Quote:
Josh |
#30
|
|||
|
|||
Sadly, no, it's on gemstone and the UI is so broken that I can't actually switch to stock. I'm thinking of removing the client properties file when I get home to get it to reset to the default settings to see if that makes any difference.
|
#31
|
||||
|
||||
Quote:
Is it possible the image cache is getting corrupted? Did any try turning off the cache and see if the issue goes away? Last edited by jvl711; 06-29-2018 at 12:18 PM. |
#32
|
|||
|
|||
I'm afraid not. I took a few minutes on my lunch break to poke around. I cleared the app data entirely including the cache (no reinstall, but I doubt that would impact anything) and was able to get the default STV to load up - but it was even more broken the Gemstone was - going to "tv" yielded a complete blank screen. The only thing still rendering was the main menu. Unfortunately, I can't get it to produce another log file now.
|
#33
|
||||
|
||||
Quote:
I am using Android 8.1.0 / LineageOS 15.1 on a Mate 9 and I am seeing no issues rendering. From looking at the code if I am reading it correctly I wonder if any portion of rendering the screen fails than all following items will fail as well... I might no understand that code that well though I woulder if we put a try catch on renderQueue.get(i).run(); and let the render image fail if the next items would render ok. I also wonder if we should check the image that it is failing on to see if there are any issues with it. Code:
synchronized (renderQueue) { try { batch.begin(); batch.setColor(Color.BLACK); for (int i=0;i<size;i++) { renderQueue.get(i).run(); } } catch (Throwable t) { log.error("Render Failed. This should never happen. Developer should figure out why", t); // TODO: How should we manage this.. request a re-render?? } finally { batch.end(); renderQueue.clear(); } } |
#34
|
||||
|
||||
The problem is that the image is always bad. In my setup the image always fails no matter how many times you render it. And I did add code to clean the cached image and re render but it didn't change anything. Of course it would help if I knew why android thinks the image is bad but doesn't tell me.
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#35
|
||||
|
||||
Quote:
I would like to try and help if I can find a way to repo the issue. Josh |
#36
|
|||
|
|||
Just wanted to add more info on this issue.
I'm using Gemstone. I use the Miniclient occasionally on my Pixel 2 XL, last time was a couple of months ago and it worked fine at that time. I tested it now on my phone and it now has the same messed up menu issue as the updated Shield TV. It doesn't seem to be specific to the Shield TV. My Pixel 2 XL is running the latest stock Oreo update from Google. So maybe something in one of the recent Oreo updates? |
#37
|
||||
|
||||
Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#38
|
|||
|
|||
Quote:
But then, after that first day, no menus of any kind are rendering past the main even on gemstone (I have a tablet and phone that's also on Oreo, so I can reproduce on all three). Unfortunately I can't get any logs to generate whatsoever. Very frustrating. Even more frustrating is the complete inability to find any kind of changelog for Android 8.0. There is literally no place I can find what changes were made beyond the marketing bullet points about picture in picture and other features that we all know few 3rd party apps will ever support. Last edited by DarkWolf77; 06-30-2018 at 06:41 AM. |
#39
|
||||
|
||||
I think I might have some possibly good news. I made the suggested change to the render code to allow the code to keep rendering if an error occurs. It looks like there are only a few images that may be causing most of the issues. In the gemstone it looks like it is three images on the header. Depending on the order of rendering than the whole screen might not render.
This minor change makes the screen continue to render. It does not resolve the issue completely, but it might make the client usable. Code:
synchronized (renderQueue) { try { batch.begin(); batch.setColor(Color.BLACK); for (int i=0;i<size;i++) { try { renderQueue.get(i).run(); } catch (Throwable t) { log.error("Render Queue Item Failed... Continuing to process the rest of the items in the queue", t); } } } catch (Throwable t) { log.error("Render Failed. This should never happen. Developer should figure out why", t); // TODO: How should we manage this.. request a re-render?? } finally { batch.end(); renderQueue.clear(); } } Josh ADDITIONAL INFO: I went through and opened the MarkerSysAlert png files in Paint.net, and made no changes to them, and resaved, and the images started to render withouit issue. I am convinced there is something about those images that Android/OpenGL does not like now. Maybe there is something a little of in the format. Last edited by jvl711; 06-30-2018 at 08:16 AM. |
#40
|
||||
|
||||
Looks like we arrived at the same conclusions I discovered this morning that a few images are causing issues and I started to compare those images to those that work. Using the "identify -verbose" tool they appeared to be very similar. I ran "optipng" on all pngs and then sagetv worked again. So while I can't fix this in the miniclient, it is likely it can be fixed by fixing the images, themselves. (and adding your try/catch is a good thing as well, since, it would prevent this, and possibly other render failures from causing the UI from being totally broken).
I'll see if I can get an update out this weekend. Quote:
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Android TV Mini Client With VPN Cannot Connect To Server | Tweeker | SageTV Clients Development | 9 | 05-08-2020 09:38 AM |
Android TV Mini-client observations | panteragstk | SageTV Clients Development | 29 | 10-29-2017 04:07 PM |
Android Mini Client Transcoding | KarylFStein | SageTV Clients Development | 16 | 08-26-2017 09:57 PM |
Android Mini-Client UI Freeze | KarylFStein | SageTV Clients Development | 5 | 07-06-2017 12:38 PM |
[Android Mini Client] Integrate with Android TV 'Live Channels' | dinki | SageTV Clients Development | 11 | 01-31-2016 09:43 AM |