Kodi Flatpak Issue



I install the Kodi 21 FlatPak today and this is my first time ever using a FlatPak, it did not go well, I had a hell of a time getting it to work and when it finally did work the issue I am having is if I use x11 I get screen tearing and if I use Wayland I get frame dropping, is there some trick to smooth playback with a FlatPak?  It is install under Ubuntu 24.04 if that matters.