Freezing on high bandwidth 4k content

I suspect it’s more of an Atmos issue now. If I remember correctly Frozen is one of those Disney movies that pushed Atmos over the standard limits.

Do you have problems with any other 4K UHD movies?

I have the same model Vero 4K as you do, and all my 4K UHD plays just fine. Even Gemini Man @ 60fps.

From the name of the file it obvious that it’s a remux that you downloaded. Maybe its just a bad remux.

I hadn’t really paid attention to your iperf results, but looking at them now they seem a bit low.

Here is a test from my Vero to the NAS:

osmc@yeti:~$ iperf3 -c eldrad.local 
Connecting to host eldrad.local, port 5201
[  4] local 192.168.1.240 port 38938 connected to 192.168.1.247 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec  12.0 MBytes   100 Mbits/sec    0    130 KBytes       
[  4]   1.00-2.00   sec  11.2 MBytes  94.4 Mbits/sec    0    137 KBytes       
[  4]   2.00-3.00   sec  11.2 MBytes  94.4 Mbits/sec    0    137 KBytes       
[  4]   3.00-4.00   sec  11.2 MBytes  93.8 Mbits/sec    0    137 KBytes       
[  4]   4.00-5.00   sec  11.2 MBytes  94.3 Mbits/sec    0    137 KBytes       
[  4]   5.00-6.00   sec  11.4 MBytes  95.4 Mbits/sec    0    173 KBytes       
[  4]   6.00-7.00   sec  11.2 MBytes  94.4 Mbits/sec    0    173 KBytes       
[  4]   7.00-8.00   sec  11.2 MBytes  93.8 Mbits/sec    0    173 KBytes       
[  4]   8.00-9.00   sec  11.2 MBytes  94.3 Mbits/sec    0    173 KBytes       
[  4]   9.00-10.00  sec  11.2 MBytes  94.3 Mbits/sec    0    173 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec   113 MBytes  95.0 Mbits/sec    0             sender
[  4]   0.00-10.00  sec   112 MBytes  94.2 Mbits/sec                  receiver

iperf Done.

And with -R

osmc@yeti:~$ iperf3 -R -c eldrad.local 
Connecting to host eldrad.local, port 5201
Reverse mode, remote host eldrad.local is sending
[  4] local 192.168.1.240 port 38954 connected to 192.168.1.247 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  11.3 MBytes  95.1 Mbits/sec                  
[  4]   1.00-2.00   sec  11.2 MBytes  94.2 Mbits/sec                  
[  4]   2.00-3.00   sec  11.2 MBytes  94.1 Mbits/sec                  
[  4]   3.00-4.00   sec  11.2 MBytes  94.1 Mbits/sec                  
[  4]   4.00-5.00   sec  11.2 MBytes  94.1 Mbits/sec                  
[  4]   5.00-6.00   sec  11.2 MBytes  94.1 Mbits/sec                  
[  4]   6.00-7.00   sec  11.2 MBytes  94.2 Mbits/sec                  
[  4]   7.00-8.00   sec  11.2 MBytes  94.1 Mbits/sec                  
[  4]   8.00-9.00   sec  11.2 MBytes  94.1 Mbits/sec                  
[  4]   9.00-10.00  sec  11.2 MBytes  94.1 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec   113 MBytes  95.1 Mbits/sec    0             sender
[  4]   0.00-10.00  sec   112 MBytes  94.3 Mbits/sec                  receiver

iperf Done.

So I got a consistent 94-95M both directions. Your results were 90 and 84, so below what you should be getting. That small difference may be why you are having a problem.

1 Like

So before I hop on Amazon and buy that adapter, is there anything else that I should attempt to configure that might improve read speeds? Like I said, I did try some other non-Atmos movies and experienced a similar issue. Also, based on that debug log, is it stating that my read rate was only 60 Mbps and it needed 86 Mbps to work properly?

