Niklas Haas
Niklas Haas
Wait, why are you using `vulkan-swap-mode=mailbox` on X11? You should be using `fifo`!
Not feasible, for a number of reasons starting with the basic fact that we don't support CMYK images anywhere in ffmpeg/mpv/libplacebo
Huh, weird. Can you bump up the verbosity?
If you can track down which exact call is the invalid one we might be able to avoid running it. (Try `apitrace`)
Does this patch fix it? ```diff diff --git a/video/out/vo_gpu_next.c b/video/out/vo_gpu_next.c index 628417218b..b4b59b53ef 100644 --- a/video/out/vo_gpu_next.c +++ b/video/out/vo_gpu_next.c @@ -876,7 +876,7 @@ static void draw_frame(struct vo *vo, struct vo_frame *frame) if...
@gbooker Oh, I see now. I was confusing `--idle` with `--keep-open`, which would have kept the vout initialized, but drawing blank frames. Actually, this is somewhat confusing - since the...
```diff diff --git a/src/vulkan/swapchain.c b/src/vulkan/swapchain.c index 3b66ee63..de117d93 100644 --- a/src/vulkan/swapchain.c +++ b/src/vulkan/swapchain.c @@ -409,6 +409,7 @@ static void vk_sw_destroy(pl_swapchain sw) vk->DestroySemaphore(vk->dev, p->sems.elem[i].out, PL_VK_ALLOC); } + set_hdr_metadata(p, &pl_hdr_metadata_empty); // remove leftover...
> So maybe this patch to MPV may do the trick (untested so it may not work or even crash): I would be surprised if this does anything because I...
> Not quite the same; there is one difference. I mentioned this: Oh, yes, I see your point. Unfortunately, I know that this function (`pick_surf_format`) does not do anything on...
The output levels are now correctly tagged on the swapchain, the same as happens for native HDR video.