Skip to content

meson: bump min libplacebo version to v7.360.0#17513

Draft
llyyr wants to merge 2 commits intompv-player:masterfrom
llyyr:bump-libplacebo360
Draft

meson: bump min libplacebo version to v7.360.0#17513
llyyr wants to merge 2 commits intompv-player:masterfrom
llyyr:bump-libplacebo360

Conversation

@llyyr
Copy link
Contributor

@llyyr llyyr commented Mar 7, 2026

This version contains critical fixes to swapchain selection, correct mapping of sRGB TRC as well as fix for gpu hangs on anv. Bump the minimum version because the mpv experience with previous version shouldn't be endorsed or be considered acceptable by upstream.

This version contains critical fixes to swapchain selection, correct
mapping of sRGB TRC as well as fix for gpu hangs on anv. Bump the
minimum version because the mpv experience with previous version
shouldn't be endorsed or be considered acceptable by upstream.
@llyyr llyyr force-pushed the bump-libplacebo360 branch from a00896a to e838320 Compare March 7, 2026 04:05
@kasper93
Copy link
Member

kasper93 commented Mar 7, 2026

Need to resolve CI situation before merge. Probably clone to subprojects/libplacebo will be enough in correct places.

@llyyr
Copy link
Contributor Author

llyyr commented Mar 7, 2026

I'm not sure what the problem is with the msvc build, and I can't really test it locally either

@llyyr llyyr force-pushed the bump-libplacebo360 branch from cc16115 to 5eed471 Compare March 7, 2026 06:09
.vsync_duration = can_interpolate ? frame->ideal_frame_vsync_duration : 0,
);
#if PL_API_VER >= 340
qparams.drift_compensation = 0;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be put in the init list above

.interpolation_threshold = opts->interpolation_threshold,
);
#if PL_API_VER >= 340
qparams.drift_compensation = 0;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be put in the init list above

#if PL_API_VER >= 340
qparams.drift_compensation = 0;
#endif
qparams.drift_compensation = 0;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be put in the init list above

params->repr.sys != PL_COLOR_SYSTEM_YCGCO
#if PL_API_VER >= 358
&& params->repr.sys != PL_COLOR_SYSTEM_YCGCO_RE
&& params->repr.sys != PL_COLOR_SYSTEM_YCGCO_RO
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style can be adjusted to match above

@Akemi
Copy link
Member

Akemi commented Mar 7, 2026

on a side note, bumping the version will prevent builds on macOS that are 'properly' working till #17258
is fixed or identified what the actual cause is. last working libplacebo version is v7.351.

@llyyr
Copy link
Contributor Author

llyyr commented Mar 7, 2026

We can wait a bit then, but there won't be any movement on it until a report to MoltenVK is filed. none of us can test moltenvk since we don't own it. The commit doesn't look wrong to me, and validation layer doesn't report anything either. Maybe you could do partial reverts of the commit to see the part that causes the issue?

you can probably get an even minimal reproducer by using plplay from libplacebo, instead of mpv.

@kasper93 kasper93 marked this pull request as draft March 7, 2026 09:57
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

Successfully merging this pull request may close these issues.

3 participants