Nightly builds (NEW)

thats very wierd! any idea how to debug that on my side so i can provide more information that might point to the error source?

The sample you send me does it skip or drop frames? Most common error is that TV doesnā€™t switch to the correct framerate. In this case 23.976Hz

i enabled debug logging and i can see that it switches from 60hz to 23.4/24.4hz (switching all the time) in the text that is displayed while watching the movie

does that help in any way?

2020-07-06 17:49:40.159 T:3783664512  NOTICE: plugin.video.xstream - no new update
2020-07-06 17:49:40.165 T:3783664512  NOTICE: script.module.urlresolver - Search for update
2020-07-06 17:49:40.436 T:3783664512  NOTICE: script.module.urlresolver - no new update
2020-07-06 17:49:40.446 T:3783664512  NOTICE:   [xStream] profile folder: /storage/.kodi/userdata/addon_data/plugin.video.xstream/ (ENCODED)
2020-07-06 17:49:40.446 T:3783664512  NOTICE:   [xStream] root folder: /storage/.kodi/addons/plugin.video.xstream (ENCODED)
2020-07-06 17:49:40.446 T:3783664512  NOTICE:   [xStream] default sites folder: /storage/.kodi/addons/plugin.video.xstream/sites (ENCODED)
2020-07-06 17:50:03.550 T:4061651536  NOTICE: VideoPlayer::OpenFile: /var/media/My Book/videos/Hell.or.High.Water.2016.German.EAC3D.DL.2160p.UHD.BluRay.HDR.Dolby.Vision.HEVC.Remux-NIMA4K/Hell.or.High.W>
2020-07-06 17:50:03.554 T:3646608256  NOTICE: Creating InputStream
2020-07-06 17:50:03.558 T:3646608256  NOTICE: Creating Demuxer
2020-07-06 17:50:04.024 T:3646608256  NOTICE: Opening stream: 0 source: 256
2020-07-06 17:50:04.024 T:3646608256  NOTICE: CVideoPlayerVideo::OpenStream - Creating codec: 173
2020-07-06 17:50:04.026 T:3646608256  NOTICE: Creating video thread
2020-07-06 17:50:04.027 T:3783664512  NOTICE: running thread: video_thread
2020-07-06 17:50:04.027 T:3646608256  NOTICE: Opening stream: 3 source: 256
2020-07-06 17:50:04.027 T:3646608256  NOTICE: Finding audio codec for: 86056
2020-07-06 17:50:04.027 T:3646608256  NOTICE: Creating audio thread
2020-07-06 17:50:04.027 T:3257918336  NOTICE: running thread: CVideoPlayerAudio::Process()
2020-07-06 17:50:04.027 T:3646608256   ERROR: ParsePacket - can't find decoder
2020-07-06 17:50:04.038 T:3257918336   ERROR: Previous line repeats 41 times. 
2020-07-06 17:50:04.038 T:3257918336  NOTICE: Creating audio stream (codec id: 86056, channels: 6, sample rate: 48000, pass-through)
2020-07-06 17:50:04.040 T:3646608256   ERROR: ParsePacket - can't find decoder
2020-07-06 17:50:04.040 T:3257918336   ERROR: Previous line repeats 5 times.  
2020-07-06 17:50:04.040 T:3257918336   ERROR: CAEStreamInfo::GetDuration - invalid stream type
2020-07-06 17:50:04.042 T:3646608256   ERROR: Previous line repeats 1 times.
2020-07-06 17:50:04.042 T:3646608256   ERROR: ParsePacket - can't find decoder
2020-07-06 17:50:04.157 T:4061651536   ERROR: Previous line repeats 71 times. 
2020-07-06 17:50:04.157 T:4061651536  NOTICE: Whitelist search for: width: 3840, height: 2160, fps: 23.976, 3D: false
2020-07-06 17:50:04.157 T:4061651536  NOTICE: Display resolution ADJUST : 3840x2160 @ 23.98 - Full Screen (37) (weight: 0.000)
2020-07-06 17:50:04.167 T:3646608256   ERROR: ParsePacket - can't find decoder
2020-07-06 17:50:04.397 T:4061651536   ERROR: Previous line repeats 65 times. 
2020-07-06 17:50:04.397 T:4061651536  NOTICE: VideoPlayer: OnLostDisplay received
2020-07-06 17:50:04.397 T:4061651536   ERROR: GetString: error reading /sys/class/amhdmitx/amhdmitx0/custom_mode
2020-07-06 17:50:04.774 T:4061651536  NOTICE: VideoPlayer: OnResetDisplay received
2020-07-06 17:50:04.831 T:3646608256   ERROR: ParsePacket - can't find decoder
2020-07-06 17:50:09.686 T:4040676224   ERROR: Previous line repeats 35 times. 
2020-07-06 17:50:09.686 T:4040676224 WARNING: ActiveAE - large audio sync error: -1023.927480
2020-07-06 17:50:09.736 T:4040676224 WARNING: ActiveAE - large audio sync error: -1020.955063
2020-07-06 17:50:09.786 T:4040676224 WARNING: ActiveAE - large audio sync error: -1055.959189
2020-07-06 17:50:09.788 T:4040676224 WARNING: ActiveAE - large audio sync error: -1018.524063
2020-07-06 17:50:09.837 T:4040676224 WARNING: ActiveAE - large audio sync error: -1025.780188
2020-07-06 17:50:09.886 T:4040676224 WARNING: ActiveAE - large audio sync error: -1016.399438
2020-07-06 17:50:09.887 T:4040676224 WARNING: ActiveAE - large audio sync error: -1043.601271

