lots of talking going on there
Next time tell Fourdee to contact me directly and I could have tried fixing this with him together much earlier
https://github.com/MichaIng/DietPi/issu ... -487764010
this one.. don't do that... fbset only causes issue, and doesn't work on most boards, in fact on the AmLogic boards you most likely break desktop as it will try to switch resolution, which is not supported by the driver and your system needs to be rebooted, even if you only did a Kernel/Initramfs update, so please don't do this
Also forget about Kodi 18, it's a very big mess and nothing works as it worked before, Kodi 18 does no longer support X11, in the past change of resolution was done by xrandr from Kodi, but since Kodi 18 no longer has X11 support xrandr is also no longer supported, which is probably the reason why RPi does a workaround with fbset, but that doesn't work here.
Also, since Kodi playback is freezing, have you ever considered checking the KODI log, instead of xorg and such?
What about hardware decoding, the few seconds where it's working, does it use hardware decoding or something else? (press "o" while movie is playing).
What about Desktop? Anything installed, or are you running it via startx?
Another idea, since I read something about sound issues, and if I remember correctly, DietPi has the terrible habit of running everything as "root" (very bad practice in my opinion).
Kodi by default uses "pulseaudio" pulseaudio does also per default do NOT run for the user "root" (another reason why you should use a separate user).
Maybe running pulseaudio as a daemon can help, or forceing pulseaudio to be ignored all together, or forcing Kodi to use ALSA instead: https://kodi.wiki/view/PulseAudio#Can_I ... stalled.3F