VLC in ubuntu 23.04 broken [fixed after fontcache delete and rebuild]

I tried it again on a vanilla 23.04 distribution just now, and it worked. va-api is available too. Thi sis a VM and the session is wayland. Yet on my laptop it crashes the same.

QT_QPA_PLATFORM=wayland vlc

crashes with the same message, including the message to use that environment variable setting.

THe message on the working install does not include the Fontconfig warning. This is the working install:

tim@vm1:~$ vlc
VLC media player 3.0.18 Vetinari (revision 3.0.18-0-ge9eceaed4d)
[000055ec4badaa00] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Qt: Session management error: Could not open network socket
[000055ec4bb7c080] main playlist: playlist is empty