I'll leave here my research,
https://forum.kodi.tv/showthread.php?tid=360345
https://github.com/raspberrypi/linux/issues/4112
But long story short, the kernel changed some memory allocation settings. Now, the dev says that in RPi 4 it should still work by changing a setting. And before trying it out, I was wondering if anybody else here tried, and I searched but I couldn't find anybody with the same issue, which surprises me as playing HEVC on a raspberry pi 4 is, i think, very common...
So anyway I just wanted to know if any other person out there with a RPi 4 has run into this trouble and how did you fixed it, and also to know if this solution proposed by the dev:
Should work or if, as it seems this is gonna be a permanent situation, if the dietpi devs should make some aditional settings in the scripts to take this into account for this distrohevc should still work on Pi4. You may need to increase cma memory allocation.
e.g. remove the gpu_mem setting from config.txt and add a cma setting to the fkms overlay. e.g.
Code: Select all
dtoverlay=vc4-fkms-v3d,cma-256
Thanks!