There is not another tweak on the Vero side to make a difference (other than adding an adapter). There are some people who run Hanewin on their Windows box to switch their shares from smb to nfs but I honestly doubt that would make much of a difference. Other than that it would be down to playing around with your network itself. You speed is not completely stable so you may have cabling that is doggy or a perhaps a switch that is not running as well as it should. Who knows?

All I can really tell you is that the largest rip I have is 48G and my lan is running perfect. With Kodi smb paths that file stutters and hangs on a Vero 4k. When I added a system mount and path sub the file would then play but it did sometimes have issues when I time skipped while it filled the buffer again. When I plugged it in through that adapter (which was all automatic, no configuration changes needed) then it played fine and acting about the same as 20G rips.

Regarding the log that is how I read it, although I don’t remember it going quite that low but did notice that the speed was going up and down which is the lack of stability that i’m refering to.

EDIT: Just a FYI I don’t know if that is the best adapter, it is just what I bought so I know it works. You can search this forum and find others that people have used which may or may not work better. I did zero research on that purchase as I needed it for a PC repair job and was more concerned with delivery time than anything else.

I’ve thought about this some, and another solution may be to just get another USB drive for your content and connect it directly to the Vero. You could still share it so you can access it from the Windows system, but since it’s directly connected to the Vero then the network would not be an issue when playing.

If you are adding new content to the drive you could still do that from Windows. It may be a bit slower but you don’t care about that since you are not playing the movie.

I just ran another iperf3 test and got even lower results, so I’m wondering if it might be worth attempting the gigabit adapter route. I assume that I should just go with the USB 2.0 option instead of the USB 3.0 option?

osmc@osmc:~$ iperf3 -R -c 192.168.1.110
Connecting to host 192.168.1.110, port 5201
Reverse mode, remote host 192.168.1.110 is sending
[ 4] local 192.168.1.21 port 41245 connected to 192.168.1.110 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 3.83 MBytes 32.1 Mbits/sec
[ 4] 1.00-2.00 sec 9.41 MBytes 79.0 Mbits/sec
[ 4] 2.00-3.00 sec 10.7 MBytes 90.1 Mbits/sec
[ 4] 3.00-4.00 sec 6.92 MBytes 58.0 Mbits/sec
[ 4] 4.00-5.00 sec 7.48 MBytes 62.7 Mbits/sec
[ 4] 5.00-6.00 sec 7.44 MBytes 62.5 Mbits/sec
[ 4] 6.00-7.00 sec 8.71 MBytes 73.0 Mbits/sec
[ 4] 7.00-8.00 sec 7.14 MBytes 59.9 Mbits/sec
[ 4] 8.00-9.00 sec 10.0 MBytes 84.1 Mbits/sec
[ 4] 9.00-10.00 sec 7.78 MBytes 65.3 Mbits/sec


[ ID] Interval Transfer Bandwidth
[ 4] 0.00-10.00 sec 79.6 MBytes 66.8 Mbits/sec sender
[ 4] 0.00-10.00 sec 79.6 MBytes 66.8 Mbits/sec receiver

iperf Done.

I’ve also been considering setting up a Synology NAS for my media to have a dedicated server instead of attempting to run everything through my desktop pc via the network and wonder if that might also improve speeds.

Another option would just be to buy the newer Vero 4k+, I assume, since it has built-in gigabit speeds?

Well if your network already has issues with 100 MBit I am not sure how it would act with a gigabit adapter. I would first suggest to check your cables

1 Like

It can make quite a significant difference in some cases; one benchmark I did had an autofs NFS share running at nearly double the speed of an autofs SMB share; and using autofs was also nearly twice as fast as binding to the share at Kodi-level.

But I suspect in @Brian_T’s case the Ethernet speed will bottleneck the performance before the SMB overheard does; and his iperf3 numbers suggest he isn’t even getting full 100Mb speed. So I agree that using Hanewin definitely isn’t the first thing to try: he needs to get the network performance sorted first.

2 Likes

