Corrupt vblank timestamps on HDMI 2.1 DSC output (4K@240) — frame scheduling breaks under niri
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 30/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- c, linux
调研方向
Start by locating the driver's vblank timestamp generation paths for HDMI 2.1 DSC and non-standard display timings; the issue does not name specific files or tests. Compare reported vblank intervals with the expected refresh intervals for the affected outputs, then check whether the eDP control case remains unaffected. Done means timestamps match the refresh interval and the reported tearing and scheduling warnings no longer occur.
由索引模型根据 Issue 内容生成。
描述
System
- GPU: RTX 4080 Laptop (open kernel modules 595.104.02)
- Machine: MSI Vector 16 HX A13VHG
- OS: NixOS, kernel 6.18.57
- Compositor: niri 26.04 / niri-unstable-20261022 (both reproduce)
Symptom
On HDMI-A-3 (Microstep MPG272UX OLED, 3840x2160@240, DSC dual-slice), vblank timestamps reported to userspace are wildly incorrect — compositor observes vblank deltas of 1-4ms against an expected 4.166ms interval. Visual result: bottom half of screen shows stale/torn frames (scanline flicker).
Reproduction
- Connect 4K OLED via HDMI 2.1 at 240Hz (DSC engaged)
- Launch niri →
niri::utils::vblank_throttlewarnings appear within seconds:HDMI-A-3: expected refresh 4.166ms, got vblank after 1.562ms DP-4 ([email protected], non-standard timing): expected 8.333ms, got vblank after 2.713ms - Drop HDMI-A-3 to [email protected] → warnings stop, picture clean
Notes
- Same class of corruption on a [email protected] (non-standard CVT timing) DisplayPort output — expected 8.33ms, got 2.7ms.
- Internal eDP-1 2560x1600@240 never affected.
- Suspect DSC and/or non-standard timing paths in the driver's vblank timestamp generation.
Cross-filed at niri-wm/niri#4724 for compositor-side handling.
- 主要语言
- C
- 星标
- 17.5k
- 派生
- 1.9k
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NVIDIA/open-gpu-kernel-modules 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
NVIDIA/open-gpu-kernel-modules#1479 · 2 条评论 ·
维护者通常 1 天内回复
-
PlatformRequestHandler: missing !bInit guard on bSystemParamLimitUpdate causes NV_ERR_INVALID_DATA at boot可能已有人在做 @SammyTourani 于 38 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 88/100
NVIDIA/open-gpu-kernel-modules#1360 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
NVIDIA/open-gpu-kernel-modules#1343 · 3 条评论 ·
维护者通常 1 天内回复
-
HKC G27H7Pro redundant long-HPD loop after DisplayPort link training (RTX 5060 Laptop, 610.57.04)未关闭bug
难度 2/5 1-3 小时 新手友好度 88/100
NVIDIA/open-gpu-kernel-modules#1323 ·
维护者通常 1 天内回复
-
build-problem
难度 2/5 1-3 小时 新手友好度 74/100
NVIDIA/open-gpu-kernel-modules#1155 · 1 条评论 ·
维护者通常 1 天内回复
查看 NVIDIA/open-gpu-kernel-modules 的全部 Issue
相似的 Issue
-
Bug
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
meshcore-dev/MeshCore#3760 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
ly05010419/MacNativeGames#1697 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
colbymchenry/codegraph#3228 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
FujiNetWIFI/fujinet-config#372 ·
维护者通常 1 天内回复