Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue]: Your PC GPU does not support streaming HDR. The stream will be SDR. #1456

Open
lilpetamoix opened this issue Dec 19, 2024 · 0 comments
Labels

Comments

@lilpetamoix
Copy link

lilpetamoix commented Dec 19, 2024

Describe the bug

When using moonlight android client on a sunshine host with 4090, I get the pop up message "Your PC GPU does not support streaming HDR. The stream will be SDR." This happens regardless of using AV1 or HEVC codecs.

When using the same moonlight android client on a different sunshine host with 3090 (yes, diff gpu and not a typo), then I don't get the pop up message at all.

Steps to reproduce

Use moonlight android client (HDR enabled) on a sunshine host with 4090 with HDR desktop and auto HDR enabled.

Affected games

All games are affected.

Other Moonlight clients

PC

Moonlight adjusted settings

Yes

Moonlight adjusted settings (please complete the following information)

HDR enabled and AV1 codec selected (also tried HEVC with same issue).

Moonlight default settings

Yes

Gamepad-related connection issue

No

Gamepad-related input issue

No

Gamepad-related streaming issue

No

Android version

Android 14

Device model

Samsung Galaxy S23 Ultra

Server PC OS version

Windows 11 with 24H2

Server PC GeForce Experience version

Latest Sunshine

Server PC Nvidia GPU driver version

Latest GPU driver 566.36, Nvidia App uninstalled

Server PC antivirus and firewall software

Windows Defender and Firewall

Screenshots

Screenshot_20241218_141034_Moonlight

Relevant log output