I know the USB 3.0 version works. Unless you can find someone who has the USB 2.0 version who has actually used it with OSMC, you don’t really know if it will work, and I don’t think Amazon is listing the chipsets used in these two models so you would know if they are the same. Also for a $5 difference buying the one that is capable of full gigabit speeds seems like short money in case you find use for it elsewhere in the future.

Makes sense. I was just assuming since my Vero only has a USB 2.0 connection that the 3.0 connection wouldn’t really add much value but I agree, for $5 more, why not.

I decided to run a few tests just to provide a point of reference with what I have. The files are being served from an old Sandybridge Win10 Pro box with a single gigabit NIC. The network between devices is a couple Unifi gigabit switches. The OSMC device is Vero 4K (not plus) running 3.14 staging with relevant settings, including the buffers, in a stock configuration.

Iperf tests

Built-in fast ethernet adapter

Summary
osmc@Vero:~$ iperf3 -R -c 192.168.254.201
Connecting to host 192.168.254.201, port 5201
Reverse mode, remote host 192.168.254.201 is sending
[  4] local 192.168.254.106 port 36281 connected to 192.168.254.201 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  11.5 MBytes  96.6 Mbits/sec
[  4]   1.00-2.00   sec  11.3 MBytes  94.9 Mbits/sec
[  4]   2.00-3.00   sec  11.3 MBytes  94.9 Mbits/sec
[  4]   3.00-4.00   sec  11.3 MBytes  94.7 Mbits/sec
[  4]   4.00-5.00   sec  11.3 MBytes  94.9 Mbits/sec
[  4]   5.00-6.00   sec  11.3 MBytes  94.9 Mbits/sec
[  4]   6.00-7.00   sec  11.3 MBytes  94.9 Mbits/sec
[  4]   7.00-8.00   sec  11.3 MBytes  94.9 Mbits/sec
[  4]   8.00-9.00   sec  11.3 MBytes  94.9 Mbits/sec
[  4]   9.00-10.00  sec  11.3 MBytes  94.9 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.00  sec   114 MBytes  95.2 Mbits/sec                  sender
[  4]   0.00-10.00  sec   114 MBytes  95.2 Mbits/sec                  receiver

iperf Done.
osmc@Vero:~$ iperf3   -c 192.168.254.201
Connecting to host 192.168.254.201, port 5201
[  4] local 192.168.254.106 port 36283 connected to 192.168.254.201 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec  12.5 MBytes   105 Mbits/sec    0    215 KBytes
[  4]   1.00-2.00   sec  11.6 MBytes  97.5 Mbits/sec    0    269 KBytes
[  4]   2.00-3.00   sec  11.3 MBytes  95.1 Mbits/sec    0    269 KBytes
[  4]   3.00-4.00   sec  11.4 MBytes  95.4 Mbits/sec    0    271 KBytes
[  4]   4.00-5.00   sec  11.2 MBytes  94.1 Mbits/sec    0    271 KBytes
[  4]   5.00-6.00   sec  11.3 MBytes  95.1 Mbits/sec    0    271 KBytes
[  4]   6.00-7.00   sec  11.3 MBytes  94.8 Mbits/sec    0    271 KBytes
[  4]   7.00-8.00   sec  11.3 MBytes  95.0 Mbits/sec    0    271 KBytes
[  4]   8.00-9.00   sec  11.3 MBytes  94.9 Mbits/sec    0    271 KBytes
[  4]   9.00-10.00  sec  11.3 MBytes  95.2 Mbits/sec    0    271 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec   115 MBytes  96.2 Mbits/sec    0             sender
[  4]   0.00-10.00  sec   113 MBytes  95.1 Mbits/sec                  receiver

Amazon USB 3.0 gigabit adapter

