(2019-11-26, 10:41)fritsch Wrote: Quote: I can't say the same thing for the Nvidia Shield (random stopping of the movie and now the ProjectM visualizer causes skips in music when it changes patterns for some odd unknown reason).
I think that's fixed in master already. Same as audio stutters if you play music with kodi and go to the android home screen.
First let me say thanks to all of the awesome devs that work on Kiodi and spend their valuable time on the forums answering questions and attempting to troubleshoot difficult issues like this; your effort is much appreciated. In particular posts by @
fritsch were really helpful in trying to understand how to approach finding a work around/resolution for this issue. Also appreciate posts from user @
sullysnet detailing his efforts to try to work around the issue.
I am experiencing the same issue as described in this thread on my NVIDIA Shield TV 2015 model (latest firmware/Android 'released' Shield TV OS installed, 8.0.1 not including any beta or hotfixes) when using SMB3.0 on my QNAP TVS-873 NAS and within Kodi 18.5. SMB shares are mounted in Kodi not from within the Shield TV. Video playback stops after either 10 minutes or roughly 40min-1hr 10min, with the following error in the debug log when the problem occurs: ERROR: Read - Error( -1, 103, Software caused connection abort.
Below is what I have researched so far in case it is of help to anyone in the future. I poured through a number of threads as well as located an open github issue describing a very similiar problem (links listed below in case anyone else is researching this as well):
https://forum.kodi.tv/showthread.php?tid=324746
https://forum.kodi.tv/showthread.php?tid=346462
https://forum.kodi.tv/showthread.php?tid=347265
348860 (thread)
15241 (GH issue)
The possible resolutions I compiled from various threads are as follows, noting which solutions I have attempted so far. I picked which order to implement solutions based on what made sense to me:
Disable IPv6 and network discovery in the NVIDIA Shield OS
Tried this, no impact.
Enable only SMBv3 on the QNAP and within Kodi
Tried this, no impact.
Enable only SMBv1 on the QNAP and within Kodi
Tried this, no impact.
Use Kodi Android Installer addin in Kodi to upgrade to latest 18.5 nightly build
Tried this, no impact. At the time that was: kodi-20191226-51eff914-Leia-arm64-v8a. I tried this because I misunderstood what was previously stated about the issue being fixed in master and assumed that it was meant that the issue was addressed in the latest 18.5 build. This was a waste of time I am sure due to my ignorance of the way Kodi builds work.
Use 'Kodi Android Installer' addin within Kodi to upgrade to the latest nightly master build, which is an alpha of 19.0 (in this case that is/was kodi-20191229-4cb3dd66-master-arm64-v8a)
I attempted this fix purely because @
fritsch thought that the thought the issue might be resolved in master. This APPEARED to resolve my issue at first, and a playback succeeded beyond 1hr or so on my FIRST test but the issue re-occurred on subsequent playback tests. There are a ton of caveats here in case anyone is thinking of attempting this solution. First, many addins will likely not work in the alpha Kodi 19 Matrix master build. In fact the 'Kodi Android Installer' addin itself isn't even supported and I had to uninstall it so now I need to download new nightlies apk's onto the Shield and install them manually. I am using a pretty new vanilla/default install of Kodi so I felt that trying the alpha was fairly low risk. Second word of warning, the master is an alpha and may be completely unstable as the devs are testing new features so only try this at your own risk if you have a backup (or are OK starting over fresh if you have to) and don't want to attempt the other fixes.
Update Shield TV 2015 to latest NVIDIA hotfix -> set Shield developer option for logger cache to 16MB -> mount the SMBv3 shares on the QNAP from the Shield (not form within Kodi) -> present shares as local storage in Kodi -> re-create the media sources in Kodi
Did not attempt. I did not like that there is no rollback procedure from the NVIDIA hotfix, plus there doesn't even appear to be a way to 'get off' of the hotfix branch once you are on it and again some effort would need to be taken to export my watched information etc. if I removed my sources in Kodi which is a bit of a pain. I think this is very likely to work as it appears to be the only "verified" as working fix that helped users in thread 348860. I think the reason this works is that it allows you to use a different/"fixed" Android implementation of SMB that is not yet available in Kodi. This also may ONLY apply to Shield TV 2017/2019 models that I do not own, they have 3 hotfixes available with different release notes, there are only 2 hotfixes for the 2015 model. That is another reason I have not yet attempted this fix.
Swap shares on QNAP from SMB to NFS and/or enable NFS on QNAP shares
Did not attempt. Based on comments from devs in other threads if feels like using NFS is the "recommended" solution. However, I was concerned that enabling both SMB AND NFS on my QNAP might impact the shares/access from Windows AND others reported that the issue still occurred when using NFS. Also, this would entail exporting watched information/doing a library export/editing the sources.xml file as Kodi will view the shares as 'new' sources. I wanted to avoid doing this unless I had more confidence it might work.
Disable CEC
Did not attempt, sounds like this previously fixed a similar problem but no longer is the resolution in 18.5, I also think I may have CEC already disabled anyhow.
Set static IP for Android
Did not attempt, I have a DHCP assignment for my Shield TV on my router and I am not sure this will really work.
Swap to 2.4Ghz instead of 5Ghz connection for Shield TV
Did not attempt, I really don't want to use 2.4Ghz for performance reasons as 5Ghz is many times higher performance than 2.4Ghz for another device in the same location. I can't use Ethernet due to the location of the NAS/Shield TV but I could temporarily use it if required. I absolutely understand why network drops for poor 5Ghz signals could cause this issue but I am doubtful this is causing my issue.
Setup buffering/video cache for streaming in Kodi via editing advancedsettings.xml
Did not attempt.
My next fix attempt will likely be to mount the SMB shares in Android, present them to Kodi and backup/restore my watched information (I may need to revert to 18.5 first and restore config backup so that I can use the watchedInformation backup addon). I will try to do this and test without installing the NVIDA Shield hotfix (given my reasons above) and see if works before considering getting onto the hotfix branch. I will update this post if I appear to actually locate a fix for my hardware configuration. Hopefully this has been helpful to someone.
@
fritsch Sorry to trouble you but would it be possible for you to link me to where you noticed the SMB related fix for Android in master? I tried searching for it on github but I was unable to locate it. It would be really helpful for me to follow along with the dev conversation about the fix.