Closed kasimok closed 1 year ago
apparently it uses the old gpu
cocoa context, which is deprecated. tbh i didn't look into it yet because there wasn't opengl support for libplacebo at the time it was added. your problem so far is not an mpv problem but your libplacebo not being built with opengl support.
[vo/gpu-next] libplacebo was built without OpenGL support.
from my side there won't be a supported opengl backend for gpu-next, since apple already deprecated it, what will be added is a vulkan/metal/moltenvk backend at some point (https://github.com/mpv-player/mpv/issues/5088).
@Akemi
So Akemi, thanks for the quick answer. You mean if I built libplacebo with OpenGL support, then the MPV's gpu-next
option can work, right? At least from the error log, it is still expecting libplacebo with OpenGL support.
from my side there won't be a supported opengl backend for gpu-next
Does this mean even if I successfully build libplacebo with OpenGL, the MPV will still not be able to use gpu-next
?
like i said i never looked into it with gpu-next (and also don't see a reason for it), but the backend gpu-next wants to use is deprecated and broken. it will behave the same as vo=gpu
.
i am not sure why you would want to use gpu-next
anyway? since it is going to use opengl anyway (atm) you won't gain anyhting. all the HDR etc stuff is not supported by Apples outdated opengl and you will do much better with the libmpv backend atm.
Important Information
The
gpu-next
vo is not working with my video file on macOSProvide following Information:
mpv 0.34.0-464-gb9c7e5b5ff
12.5.1
This repo's master branch
NA
NA
Reproduction steps
I installed
libplacebo
(libplacebo--4.208.0.monterey.bottle.tar.gz) on macos with homebrew. And followed the guides to compiled MPV like belowI can see
in the configuration output.
However, when I play the HDR file with
$ mpv --no-config --vo=gpu-next LG\ Earth\ Dolby\ Vision\ UHD\ 4K\ Demo.ts --log-file=output.txt
It just failedExpected behavior
The
--vo=gpu-next
works.Actual behavior
Log file
Sample files
NA. Looks the error can be reproduced with any file