alternative solution was posted here
Alternatively, setting one of these options in
/etc/environment
forces GTK not to use the Vulkan renderer, so GTK4 apps start working again.GSK_RENDERER=cairo GSK_RENDERER=opengl GSK_RENDERER=ngl GSK_RENDERER=gl