Buffering issue with 4K HDR content after June update Vero 4K with an ethernet adapter

I am experiencing massive buffering issues with 4K movies from Synology NAS just after I have updated to June realese. I have Vero 4k + 1Gb ethernet to usb adapter + nfs via fstab.
The NAS to Vero performance before the update was excellent, now it is constantly buffering and is unwatchable.

My adapter (Realtek RTL8153 chipset):

And logs after opening 4K movie: https://paste.osmc.tv/sezugoyumo

Is the performance better with the internal adapter?

Just a moment, I will unplug tp link adapter and check without it.

I would suggest running an iperf test with the adapter as well

Ok, without adapter the performance is better, but scrolling through the movie is not as fluid and fast as before.
With the adapter the performance is very poor.
What happened?

I haven’t changed anything that would be specific to an adapter so I’d suggest doing some checks on your network.

Try reboot the NAS and any switches as a first step.

I have rebooted both the NAS and switch but sadly nothing changed.

And below iperf test from Vero (with adapter) to Synology:

*Client connecting to 192.168.1.4, TCP port 5001*
*TCP window size: 85.0 KByte (default)*
*------------------------------------------------------------*
*[  3] local 192.168.1.90 port 44015 connected with 192.168.1.4 port 5001*
*[ ID] Interval       Transfer     Bandwidth*
*[  3]  0.0-10.0 sec   222 MBytes   186 Mbits/sec*
*osmc@osmc:~$*

**osmc@osmc** : **~** $ iperf -c 192.168.1.4

------------------------------------------------------------

Client connecting to 192.168.1.4, TCP port 5001

TCP window size: 85.0 KByte (default)

------------------------------------------------------------

[ 3] local 192.168.1.90 port 58018 connected with 192.168.1.4 port 5001

[ ID] Interval Transfer Bandwidth

[ 3] 0.0-10.0 sec 221 MBytes 185 Mbits/sec

**osmc@osmc** : **~** $

Try in the other direction.

Sam

iperf3 -s on Vero

osmc@osmc:~$ iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.1.4, port 42844
[  5] local 192.168.1.90 port 5201 connected to 192.168.1.4 port 42846
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  5]   0.00-1.00   sec  22.4 MBytes   188 Mbits/sec    0    576 KBytes       
[  5]   1.00-2.00   sec  21.3 MBytes   179 Mbits/sec  143    560 KBytes       
[  5]   2.00-3.00   sec  22.0 MBytes   185 Mbits/sec    0    639 KBytes       
[  5]   3.00-4.00   sec  21.5 MBytes   180 Mbits/sec    0    700 KBytes       
[  5]   4.00-5.00   sec  21.5 MBytes   180 Mbits/sec  142    518 KBytes       
[  5]   5.00-6.00   sec  21.9 MBytes   184 Mbits/sec    0    566 KBytes       
[  5]   6.00-7.00   sec  21.3 MBytes   179 Mbits/sec   91    427 KBytes       
[  5]   7.00-8.00   sec  22.6 MBytes   190 Mbits/sec    0    458 KBytes       
[  5]   8.00-9.00   sec  21.7 MBytes   182 Mbits/sec    0    477 KBytes       
[  5]   9.00-10.00  sec  22.0 MBytes   185 Mbits/sec    0    485 KBytes       
[  5]  10.00-10.05  sec  1001 KBytes   150 Mbits/sec    0    486 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  5]   0.00-10.05  sec   219 MBytes   183 Mbits/sec  376             sender
[  5]   0.00-10.05  sec  0.00 Bytes  0.00 bits/sec                  receiver
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------

iperf3 -s on Synology (looks bad):

osmc@osmc:~$ iperf3 -R -c 192.168.1.4
Connecting to host 192.168.1.4, port 5201
Reverse mode, remote host 192.168.1.4 is sending
[  4] local 192.168.1.90 port 57412 connected to 192.168.1.4 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  2.42 MBytes  20.3 Mbits/sec                  
[  4]   1.00-2.00   sec  1.74 MBytes  14.6 Mbits/sec                  
[  4]   2.00-3.00   sec  1.69 MBytes  14.2 Mbits/sec                  
[  4]   3.00-4.00   sec  3.36 MBytes  28.2 Mbits/sec                  
[  4]   4.00-5.00   sec  2.91 MBytes  24.4 Mbits/sec                  
[  4]   5.00-6.00   sec  2.69 MBytes  22.6 Mbits/sec                  
[  4]   6.00-7.00   sec  1.95 MBytes  16.4 Mbits/sec                  
[  4]   7.00-8.00   sec  1.93 MBytes  16.2 Mbits/sec                  
[  4]   8.00-9.00   sec  4.37 MBytes  36.6 Mbits/sec                  
[  4]   9.00-10.00  sec  1.95 MBytes  16.4 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  27.7 MBytes  23.2 Mbits/sec  4111             sender
[  4]   0.00-10.00  sec  25.0 MBytes  21.0 Mbits/sec                  receiver

iperf Done.
osmc@osmc:~$

There’s a problem with your network there.
Can you check if flow control is enabled?

You should be picking up the r8152 kernel module but the Vero4K doesn’t have an alias for VID:PID 2357:0601 and therefore picks up cdc_ether, which will not work as well.

(By contrast, the Pi2/3 version of OSMC does have a correctly configured r8152 module.)

For a permanent solution, @sam_nazarko will need to add this to the kernel build. For now, you can make a temporary change. Unplug the device, then run:

sudo modprobe r8152
echo "2357 0601" | sudo tee /sys/bus/usb/drivers/r8152/new_id

Then plug the device back in and run some speed tests

That will be lost each reboot, so, if the above works, you might want to add this to the end of /etc/rc.local (before exit 0):

/sbin/modprobe r8152
/bin/echo "2357 0601" > /sys/bus/usb/drivers/r8152/new_id
1 Like

This is a good spot.

@sojer2005 - did you only get the adapter recently?

Sadly it doesn’t work.
Speed after change (iperf3 -s running on Synology)

osmc@osmc:~$ iperf3 -R -c 192.168.1.4
Connecting to host 192.168.1.4, port 5201
Reverse mode, remote host 192.168.1.4 is sending
[  4] local 192.168.1.90 port 39117 connected to 192.168.1.4 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  3.16 MBytes  26.5 Mbits/sec                  
[  4]   1.00-2.00   sec  2.66 MBytes  22.3 Mbits/sec                  
[  4]   2.00-3.00   sec  1.57 MBytes  13.2 Mbits/sec                  
[  4]   3.00-4.00   sec  3.53 MBytes  29.6 Mbits/sec                  
[  4]   4.00-5.00   sec  1.88 MBytes  15.8 Mbits/sec                  
[  4]   5.00-6.00   sec  3.92 MBytes  32.9 Mbits/sec                  
[  4]   6.00-7.00   sec  1.57 MBytes  13.2 Mbits/sec                  
[  4]   7.00-8.00   sec  2.39 MBytes  20.1 Mbits/sec                  
[  4]   8.00-9.00   sec  2.12 MBytes  17.8 Mbits/sec                  
[  4]   9.00-10.00  sec  2.53 MBytes  21.2 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  27.8 MBytes  23.3 Mbits/sec  4103             sender
[  4]   0.00-10.00  sec  25.3 MBytes  21.2 Mbits/sec                  receiver

iperf Done.
osmc@osmc:~$

No, I have been using it quite some time. Never have any problems with it until today.

New logs would be useful.

Please also describe your network configuration between the Vero and Synology.

And here is iperf test (iperf3 -s running on Vero)

Don’t understand why these speeds are ok?

sojer2005@Synology:~$ iperf3 -R -c 192.168.1.90
Connecting to host 192.168.1.90, port 5201
Reverse mode, remote host 192.168.1.90 is sending
[  5] local 192.168.1.4 port 42876 connected to 192.168.1.90 port 5201
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  22.2 MBytes   187 Mbits/sec                  
[  5]   1.00-2.00   sec  22.1 MBytes   185 Mbits/sec                  
[  5]   2.00-3.00   sec  22.1 MBytes   185 Mbits/sec                  
[  5]   3.00-4.00   sec  22.1 MBytes   185 Mbits/sec                  
[  5]   4.00-5.00   sec  22.1 MBytes   185 Mbits/sec                  
[  5]   5.00-6.00   sec  22.0 MBytes   184 Mbits/sec                  
[  5]   6.00-7.00   sec  21.9 MBytes   184 Mbits/sec                  
[  5]   7.00-8.00   sec  21.9 MBytes   183 Mbits/sec                  
[  5]   8.00-9.00   sec  21.8 MBytes   183 Mbits/sec                  
[  5]   9.00-10.00  sec  21.8 MBytes   182 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   222 MBytes   187 Mbits/sec    0             sender
[  5]   0.00-10.00  sec   220 MBytes   184 Mbits/sec                  receiver

iperf Done.

Vero and Synology are connected to the same 1Gb switch.

New log uploaded (with “sudo modprobe r8152”)
https://paste.osmc.tv/renuyejetu

Looking at the log, it looks like you rebooted the system with the device attached, and then ran sudo modprobe r8152. That’s not going to work. The log shows that it’s still using cdc_ether.

You need to follow my instructions above, including unplugging the device.

BTW, did you add the commands to /etc/rc.local?

Here is my rc.local

/sbin/modprobe r8152

/bin/echo “2357 0601” > /sys/bus/usb/drivers/r8152/new_id

exit 0

So I just need to reboot now?