koying / SPMC

fork of xbmc/kodi
Other
634 stars 257 forks source link

16.5.0 test thread #435

Closed koying closed 7 years ago

koying commented 7 years ago

What the title says.

v 16.5.0 RC: http://download.semperpax.com/spmc/android-arm/SPMC-20161121-1c72918-spmc-jarvis-armeabi-v7a.apk

Package name is different, so can be installed side-by-side with a released SPMC

Changelog:

For testing Youtube 4K, install this repo https://codeload.github.com/koying/repository.semperpax.com/zip/master You'll find a temporary hacked YT addon, until support is added to the official addon.

classicjazz commented 7 years ago

On Shield TV v3.2:

Skin shortcuts and skin helper service updates fail.

Resolution shows two options for 3840x2160p (and nothing else).

Nice addition for easy log file uploading. Could you please address this security issue? https://github.com/koying/SPMC/issues/307

classicjazz commented 7 years ago

Video drops then freezes, audio keeps playing: pv78cxw3y

koying commented 7 years ago

pv78cxw3y

Did it work previously? Mediainfo or sample welcome.

ttttubby commented 7 years ago

Does this release have the sync playback to display (24hz switching) from MRMC for the AFTV?

BhwSyd commented 7 years ago

Will you loop back code for Kitkat eventually? Or will 16.4.2 be the last version to support Kitkat?

mo123 commented 7 years ago

Are there any specific settings you need to set to get 4K resolution in Youtube Dash? Android resolution set to 4k? Only certain devices with real 4K resolution not 1080p frame-buffer? The maximum resolution a lot of people get is 1080p.

99rook99 commented 7 years ago

Just a guess but I would say KitKat is done. He probably needs the newer api's, of course I could be completely wrong. I would think that he would have liked to move it forward to Marshmallow but didn't. This just gives me a reason to upgrade my other boxes

wesk05 commented 7 years ago

Tested this build on AFTV2. 4K switching has the same issue as before. It is zoomed in.

http://paste.semperpax.com/p1uolidna

I see this in the debug log.

17:55:17 T:18446744072284215408 DEBUG: CEGLNativeTypeAndroid: SetNativeResolution: 93: 3840x2160@24.000000 17:55:17 T:18446744072284215408 DEBUG: CreateWindow: Created surface of size 1920x1080

Is this something that is causing the issue?

koying commented 7 years ago

The maximum resolution a lot of people get is 1080p

It' adaptive, so you need the bandwidth. 4K YT needs ~16Mbps, from what I saw.

koying commented 7 years ago

It is zoomed in

@wesk05 I assume you actually selected a 4K resolution, right?

PS Nevermind, saw it

koying commented 7 years ago

@99rook99 Yeah. I need to move on NDK-wise, and I don't even have a box < 5.0 those days

99rook99 commented 7 years ago

@koying I still have one, as I'm trying to decide what I'm going to do, as I want something that will do 3D MVC, but I'm stuck as I want android and SPMC

wesk05 commented 7 years ago

@wesk05 I assume you actually selected a 4K resolution, right?

Selected 4K resolution, where? AFTV2 doesn't have any option to select 4K resolution. It is "Auto" or 1080p/720p. If I select 4K in SPMC, 1080p is upscaled and output in 4K. With MrMC, it switches to 4K resolution when 4K content is played and remains in 1080p for 1080p content. Is this not to be expected from this test build?

koying commented 7 years ago

Selected 4K resolution, where?

Inside SPMC. But yeah, switching should happen automatically. Does your TV actually switch to 4K?

wesk05 commented 7 years ago

Inside SPMC. But yeah, switching should happen automatically. Does your TV actually switch to 4K?

If I select 4K in SPMC all output will be in 4K. Yes, my TV will switch to 4K from 1080p. Works fine with MrMC on AFTV2, Odroid C2 LibreELEC, x86 LibreELEC etc.

If you want to compare, I will get you a debug log from MrMC some time later today.

koying commented 7 years ago

If I select 4K in SPMC all output will be in 4K.

For info, are the videos zoomed as well in "full" 4K?

wesk05 commented 7 years ago

I am going to say no, but now that you asked about it, I will have to recheck.

classicjazz commented 7 years ago