Summary
osmc@Vero:~$ iperf3 -R -c 192.168.254.201
Connecting to host 192.168.254.201, port 5201
Reverse mode, remote host 192.168.254.201 is sending
[  4] local 192.168.254.190 port 34395 connected to 192.168.254.201 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec   451 KBytes  3.70 Mbits/sec
[  4]   1.00-2.00   sec  20.0 MBytes   167 Mbits/sec
[  4]   2.00-3.00   sec  25.4 MBytes   213 Mbits/sec
[  4]   3.00-4.00   sec  25.8 MBytes   216 Mbits/sec
[  4]   4.00-5.00   sec  25.7 MBytes   216 Mbits/sec
[  4]   5.00-6.00   sec  25.8 MBytes   216 Mbits/sec
[  4]   6.00-7.00   sec  22.6 MBytes   189 Mbits/sec
[  4]   7.00-8.00   sec  19.7 MBytes   165 Mbits/sec
[  4]   8.00-9.00   sec  17.8 MBytes   149 Mbits/sec
[  4]   9.00-10.00  sec  25.2 MBytes   212 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.00  sec   209 MBytes   175 Mbits/sec                  sender
[  4]   0.00-10.00  sec   209 MBytes   175 Mbits/sec                  receiver

iperf Done.
osmc@Vero:~$ iperf3  -c 192.168.254.201
Connecting to host 192.168.254.201, port 5201
[  4] local 192.168.254.190 port 34397 connected to 192.168.254.201 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec  22.1 MBytes   186 Mbits/sec    0   69.9 KBytes
[  4]   1.00-2.00   sec  22.3 MBytes   187 Mbits/sec    0   72.7 KBytes
[  4]   2.00-3.00   sec  22.3 MBytes   187 Mbits/sec    0   72.7 KBytes
[  4]   3.00-4.00   sec  22.3 MBytes   187 Mbits/sec    0   72.7 KBytes
[  4]   4.00-5.00   sec  22.3 MBytes   187 Mbits/sec    0   75.6 KBytes
[  4]   5.00-6.00   sec  22.3 MBytes   187 Mbits/sec    0   77.0 KBytes
[  4]   6.00-7.00   sec  22.3 MBytes   187 Mbits/sec    0   77.0 KBytes
[  4]   7.00-8.00   sec  22.3 MBytes   187 Mbits/sec    0   81.3 KBytes
[  4]   8.00-9.00   sec  22.3 MBytes   187 Mbits/sec    0   84.1 KBytes
[  4]   9.00-10.00  sec  22.3 MBytes   187 Mbits/sec    0   84.1 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec   223 MBytes   187 Mbits/sec    0             sender
[  4]   0.00-10.00  sec   223 MBytes   187 Mbits/sec                  receiver

Playback tests

To evaluate playback I used the 10 bit HEVC jellyfish bitrate test files and watched Kodi’s video debug display to find when skipped frames started occurring and when the buffer had issues staying full. As such tweaking buffer settings may lead to better results, but this was the least subjective, and easiest repeatable way I could think to run this kind of test.

Built-in NIC Kodi SMB path: Perfect up to 40mb/s jellyfish. 60mb/s jellyfish inconsistent (sometimes played perfect, sometimes lots of skipped frames), 90mb/s jellyfish skipped frames.

Built-in NIC SMB system mount: Perfect up to 60mb/s jellyfish, but had trouble maintaining buffer. 90mb/s jellyfish skipped frames.

Amazon USB 3.0 gigabit adapter Kodi SMB path: Perfect up to 60mb/s jellyfish. 90mb/s jellyfish skipped frames.

Amazon USB 3.0 gigabit adapter SMB system mount: Perfect up to 90mb/s jellyfish. 120mb/s jellyfish almost perfect, had trouble filling buffer, sometimes a couple skipped frames.

1 Like

Wow - looks like that adapter nearly doubled your speeds based on those Iperf tests. That seems like a worthwhile $20 investment to get just about any 4k remux to play smoothly.

1 Like

But keep in mind that his baseline speed was about the same as mine, so he was already getting a true 100M connection. Your tests show that you are not. Until you fix that I don’t think a GB adapter will help. And if it does it’s just masking the real problem. And that will probably come back to haunt you down the road.

In my opinion you need to get proper iperf speeds before trying anything else.

Don’t you think it is possible he has something in the chain that isn’t all that cool with throttling down to the fast ethernet connection? His numbers aren’t horrible so even if he doesn’t have a perfect gigabit connection with the adapter I don’t know that it would necessary add any more of a slowdown than going through the USB will.

That’s always a possibility, but that still tells me something isn’t right.

I went ahead and ordered the adapter. Should be arriving on Monday. I’ll report back with my findings. Thanks again for all the help!

Hi all, adapter arrived today and here were the new iperf3 results:

osmc@osmc:~$ iperf3 -R -c 192.168.1.110
Connecting to host 192.168.1.110, port 5201
Reverse mode, remote host 192.168.1.110 is sending
[ 4] local 192.168.1.150 port 52381 connected to 192.168.1.110 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 19.4 MBytes 163 Mbits/sec
[ 4] 1.00-2.00 sec 20.1 MBytes 168 Mbits/sec
[ 4] 2.00-3.00 sec 27.3 MBytes 229 Mbits/sec
[ 4] 3.00-4.00 sec 15.8 MBytes 132 Mbits/sec
[ 4] 4.00-5.00 sec 17.5 MBytes 147 Mbits/sec
[ 4] 5.00-6.00 sec 26.2 MBytes 220 Mbits/sec
[ 4] 6.00-7.00 sec 15.2 MBytes 128 Mbits/sec
[ 4] 7.00-8.00 sec 23.3 MBytes 196 Mbits/sec
[ 4] 8.00-9.00 sec 18.8 MBytes 158 Mbits/sec
[ 4] 9.00-10.00 sec 25.5 MBytes 213 Mbits/sec


[ ID] Interval Transfer Bandwidth
[ 4] 0.00-10.00 sec 209 MBytes 176 Mbits/sec sender
[ 4] 0.00-10.00 sec 209 MBytes 176 Mbits/sec receiver

iperf Done.
osmc@osmc:~$ iperf3 -c 192.168.1.110
Connecting to host 192.168.1.110, port 5201
[ 4] local 192.168.1.150 port 52383 connected to 192.168.1.110 port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 16.7 MBytes 140 Mbits/sec 0 174 KBytes
[ 4] 1.00-2.00 sec 20.5 MBytes 172 Mbits/sec 0 212 KBytes
[ 4] 2.00-3.00 sec 19.9 MBytes 167 Mbits/sec 0 212 KBytes
[ 4] 3.00-4.00 sec 19.0 MBytes 159 Mbits/sec 0 212 KBytes
[ 4] 4.00-5.00 sec 17.9 MBytes 150 Mbits/sec 0 212 KBytes
[ 4] 5.00-6.00 sec 21.6 MBytes 182 Mbits/sec 0 212 KBytes
[ 4] 6.00-7.00 sec 19.7 MBytes 165 Mbits/sec 0 212 KBytes
[ 4] 7.00-8.00 sec 16.7 MBytes 140 Mbits/sec 0 212 KBytes
[ 4] 8.00-9.00 sec 18.9 MBytes 159 Mbits/sec 0 212 KBytes
[ 4] 9.00-10.00 sec 19.0 MBytes 159 Mbits/sec 0 212 KBytes


[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 190 MBytes 159 Mbits/sec 0 sender
[ 4] 0.00-10.00 sec 190 MBytes 159 Mbits/sec receiver

iperf Done.

For what it’s worth, I’ve experienced no freezing or skipping on any of my 4k content after installing the adapter. Thanks a ton for the recommendation! Just hope it continues working this well.

That’s great to hear. You might want to still have a look at your cabling at some point as your speed is bouncing around more than it should and more often than not the issue is in the wires (or their connections), or doing something silly like looping a cable around a power line.