can i somehow verify that? you mean drop on the TV side? i am not sure how to test that

I am asking if your stutters are visible in this sample. Because I donā€™t see anything. Also when I enable onscreen player debug information I see neither drops nor skips in the count.

I am just making sure that issue is 100% reproducible with the sample.

yes, i can make a small video how it looks on my tv if that helps?

No I believe you. Now the big question is why you see it and I am not. Are you able to try a clean build on an empty sd card?

i already created a small video, so here it is, maybe you see something that shouldnt be what i do not recognize because lack of skill :wink:
first playback is the small video, second playback the big one to show a bit more of that behaviour

https://filebin.net/uh1nr7ce0zlt09ql/WhatsApp_Video_2020-07-06_at_18.23.42.mp4?t=1ekrlmkh

i use emmc but i can try to create either a new profile or a fresh install on sd

I am not sure I see it

Edit. Yes with the big file. But is it with the sample too?

yes it is the same with the sample, but as longer the file plays, the worse the playback gets. so on the small file, thereā€™s only small ā€œjumpsā€ in the video and cracks in the sound.
i can also provide more of that file, maybe 200mb, if that helps?

did you turn on sound? because thats clearly to hear also in the short clip. sorry for the bad video file, its from an old samsung s3 (nearly 10 years old).

I heard the sound but I figured it is due to the cut of the Video.

http://ix.io/2qPL

Iā€™ve tracked it down to a problem with resolution.ini

If I delete resolution.ini and quickly reboot the box before it gets rewritten then the box boots up fine in 1080p mode.

If I then change Kodiā€™s GUI to 2160p and reboot the box resolution.ini gets changed to hdmimode=2160p60hz and the box just hangs at a 4K version of the CoreELEC logo and I have to delete resolution.ini to get it to reboot normaly.

1 Like

Iā€™m in the same boat as well, dropping my journalctl here: http://ix.io/2rbR

Iā€™m also normally running in 4k, but the boot only shows a small 1080p boot screen in the top left corner.

1 Like

It does work but on reboot it does not display the Coreelec screen. It actually seems to load faster but goes directly to the kodi interface. On Odroid N2 Rev A

In my tvbox (S905X3) connected to an old 720p tv I have never been able to view the spashscreen image on boot, but Kodi has always worked.
For about a week, after a night build update i was amazed, during boot now Iā€™ve seen the splashscreen image but when Kodi starts the result is what I place in the image.
Browsing with difficulty in the menus with the remote I saw that the resolution is set correctly (1280x720p).
Changing it to 720x576p and returning to 720p, or just only if i change the Hz from 60 to 50 the GUI returns to be correct, but at every boot the problem reoccurs.
If I delete the resolution.ini file and reboot I no longer see the splashscreen image on boot but the Kodi GUI starts correctly, I see well on the screen.
I tried to force the hdmi resolution in the config.ini but the result is the same.
The question is: what has happened since the last updates?
Is this resolution.ini really necessary? :rofl:
My resolution.ini:

hdmimode=720p60hz
frac_rate_policy=0

From the log:

2020-07-08 23:23:23.388 T:4059234320 NOTICE: Found resolution 720 x 480 with 720 x 480 @ 60.000000 Hz
2020-07-08 23:23:23.388 T:4059234320 NOTICE: Found resolution 720 x 480 with 720 x 480 @ 59.940060 Hz
2020-07-08 23:23:23.388 T:4059234320 NOTICE: Found resolution 720 x 576 with 720 x 576 @ 50.000000 Hz
2020-07-08 23:23:23.388 T:4059234320 NOTICE: Found resolution 1280 x 720 with 1280 x 720 @ 60.000000 Hz
2020-07-08 23:23:23.389 T:4059234320 NOTICE: Found resolution 1280 x 720 with 1280 x 720 @ 59.940060 Hz
2020-07-08 23:23:23.389 T:4059234320 NOTICE: Found resolution 1920 x 1080 with 1920 x 1080i @ 60.000000 Hz
2020-07-08 23:23:23.389 T:4059234320 NOTICE: Found resolution 1920 x 1080 with 1920 x 1080i @ 59.940060 Hz
2020-07-08 23:23:23.389 T:4059234320 NOTICE: Found resolution 1280 x 720 with 1280 x 720 @ 50.000000 Hz
2020-07-08 23:23:23.389 T:4059234320 NOTICE: Found resolution 1920 x 1080 with 1920 x 1080i @ 50.000000 Hz
2020-07-08 23:23:23.389 T:4059234320 NOTICE: Found (1280x720@50.000000) at 23, setting to RES_DESKTOP at 16

@roidy Can you try this testbuild with native 4K GUI and remove config.ini hdmimode:
https://mega.nz/file/955yRI7Q#v1qFC_SzT4uEFDTQ6xDVo2mlaDPTUiRvyQRcsZ-aMHU

The disable gui scaling option was moved under Display Settings.

Thanks

@Ray Yep, that works perfectly. hdmimode removed from config.ini, Kodi GUI set to 4k and Disable GUI scaling set to On, Kodi starts up perfectly.

Thanks :+1:

2 Likes

It also uses a native 4K GUI now on boot so if you notice the logo is never changed and there is no black screen on boot it just jumps from Logo to mediacenter GUI fluently. This is now for every mode.

2 Likes

Yep, itā€™s now a very smooth transition from boot logo to Kodi, it looks much better :+1: