Now I have tried different files, and all files with a size of more than 2 GB plays choppy (needs buffering every few seconds). Tried playback from both SMB and NFS shares (with wires ethernet).
My laptop plays everything perfect so no problem with the ethernet connection or router.
Am having similar issues with Wi-Fi. I wonder if it’s related to the codec, resolution and bit rate, too. Does not appear to happen with music files, only video. Am hoping to revert to wired connection soon.
Have now reconnected Vero to my LAN using a cable and it works much, much better now. I think the Wi-Fi implementation is interfering with overall system performance and stability. I do not intend to go back to Wi-Fi voluntarily!
I have tried the new RC2 and it partially solves the problem.
If I set the network to 100 mbit speed and play from an NFS share it plays fine. But if I set the network speed to 1 gbit I get the same buffering issue.
Most likely the switch that you have the Vero connected to does not support Ethernet Flow Control or does not have it turned on:
The internal buses that the Ethernet controller is connected to can only support up to 480Mbps so it’s possible for buffer overruns (and packet loss) to occur on a 1Gbit connection if the sending device is very fast. This can even happen with much lower average bitrates (say a 30Mbps movie) if the sending server sends very short fast bursts that momentarily exceed 480Mbps.
You can tell if your switch has flow control enabled by using ethtool. Install it from apt:
osmc@vero:~$ sudo ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Link partner advertised pause frame use: Symmetric Receive-only
Link partner advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: external
Auto-negotiation: on
Link detected: yes
If it says that pause frame and/or flow control is not being advertised by the link partner, that is your problem. In that case dropping the port speed to 100Mbit is a workaround. Enabling flow control on the switch (or swapping to one that has flow control if the switch doesn’t have it at all) is the best solution.
With a switch that supports flow control I see approx 350Mbps throughput with an iperf speed test and can stream test videos as high as 120Mbps (the highest bitrate video file I have) without any buffering, even over SMB.
I really dont think that it has to do with flow control - I just tried with my laptop, and it works perfectly on bodt wifi and 100/1000 mbit ethernet (same connection as the Vero)???
There’s something wrong with your internet connection. Are you behind some sort of firewall or transparent proxy ?
This is saying that the package list from the Debian archives is corrupt, which is extremely unlikely. More likely some firewall is intercepting the download and altering it.
This is saying that the OSMC APT archive page doesn’t exist (404) - which isn’t the case at all - if I paste this into my browser I can see the page.
You need to find why your internet connection is not working properly before you can install ethtool.
As I explained, the internal buses of the Vero can’t handle bursts of more than 480Mbps on the Ethernet which means if you are connected in 1Gb mode the switch has to support flow control. The fact that your laptop works fine on the same switch is not relevant because it has a completely different Ethernet adaptor on a much faster bus.
The Vero can go over 480Mbit, however as you’ve discovered, some switches either do not implement flow control correctly or they advertise that they do when they in fact don’t.
I’m going to do some work with the kernel so that if we start getting drops we fall back to 100Mbit. It would be fantastic if you could get me a log.
I had the exact same problem when I tried to update the Vero - it said that the files where not found or hash sum mismatch. I had to install the update via the installer.
However, I have no problem downloading the same files via other computers on the same router/firewall or on my phone via WIFI.
Could this issue also have something to do with 480Mbit limit/flow control???
I will post a log sometime to night.
DBMandrake/Sam: Thank you very much for trying to help!
I have uploaded the logs. I tried playing a recording from recorded tv (Fredagsfilm_ Men så kom Polly - DR1 - 2015-03-27.ts). I have set the network to 100 mbit but I still have buffering issues with this and other files.
Had the same problem with frequent buffering on some high-bitrate movies. Lowering manually to 100Mbit solved it. Then logged in to my switch and enabled flow-control. Then it worked with 1Gbit as well.