Skip to content

Having the Sunshine service running can impact HDR display capabilities in other applications with no streaming being involved #3500

@Skyyblaze

Description

@Skyyblaze

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?

This issue is present in the latest pre-release

Describe the Bug

Having the Sunshine service running causes other applications such as Chiaki4Deck to end up with washed out HDR colors. Stopping Sunshine remedies the problem completely.

Expected Behavior

Sunshine not interfering with other applications.

Additional Context

I've been long since trying to figure out why HDR wouldn't display correctly when using Chiaki4Deck to stream my PS5 to my Windows PC and the developer of that application was trying to help me fix it too to no avail. Another user, also with an Nvidia card and Sunshine installed, eventually found out that stopping Sunshine fixes the problem. I tested it on my end and can confirm that the same is true for me. Starting Sunshine again immediately recreates the problem. The problem can also be seen when playing some HDR videos with the mpv video player in certain configurations.

The corresponding Issue Report can be found here: streetpea/chiaki-ng#494

Host Operating System

Windows

Operating System Version

Windows 11 24H2

Architecture

amd64/x86_64

Sunshine commit or version

0.23.1

Package

Windows - installer (recommended)

GPU Type

NVIDIA

GPU Model

RTX 4070

GPU Driver/Mesa Version

566.45

Capture Method

None

Config

Apps

Relevant log output

Not really applicable as Sunshine isn't actively involved.

[2024:12:29:20:29:21]: Info: Sunshine version: v0.23.1
[2024:12:29:20:29:21]: Info: nvprefs: No need to modify application profile settings
[2024:12:29:20:29:21]: Info: nvprefs: Changed OGL_CPL_PREFER_DXPRESENT to OGL_CPL_PREFER_DXPRESENT_PREFER_ENABLED for base profile
[2024:12:29:20:29:21]: Info: Compiling shaders...
[2024:12:29:20:29:21]: Info: System tray created
[2024:12:29:20:29:21]: Info: Compiled shaders
[2024:12:29:20:29:21]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024:12:29:20:29:21]: Info: Trying encoder [nvenc]
[2024:12:29:20:29:22]: Info: ddprobe.exe [1] [] returned: 0x00000000
[2024:12:29:20:29:22]: Info: Set GPU preference: 1
[2024:12:29:20:29:22]: Info: 
Device Description : NVIDIA GeForce RTX 4070
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002786
Device Video Mem   : 12012 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 16336 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 3840x0
Virtual Desktop    : 5760x2160
[2024:12:29:20:29:22]: Info: Active GPU has HAGS enabled
[2024:12:29:20:29:22]: Info: Using realtime GPU priority
[2024:12:29:20:29:22]: Info: Desktop resolution [1920x1080]
[2024:12:29:20:29:22]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024:12:29:20:29:22]: Info: Display refresh rate [60Hz]
[2024:12:29:20:29:22]: Info: Requested frame rate [60fps]
[2024:12:29:20:29:22]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.65332,0.336914]
Green Primary      : [0.322266,0.611328]
Blue Primary       : [0.15332,0.0605469]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2024:12:29:20:29:22]: Info: SDR color coding [Rec. 601]
[2024:12:29:20:29:22]: Info: Color depth: 8-bit
[2024:12:29:20:29:22]: Info: Color range: [JPEG]
[2024:12:29:20:29:22]: Info: NvEnc: created encoder P1 two-pass rfi
[2024:12:29:20:29:22]: Info: SDR color coding [Rec. 601]
[2024:12:29:20:29:22]: Info: Color depth: 8-bit
[2024:12:29:20:29:22]: Info: Color range: [JPEG]
[2024:12:29:20:29:22]: Info: NvEnc: created encoder P1 two-pass rfi
[2024:12:29:20:29:22]: Info: SDR color coding [Rec. 601]
[2024:12:29:20:29:22]: Info: Color depth: 8-bit
[2024:12:29:20:29:22]: Info: Color range: [JPEG]
[2024:12:29:20:29:22]: Info: NvEnc: created encoder P1 two-pass rfi
[2024:12:29:20:29:22]: Info: 
Device Description : NVIDIA GeForce RTX 4070
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002786
Device Video Mem   : 12012 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 16336 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 3840x0
Virtual Desktop    : 5760x2160
[2024:12:29:20:29:22]: Info: Active GPU has HAGS enabled
[2024:12:29:20:29:22]: Info: Using realtime GPU priority
[2024:12:29:20:29:22]: Info: Desktop resolution [1920x1080]
[2024:12:29:20:29:22]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024:12:29:20:29:22]: Info: Display refresh rate [60Hz]
[2024:12:29:20:29:22]: Info: Requested frame rate [60fps]
[2024:12:29:20:29:22]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.65332,0.336914]
Green Primary      : [0.322266,0.611328]
Blue Primary       : [0.15332,0.0605469]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2024:12:29:20:29:22]: Info: SDR color coding [Rec. 709]
[2024:12:29:20:29:22]: Info: Color depth: 10-bit
[2024:12:29:20:29:22]: Info: Color range: [JPEG]
[2024:12:29:20:29:22]: Info: NvEnc: created encoder P1 10-bit two-pass rfi
[2024:12:29:20:29:23]: Info: SDR color coding [Rec. 709]
[2024:12:29:20:29:23]: Info: Color depth: 10-bit
[2024:12:29:20:29:23]: Info: Color range: [JPEG]
[2024:12:29:20:29:23]: Info: NvEnc: created encoder P1 10-bit two-pass rfi
[2024:12:29:20:29:23]: Info: 
[2024:12:29:20:29:23]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2024:12:29:20:29:23]: Info: 
[2024:12:29:20:29:23]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2024:12:29:20:29:23]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2024:12:29:20:29:23]: Info: Found AV1 encoder: av1_nvenc [nvenc]
[2024:12:29:20:29:23]: Info: Configuration UI available at [https://localhost:47990]
[2024:12:29:20:29:23]: Info: Registered Sunshine mDNS service

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions