I installed a second system with OSMC and Kodi 19.1 on a secondary SD card. On my second SD card I still have the old OSMC running with Kodi 18.6. I am using a RPi 3b.
I experienced some problems with playback of large video files in Kodi 19.1 that I dont have on the Kodi 18.6.
I have some movie files that are between 30GB and 40GB. They are located on a NAS file server. They play just perfectly on OSMC with Kodi 18.6 or on my notebook and PC, no cache problem, no stuttering, just smooth playback. Same files on Kodi 19.1 on same RPi start with a information popup telling: read rate too slow for continuous playback.
After a couple of seconds video playback starts to stutter until it totally freezes. After a minute or so playback continues, just to stutter and freeze again. All other and of course smaller files, like up until 20GB or so play without problem.
During stutter/freeze I can see log entries like the following:
2021-09-05 22:35:30.791 T:588 INFO : CVideoPlayerAudio::Process - stream stalled
or
2021-09-05 22:35:57.268 T:587 WARNING : OutputPicture - timeout waiting for buffer
The RPi just has 100MBit, I know. But at least this problem doesnt exist with Kodi 18.6 on the old OSMC. Maybe a driver/setting problem?
To work around this, I tried playing around with the following settings (and also different values) in the advancedsettings.xml file:
All the settings dont have an effect on my problem
Debug log while playback of smb://jodonas/storage/moviearc/Filme/movie.mkv: https://paste.osmc.tv/opumomenev.django
I will do that when I get home tonight and check if it helps
It is a Synology DS916+ which is offering SMB1 and SMB2, both active. Dont know which version Kodi 18.x and 19.x will try as default if both are active.
Hello,
I’m getting very similiar behaviour on Rpi4, which I’ve posted here:
but in my case remote NAS is mounted as NFS, which on my Rpi2 Kodi 18 works perfect.
I tried to play the same files on Rpi4 localy and via smb mount (the same NAS) and they played fine, so I’m guessing there may be something on network… but Ethernet is plugged via 1Gbps and WiFi works about 100Mbps - that should be more than enough.
What I did not mention in my previous post is kernel error in dmesg which happens at the moment when video freezes:
[nie wrz 5 20:55:59 2021] bcm2835_mmal_vchiq: timed out waiting for sync completion
[nie wrz 5 20:56:14 2021] bcm2835_mmal_vchiq: received invalid message context 5!
Ok I installed that samba-common-bin, but did nothing further, just a reboot. ok? Didnt change anything.
The second one, this settings under SMB client doesnt exist. UI is set to expert mode, also changed the skin to see if setting pops up (running OSMC with kodi 19.1, compiled 2021-07-15).
Fzinken, is it correct to just install that samba package or do I need to configure anything further?
NAS supports SMB1, SMB2, SMB2 with large MTU, SMB3.
So I can also start a try witH SMB3 and with limiting to SMB1, just to see if there are differences.
Ok I seemed to have found the issue <3
There is a port flapping on my switch, it tries to negotiate to gbit but fails and falls back to 100 mbit, but produces errors.
I restarted the switch and also changed the port. Auto negotiating now finishes without errors and port is back on gbit. Lagging is gone
Not sure why ut doesnt affect the old version the same like the current one, but problem is fixed