After recent flatpak mesa runtime update, flatpaks won’t start anymore. Downgrading flatpak mesa solves the issue even though I still have mesa 25 on host:
sudo flatpak update --commit=de5d0e5d82d627f44f390875179c0117d369de727be152db92e75ccb6267bd20 org.freedesktop.Platform.GL.default/x86_64/24.08extra
sudo flatpak update --commit=9f5bebaec7e2f20bd1b32e18c2629e876a88b2286e011835b5cf46d0680d1754 org.freedesktop.Platform.GL.default/x86_64/24.08
I use zink system-wide by adding export in .bashrc:
export NOUVEAU_USE_ZINK=1
Example output when running Vesktop or OnlyOffice which is what I experience issues with:
flatpak run org.onlyoffice.desktopeditors
(DesktopEditors:2): Gtk-WARNING **: 10:52:58.994: gtk_disable_setlocale() must be called before gtk_init()
MESA: error: ZINK: vkCreateInstance failed (VK_ERROR_INCOMPATIBLE_DRIVER)
MESA: error: ZINK: vkCreateInstance failed (VK_ERROR_INCOMPATIBLE_DRIVER)
Interestingly enough, non-flatpak applications doesn’t seem to be affected by this, even KDE Plasma itself is running fine on-top of zink+nvk