ScintillatorSynth / Scintillator

A Video Synthesis Engine for SuperCollider
https://scintillatorsynth.org
56 stars 8 forks source link

Vulkan loader on MacOS should not look outside its own package for Vulkan drivers #91

Closed lnihlen closed 4 years ago

lnihlen commented 4 years ago

Based on feedback from a user, the scinsynth binary fails to load because it is finding a MoltenVK device installed from another effort and getting a security violation when it tries to load that binary.

lnihlen commented 4 years ago

the loader is respecting the environment variables:

declare -x VK_ICD_FILENAMES=“/Users/<redacted>/.vulkan_sdk/macOS/etc/vulkan/icd.d/MoltenVK_icd.json”
declare -x VK_LAYER_PATH=“/Users/<redacted>/.vulkan_sdk/macOS/etc/vulkan/explicit_layer.d”
declare -x VULKAN_SDK=“/Users/<redacted>/.vulkan_sdk/macOS”
lnihlen commented 4 years ago

Reported as fixed on the user's computer.