So I was reading back through what I posted yesterday and wanted to try and be a little more concise with the issues I'm experiencing. I was in a rush most of yesterday and haven't used Kodi on the pi's much it the last few weeks with the issues I've been having. Last night I had some time to mess around with it and think about all of the issues I've seen pop up.
I guess I have two issues, one is slow accessing of library's and the other is Kodi becomes unresponsive. I'm not sure if these are related issues or two separate issues. First on the slow accessing of the library's. When selecting a library from my home screen it could take a while for it to load. Last night I timed accessing my Movies library. It ranged anywhere from 14 seconds to 58 seconds to load into library. The TV library which is quite smaller was between 5 seconds and 25 seconds. In the past few weeks I have had either take a few minutes to load. When in the TV library, accessing the season view and episode view can take awhile also. I've seen it take up to a few minutes to load either one.
The major issue is Kodi will just sometimes become unresponsive. Last night for example, I was watching a TV Show. The episode ended and Kodi became unresponsive. I was left with nothing but a black screen for at least 5 minutes. I went to my computer to try and reboot via SSH commands but it finally loaded back to the episode view of the Show. So I played another episode and the same thing happened. I'm not sure if it would have eventually loaded as I rebooted via SSH. I've had times where Kodi will just go to a black screen loading into a library and I will have to reboot. Sometimes I get a spinning icon as if its working but most of the time I either get a blank screen or it freezes on the current screen. I've had this happen while loading a library, going to season or episode view or when playback stops.
During playback I never seem to have an issue. Even when I play my highest bitrate files there is no buffering issues that I remember seeing.
Try a different MariaDB version on LE.
So I gave this a try. I rolled back the docker on Unraid (linuxserver/mariadb) from 10.4.17 to 10.3.18. It's about a year old but the newest version that was 10.3. As you can see from above it still had the same issues as before. Things seemed to be going good right after the rollback as far as Kodi becoming unresponsive. The loading of the library's were still slow but I can deal with that. Eventually though I did have unresponsive issues as I posted above. I might try another version later this weekend after I try a few things.
That sounds like a network problem to me. Also since your Pi's are connected via Wifi, which do not have the most of excellent antennas. Especially for high-bitrate video streaming. Whenever you can install cabled connections, do so.
For database stuff, you could enable the Database component in Kodi's debugging section, and see if you have hiccups there. Also, with the newer Kodi versions come newer Linux kernels. And sometimes hardware drivers are reacting worse/differently for some unknown reason.
I unfortunately can not hard wire either of these pi's. I rent and do not have a way to really get an ethernet cable to either without them being in the way. I am going to see if I can temporarily run a cable over the next couple of days and test that out though.
Both logs I posted above had the database component enabled. I'm not sure what to really look for in the logs.beside error messages. I did see this in the pi1 log from the first post and have seen it before in a few logs after the upgrade
ERROR: Unable to open database: MyVideos116 [2013](Lost connection to MySQL server at 'reading authorization packet', system error: 104)
I'm going to try to backup one of my Pi's and do a new install from scratch. I will try and set it up exactly as I have now but use a local database. Not sure if this will help rule out network issues but I will also test the ethernet option also. If you have any other suggestions of things to test then please let me know.