Random freeze / quit to menu on high bandwidth content

Hi all,

New to the forum and to Vero. This is my first post after exhausting Google and the search function on this forum.

I’m experiencing random freezes on high bandwidth content. It doesn’t happen with every movie and the intervals vary from 15 to 32 minutes before the movie stops, the title and subtile stay on screen for a few secondes and I get thrown back to the movie menu. I can then restart the movie. I’ve tried several things. Such as using nfs fstab mounts instead of using the Kodi nfs functionality. As soon as I hooked up my Vero box I installed all updates.

I also tried “echo 16 > /sys/module/amvdec_h265/parameters/dynamic_buf_num_margin”, but that returns an “access denied” error.

My files are on a Synology Ds718 Nas with two 10Tb Seagate Ironwolf drives. Everything is connected through Cat 6 cable on an Asus 3-router Mesh network consisting of one RT-Ac88U and thwo RT-AC68U routers. I also tried enabling and disabling QOS on the router.

My logs can be found here: https://paste.osmc.tv/ohohosivem. The stream stalled-error pops up a few times, along with a video DB error and DisplayLost.

I used 905 and 912 arm boxes running Coreelec before switching to Vero. With Kodi 17 I did not have these issues.

Any advice would be appreciated.

Thanks,

Eelco

Hi,

1 Could you please provide full debug logs, since the bits you have omitted might contain useful information.

2 The correct form of the echo command is:

echo 16 | sudo tee /sys/module/amvdec_h265/parameters/dynamic_buf_num_margin

3 Since you say that the problem doesn’t occur with every movie, do some movies repeatedly exhibit the problem? If so, please provide mediainfo for the example file that appears in the new logs. (You might need to install it: sudo apt-get install mediainfo.)

4 You mention mesh networking and cat 6 cabling in the same sentence. Could you explain your network in a bit more detail, specifically the route vetween the Vero and Syno NAS.

We already set dynamic buffers to 16; and the issue with certain clips (Serenity, John Wick etc) was solved some time ago.

This is what I’d be interested in.
An iperf3 test and the results would be useful.

Still working on the other stuff Dillthedog requested. These are two iperf3 results:

[  4] local 192.168.1.169 port 51797 connected to 192.168.1.13 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec   108 MBytes   903 Mbits/sec    0   1.81 MBytes       
[  4]   1.00-2.00   sec   110 MBytes   926 Mbits/sec    0   2.91 MBytes       
[  4]   2.00-3.00   sec   106 MBytes   891 Mbits/sec   60   2.22 MBytes       
[  4]   3.00-4.00   sec   111 MBytes   931 Mbits/sec    0   2.46 MBytes       
[  4]   4.00-5.00   sec   109 MBytes   909 Mbits/sec    0   2.57 MBytes       
[  4]   5.00-6.00   sec   111 MBytes   934 Mbits/sec    0   2.74 MBytes       
[  4]   6.00-7.00   sec   108 MBytes   907 Mbits/sec    0   2.80 MBytes       
[  4]   7.00-8.00   sec   110 MBytes   924 Mbits/sec    0   2.86 MBytes       
[  4]   8.00-9.00   sec   110 MBytes   922 Mbits/sec    0   2.94 MBytes       
[  4]   9.00-10.00  sec   110 MBytes   923 Mbits/sec    0   2.99 MBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  1.07 GBytes   917 Mbits/sec   60             sender
[  4]   0.00-10.00  sec  1.07 GBytes   915 Mbits/sec                  receiver

and

[  4] local 192.168.1.169 port 51801 connected to 192.168.1.13 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec   110 MBytes   918 Mbits/sec    0   1.98 MBytes       
[  4]   1.00-2.00   sec   108 MBytes   909 Mbits/sec    0   2.85 MBytes       
[  4]   2.00-3.00   sec   109 MBytes   910 Mbits/sec    0   2.20 MBytes       
[  4]   3.00-4.00   sec   110 MBytes   923 Mbits/sec    0   2.38 MBytes       
[  4]   4.00-5.00   sec   109 MBytes   916 Mbits/sec    0   2.52 MBytes       
[  4]   5.00-6.00   sec   110 MBytes   923 Mbits/sec    0   2.63 MBytes       
[  4]   6.00-7.00   sec   109 MBytes   910 Mbits/sec    0   2.66 MBytes       
[  4]   7.00-8.00   sec   110 MBytes   927 Mbits/sec    0   1.99 MBytes       
[  4]   8.00-9.00   sec   108 MBytes   909 Mbits/sec    0   2.10 MBytes       
[  4]   9.00-10.00  sec   110 MBytes   927 Mbits/sec    0   2.18 MBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  1.07 GBytes   917 Mbits/sec    0             sender
[  4]   0.00-10.00  sec  1.07 GBytes   916 Mbits/sec                  receiver

iperf Done.

And from Synology to Vero:

[  5] local 192.168.1.202 port 37528 connected to 192.168.1.169 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec   110 MBytes   920 Mbits/sec    0   1.35 MBytes       
[  5]   1.00-2.00   sec   112 MBytes   944 Mbits/sec    0   1.49 MBytes       
[  5]   2.00-3.00   sec   109 MBytes   912 Mbits/sec   57   1.19 MBytes       
[  5]   3.00-4.00   sec   109 MBytes   912 Mbits/sec    0   1.27 MBytes       
[  5]   4.00-5.00   sec   109 MBytes   912 Mbits/sec    0   1.36 MBytes       
[  5]   5.00-6.00   sec   112 MBytes   944 Mbits/sec    0   1.47 MBytes       
[  5]   6.00-7.00   sec   109 MBytes   912 Mbits/sec   14   1.09 MBytes       
[  5]   7.00-8.00   sec   112 MBytes   944 Mbits/sec    0   1.15 MBytes       
[  5]   8.00-9.00   sec   110 MBytes   923 Mbits/sec    0   1.21 MBytes       
[  5]   9.00-10.00  sec   111 MBytes   933 Mbits/sec    0   1.22 MBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  1.08 GBytes   926 Mbits/sec   71             sender
[  5]   0.00-10.00  sec  1.08 GBytes   924 Mbits/sec                  receiver

The 60 and 57 retries cause me some concern.
What could be happening here?

The setup:

Main router downstairs, near cable-modem. Cat 6 wired connection to router 2 on first floor which connects to router 3 in the attic (cat6 also). From the third router a 15m cable cat6 cable runs downstairs to my living room and connects to a Linksys 8-port switch. The vero box connects to that switch. Asus Mesh is activated.

In can create a direct connection between NAS and Vero, but it is limited to 100Mb. My synology has two ethernet ports. The other one would still connect it to the network through the main router.

E.

Media-info for this movie: https://paste.osmc.tv/gayuseyane.vhdl

Full debug log here: https://paste.osmc.tv/lofopajocu.vhdl

I applied the buffer commands.

More about the network setup in my answer to Sam’s question.

Is it only that file giving your problems? If so that it’s the old friend John Wick

https://discourse.osmc.tv/search?q=John%20Wick

No, there’s some others too. The bourne identity, Bohemian Rhapsody, Rocket man.

Annoying thing is, though, I can see no trigger. No huge jump in screen activity or lots of sounds that could cause a peak in data-usage. My iperf3 results look good, apart from a few retries. It’s annoying. A 905 box running coreelec 9.2 doesn’t seem to have this issue.

It’s driving me and my family mad.

E.

That’s only the Kodi logs missing the crucial parts for the team to be able to review other impacts. Please upload all logs.

Do you mean: select and upload all logs in the “my osmc” - log section and then add the seperate debug log? Because I don’t see a “upload debug” option in the My OSmc log options

Yes correct.

The debug logging is an option that you enable in Settings. Once enable the kodi.log that is uploaded will be the “debug log”

So, should I enable debug logging or not? Sorry for asking stupid questions. My experience with logging is limited.

As you had provided debug kodi.log here

It’s good enough if you now just provide the missing logs by just upload all no need to worry about debugging.

Have you tried disabling hibernation on the Synology?

Yep. Disks are set to spin down after three hours of inactivity.

New logs, with a different movie (Rocketman): over here: https://paste.osmc.tv/ujuficifuq

(“all logs” - selected from My Osmc)

Set the GUI to 1080p. You currently have it set to 2160p.

We recommend people with 4K TV’s set their user interface (UI) to 1080p. Kodi’s UI is not optimized for 4K yet and this can put unnecessary demands on your device and can lead to a suboptimal picture quality, as well as potentially cause other issues.

The settings we recommend are as follows…

Settings>System>Display>Resolution> 1920x1080p
Settings>System>Display>Whitelist> (empty)
Settings>Player>Videos>Adjust display refresh rate> On start/stop

Some televisions may also need, or benefit from, the following being set…

System>Display>Force 4:2:2 colour subsampling> (enable)

With the above settings your UI will be output in Full HD and your 4K content will be output in 4K. If you have any doubt, feel free to upload some logs so we can verify that your settings are indeed correct.

1 Like

Thanks. Will try as soon as my wife is done watching TV.

Completely forgot to mention: my box connects to a Yamaha receiver which then connects to my 4K Samsung TV. Does that make a difference?

Yes, that’s fine, I’m setup the same way: Vero > Yamaha > TV.

Check the HDMI port setting on your Yamaha. On mine, I had to set it to Mode 2 for 4K to work properly.

So you disabled sleep on the disks and the NAS itself and there was no change?

Have you tried changing the cable that goes from the Vero to the switch? Have you tried changing which port on the switch the Vero is plugged into (I have seen an individual port go wonky on a netgear 8-port before).

Have you done anything to the John Wick film? The mediainfo figures look a little strange:

Duration                                 : 2 h 10 min
File size                                : 4.00 MiB
Overall bit rate                         : 4 276 b/s
IsTruncated                              : Yes

while in the Kodi log, we see

Duration: 02:10:46.30, start: 0.000000, bitrate: 67955 kb/s
NUMBER_OF_BYTES-eng: 61940628117

Are they statistics for the same file?