This issue of extremely slow playback of video appears again and again (and no, it is not due to compositor issues). I have set gpu_mem to 512 on my RPi 4 with Vanilla Debian Bullsyeye arm64, i set a big buffer for Kodi and i tried Deb-Multimedia replacements for the video codecs (completely destroying my system), so i ask myself whether it could be an issues with the current firmware?