The question was already solved a long time ago. The questioner wrote in a comment:
Ok.. I disabled kodi at boot, and everything went back to normal after a few reboots. So problem solved. I don't know what caused it though, so the question is still open. – SvbZ3r0 Apr 27 '19 at 12:51
I created some udev rules as follows:
ACTION=="add", SUBSYSTEM=="rpivid-h264mem", SYMLINK+="argon-h264mem"
ACTION=="add", SUBSYSTEM=="rpivid-hevcmem", SYMLINK+="argon-hevcmem"
ACTION=="add", SUBSYSTEM=="rpivid-intcmem", SYMLINK+="argon-intcmem"
ACTION=="add", SUBSYSTEM=="rpivid-vp9mem", SYMLINK+="argon-vp9mem"
to make all this work until the Kodi binary ...
The latest kernel commited by Hexxeh lacks valid VideoCore libraries, hence the HEVC playback crashing Kodi.
To solve that issue, I did (use 'rpi-update' with caution):
~$ sudo rpi-update e1050e94821a70b2e4c72b318d6c6c968552e9a2
~$ sudo reboot
That command downgrades the kernel back to version 4.19.118-v7l+ #1311, so Kodi can ...