mpv
mpv copied to clipboard
MoltenVK not bundled with macOS static builds with dependencies
Important Information
Provide following Information:
- mpv 0.37.0
- macOS 14.2.1
- Compiled by myself
- 0.37.0
- no screenshots, it just doesn't work
Reproduction steps
Step 1. install the bundle on a machine where brew is not installed as well as moltenvk is not installed
Step 2. select gpu-next as video output
Step 3. Open a video file
Expected behavior
nothing crashes, and the video plays on a machine where there are no dependencies installed.
Actual behavior
it crashes immediately, and nothing happens on a machine where there are no dependencies installed.
Log file
[vo/gpu-next] Failed initializing any suitable GPU context! Error opening/initializing the selected video_out (--vo) device.
Sample files
My mpv config
Player
player-operation-mode=pseudo-gui log-file=~/Library/Logs/mpv.log no-border no-osc window-scale=0.6
Screenshots
screenshot-template="%F-T%wH.%wM.%wS.%wT-F%{estimated-frame-number}" screenshot-format=png screenshot-png-compression=9
Audio
ao=coreaudio coreaudio-change-physical-format=yes
Video
vo=gpu-next gpu-context=macvk hwdec=videotoolbox
again like the other issue, this is a useless log file because you are not logging with the problem you have. you need to reproduce the issue when logging.
this is not a crash, this is just a normal exit because it can't initialise the context.
this is a known limitation of the bundling script and is on my todo.
MoltenVK.dylib is not bundled with the mpv.app build, I don't know what do I have to give as all I am able to reproduce is uninstall homebrew and removing it completely and being unable to run mpv, as there is no moltenvk library neither on the host machine neither in the package, that's why I listed my build directions.
whenever I uninstall homebrew completely, the mpv.app build with dependencies stops working, I then have to install homebrew again and just installing the molten-vk fixes the issue and gpu-next works.
this is a know limitation of the bundling script and is on my todo.
to quote myself. dunno why i have to repeat myself and why i am just being ignored.
@Akczht Maybe my build give you some helps. https://github.com/eko5624/mpv-macos-intel
this is a know limitation of the bundling script and is on my todo.
to quote myself. dunno why i have to repeat myself and why i am just being ignored.
My error