I'm having some problems with my Kodi setup running on a RPi4. I had previously Kodi running on a Pi1 with Libreelec without a problem (other than the slow menu navigation). On the Pi4 under alarm I have everything working, but I have not been able to solve two problems. The first one is specially nasty:
1. Even though I have 300 MiB or more free RAM while running Kodi, the oom_killer is sometimes triggered and kills Kodi. This can happen even when Kodi is sitting idle. For me it seems like a bug in Kodi (maybe it suddenly allocates a big amount of RAM and is killed?). Tips for debugging are welcome.
2. During playback everything runs smooth, but during menu navigation, there is tearing. Sometimes it is barely noticeable, sometimes it is massive. It seems this will be sorted out with Kodi 19, but I am writing here just in case someone has a magic solution.