!lheuhImcToQZYTQTuI:nixos.org

Nix on macOS

1203 Members
“There are still many issues with the Darwin platform but most of it is quite usable.” — http://yves.gnu-darwin.org201 Servers

Load older messages


SenderMessageTime
18 Apr 2026
@k900:0upti.meK900This makes no sense anyway11:19:59
@k900:0upti.meK900It should not be linking moltenvk at all11:20:08
@k900:0upti.meK900It should be linking vulkan-loader11:20:12
@weethet:catgirl.cloudWeetHethttps://github.com/NixOS/nixpkgs/blob/a9503707cb403de2b9a974c27d89031c73b84455/pkgs/by-name/vu/vulkan-loader/package.nix#L5211:20:41
@k900:0upti.meK900Yeah that's a hack11:21:00
@k900:0upti.meK900If GTK links vulkan-loader you can set the environment variables11:21:14
@k900:0upti.meK900And point it at kosmickrisp11:21:16
@reckenrode:matrix.orgRandy EckenrodeThat’s a default path, isn’t it?11:21:19
@k900:0upti.meK900If GTK links moltenvk directly, that's a problem11:21:22
@weethet:catgirl.cloudWeetHetOh I didn’t know about that11:21:34
@weethet:catgirl.cloudWeetHetYeah it links vulkan loader11:21:50
@k900:0upti.meK900 VK_ICD_FILENAME=/nix/store/... should work 11:21:52
@reckenrode:matrix.orgRandy Eckenrode Or VK_DRIVER_FILES I think. 11:22:30
@weethet:catgirl.cloudWeetHetMore stuff to add to the gtk app wrapper hook ig11:23:19
@k900:0upti.meK900https://github.com/KhronosGroup/Vulkan-Loader/blob/main/docs/LoaderDriverInterface.md11:23:28
@k900:0upti.meK900 I will defer to the Darwin team on that 11:23:41
@k900:0upti.meK900But I don't think this is a good idea11:23:49
@k900:0upti.meK900Unless there are obvious immediate issues with the GL code path11:24:02
@k900:0upti.meK900I think we should follow upstream here11:24:05
@k900:0upti.meK900Instead of trying to force an experimental Vulkan renderer on an experimental Vulkan driver11:24:21
@reckenrode:matrix.orgRandy EckenrodeIf MoltenVK doesn’t work, there may not be a better option. However, KosmicKrisp is not supported on Intel hardware.11:24:36
@weethet:catgirl.cloudWeetHet It’s still used as default even if vulkan is available 11:24:41
@weethet:catgirl.cloudWeetHet On macOS 11:24:52
@k900:0upti.meK900Then we should absolutely not pull in an experimental Vulkan driver automagically11:24:59
@k900:0upti.meK900If people want to opt into it for whatever reason, they can point the gun at their foot themselves11:25:16
@weethet:catgirl.cloudWeetHetNo, but if an app chooses to use vulkan it would be better if it used mesa and not moltenvk11:25:48
@k900:0upti.meK900Do you mean KosmicKrisp11:26:05
@k900:0upti.meK900Because "Mesa" is a lot of things11:26:10
@k900:0upti.meK900And it's important to make the distinction here11:26:15
@weethet:catgirl.cloudWeetHet Yes but that’s longer to write 11:26:19

Show newer messages


Back to Room ListRoom Version: 6