I would like to run kodi alongside a minimal desktop environment. That is, I would like to start kodi from sway or i3 and switch between it and other graphical stuff. The kodi-rbp4 package provides only kodi-gbm, which can't be started from within x or wayland and doesn't allow switching virtual terminals, so that in order to start kodi I have to log in on another tty first, and in order to get back, I have to close kodi.
I'm guessing the other kodi packages in the repo are the same in that regard. So, is it just not possible to run kodi in a non-gbm way on an rpi4? Is there anything I can do? Can I build my own kodi-x11 or kodi-wayland package for the rpi4?
____
P. S. to make my question more clear perhaps: Is there any way to rum kodi and sway/i3 at the same time on a rpi4?