Kodi cant start after upgrade to bullseye

Yes it is the same eglSwapBuffers failed error.

I tried using the startkodi command and kodi as root.
And im using plain console.