| 18 Apr 2026 |
K900 | This makes no sense anyway | 11:19:59 |
K900 | It should not be linking moltenvk at all | 11:20:08 |
K900 | It should be linking vulkan-loader | 11:20:12 |
WeetHet | https://github.com/NixOS/nixpkgs/blob/a9503707cb403de2b9a974c27d89031c73b84455/pkgs/by-name/vu/vulkan-loader/package.nix#L52 | 11:20:41 |
K900 | Yeah that's a hack | 11:21:00 |
K900 | If GTK links vulkan-loader you can set the environment variables | 11:21:14 |
K900 | And point it at kosmickrisp | 11:21:16 |
Randy Eckenrode | That’s a default path, isn’t it? | 11:21:19 |
K900 | If GTK links moltenvk directly, that's a problem | 11:21:22 |
WeetHet | Oh I didn’t know about that | 11:21:34 |
WeetHet | Yeah it links vulkan loader | 11:21:50 |
K900 | VK_ICD_FILENAME=/nix/store/... should work | 11:21:52 |
Randy Eckenrode | Or VK_DRIVER_FILES I think. | 11:22:30 |
WeetHet | More stuff to add to the gtk app wrapper hook ig | 11:23:19 |
K900 | https://github.com/KhronosGroup/Vulkan-Loader/blob/main/docs/LoaderDriverInterface.md | 11:23:28 |
K900 | I will defer to the Darwin team on that | 11:23:41 |
K900 | But I don't think this is a good idea | 11:23:49 |
K900 | Unless there are obvious immediate issues with the GL code path | 11:24:02 |
K900 | I think we should follow upstream here | 11:24:05 |
K900 | Instead of trying to force an experimental Vulkan renderer on an experimental Vulkan driver | 11:24:21 |
Randy Eckenrode | If MoltenVK doesn’t work, there may not be a better option. However, KosmicKrisp is not supported on Intel hardware. | 11:24:36 |
WeetHet | It’s still used as default even if vulkan is available | 11:24:41 |
WeetHet | On macOS | 11:24:52 |
K900 | Then we should absolutely not pull in an experimental Vulkan driver automagically | 11:24:59 |
K900 | If people want to opt into it for whatever reason, they can point the gun at their foot themselves | 11:25:16 |
WeetHet | No, but if an app chooses to use vulkan it would be better if it used mesa and not moltenvk | 11:25:48 |
K900 | Do you mean KosmicKrisp | 11:26:05 |
K900 | Because "Mesa" is a lot of things | 11:26:10 |
K900 | And it's important to make the distinction here | 11:26:15 |
WeetHet | Yes but that’s longer to write | 11:26:19 |