[HowTo] RetroPie and OSMC: Retrosmc - Retrogaming on OSMC

There is a thread about retromsc is not working properly with latest OSMC and Kodi19: Issue with launching retrosmc on kodi v19 - #37 by sam_nazarko

In nutshell, when I try to start emulationstation, I get the following on the console:

Couldn't get V3D IDENT0: No such device

And then the retropie runs with 5-10 fps, very laggy. Anyone could make it work with the latest kodi and omsc?