You cannot run SPMC 16.4.8 (in the background) at the same time as 16.4.2. If you do so, you will get an error that the common cache failed to load. After that, SPMC 16.4.2 will then crash ("SPMC has stopped") though 16.4.8 doesn't seem to.

In other words, you must expressly use the quit function first to alternate between test and production SPMC versions. You can't go to Leanback Launcher inadvertantly.

Log file from 16.4.8 when it is loaded second: peyikyvgt

classicjazz commented 7 years ago

@koying I updated the pastebin with mediainfo at the bottom. I will try to come up with a dropbox of videos that play with issues.

Thanks for the security fix in the forthcoming release!

classicjazz commented 7 years ago

ADD: 4K on AFTV2 How should the wiki be updated, post 16.5? Does AFTV2 support only 4K video or now 4K GUI like the Shield. Does it also support HQ scalers? (Unfortunately, I don't have an AFTV2 to test it with...)

ADD: DASH support (aka 1080p/4K youtube) Since the Shield includes Youtube already in 4K, this isn't as valuable for us as, say, AFTV users. However, can the same functionality now enable Amazon Videos, which is the one app missing on the Shield?

guidosarducci commented 7 years ago

Some feedback from AFTV (v1) running Android 5.1.

The [addon;repo] changes of the last week or so, including your recent fix cf72cf9f80c668ec22b767bfa33c33f4efc40b52, seem to still be causing problems with the addon update process: 04:00:07 T:18446744072516983160 ERROR: CAddonInstallJob[script.module.urlresolver]: failed to download special://home/addons/packages/memory

wesk05 commented 7 years ago

Here are two logs from MrMC on AFTV2. MrMC resolution is set to 1080p. 2160p clip - http://pastebin.com/7V7RyCLQ 1080p clip - http://pastebin.com/c3r1sQ4h

SPMC Log for the same 2160p clip. SPMC resolution set to 1080p. http://paste.semperpax.com/pe69nxz1b

I see this difference: CXBMCRenderManager::Configure - 2 (3 in MrMC). Also differences in RenderUpdate messages.

I checked again today. If I set SPMC resolution to 2160p, 2160p clips plays fine.

koying commented 7 years ago

The [addon;repo] changes of the last week or so, including your recent fix cf72cf9, seem to still be causing problems with the addon update process:

Yeah, sorry about that. You have to force recheck all your repos, I'm afraid

Uukrull commented 7 years ago

The [addon;repo] changes of the last week or so, including your recent fix cf72cf9, seem to still be causing problems with the addon update process

After deleting the userdata\Database\Addons20.db file is working again for me with current master.

mo123 commented 7 years ago

"It' adaptive, so you need the bandwidth. 4K YT needs ~16Mbps, from what I saw."

Maximum still 1080p in Youtube Dash User tested with a 4K LG OLED TV, set Android resolution to 4K@60hz and uses a 200mbps+ connection. Only resolution seen in Youtube Dash Settings are 720p & 1080p, no 4K and while playing it also stays at 1080p Can someone test this video or see if they have 4K resolution setting in Youtube Dash and what bitrate is reported? https://www.youtube.com/watch?v=iNJdPyoqt8U Auto frame-rate switching does switch local and non Youtube streaming video to 4K before playback. Any other suggestions?

koying commented 7 years ago

@wesk05 Please test http://download.semperpax.com/spmc/android-arm/SPMC-20160830-5f2b4bf--armeabi-v7a.apk

wesk05 commented 7 years ago

Bravo! It now switches correctly from 1080p to 2160p. No more zoomed in picture! (I have only done a quick test. I will check it again tonight).

MrMC commented 7 years ago

@wesk05 , make sure you check with gui set to 720

ians325 commented 7 years ago

It works just tried allsorts addon 4k it works just need make sure the Adjust display refresh rate is on Always !!!!. It maybe an idea to have this on as default settings !!!! Just remember to try a few vids on you-tube dash cause the first 4k did not work costa rica in 4k but second clip worked Babes

wesk05 commented 7 years ago

@MrMC : It does switch properly from 720p to 1080p and 2160p. The issue is the GUI doesn't seem to go back properly to 720p after switching to 2160p. It does go back properly from a 1080p switch. I see the problem with MrMC also.

koying commented 7 years ago

@wesk05 Thanks for your testing efforts. Could you please describe what's happening when going from 2160p to 720p? I assume you set 720p at SPMC level. AFAIK, setting it at system level doesn't allow resolution switching at all.

koying commented 7 years ago

@ians325 MPD needs at least 1 play to have an idea of your line speed. Default is conservative 4mbps. There is a bug in current version, though, that the estimated bandwidth is higer than it really is.

RobBrownNZ commented 7 years ago

(Just as an aside: thanks very much for maintaining SPMC, it's blimmin' marvellous :-)

I tried the 16.4.81 version from a few posts back, and the issue I have with seek failing on my Nexus Player is still there. I've described it in https://github.com/koying/SPMC/issues/373 with logs and a sample file, would you like me to get logs from the newer version of SPMC as well?

ians325 commented 7 years ago

I'm on 56 mb line

v1rusnl commented 7 years ago

Would also like to provide feedback on my FTV2. But I really cant even get the .81 version to start when data is set to external SD via spmc_env.properties . I let it start after install and that works. Then I exit the app, renamed the com.semperpax.spmc16 folder on SD to ...spmctest and changed the path in the properties file.

Afterwards the app tries to start, but I get kicked to homescreen immediately. Do I need to set up everything from scratch?

wesk05 commented 7 years ago

Could you please describe what's happening when going from 2160p to 720p? I assume you set 720p at SPMC level. AFAIK, setting it at system level doesn't allow resolution switching at all.

yes, 720p resolution is set inside SPMC. When it switches back to 720p from 2160p, the GUI is scaled incorrectly. It is zoomed in (probably at 1080p). If it is of any help, here is a debug log: http://paste.semperpax.com/pbxmpwcjw

koying commented 7 years ago

@wesk05 Thanks. I don't see immediately why 1080->720 and 2160->1080 would work, but not 2160->720. Could you try to go to the AFTV2 home and back in SPMC when in zoomed mode. Might be an Android layout issue...

wesk05 commented 7 years ago

@koying It is fine if I go to FireTV 2 home and come back to SPMC. So, it seems to be an Android layout issue like you mentioned. I did the 720p test only because MrMC asked me to try it. I am not sure how may will actually set the GUI to 720p.

MrMC commented 7 years ago

2160->720 wrong gui size verified on fireTV.

koying commented 7 years ago

@wesk05 Thanks again. I could imagine having the AFTV in 720p to let the TV upscale SD. But yeah, 99% sure it's a firmware issue.

guidosarducci commented 7 years ago

(Running on AFTV v1, Android 5.1.1) I've now seen the second occurrence of a GLES-related crash that seems associated with scrolling text in the SPMC UI. @koying, will send you the logcat+debug log link privately via Kodi forum.

BTW, is it possible for the CrashHandler and SettingsMenu log uploaders to make the files only accessible by you? That would help ease privacy concerns a little...

compyy commented 7 years ago

Hello,

I am on Nvidia Shield, installed the latest version "5f2b4bf" but still in Youtube Max is 1080p, can't find to set it as 4k, i have 70mbps internet connection.

krokojo commented 7 years ago

Hello, I am running the Version "SPMC-20160830-5f2b4bfon" on AFTV (gen1) with Android 5.1.1. Thanks for adding the automatic refresh rate.

I still have the problem, that the playback is not smooth. There is still judder. For example x264 videos with 23.976fps with resolutions 1920x1080p or 1280x720p. Do I have to change some settings?

Thanks.

co5mo commented 7 years ago

running latest apk 5f2b4bf posted in first post settings adjust display refresh rate always

mkv 23,972 and tv still @ 60hz

https://imgur.com/FJoYemV

firetv first gen firmware : os 5.2.1.0

is there anything I am missing? thanks

edit1: debuglog http://pastebin.com/raw/dGrBC1Xa

koying commented 7 years ago

Debug logs, please. I'm not a ghost behind your shoulder...

co5mo commented 7 years ago

log http://pastebin.com/raw/dGrBC1Xa

koying commented 7 years ago

@co5mo Would you have forced the resolution in AFTV system? You have to leave it on "auto" for auto-refresh to work in SPMC

co5mo commented 7 years ago

I knew this could be it when I was going to bed yesterday, tv now shows @ 24hz thank you so much ... this should probably be mentioned somewhere in the wiki too

shafiqalibhai commented 7 years ago

:+1:

semool commented 7 years ago

refresh rate switch works great with AFTV2 on a 1080p TV.