Recent Problems with Samba and Movies

Hi,

To get a better understanding of the problem you are experiencing we need more information from you. The best way to get this information is for you to upload logs that demonstrate your problem. You can learn more about how to submit a useful support request here.

So, in summary:

  • activate the logging
  • reboot the OSMC device
  • reproduce the issue
  • upload the log set either using the Log Uploader method within the My OSMC menu in the GUI or the ssh method invoking command grab-logs -A
  • publish the provided URL from the log set upload, here

Thanks for your understanding. We hope that we can help you get up and running again shortly.

Regards Tom.

Sorry for the late reply, I ll do this asap.

Hi,

I activated the logging. However, it took some time to reproduce the problem (probably because of the reboot). So i guess you will have to go to the very end of the logging - I exported the log-file right after it stopped.

https://paste.osmc.tv/casotutuxo

Thanks again for your help,
Markus

HI,

Please provide logs from this pi aswell.

Thanks Tom.

Here it is:

https://paste.osmc.tv/yulepakima

Best,
Markus

Hi,

Do the external drives have their own PSU?

Also perhaps consider using fstab mounts on the client pi:

Thanks Tom.

Hi,
yes and no, they are connected via an active USB Hub, 5W if I remember correctly.
They should have sufficient current, also they work when played via the first Pi.

The Playing with the second Pi or using Windows does not work,
Copying from PC to the Pi works fine though.

The disk are also mounted via fstab.

Edit: Aa sry you mean to use fstab also for the 2nd Pi - I can try that.

Thanks,
Markus

I mounted the smb device via fstab in the second Pi.
But it did not work, the same error occurd.
Howeverm, this time the movie didnt stop entirely, but after minutes a new frame appears.
Very strange, when stoping the movie and playing again, it works fine again for some time. When this happens is also not clear, someties it runs for minutes, sometimes only a few second.
It the past it was always working fine.
Here the logs of the 2nd Pi:

https://paste.osmc.tv/yuveqamofi

Thanks for your help,
Markus

Hi,

Could try increasing the video cache on the 2nd pi:

https://kodi.wiki/view/HOW-TO%3AModify_the_video_cache

suggested settings:

<advancedsettings>
	<cache>
		<memorysize>157286400</memorysize>
		<buffermode>1</buffermode>
		<readfactor>5.0</readfactor>
	</cache>
</advancedsettings> 

Thanks Tom.

Where should i put the advancedsettings.xml? Its not written there in the wiki…

Thanks, Markus

Edit: Found it and testing it now

Now the movies doesn’t start at all:

https://paste.osmc.tv/dihobupuru

Edit: Other, small movies with quality start, but after a few minutes the same error occurs

Hi,

Try changing the hardware accelerator to omxplayer, rather than MMAL.

Thanks Tom.

