-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
molten-vk
package should install ICD json file to etc
instead of share
#203233
Comments
What does the title have to do with the content of the issue? What makes you say the install location is wrong? |
CC @cho-m |
Sorry for not explaining the title! That was the title suggested by @m154k1 in the mpv issue where they diagnosed the problem: mpv-player/mpv#15642 (comment) If you like I can change the title to more directly reflect the symptom of the problem. |
Odd of Ghostty to force set the XDG_DATA_DIRS (https://github.com/ghostty-org/ghostty/blob/main/src/termio/shell_integration.zig#L470-L482). Looks like it is due to them manipulating the variable in shells, e.g. Fish and Elvish. As note, this will introduce the same issues we hit on Linux (assuming not on old Originally on Linux we would automatically add Homebrew's directory to XDG_DATA_DIRS; however, we reverted this as Linux desktops are usually built on top of For macOS users, we can reconsider the recommendation given there should be no incompatibilities and we may get issue reports from Ghostty users on Now on topic of Vulkan, it is probably less of a concern if setting XDG_DATA_DIRS but probably okay to move to etc. The share directory is the standard/default, but etc is still a documented alternative (in Linux docs, but macOS loads same paths unless ICD is found in app bundle)
https://github.com/KhronosGroup/Vulkan-Loader/blob/vulkan-sdk-1.3.296.0/loader/loader.c#L3292-L3301 If going this route, probably want to put files inside |
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputVerification
brew doctor
output saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.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 tompv
and the maintainers indicated the issue is the directory where themolten-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:I hear audio, but see no video. If I don't pass the
--vo=gpu-next
option and just runmpv 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)The text was updated successfully, but these errors were encountered: