/technology
--no-config --profile=fast --fs --keep-open=yes --vo=gpu-next --gpu-api=vulkan --gpu-shader-cache=no --dither=no --pause --video-sync=display-vdrop --wayland-internal-vsync=yes I had AI slop together a patch for libplacebo to prevent it from selecting formats above 10-bit and does indeed fix the spike I was seeing. Something seems wrong with libplacebo's rgba16 support or something since rgba16 does not do this with vo=gpu. While testing, I noticed my frame timings before were ~700 during playback and ~2000 after pausing at end of playback (keep-open=yes). With the patch, frame timings were ~1200 both during playback and after. Patch: --- a/src/vulkan/swapchain.c +++ b/src/vulkan/swapchain.c @@ -204,6 +204,11 @@ static bool pick_surf_format(pl_swapchain sw, const struct pl_color_space *hint) if ((plfmt->caps & render_caps) != render_caps) continue; + // Limit Wayland pass-through output to 10-bit formats. + if (p->formats.elem[i].colorSpace == VK_COLOR_SPACE_PASS_THROUGH_EXT && + plfmt->component_depth[0] > 10) + continue; + // format valid, use it if it has a higher score int score = 0; switch (plfmt->component_depth[0]) { If possible, can a developer confirm this patch is safe to use as a hack to avoid this issue? I don't know how much the format matters.
⧖expiring0/1 kept2w ago
⏱ 2w 👍 0
⬆ upvote 0
/technology
trying
closest
needs