The movie started but after like 20s, it stopped again :((

Hi,

I think some network speed tests, may gives some insight here. On both PIs, issue:

sudo apt-get update
sudo apt-get install iperf3

On the pi with the drives attached, issue:

iperf3 -s

On the 2nd pi:

iperf3 -c ip.of.first.pi

then:

iperf3 -R -c ip.of.first.pi

And post the results of both tests.

Thanks Tom.

Hi thanks again for the help :slight_smile:
Both Pi’s are in LAN network connected via a Powerline, The router is a Fritzbox.

The first test:

Pi with the Drives:

Accepted connection from 192.168.178.31, port 38988
[ 5] local 192.168.178.32 port 5201 connected to 192.168.178.31 port 38990
[ ID] Interval Transfer Bandwidth
[ 5] 0.00-1.00 sec 6.56 MBytes 55.1 Mbits/sec
[ 5] 1.00-2.00 sec 6.65 MBytes 55.8 Mbits/sec
[ 5] 2.00-3.00 sec 6.89 MBytes 57.8 Mbits/sec
[ 5] 3.00-4.00 sec 8.05 MBytes 67.6 Mbits/sec
[ 5] 4.00-5.00 sec 8.28 MBytes 69.4 Mbits/sec
[ 5] 5.00-6.00 sec 7.96 MBytes 66.8 Mbits/sec
[ 5] 6.00-7.00 sec 8.19 MBytes 68.7 Mbits/sec
[ 5] 7.00-8.00 sec 7.90 MBytes 66.3 Mbits/sec
[ 5] 8.00-9.00 sec 8.46 MBytes 71.0 Mbits/sec
[ 5] 9.00-10.00 sec 8.29 MBytes 69.5 Mbits/sec
[ 5] 10.00-10.04 sec 328 KBytes 65.9 Mbits/sec


[ ID] Interval Transfer Bandwidth
[ 5] 0.00-10.04 sec 0.00 Bytes 0.00 bits/sec sender
[ 5] 0.00-10.04 sec 77.6 MBytes 64.8 Mbits/sec receiver

2nd Pi:

Connecting to host 192.168.178.32, port 5201
[ 4] local 192.168.178.31 port 38990 connected to 192.168.178.32 port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 7.26 MBytes 60.9 Mbits/sec 0 301 KBytes
[ 4] 1.00-2.00 sec 6.60 MBytes 55.4 Mbits/sec 0 301 KBytes
[ 4] 2.00-3.00 sec 6.88 MBytes 57.7 Mbits/sec 0 301 KBytes
[ 4] 3.00-4.00 sec 8.11 MBytes 68.0 Mbits/sec 0 301 KBytes
[ 4] 4.00-5.00 sec 8.26 MBytes 69.3 Mbits/sec 0 317 KBytes
[ 4] 5.00-6.00 sec 7.97 MBytes 66.8 Mbits/sec 0 317 KBytes
[ 4] 6.00-7.00 sec 8.25 MBytes 69.2 Mbits/sec 0 317 KBytes
[ 4] 7.00-8.00 sec 7.87 MBytes 66.1 Mbits/sec 0 317 KBytes
[ 4] 8.00-9.00 sec 8.47 MBytes 71.0 Mbits/sec 0 317 KBytes
[ 4] 9.00-10.00 sec 8.27 MBytes 69.4 Mbits/sec 0 317 KBytes


[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 78.0 MBytes 65.4 Mbits/sec 0 sender
[ 4] 0.00-10.00 sec 77.6 MBytes 65.1 Mbits/sec receiver


2nd Test:
Pi with the drives:

Accepted connection from 192.168.178.31, port 38996
[ 5] local 192.168.178.32 port 5201 connected to 192.168.178.31 port 38998
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 5] 0.00-1.00 sec 7.13 MBytes 59.8 Mbits/sec 0 342 KBytes
[ 5] 1.00-2.00 sec 7.21 MBytes 60.5 Mbits/sec 0 342 KBytes
[ 5] 2.00-3.00 sec 7.64 MBytes 64.1 Mbits/sec 0 342 KBytes
[ 5] 3.00-4.00 sec 8.08 MBytes 67.8 Mbits/sec 0 361 KBytes
[ 5] 4.00-5.00 sec 7.77 MBytes 65.2 Mbits/sec 0 361 KBytes
[ 5] 5.00-6.00 sec 7.15 MBytes 59.9 Mbits/sec 0 361 KBytes
[ 5] 6.00-7.00 sec 8.08 MBytes 67.8 Mbits/sec 0 361 KBytes
[ 5] 7.00-8.00 sec 7.95 MBytes 66.7 Mbits/sec 0 361 KBytes
[ 5] 8.00-9.00 sec 7.95 MBytes 66.7 Mbits/sec 0 361 KBytes
[ 5] 9.00-10.00 sec 8.14 MBytes 68.3 Mbits/sec 0 361 KBytes
[ 5] 10.00-10.03 sec 0.00 Bytes 0.00 bits/sec 0 361 KBytes


[ ID] Interval Transfer Bandwidth Retr
[ 5] 0.00-10.03 sec 77.1 MBytes 64.5 Mbits/sec 0 sender
[ 5] 0.00-10.03 sec 0.00 Bytes 0.00 bits/sec receiver

2nd Pi:

Connecting to host 192.168.178.32, port 5201
Reverse mode, remote host 192.168.178.32 is sending
[ 4] local 192.168.178.31 port 38998 connected to 192.168.178.32 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 6.55 MBytes 55.0 Mbits/sec
[ 4] 1.00-2.00 sec 7.30 MBytes 61.2 Mbits/sec
[ 4] 2.00-3.00 sec 7.61 MBytes 63.8 Mbits/sec
[ 4] 3.00-4.00 sec 7.81 MBytes 65.5 Mbits/sec
[ 4] 4.00-5.00 sec 7.87 MBytes 66.0 Mbits/sec
[ 4] 5.00-6.00 sec 7.21 MBytes 60.4 Mbits/sec
[ 4] 6.00-7.00 sec 8.01 MBytes 67.2 Mbits/sec
[ 4] 7.00-8.00 sec 8.11 MBytes 68.1 Mbits/sec
[ 4] 8.00-9.00 sec 8.00 MBytes 67.1 Mbits/sec
[ 4] 9.00-10.00 sec 7.74 MBytes 65.0 Mbits/sec


[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 77.1 MBytes 64.7 Mbits/sec 0 sender
[ 4] 0.00-10.00 sec 76.5 MBytes 64.1 Mbits/sec receiver

Hi,

Sorry to ask a stupid question, could you please confirm what you mean by Active USB Hub; do you mean the hub is self powered and is not being powered by the pi?

Another consideration is powerline adapters can be know to be unstable, are they both plugged straight into the mains socket or are they on a power strip?

For testing is possible to bypass the powerline apapters temporarily?

Also have you consider trying the AC wifi bult into the RPi3+ ?

Thanks Tom.

Hi,
yes the USB Hub is self powered. Again, copy/paste and playing with the Pi which has the drives connected works just fine. The USB HUb is:
https://www.anker.com/de/products/variant/7-port-usb-hub-3-0/A7515311

Both powerline adapters are plugged in the main sockets.

The TVs are fixed on the wall, so i need a longer cable before testing a bypass.

Previsously I used the wifi of the Pi, but the wlan was unstable especially when the doors were closed. Thats why i changed to the powerline. But I will try this it just for testing.

Best,
Markus

Update: I tried with the WLAN on the second Pi, same problem occurd :frowning:

Correction: I stops playing but continues after a few seconds. I will try now a movie with less quality, the wlan speed is bad

It was working for 30mins. Then i tried to play a movie also from the Win10 Laptop.
This caused the Pi to stop, the Laptop just brings the error: 0x8007003b

The Laptop also does not really work when the Pi does not play, but it seems that the Pi is ok with the WLAN - at least when ignoring the low speed.

Seems to be network problem? But it was ok before, no idea what has changed…

Hi,

Could try power cycling the powerline adapters.

Thanks Tom.