Has anybody been able to build a statically linked binary that shows a Vulkan surface? I’ve put some context around this problem in the video. I understand that the vulkan driver has to be loaded dynamically - so it’s more of a question whether a statically built app can reliably load and talk with it. I think it should be possible but haven’t actually seen anyone make it work. I’m aware of “static-window9” by Andrew Kelley but sadly it doesn’t work any more (at least on my Gentoo machine T_T).

(I’m also aware of AppImages but I don’t think they’re the “proper” solution to this problem - more like a temporary bandaid - better than Docker but still far from perfect)

  • tiddy@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    5
    ·
    3 days ago

    Can’t see why you dislike appimages, sure not 100% size efficient - but for one off binaries youre probably not spending much time optimizing anyways.

    Not that you couldnt make an appimage 2.0 solving all your issues, but we’d just be back to that package manager xkcd all over again

    • 𝖒𝖆𝖋@szmer.infoOP
      link
      fedilink
      arrow-up
      4
      ·
      3 days ago

      Oh, I don’t dislike them. I love them actually. I just wish that vulkan drivers loved them as much as I do :P