fix(linux): prefer desktop OpenGL on NVIDIA - #39
Closed
zhn1100 wants to merge 1 commit into
Closed
Conversation
NVIDIA 的 OpenGL ES 路径运行较大的 libmpv user shader 链时可能输出错误的 RGB 颜色。NVIDIA 环境优先创建独立的桌面 OpenGL 上下文,初始化失败时重试原有 GLES2 路径。
Author
|
This has been superseded by the smaller libmpv-side fix in Predidit/libmpv-linux-build#9. The desktop OpenGL change is no longer needed, so I’m closing this PR. |
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.
关联 Predidit/Kazumi#1547。
NVIDIA 专有驱动下,OpenGL ES 渲染路径运行 Anime4K 质量档的较大 shader 链时会出现明显偏色。关闭 VAAPI 后仍可复现,改用桌面 OpenGL 后恢复正常。
本 PR:
已在 NVIDIA RTX 4050 上验证 Wayland 和 X11/XWayland。Anime4K shader、预设顺序和解码逻辑均未修改。