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

Force a Specific Capture Method: Automatic, Doesnt Switch to 'Windows Graphics Capture Beta' for HDR Content #3215

Open
2 tasks done
Wontell opened this issue Sep 21, 2024 · 0 comments

Comments

@Wontell
Copy link

Wontell commented Sep 21, 2024

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

When Force a Specific Capture Method set to AUTOMATIC, I dont get HDR on my iPad Pro M1
I found that if you manually set it to 'Windows Graphics Capture Beta' HDR works fine and looks great

Also, 'Windows Graphics Capture Beta' , sometimes shows black screen in games when windows is in SDR mode, sometimes it can be solved by alt-tabing to desktop and back to game

Expected Behavior

Specific Capture Method to automatically change to 'Windows Graphics Capture Beta' when HDR running

Additional Context

Capture Method set to: AUTO

Host Operating System

Windows

Operating System Version

24H2

Architecture

64 bit

Sunshine commit or version

Version v2024.921.45031

Package

Windows - portable

GPU Type

Nvidia

GPU Model

RTX4090

GPU Driver/Mesa Version

561.09

Capture Method

None

Config

sw_preset = fast
nvenc_twopass = full_res
nvenc_spatial_aq = enabled
nvenc_preset = 4
address_family = both
notify_pre_releases = enabled
encoder = nvenc
adapter_name = NVIDIA GeForce RTX 4090
output_name = \\.\DISPLAY1
upnp = enabled

Apps

No response

Relevant log output

[2024-09-21 18:25:24.470]: Info: Sunshine version: v2024.921.45031
[2024-09-21 18:25:24.470]: Info: Package Publisher: LizardByte
[2024-09-21 18:25:24.470]: Info: Publisher Website: https://app.lizardbyte.dev
[2024-09-21 18:25:24.470]: Info: Get support: https://app.lizardbyte.dev/support
[2024-09-21 18:25:24.604]: Info: nvprefs: No need to modify application profile settings
[2024-09-21 18:25:24.604]: Info: nvprefs: Changed OGL_CPL_PREFER_DXPRESENT to OGL_CPL_PREFER_DXPRESENT_PREFER_ENABLED for base profile
[2024-09-21 18:25:24.627]: Info: Compiling shaders...
[2024-09-21 18:25:24.638]: Warning: include/base_vs.hlsl(28,13-36): warning X3556: integer modulus may be much slower, try using uints if possible.
[2024-09-21 18:25:24.652]: Warning: include/base_vs.hlsl(28,13-36): warning X3556: integer modulus may be much slower, try using uints if possible.
[2024-09-21 18:25:24.654]: Info: System tray created
[2024-09-21 18:25:24.660]: Warning: include/base_vs.hlsl(28,13-36): warning X3556: integer modulus may be much slower, try using uints if possible.
[2024-09-21 18:25:24.666]: Warning: include/base_vs.hlsl(28,13-36): warning X3556: integer modulus may be much slower, try using uints if possible.
[2024-09-21 18:25:24.682]: Warning: include/base_vs.hlsl(28,13-36): warning X3556: integer modulus may be much slower, try using uints if possible.
[2024-09-21 18:25:24.686]: Warning: include/base_vs.hlsl(28,13-36): warning X3556: integer modulus may be much slower, try using uints if possible.
[2024-09-21 18:25:24.686]: Info: Compiled shaders
[2024-09-21 18:25:24.692]: Fatal: ViGEmBus is not installed or running. You must install ViGEmBus for gamepad support!
[2024-09-21 18:25:24.692]: Info: Trying encoder [nvenc]
[2024-09-21 18:25:24.816]: Info: ddprobe.exe [1] [\\.\DISPLAY1] returned: 0x00000000
[2024-09-21 18:25:24.816]: Info: Set GPU preference: 1
[2024-09-21 18:25:24.960]: 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      : 32690 MiB
Feature Level      : 0x0000B100
Capture size       : 3840x2160
Offset             : 0x0
Virtual Desktop    : 3840x2160
[2024-09-21 18:25:24.960]: Info: Active GPU has HAGS enabled
[2024-09-21 18:25:24.960]: Info: Using realtime GPU priority
[2024-09-21 18:25:24.960]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020
Bits Per Color     : 10
Red Primary        : [0.669922,0.311527]
Green Primary      : [0.273434,0.659178]
Blue Primary       : [0.153323,0.04492]
White Point        : [0.3125,0.329098]
Min Luminance      : 0 nits
Max Luminance      : 1400 nits
Max Full Luminance : 1400 nits
[2024-09-21 18:25:24.962]: Info: Desktop resolution [3840x2160]
[2024-09-21 18:25:24.962]: Info: Desktop format [DXGI_FORMAT_R16G16B16A16_FLOAT]
[2024-09-21 18:25:24.962]: Info: Display refresh rate [119.88Hz]
[2024-09-21 18:25:24.962]: Info: Requested frame rate [60fps]
[2024-09-21 18:25:24.963]: Info: Creating encoder [h264_nvenc]
[2024-09-21 18:25:24.963]: Info: Color coding: SDR (Rec. 601)
[2024-09-21 18:25:24.963]: Info: Color depth: 8-bit
[2024-09-21 18:25:24.963]: Info: Color range: JPEG
[2024-09-21 18:25:25.004]: Info: NvEnc: created encoder H.264 P4 two-pass rfi spatial-aq
[2024-09-21 18:25:25.043]: Info: Creating encoder [hevc_nvenc]
[2024-09-21 18:25:25.043]: Info: Color coding: SDR (Rec. 601)
[2024-09-21 18:25:25.043]: Info: Color depth: 8-bit
[2024-09-21 18:25:25.043]: Info: Color range: JPEG
[2024-09-21 18:25:25.084]: Info: NvEnc: created encoder HEVC P4 two-pass rfi spatial-aq
[2024-09-21 18:25:25.111]: Info: Creating encoder [av1_nvenc]
[2024-09-21 18:25:25.111]: Info: Color coding: SDR (Rec. 601)
[2024-09-21 18:25:25.111]: Info: Color depth: 8-bit
[2024-09-21 18:25:25.111]: Info: Color range: JPEG
[2024-09-21 18:25:25.154]: Info: NvEnc: created encoder AV1 P4 two-pass rfi spatial-aq
[2024-09-21 18:25:25.179]: Info: Creating encoder [h264_nvenc]
[2024-09-21 18:25:25.179]: Info: Color coding: SDR (Rec. 601)
[2024-09-21 18:25:25.180]: Info: Color depth: 8-bit
[2024-09-21 18:25:25.180]: Info: Color range: JPEG
[2024-09-21 18:25:25.218]: Info: NvEnc: created encoder H.264 P4 yuv444 two-pass rfi spatial-aq
[2024-09-21 18:25:25.389]: 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      : 32690 MiB
Feature Level      : 0x0000B100
Capture size       : 3840x2160
Offset             : 0x0
Virtual Desktop    : 3840x2160
[2024-09-21 18:25:25.389]: Info: Active GPU has HAGS enabled
[2024-09-21 18:25:25.389]: Info: Using realtime GPU priority
[2024-09-21 18:25:25.390]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020
Bits Per Color     : 10
Red Primary        : [0.669922,0.311527]
Green Primary      : [0.273434,0.659178]
Blue Primary       : [0.153323,0.04492]
White Point        : [0.3125,0.329098]
Min Luminance      : 0 nits
Max Luminance      : 1400 nits
Max Full Luminance : 1400 nits
[2024-09-21 18:25:25.391]: Info: Desktop resolution [3840x2160]
[2024-09-21 18:25:25.391]: Info: Desktop format [DXGI_FORMAT_R16G16B16A16_FLOAT]
[2024-09-21 18:25:25.391]: Info: Display refresh rate [119.88Hz]
[2024-09-21 18:25:25.391]: Info: Requested frame rate [60fps]
[2024-09-21 18:25:25.391]: Info: Creating encoder [hevc_nvenc]
[2024-09-21 18:25:25.392]: Info: Color coding: HDR (Rec. 2020 + SMPTE 2084 PQ)
[2024-09-21 18:25:25.392]: Info: Color depth: 10-bit
[2024-09-21 18:25:25.392]: Info: Color range: JPEG
[2024-09-21 18:25:25.508]: Info: NvEnc: created encoder HEVC P4 yuv444 10-bit two-pass rfi spatial-aq
[2024-09-21 18:25:25.552]: Info: Creating encoder [av1_nvenc]
[2024-09-21 18:25:25.552]: Info: Color coding: HDR (Rec. 2020 + SMPTE 2084 PQ)
[2024-09-21 18:25:25.552]: Info: Color depth: 10-bit
[2024-09-21 18:25:25.552]: Info: Color range: JPEG
[2024-09-21 18:25:25.627]: Error: NvEnc: gpu doesn't support YUV444 encode
[2024-09-21 18:25:25.650]: Info: Creating encoder [av1_nvenc]
[2024-09-21 18:25:25.650]: Info: Color coding: HDR (Rec. 2020 + SMPTE 2084 PQ)
[2024-09-21 18:25:25.650]: Info: Color depth: 10-bit
[2024-09-21 18:25:25.650]: Info: Color range: JPEG
[2024-09-21 18:25:25.694]: Info: NvEnc: created encoder AV1 P4 10-bit two-pass rfi spatial-aq
[2024-09-21 18:25:25.728]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024-09-21 18:25:25.728]: Info: 
[2024-09-21 18:25:25.728]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2024-09-21 18:25:25.728]: Info: 
[2024-09-21 18:25:25.728]: Info: Found H.264 encoder: h264_nvenc [nvenc]
[2024-09-21 18:25:25.728]: Info: Found HEVC encoder: hevc_nvenc [nvenc]
[2024-09-21 18:25:25.728]: Info: Found AV1 encoder: av1_nvenc [nvenc]
[2024-09-21 18:25:25.731]: Info: Configuration UI available at [https://localhost:47990]
[2024-09-21 18:25:26.514]: Info: Registered Sunshine mDNS service
[2024-09-21 18:25:29.904]: Info: Opening UI from system tray
[2024-09-21 18:25:29.923]: Info: Resolved user-provided command 'https://localhost:47990' to '"C:\Program Files\Mozilla Firefox\firefox.exe" -osint -url "https://localhost:47990"'
[2024-09-21 18:25:29.929]: Info: https://localhost:47990 running with PID 15552
[2024-09-21 18:25:29.929]: Info: Opened url [https://localhost:47990]
@Wontell Wontell changed the title HDR is Non Existant/Dull 4090 to ipad Pro 12.9 M1 Force a Specific Capture Method: Automatic, Soesnt Switch properly to HDR Oct 2, 2024
@Wontell Wontell changed the title Force a Specific Capture Method: Automatic, Soesnt Switch properly to HDR Force a Specific Capture Method: Automatic, Doesnt Switch to 'Windows Graphics Capture Beta' for HDR Content Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant