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

My suggestion would be to install May version, then update everything apart from the kernel. If you then have problems it is a Kodi change.

Sam

1 Like

Interesting, I didn’t know about autofs - need to do some research about it in the meantime.
I hope that those unknown changes can be reverted to make my adapter work again.

Autofs will not perform better than fstab. Where it helps is if you lose connection to the NAS. fstab does not gracefully handle that where autofs does.

1 Like

Ok, how to update everything apart the kernel? What is the command for this ?

The quickest way is to run apt-get update && apt-get dist-upgrade; but before pressing Y, then run apt-get install from all packages apart from vero364-image and vero364-kernel.

Sam

I have install everything apart vero364-image and vero264-kernel. And the speed is terrible after that.
[ 4] 3.00-4.00 sec 1.51 MBytes 12.7 Mbits/sec

So… does it mean that Kodi 18.3 has introduced some kind of a bug ?

I can’t see how.
Can you show us your logs so I can see which packages were upgraded?

If Kodi 18.3 had some buffering issues they’d be isolated to Kodi only, not the OS

Sam

1 Like

Is it here? https://paste.osmc.tv/vavemusibe

On system info: operating system OSMC 2019.06-1 (kernel Linux 3.14.29-143-osmc)

Yes , I am using iperf3 for testing.

From your logs, you have only installed:

====================== APT history.log =================== B8sj7DO8

Start-Date: 2019-06-23 01:18:13
Commandline: /usr/bin/apt-real install iperf3
Requested-By: osmc (1000)
Install: iperf3:armhf (3.1.3-1), libiperf0:armhf (3.1.3-1, automatic)
End-Date: 2019-06-23 01:18:15

Start-Date: 2019-06-23 01:21:27
Commandline: /usr/bin/apt-get-real install base-files-osmc
Requested-By: osmc (1000)
Upgrade: base-files-osmc:armhf (2.7.7, 2.8.0)
End-Date: 2019-06-23 01:21:29

Start-Date: 2019-06-23 01:22:10
Commandline: /usr/bin/apt-get-real install dbus libdbus-1-3 mediacenter-addon-osmc
Requested-By: osmc (1000)
Upgrade: libdbus-1-3:armhf (1.10.26-0+deb9u1, 1.10.28-0+deb9u1), dbus:armhf (1.10.26-0+deb9u1, 1.10.28-0+deb9u1), mediacenter-addon-osmc:armhf (3.0.672, 3.0.673)
End-Date: 2019-06-23 01:22:23

Start-Date: 2019-06-23 01:22:53
Commandline: /usr/bin/apt-get-real install wpasupplicant
Requested-By: osmc (1000)
Upgrade: wpasupplicant:armhf (2:2.4-1+deb9u3, 2:2.4-1+deb9u4)
End-Date: 2019-06-23 01:22:55

I can’t see how any of these packages would cause network degradation.
Perhaps your issue only occurs after some uptime.

Sam

I have run iperf3 test immediately after updating.

I could update packages one by one and test it afterwards one by one? Does it make sense?

I have re-flashed again with May image and upgraded:

dbus -> OK

libdbus-1-3 -> OK

wpasupplicant -> OK

mediacenter-addon-osmc -> OK

No network regression
3.00-4.00 sec 25.9 MBytes 217 Mbits/sec

So one upgrade to test which is: base-files-osmc

1 Like

Interesting, if base-files-osmc causes a problem, it will be this:

Sam

base-files-osmc -> NOT OK with adapter

5.00-6.00 sec 3.20 MBytes 26.8 Mbits/sec -> with adapter

base-files-osmc -> OK without adapter

3.00-4.00 sec 11.2 MBytes 94.2 Mbits/sec -> WITHOUT adapter

But with adapter prior to June update I have achieved higher transfer rates (25.9 MBytes 217 Mbits/sec).
Is it helpful?

You could edit /etc/sysctl.d/100-osmc.conf and remove the changes in the above commit. But this is a security risk. You then need to reboot or run sysctl -p.

I am not sure why this causes an impact yet.

Sam

Ok, I will do that. And I will report back with the result.
It is strange.

Let me know.
If this does yield to be a problem then I can think of a better way to implement these changes.

Sam

1 Like

Ok, I have upgraded everything including kernel to latest version and removed from /etc/sysctl.d/100-osmc.conf

tcpsack fixes (temporary)
net.ipv4.tcp_sack=0
net.ipv4.tcp_mtu_probing=0

And some kind of success :wink:

4.00-5.00 sec 33.1 MBytes 277 Mbits/sec with adapter

Can you try one option at a time (i suspect first one will be OK) to work out which flag causes a problem?

Thank you for your troubleshooting so far :slight_smile:

Sam

Yes, I will try it and report back. :slight_smile: