Skip to content

osxbundle: fix vulkan loader and search paths#18226

Open
Akemi wants to merge 2 commits into
mpv-player:masterfrom
Akemi:mac_bundle_fixes_kosmickrisp2
Open

osxbundle: fix vulkan loader and search paths#18226
Akemi wants to merge 2 commits into
mpv-player:masterfrom
Akemi:mac_bundle_fixes_kosmickrisp2

Conversation

@Akemi

@Akemi Akemi commented Jul 5, 2026

Copy link
Copy Markdown
Member

only the (KosmicKrisp) bundling fixes from #17575, without the actual bundling of KosmicKrisp.

Akemi added 2 commits July 5, 2026 12:30
the paths in the array are meant to be base paths to the vulkan path.
remove vulkan from it so it won't end up as /usr/share/vulkan/vulkan.
the old check stopped at the first occurrence of a vulkan loader path.
though it's possible different vulkan loaders are installed in different
paths, leading to not found vulkan loaders.

to prevent this, also check if the needed vulkan loader is actually
installed to that path.

specific case is when installing MoltenVK and KosmicKrisp at the same
time. the former is installed in the homebrew prefix under etc/ the
latter under share/. the latter wasn't found previous, since the former
was found first.

@kasper93 kasper93 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants