fix(player): NVIDIA Wayland explicit sync 与动画状态更新优化 - #71
Open
LuorixDev wants to merge 2 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改动内容
1. 配置 NVIDIA Wayland explicit sync(
808e7df8)__NV_DISABLE_EXPLICIT_SYNC=1,避免 WebKitGTK 创建原生 Wayland 表面时 explicit sync 路径失败(用户已有的环境变量优先)。select!持续就绪并空转;现在该分支会被正确停用。2. 减少不必要的动画状态更新(
80f33101)验证
本机 KDE Wayland(KWin 6.7 / AMD Radeon 880M / WebKitGTK 4.1)实测:歌词页关闭时低频循环不再运行;播放中进度 atom 的写入按上述条件收敛。