Kodi 21 crashes upon start – installed via flatpak



I have ubuntu 22.04.4 LTS running. I went ahead and installed flatpak and then the flathub repository. The install of of kodi went by without errors.
However when I tried “flatpak run tv.kodi.Kodi” kodi  crashed. The output of the terminal can be viewed here: https://paste.kodi.tv/himumepoyu
The crashlog can be found here: https://paste.kodi.tv/ahacewihuy.kodi
Any help on how to fix this issue would be greatly appreciated.