Please look below if you have the same issue. The solution is to turn off “Group Key Rotation” in your Wifi Router.
I discovered the message
wpa_supplicant[323]: wlan0: WPA: Group rekeying completed
in journalctl
And after this message occurs everything went slow. It does not play a role if you use an internal or external Wifi device.
Iperf3 seems to give false readings.
This is no config issue with my router. Turning Group Key Rotation off ist not very funny. This is standard in WPA2 and not other device has a problem with it.
#################
What happend?
If I start an *.mkv file from my NAS the movie starts stuttering and sound is muted.
This behaviour does not stop at any time.
Log
I switched debug on and restarted the Pi 3 and reproduces the problem. The problem starts at ~15:03:49 until the end of the log http://paste.osmc.io/lofabudume.coffee
CPU is at 100%
edit:
I guess the interesting path is this:
15:04:50 285.137512 T:1487922160 NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 32
15:04:50 285.169586 T:1956283312 NOTICE: Previous line repeats 7 times.
I used Notepad++ to count the occurences of “OutputPacket skipping a packets” and the result was 4457.
Can you copy the file to the pi (sdcard or USB stick) and confirm if the file plays okay?
Would like to know if this is an issue with the file, or an issue with network/nas.
I am using wireless and have issues with it.
Its a QNAP Nas but it does not play a role if i use the NAS or download a file from the internet. Speed is identical.
I guess NFS will have the same problems if its a network issue.
I fought this has nothing to do with my network because the normal behavior of kodi is to stop playback and fill the buffer.
Problem solved, look at first posting.
Not a good behavior here how to treat users. Asking me to do a lot of things which costs a lot of time and when stop answering after I did everything you asked me. I guess this is a general bug but I will not open up a bug report. My bug report I tried to open has been closed.
Edit
And all other devices do not have a problem with the router so it’s not an issue in my network
The problem, if I understand, was a configuration issue with your router.
It was suggested several times that the behaviour was not widespread and was likely environmental.
The burden of proof is on you to prove there is a bug in OSMC. You were asked to provide information to see if there was an issue with OSMC, but we did not find anything from it.
Before making smug comments, you should remember that people were trying to help you in their own free time. They have no obligation to do this. It took time for you to provide logs but we also spend time on OSMC and helping users.
The fact that you found the issue to be a problem with your router suggests that you did not investigate whether the problem was localised before taking the forum to denounce it as a widespread bug and post in multiple parts of the forum.