delay after pressing play

Hello.

I have a Vero4k+ that delays about 30 seconds from pressing play to the start of the video. Then the video plays perfectly, as always. The delay also appears pressing stop and when i try to navigate directories of my LAN.

The problem started a month ago. There is no delay if the same video is played from a pendrive. The delay only occurs when playing videos from my nas.

My Lan setup consist of a router and switch.

I already tried several fixes. I installed a fresh osmc from an image in a pendrive. I have changed the switch and the net cable. I have also deleted /temp directory in .kodi but no luck.

I know that a osmc log is needed to resolve this but i have no idea how to do it.

Please help.

1 Like

Maybe something changed in the network, we suggest to check your network with iperf3. Please read this howto

1 Like

Thank you very much Jimi1. I will try it.

Hi Fzinken. Thank you very much. I will try to install iperf3.

One think i forgot to say in first post is that the problem occurs with Lan but also via Wifi.

I have other devices running Kodi (no OSMC) in the same net with no problems.:roll_eyes:

Hello Jimi1.

I´ve done the log procedure. the link is:

https://paste.osmc.tv/acohagowog

Looks to me like a DNS issue. Lots of messages about “unable to lookup host”. Have you tried rebooting your router?

Hi darwindesign. Thanks for your reply.

Yes, many times. Even changed the switch, the cable and connected directly. :face_with_spiral_eyes:

I am totally noob in this regards. How can i open a console in my vero4k+ to type the command line:?

sudo apt-get install iperf3

Thanks in advance.

Thanks darwindesign. I installed iperf3 in Vero4k+ and in a Win10 computer. I did the test. Here are the results:

iperf3 homepage at: iperf3 — iperf3 3.20 documentation
Report bugs to: GitHub - esnet/iperf: iperf3: A TCP, UDP, and SCTP network bandwidth measurement tool
osmc@osmc:~$ iperf3 -R -c 192.168.1.137
Connecting to host 192.168.1.137, port 5201
Reverse mode, remote host 192.168.1.137 is sending
[ 5] local 192.168.1.136 port 58730 connected to 192.168.1.137 port 5201
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 11.4 MBytes 95.1 Mbits/sec
[ 5] 1.00-2.01 sec 11.4 MBytes 94.9 Mbits/sec
[ 5] 2.01-3.00 sec 11.2 MBytes 95.0 Mbits/sec
[ 5] 3.00-4.01 sec 11.4 MBytes 94.9 Mbits/sec
[ 5] 4.01-5.00 sec 11.2 MBytes 94.9 Mbits/sec
[ 5] 5.00-6.01 sec 11.4 MBytes 94.9 Mbits/sec
[ 5] 6.01-7.00 sec 11.2 MBytes 94.9 Mbits/sec
[ 5] 7.00-8.01 sec 11.4 MBytes 94.9 Mbits/sec
[ 5] 8.01-9.00 sec 11.2 MBytes 94.9 Mbits/sec
[ 5] 9.00-10.01 sec 11.4 MBytes 94.9 Mbits/sec


[ ID] Interval Transfer Bitrate
[ 5] 0.00-10.01 sec 114 MBytes 95.8 Mbits/sec sender
[ 5] 0.00-10.01 sec 113 MBytes 94.9 Mbits/sec receiver

iperf Done.
osmc@osmc:~$ iperf3 -c 192.168.1.137
Connecting to host 192.168.1.137, port 5201
[ 5] local 192.168.1.136 port 58734 connected to 192.168.1.137 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 11.8 MBytes 98.8 Mbits/sec 6 117 KBytes
[ 5] 1.00-2.00 sec 11.5 MBytes 96.6 Mbits/sec 3 123 KBytes
[ 5] 2.00-3.00 sec 11.2 MBytes 94.0 Mbits/sec 4 88.4 KBytes
[ 5] 3.00-4.00 sec 11.3 MBytes 95.1 Mbits/sec 2 95.5 KBytes
[ 5] 4.00-5.00 sec 11.4 MBytes 95.6 Mbits/sec 8 103 KBytes
[ 5] 5.00-6.00 sec 11.2 MBytes 94.1 Mbits/sec 2 108 KBytes
[ 5] 6.00-7.00 sec 11.5 MBytes 96.1 Mbits/sec 6 113 KBytes
[ 5] 7.00-8.00 sec 11.1 MBytes 93.0 Mbits/sec 2 120 KBytes
[ 5] 8.00-9.00 sec 11.2 MBytes 94.0 Mbits/sec 9 85.5 KBytes
[ 5] 9.00-10.00 sec 11.4 MBytes 95.6 Mbits/sec 3 91.2 KBytes


[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 114 MBytes 95.3 Mbits/sec 45 sender
[ 5] 0.00-10.02 sec 113 MBytes 94.6 Mbits/sec receiver

That speed looks good for a Vero 4K. I noticed the IP address of your Vero had changed between you posting your logs and running that iperf. Has the IP address of your NAS also been changing as well? When something has displayed this long pause on start of playback, have you tried stopping it and then rebooting the Vero and then play the same item again? Is the delay still there right after a fresh boot?

1 Like

Hi darwindesign. I rebooted the router. That is the cause of the changing IP, i assume.

And yes, i have tried to stop the video, reboot Vero, and play again with no luck.

Even the reboot or shutdown of Vero4k+ is slower than normal.

As @darwindesign told you, there are 94 ‘Unable to lookup host: 'nas-joseba2’ and Unable to lookup host: 'nas-joseba3’ errors in the logs means the DNS name resolution does not work and creates significant delays which accumulate. Those systems seem to be your Samba servers. That it finally works at all, may be the result of the name resolution of the smb protocol itself. You should solve this DNS issue first. What names does your router show for the used smb servers?

Hi JimKnopf.

My router DHCP list them as:

192.168.1.133 6c:19:8f:1b:72:77 79519 nas-joseba2

192.168.1.135 6c:19:8f:1b:54:2d 79519 NAS-JOSEBA3

192.168.1.136 90:0e:b3:31:e3:d9 84730 osmc

That looks like dynamic assigned IP addresses.
Suggest to assign dedicated IP addresses for your NAS in your router.

Thanks Fzinken. I will try.

But every other device in my Lan but Vero can see and use my two Nas with no problem at all.

Hi, can you please login to the Vero via ssh and provide some information:

  1. sudo ls /var/lib/connman/|grep ethernet
    (this gives you the connman ethernet service name of the wired LAN interface)
  2. use the ethernet service name from the step above and provide the output of
    connmanctl services <the ethernet service name>

Thx.

Hi JimKnopf.

I did the ssh test:

osmc@osmc:~$ sudo ls /var/lib/connman/|grep ethernet
ethernet_900eb331e3d9_cable
osmc@osmc:~$ connmanctl services ethernet_900eb331e3d9_cable
/net/connman/service/ethernet_900eb331e3d9_cable
Type = ethernet
Security = [ ]
State = online
Favorite = True
Immutable = False
AutoConnect = True
Name = Wired
Ethernet = [ Method=auto, Interface=eth0, Address=90:0E:B3:31:E3:D9, MTU=1500 ]
IPv4 = [ Method=dhcp, Address=192.168.1.136, Netmask=255.255.255.0, Gateway=19 2.168.1.1 ]
IPv4.Configuration = [ Method=dhcp ]
IPv6 = [ ]
IPv6.Configuration = [ Method=off ]
Nameservers = [ 212.230.135.1, 212.230.135.2, 0.0.0.0 ]
Nameservers.Configuration = [ ]
Timeservers = [ ]
Timeservers.Configuration = [ ]
Domains = [ Home ]
Domains.Configuration = [ ]
Proxy = [ Method=direct ]
Proxy.Configuration = [ ]
mDNS = False
mDNS.Configuration = False
Provider = [ ]

1 Like

These are the name servers the Vero gets from the DHCP server (your router?) means the Vero asks these external DNS servers (from your internet provider?) to resolve ‘nas-joseba2’ and ‘nas-joseba3’ … that can’t be right, can it?

Your router/DHCP server should give its own IPv4 192.168.1.1 as name server to use. There must be something wrong configured with your router especially in the DHCP area.

2 Likes