[2024-12-18 21:29:54.460]: Info: Sunshine version: v2024.1208.41026
[2024-12-18 21:29:54.460]: Info: Package Publisher: LizardByte
[2024-12-18 21:29:54.460]: Info: Publisher Website: https://app.lizardbyte.dev
[2024-12-18 21:29:54.460]: Info: Get support: https://app.lizardbyte.dev/support
[2024-12-18 21:29:54.590]: Info: nvprefs: No need to modify application profile settings
[2024-12-18 21:29:54.590]: Info: nvprefs: Changed OGL_CPL_PREFER_DXPRESENT to OGL_CPL_PREFER_DXPRESENT_PREFER_ENABLED for base profile
[2024-12-18 21:29:54.616]: Info: Compiling shaders...
[2024-12-18 21:29:54.626]: Warning: include/base_vs.hlsl(28,13-36): warning X3556: integer modulus may be much slower, try using uints if possible.
[2024-12-18 21:29:54.639]: Warning: include/base_vs.hlsl(28,13-36): warning X3556: integer modulus may be much slower, try using uints if possible.
[2024-12-18 21:29:54.647]: Warning: include/base_vs.hlsl(28,13-36): warning X3556: integer modulus may be much slower, try using uints if possible.
[2024-12-18 21:29:54.653]: Warning: include/base_vs.hlsl(28,13-36): warning X3556: integer modulus may be much slower, try using uints if possible.
[2024-12-18 21:29:54.668]: Warning: include/base_vs.hlsl(28,13-36): warning X3556: integer modulus may be much slower, try using uints if possible.
[2024-12-18 21:29:54.672]: Warning: include/base_vs.hlsl(28,13-36): warning X3556: integer modulus may be much slower, try using uints if possible.
[2024-12-18 21:29:54.672]: Info: Compiled shaders
[2024-12-18 21:29:54.676]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024-12-18 21:29:54.676]: Info: Trying encoder [nvenc]
[2024-12-18 21:29:54.824]: Info: ddprobe.exe 1  --verify-frame-capture returned 0x00000000
[2024-12-18 21:29:54.825]: Info: Set GPU preference: 1
[2024-12-18 21:29:54.986]: Info: 
Device Description : NVIDIA GeForce RTX 4090
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002684
Device Video Mem   : 24142 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 32638 MiB
Feature Level      : 0x0000B100
Capture size       : 3840x2160
Offset             : 0x0
Virtual Desktop    : 3840x2160
[2024-12-18 21:29:54.986]: Info: Active GPU has HAGS disabled
[2024-12-18 21:29:54.986]: Info: Using realtime GPU priority
[2024-12-18 21:29:54.986]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020
Bits Per Color     : 10
Red Primary        : [0.694336,0.292969]
Green Primary      : [0.274414,0.65918]
Blue Primary       : [0.148438,0.0566406]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.0006 nits
Max Luminance      : 1015.27 nits
Max Full Luminance : 603.698 nits
[2024-12-18 21:29:54.986]: Info: Desktop resolution [3840x2160]
[2024-12-18 21:29:54.986]: Info: Desktop format [DXGI_FORMAT_R16G16B16A16_FLOAT]
[2024-12-18 21:29:54.986]: Info: Display refresh rate [60Hz]
[2024-12-18 21:29:54.987]: Info: Requested frame rate [60fps]
[2024-12-18 21:29:54.987]: Info: Creating encoder [h264_nvenc]
[2024-12-18 21:29:54.987]: Info: Color coding: SDR (Rec. 601)
[2024-12-18 21:29:54.987]: Info: Color depth: 8-bit
[2024-12-18 21:29:54.987]: Info: Color range: JPEG
[2024-12-18 21:29:55.030]: Info: NvEnc: created encoder H.264 P1 two-pass rfi
[2024-12-18 21:29:55.053]: Info: Creating encoder [hevc_nvenc]
[2024-12-18 21:29:55.053]: Info: Color coding: SDR (Rec. 601)
[2024-12-18 21:29:55.053]: Info: Color depth: 8-bit
[2024-12-18 21:29:55.053]: Info: Color range: JPEG
[2024-12-18 21:29:55.094]: Info: NvEnc: created encoder HEVC P1 two-pass rfi
[2024-12-18 21:29:55.117]: Info: Creating encoder [av1_nvenc]
[2024-12-18 21:29:55.117]: Info: Color coding: SDR (Rec. 601)
[2024-12-18 21:29:55.117]: Info: Color depth: 8-bit
[2024-12-18 21:29:55.117]: Info: Color range: JPEG
[2024-12-18 21:29:55.158]: Info: NvEnc: created encoder AV1 P1 two-pass rfi
[2024-12-18 21:29:55.179]: Info: Creating encoder [h264_nvenc]
[2024-12-18 21:29:55.179]: Info: Color coding: SDR (Rec. 601)
[2024-12-18 21:29:55.179]: Info: Color depth: 8-bit
[2024-12-18 21:29:55.179]: Info: Color range: JPEG
[2024-12-18 21:29:55.217]: Info: NvEnc: created encoder H.264 P1 yuv444 two-pass rfi
[2024-12-18 21:29:55.380]: Info: 
Device Description : NVIDIA GeForce RTX 4090
Device Vendor ID   : 0x000010DE
Device Device ID   : 0x00002684
Device Video Mem   : 24142 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 32638 MiB
Feature Level      : 0x0000B100
Capture size       : 3840x2160
Offset             : 0x0
Virtual Desktop    : 3840x2160
[2024-12-18 21:29:55.380]: Info: Active GPU has HAGS disabled
[2024-12-18 21:29:55.380]: Info: Using realtime GPU priority
[2024-12-18 21:29:55.380]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020
Bits Per Color     : 10
Red Primary        : [0.694336,0.292969]
Green Primary      : [0.274414,0.65918]
Blue Primary       : [0.148438,0.0566406]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.0006 nits
Max Luminance      : 1015.27 nits
Max Full Luminance : 603.698 nits
[2024-12-18 21:29:55.380]: Info: Desktop resolution [3840x2160]
[2024-12-18 21:29:55.381]: Info: Desktop format [DXGI_FORMAT_R16G16B16A16_FLOAT]
[2024-12-18 21:29:55.381]: Info: Display refresh rate [60Hz]
[2024-12-18 21:29:55.381]: Info: Requested frame rate [60fps]
[2024-12-18 21:29:55.381]: Info: Creating encoder [hevc_nvenc]
[2024-12-18 21:29:55.381]: Info: Color coding: HDR (Rec. 2020 + SMPTE 2084 PQ)
[2024-12-18 21:29:55.381]: Info: Color depth: 10-bit
[2024-12-18 21:29:55.381]: Info: Color range: JPEG
[2024-12-18 21:29:55.522]: Info: NvEnc: created encoder HEVC P1 yuv444 10-bit two-pass rfi
[2024-12-18 21:29:55.557]: Info: Creating encoder [av1_nvenc]
[2024-12-18 21:29:55.557]: Info: Color coding: HDR (Rec. 2020 + SMPTE 2084 PQ)
[2024-12-18 21:29:55.557]: Info: Color depth: 10-bit
[2024-12-18 21:29:55.557]: Info: Color range: JPEG
[2024-12-18 21:29:55.635]: Error: NvEnc: gpu doesn't support YUV444 encode
[2024-12-18 21:29:55.656]: Info: Creating encoder [av1_nvenc]
[2024-12-18 21:29:55.656]: Info: Color coding: HDR (Rec. 2020 + SMPTE 2084 PQ)
[2024-12-18 21:29:55.656]: Info: Color depth: 10-bit
[2024-12-18 21:29:55.656]: Info: Color range: JPEG
[2024-12-18 21:29:55.700]: Info: NvEnc: created encoder AV1 P1 10-bit two-pass rfi
[2024-12-18 21:29:55.731]: Info: 
[2024-12-18 21:29:55.731]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2024-12-18 21:29:55.731]: Info: 
[2024-12-18 21:29:55.731]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2024-12-18 21:29:55.731]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2024-12-18 21:29:55.731]: Info: Found AV1 encoder: av1_nvenc [nvenc]
[2024-12-18 21:29:55.733]: Info: Configuration UI available at [https://localhost:47990]
[2024-12-18 21:29:56.503]: Info: Registered Sunshine mDNS service

Additional context

Nvidia control panel was also reset to default settings. Using virtual display driver with HDR as a headless setup. I don't mean to make this any more confusing but I don't get this error when using moonlight ios client on ipad pro with HDR enabled to the same 4090 host. I don't get the error and seems like HDR works fine on ipad pro moonlight client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant