Frame skipping, blackouts

Hi, my vero 4k worked flawlessly for a long time (1+ year), until an update introduced frame skipping, slowdowns and problems with blackouts. I never bothered to look into it, and a few updates later the problem was gone. Now with the latest update, the problems are back. Super annoying.

Watching a full 1080p movie means blackouts for 2-5 seconds every 5mins or so. They also skip frames a lot. Sometimes every 5 seconds, to then work as expected for 10-15mins or more until it starts skipping again.

Just now watching a movie I had the info and debug panel up. I could clearly see the frames skipping. A weird thing I noticed was it was using the HW decoder, but one of the cpu’s maxed out at 100% load quite a lot (all others at 2-10%). It later settled down by itself and by then is stopped skipping as many frames.

It’s not due to my network/nas, as the buffer was full / way ahead all the time (visible in the search bar / timeline and debug info). I’ve also tested through iPerf and get about 600mbit throughput (if I remember correctly). Using wired/wifi doesn’t matter for my issues. The movie I watched now was quite low on the bitrate and I saw no correlation between high bitrate and skips / slowdowns.

I also read something about true motion etc. in combination with auto refresh rate could introduce skipping. Well anyway all those kind of settings are off on my tv.

Logs below, hope they help.

https://paste.osmc.tv/ukuvuvafij

My full setup:
Vero 4k to Yamaha RX-V681 (mostly watch with the Yamaha off where it acts as a “dumb” hdmi switch).
Yamaha to LG B6 oled.
WD Nas hosts the files.

If you run it directly to the TV, does the problem go away?

Hi, just tried. Still does both frame drops and blackout directly connected to the TV.
One interesting thing I caught now was that during the blackout (lasted maybe 3-5 seconds) the vero switched from 24fps output/playback to 23.976. The movie I tried is 23.976.
No cpu spikes during playback this time, stayed in the bottom 10% of all four cores.

Also this is with another hdmi cable & input on the tv, so should rule out that as well unless all my cables are somehow bad…

Logs including this last playback. Stopped playback and uploaded logs basically straight away after blackout (maybe a few minutes after).
https://paste.osmc.tv/xolegataza

Also tried watching the same file on my computer. It drops a low number of frames there too, but not at all visible like the Vero (I couldn’t visibly tell at all but the debug panel told me 10 lost frames over maybe 10 minutes). The vero noticeably stutters and also does it on basically all my media.

Thank you for your help looking in to it!

Can you give us the MediaInfo of an affected file?

Sam

It happens on basically any format, but the two from the logs below:

#1

General
Complete name                            : /Frozen.2013.1080p.BluRay.x264.YIFY.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom (isom/avc1)
File size                                : 1.63 GiB
Duration                                 : 1 h 42 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 2 289 kb/s
Encoded date                             : UTC 2014-02-27 06:26:54
Tagged date                              : UTC 2014-02-27 06:26:54

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 1 h 42 min
Bit rate                                 : 2 193 kb/s
Maximum bit rate                         : 26.0 Mb/s
Width                                    : 1 920 pixels
Height                                   : 856 pixels
Display aspect ratio                     : 2.25:1
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Original frame rate                      : 23.976 (23976/1000) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.056
Stream size                              : 1.56 GiB (96%)
Title                                    : video.264#trackID=1:fps=23.976 - Imported with GPAC 0.5.0-rev
Writing library                          : x264 core 135 r2 f0c1c53
Encoding settings                        : cabac=1 / ref=4 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-3 / threads=18 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=2pass / mbtree=1 / bitrate=2193 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=31250 / vbv_bufsize=31250 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
Encoded date                             : UTC 2014-02-27 06:26:54
Tagged date                              : UTC 2014-02-27 06:27:02
Color range                              : Limited
Color primaries                          : BT.709
Matrix coefficients                      : BT.709
Codec configuration box                  : avcC

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 1 h 42 min
Bit rate mode                            : Variable
Bit rate                                 : 93.7 kb/s
Maximum bit rate                         : 103 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 68.5 MiB (4%)
Language                                 : English
Encoded date                             : UTC 2014-02-27 06:27:02
Tagged date                              : UTC 2014-02-27 06:27:02

#2

General
Unique ID                                : 22077484682062985429736465413621536498 (0x109BF808D21AF21B6E0D5CDB6E79D6F2)
Complete name                            : aladdin.2019.1080p.bluray.x264-sparks.mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 9.84 GiB
Duration                                 : 2 h 7 min
Overall bit rate                         : 11.0 Mb/s
Encoded date                             : UTC 2019-08-24 09:47:54
Writing application                      : mkvmerge v33.0.0 ('A Little Bit of Madness') 64-bit
Writing library                          : libebml v1.3.7 + libmatroska v1.5.0

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings                          : CABAC / 5 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 5 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 2 h 7 min
Bit rate                                 : 9 495 kb/s
Width                                    : 1 920 pixels
Height                                   : 808 pixels
Display aspect ratio                     : 2.40:1
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.255
Stream size                              : 8.49 GiB (86%)
Writing library                          : x264 core 158 r2984 3759fcb
Encoding settings                        : cabac=1 / ref=5 / deblock=1:-3:-3 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=25 / lookahead_threads=4 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=2pass / mbtree=1 / bitrate=9495 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Language                                 : English
Default                                  : Yes
Forced                                   : No

Audio
ID                                       : 2
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Codec ID                                 : A_DTS
Duration                                 : 2 h 7 min
Bit rate mode                            : Constant
Bit rate                                 : 1 509 kb/s
Channel(s)                               : 6 channels
Channel layout                           : C L R Ls Rs LFE
Sampling rate                            : 48.0 kHz
Frame rate                               : 93.750 FPS (512 SPF)
Bit depth                                : 24 bits
Compression mode                         : Lossy
Stream size                              : 1.35 GiB (14%)
Language                                 : English
Default                                  : Yes
Forced                                   : No

Another thing I noticed, when it “stutters”, the debug info ticks up by 2-3 frames dropped. But in reality the stutter/hickup lasts a lot longer, maybe 0.25 to 0.5 seconds (so should be about 6-12 frames on a 24fps video). It’s really noticable.

Have you tried playing the files from a thumb drive plugged directly into the vero to see if it really isn’t a network issue or something similar ?

Aladdin would be Repacked by now if there was an issue with the file

Also did you make the mediainfo logs yourself or did you copy/paste them from somewhere?

Hi!

Just tried from a thumb-drive, and the same issues was still there. It does it even on low-bitrate content so shouldn’t be due to bandwidth issues.

I made the media info logs myself using “MediaInfo” on my mac.

I think (not 100% sure) that the issues wasn’t present in the Jan. update. Perhaps I could try and downgrade and report back? In that case, how would I do this semi-simple and keep my settings etc? (I have some limited exp. with linux/ssh etc. so shouldn’t be to difficult on my end).

I just noticed you are playing 1080p files on a 4k tv.

Are 2106p files playing ok since they are native to your display?

Just thinking out loud but could it be a lose or defect hdmi cable causing the sporadic blackouts?

Do you have resolution set to 1080p and adjust refresh rate set to start/stop or Always ( this is important)

I have aladin myself on my personal pc but due to covid I work from home and have the work pc set up at the moment and can’t access the files on my personal computer.

Maybe someone else could try playing it to see if they have issues as well

The only 4k files I have are really high bitrate and stutter/buffer because my lan can’t keep up, so I would have to test it locally before commenting on this.

However, playing 1080p content hasn’t been a problem in the past, and certainly isn’t a problem with my other devices. Native tv player, chromecast, my laptop and an ancient Boxee Box all play back the same content just fine on the same tv/settings.

I’ve tried 3 different HDMI cables and several inputs on the TV, so that shouldn’t be the problem either.

Adjust refresh rate is set to start/stop. I’ve had it that way since I first set up the Vero. Sync playback is disabled. Maybe I should try to give that one a go.

I don’t think there’s an issue here with a specific film/file (Aladdin) as these issues are precent in my entire library. Also, other devices play back the same files with out issue.

Maybe I just have a hardware fault in my vero, or something is messed up software wise. If anyone has a “simple” guide I’d happily downgrade to the jan update and test as I think that one didn’t have the problem. I cannot remember exactly but the issues started for me with an update maybe 1-2 years ago and has come and gone with updates since then. Maybe a total reset of settings/library would help too, although I’d rather not go that route as I have it set up exactly as I like it…

  • Syncing playback to display did not help the issue (if anything it made it worse).
  • Turning off HW decoding did not help either. Noticeable stutters although with this off the debug info reported 0 dropped frames.

Hmm… anything else I could test? Could it be an issue with temps/throttling?

You could go to settings- system- Display

And see if any of the options such as Lock HDMI HPD, Force 422 colour and Force RGB make a difference but enable them one by one and disable them afterwards if they don’t fix your issue.

I think you need to have settings level set to expert to see those options

Other than that I’m out of ideas but I’m sure @sam_nazarko or other helpful people here will help you

Thanks. Unfortunately none of them fixed my issue.

@sam_nazarko Any tips on what to do next? I could try and downgrade to the jan update to see if that fixes it. Any way to do this without loosing my settings etc?

I will follow up on this tomorrow

Sam

Can you backup the system via My OSMC and try the January version?

I’ll give it a go and report back!

@sam_nazarko A clean install of 2020-01 DID solve the issue! No more stutters / blackouts.

Now for the next step, I’m wondering wether I should first test a clean install of 2020-03 or reloading my backup to 2020-01 and test that first. Would any of the options be more helpful for you?

I will think of the best way for you to update it piece by piece so we can find the underlying issue.

Sam