Skip to content

molten-vk package should install ICD json file to etc instead of share #203233

Open
@msridhar

Description

brew gist-logs <formula> link OR brew config AND brew doctor output

$ brew config ; brew doctor
HOMEBREW_VERSION: 4.4.14
ORIGIN: https://github.com/Homebrew/brew
HEAD: f84082963da8af8c9ccd6dffbe932eba457e2b78
Last commit: 5 days ago
Branch: stable
Core tap JSON: 04 Jan 23:30 UTC
Core cask tap JSON: 04 Jan 23:30 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.P5q6SbcVsl/org.xquartz:0
HOMEBREW_MAKE_JOBS: 10
Homebrew Ruby: 3.3.6 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.6/bin/ruby
CPU: 10-core 64-bit arm_firestorm_icestorm
Clang: 16.0.0 build 1600
Git: 2.47.1 => /opt/homebrew/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 15.2-arm64
CLT: 16.2.0.0.1.1733547573
Xcode: 16.1
Rosetta 2: false
Your system is ready to brew.

Verification

  • My brew doctor output says Your system is ready to brew. and am still able to reproduce my issue.
  • I ran brew update and am still able to reproduce my issue.
  • I have resolved all warnings from brew doctor and that did not fix my problem.
  • I searched for recent similar issues at https://github.com/Homebrew/homebrew-core/issues?q=is%3Aissue and found no duplicates.

What were you trying to do (and why)?

I was trying to use mpv with --vo=gpu-next under the new Ghostty terminal to play a video, but the video failed to display. I reported this to mpv and the maintainers indicated the issue is the directory where the molten-vk Homebrew package is configured to install the ICD json file; see mpv-player/mpv#15642 (comment).

What happened (include all command output)?

I'm on an M1 Pro 2021 MB Pro, and I've installed mpv 0.39.0_1 from Homebrew. When I try to play any video with mpv using the --vo=gpu-next option from ghostty, I don't see any video. E.g., if I download this file and try to play it here's what I see at the console:

$ mpv --vo=gpu-next sample-5s.mp4
● Video  --vid=1               (h264 1920x1080 30 fps) [default]
● Audio  --aid=1  --alang=eng  (aac 2ch 44100 Hz 128 kbps) [default]
[vo/gpu-next] Failed initializing any suitable GPU context!
Error opening/initializing the selected video_out (--vo) device.
Video: no video
AO: [coreaudio] 44100Hz stereo 2ch floatp

I hear audio, but see no video. If I don't pass the --vo=gpu-next option and just run mpv sample-5s.mp4, the video plays fine from ghostty. And, from iTerm2 and Terminal, mpv --vo=gpu-next sample-5s.mp4 succeeds in playing the video.

What did you expect to happen?

I expected the video to be visible in all cases.

Step-by-step reproduction instructions (by running brew commands)

I believe just `brew install mpv` followed by the steps outlined above under "What happened."

Metadata

Assignees

No one assigned

    Labels

    bugReproducible Homebrew/homebrew-core bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions