Skip to content
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

cannot enable macvk #12

Closed
hooke007 opened this issue Oct 17, 2023 · 11 comments
Closed

cannot enable macvk #12

hooke007 opened this issue Oct 17, 2023 · 11 comments

Comments

@hooke007
Copy link

mpv-player/mpv@78d4374

In theory, this could work --vo=gpu --gpu-context=macvk . But currently it just throws an error message.

[vo/gpu] Failed initializing any suitable GPU context!
Error opening/initializing the VO window.

Did it miss any dependency?

@deus0ww
Copy link
Owner

deus0ww commented Oct 17, 2023

I'm looking into it now... lol

@deus0ww
Copy link
Owner

deus0ww commented Oct 17, 2023

Seems to work with shaderc.

@hooke007
Copy link
Author

Emm... uninstall mpv libplacebo ffmpeg and then reinstalled them.
Not work here.

@deus0ww
Copy link
Owner

deus0ww commented Oct 17, 2023

I also installed molten-vk from homebrew and vulkan-sdk from https://vulkan.lunarg.com/sdk/home

@hooke007
Copy link
Author

@deus0ww I found a patch from one of mpv dev's branch. It allows native hwdec on apple silicon.
rcombs/mpv@fd1f9a2

@deus0ww
Copy link
Owner

deus0ww commented Oct 19, 2023

I can't test today but, for clarity, are you talking about hwdec=vulkan or hwdec=videotoolbox?

@hooke007
Copy link
Author

hwdec=videotoolbox

@deus0ww
Copy link
Owner

deus0ww commented Oct 19, 2023

Nice... When I tested yesterday, only videotoolbox-copy worked. I hope rcomb gets that merged soon.

@deus0ww
Copy link
Owner

deus0ww commented Oct 22, 2023

@hooke007 I added m154k1's patches to the mpv formula. hwdec should work...

@hooke007
Copy link
Author

I hope rcomb gets that merged soon.

It's coming. mpv-player/mpv#12776

@hooke007
Copy link
Author

hooke007 commented Nov 10, 2023

patch 3 seems to be unnecessary.
mpv-player/mpv#12846

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

No branches or pull requests

2 participants