Limunx Mint and Kodi 21

I had Kodi 21 running on Mint. I changed the hard disk from spin type to SSD. I re-installed Mint and then Kodi 21 from flatpak. When I open Kodi, it juist flsahes as if it is going to opne and then nothing – This is the error I get-

flatpak run –branch=stable –arch=x86_64 –command=kodi tv.kodi.Kodi
‘this->recurse > 0’ failed at ../src/pipewire/thread-loop.c:63 do_unlock()
libva info: VA-API version 1.19.0
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
*** stack smashing detected ***: terminated
/app/bin/kodi: line 216:     7 Aborted                 (core dumped) ${KODI_BINARY} ${ENV_ARGS} $SAVED_ARGS
Crash report available at /home/mariusvdw/.var/app/tv.kodi.Kodi/data/kodi_crashlog-20240620_074615.log

I cannot find this log either.