Streamed image washed out / overexposed - NVENC colors wrong, software encoding helps

未关闭
#6,198 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
cpp

调研方向

Start with Sunshine’s encoder configuration and the NVENC color-range handling, then reproduce the issue by comparing NVENC with software x264 using the same Moonlight stream. Check the available Sunshine configuration and runtime logs for color-space or range settings; the issue is done when the overexposure is identified and NVENC produces colors, contrast, and black levels matching the local display.

由索引模型根据 Issue 内容生成。

描述

Is there an existing issue for this?
  • I have searched the existing issues
Is your issue described in the documentation?
  • I have read the documentation
Is your issue present in the latest beta/pre-release?

None

Describe the Bug

Setup

  • Host: Windows 11, i5-12600KF, NVIDIA RTX 5060 8GB, HKC SG27Q 2560x1440 170Hz, Sunshine on PC
  • Clients: Moonlight on Hisense 100-inch 4K TV (100Mbps port, 80Mbps, 1440p60) and iPhone; both show the same problem

Problem

The streamed image is washed out / overexposed. White sky is blown out, blacks are very faint/grey, and black text on a white background (e.g. Device Manager) is almost invisible.

The local PC monitor looks normal and direct play is fine — only streaming is affected.

Tried, no fix

  • Moonlight HDR off
  • Codec Auto / HEVC / H.264 — all the same
  • NVIDIA desktop output dynamic range: Full and Limited both tried
  • NVIDIA video dynamic range tried
  • TV Game mode, TV white balance reset

What helped

Switching the Sunshine encoder to Software encoding (x264) instead of NVENC made colors much better, but still not perfect — desktop text is still faint, so there is still some room for improvement.

Software preset veryfast did not help further vs superfast; tuning zerolatency kept.

Expected Behavior

The streamed image should have the same colors, contrast and black levels as the local monitor: whites not blown out, blacks actually black, and black text on white backgrounds clearly readable, when using NVENC.

Additional Context

Question: is this a known NVENC color range / Full vs Limited issue on RTX 5060? What Sunshine config should be checked next to get correct colors with NVENC?

Host Operating System

Windows

Operating System Version

Windows 11

Architecture

amd64/x86_64

Package

other (not listed)

GPU Type

NVIDIA

GPU Model

NVIDIA RTX 5060 8GB

GPU Driver/Mesa Version

Unknown

Capture Method

None

Apps

Log output

Online logs

No response

主要语言
C++
星标
43k
派生
2.4k
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

LizardByte/Sunshine 的其他 Issue

查看 LizardByte/Sunshine 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。