Are you using sway as compositor? I reproduced the freezing behaviour when running under sway. In a GNOME session on Wayland, retroarch seems to work fine.
Yes, I'm using Sway.
The message "Failed to create shell" helped me find what I think is the corresponding upstream issue: https://github.com/libretro/RetroArch/issues/7064
It's unfortunate that retroarch wasn't updated for bullseye, but I'm not sure trying to backport the xdg-shell feature to this version of retroarch is a good idea now that bullseye is in hard freeze.I notice a similar bug in other packages in Debian Sid, such as ChessX. Would it make sense to report a bug with each of those packages, or would this be considered an issue with Sway / wlroots / xdg-shell?
OpenPGP_0x3A57CE276008178F.asc
Description: application/pgp-keys
OpenPGP_signature
Description: OpenPGP digital signature