Sunshine
Sunshine copied to clipboard
Gamma incorrect with AMF encoding
Is there an existing issue for this?
- [X] I have searched the existing issues
Is your issue described in the documentation?
- [X] I have read the documentation
Is your issue present in the nightly release?
- [X] This issue is present in the nightly release
Describe the Bug
Running Windows 11 with an RX 7800XT on latest drivers. I tried streaming the desktop with both my Steam Deck and Android phone and the gamma was ludicrously high, like if you maxed out the gamma slider in a horror game; blacks were gray and grays were off white. I switched to the software encoder and everything looked fine. I can't test Intel or Nvidia encoders but they're probably fine, too.
Expected Behavior
Normal gamma
Additional Context
No response
Host Operating System
Windows
Operating System Version
11
Architecture
64 bit
Sunshine commit or version
0.21.0 & nightly
Package
Windows - installer
GPU Type
AMD
GPU Model
RX 7800 XT
GPU Driver/Mesa Version
23.11.1
Capture Method (Linux Only)
No response
Config
upnp = enabled
resolutions = [
1280x720,
1920x1080,
3840x2160,
1280x800,
1920x1200,
2560x1600,
2560x1440
]
key_rightalt_to_key_win = enabled
gamepad = ds4
fps = [60,90,120]
encoder = amdvce
Apps
No response
Relevant log output
[2023:11:13:21:59:04]: Info: Trying encoder [amdvce]
[2023:11:13:21:59:05]: Info:
Device Description : AMD Radeon RX 7800 XT
Device Vendor ID : 0x00001002
Device Device ID : 0x0000747E
Device Video Mem : 16171 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 32365 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2023:11:13:21:59:05]: Info: Active GPU has HAGS disabled
[2023:11:13:21:59:05]: Info: Using realtime GPU priority
[2023:11:13:21:59:05]: Info: Desktop resolution [2560x1440]
[2023:11:13:21:59:05]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2023:11:13:21:59:05]: Info: Display refresh rate [120Hz]
[2023:11:13:21:59:05]: Info: Requested frame rate [60fps]
[2023:11:13:21:59:05]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 10
Red Primary : [0.652344,0.335938]
Green Primary : [0.317383,0.610352]
Blue Primary : [0.146484,0.0830078]
White Point : [0.313477,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2023:11:13:21:59:05]: Info:
Device Description : AMD Radeon RX 7800 XT
Device Vendor ID : 0x00001002
Device Device ID : 0x0000747E
Device Video Mem : 16171 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 32365 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2023:11:13:21:59:05]: Info: Active GPU has HAGS disabled
[2023:11:13:21:59:05]: Info: Using realtime GPU priority
[2023:11:13:21:59:05]: Info: Desktop resolution [2560x1440]
[2023:11:13:21:59:05]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2023:11:13:21:59:05]: Info: Display refresh rate [120Hz]
[2023:11:13:21:59:05]: Info: Requested frame rate [60fps]
[2023:11:13:21:59:05]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 10
Red Primary : [0.652344,0.335938]
Green Primary : [0.317383,0.610352]
Blue Primary : [0.146484,0.0830078]
White Point : [0.313477,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2023:11:13:21:59:05]: Info: SDR color coding [Rec. 601]
[2023:11:13:21:59:05]: Info: Color depth: 8-bit
[2023:11:13:21:59:05]: Info: Color range: [JPEG]
[2023:11:13:21:59:05]: Info:
Device Description : AMD Radeon RX 7800 XT
Device Vendor ID : 0x00001002
Device Device ID : 0x0000747E
Device Video Mem : 16171 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 32365 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2023:11:13:21:59:05]: Info: Active GPU has HAGS disabled
[2023:11:13:21:59:05]: Info: Using realtime GPU priority
[2023:11:13:21:59:05]: Info: Desktop resolution [2560x1440]
[2023:11:13:21:59:05]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2023:11:13:21:59:05]: Info: Display refresh rate [120Hz]
[2023:11:13:21:59:05]: Info: Requested frame rate [60fps]
[2023:11:13:21:59:05]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 10
Red Primary : [0.652344,0.335938]
Green Primary : [0.317383,0.610352]
Blue Primary : [0.146484,0.0830078]
White Point : [0.313477,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2023:11:13:21:59:05]: Info: SDR color coding [Rec. 601]
[2023:11:13:21:59:05]: Info: Color depth: 8-bit
[2023:11:13:21:59:05]: Info: Color range: [JPEG]
[2023:11:13:21:59:05]: Info:
Device Description : AMD Radeon RX 7800 XT
Device Vendor ID : 0x00001002
Device Device ID : 0x0000747E
Device Video Mem : 16171 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 32365 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2023:11:13:21:59:05]: Info: Active GPU has HAGS disabled
[2023:11:13:21:59:05]: Info: Using realtime GPU priority
[2023:11:13:21:59:05]: Info: Desktop resolution [2560x1440]
[2023:11:13:21:59:05]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2023:11:13:21:59:05]: Info: Display refresh rate [120Hz]
[2023:11:13:21:59:05]: Info: Requested frame rate [60fps]
[2023:11:13:21:59:05]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 10
Red Primary : [0.652344,0.335938]
Green Primary : [0.317383,0.610352]
Blue Primary : [0.146484,0.0830078]
White Point : [0.313477,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2023:11:13:21:59:05]: Info: SDR color coding [Rec. 601]
[2023:11:13:21:59:05]: Info: Color depth: 8-bit
[2023:11:13:21:59:05]: Info: Color range: [JPEG]
[2023:11:13:21:59:05]: Info:
Device Description : AMD Radeon RX 7800 XT
Device Vendor ID : 0x00001002
Device Device ID : 0x0000747E
Device Video Mem : 16171 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 32365 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2023:11:13:21:59:05]: Info: Active GPU has HAGS disabled
[2023:11:13:21:59:05]: Info: Using realtime GPU priority
[2023:11:13:21:59:05]: Info: Desktop resolution [2560x1440]
[2023:11:13:21:59:05]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2023:11:13:21:59:05]: Info: Display refresh rate [120Hz]
[2023:11:13:21:59:05]: Info: Requested frame rate [60fps]
[2023:11:13:21:59:05]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 10
Red Primary : [0.652344,0.335938]
Green Primary : [0.317383,0.610352]
Blue Primary : [0.146484,0.0830078]
White Point : [0.313477,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2023:11:13:21:59:05]: Info: SDR color coding [Rec. 709]
[2023:11:13:21:59:05]: Info: Color depth: 10-bit
[2023:11:13:21:59:05]: Info: Color range: [JPEG]
[2023:11:13:21:59:05]: Info:
Device Description : AMD Radeon RX 7800 XT
Device Vendor ID : 0x00001002
Device Device ID : 0x0000747E
Device Video Mem : 16171 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 32365 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2023:11:13:21:59:05]: Info: Active GPU has HAGS disabled
[2023:11:13:21:59:05]: Info: Using realtime GPU priority
[2023:11:13:21:59:05]: Info: Desktop resolution [2560x1440]
[2023:11:13:21:59:05]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2023:11:13:21:59:05]: Info: Display refresh rate [120Hz]
[2023:11:13:21:59:05]: Info: Requested frame rate [60fps]
[2023:11:13:21:59:05]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 10
Red Primary : [0.652344,0.335938]
Green Primary : [0.317383,0.610352]
Blue Primary : [0.146484,0.0830078]
White Point : [0.313477,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2023:11:13:21:59:05]: Info: SDR color coding [Rec. 709]
[2023:11:13:21:59:05]: Info: Color depth: 10-bit
[2023:11:13:21:59:05]: Info: Color range: [JPEG]
[2023:11:13:21:59:05]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2023:11:13:21:59:05]: Info:
[2023:11:13:21:59:05]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2023:11:13:21:59:05]: Info:
[2023:11:13:21:59:05]: Info: Found H.264 encoder: h264_amf [amdvce]
[2023:11:13:21:59:05]: Info: Found HEVC encoder: hevc_amf [amdvce]
[2023:11:13:21:59:05]: Info: Found AV1 encoder: av1_amf [amdvce]
[2023:11:13:21:59:05]: Info: Executing [Desktop]
[2023:11:13:21:59:05]: Info: nvprefs: NvAPI_Initialize() failed, ignore if you don't have NVIDIA video card
[2023:11:13:21:59:05]: Info: CLIENT CONNECTED
[2023:11:13:21:59:05]: Info:
Device Description : AMD Radeon RX 7800 XT
Device Vendor ID : 0x00001002
Device Device ID : 0x0000747E
Device Video Mem : 16171 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 32365 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2023:11:13:21:59:05]: Info: Active GPU has HAGS disabled
[2023:11:13:21:59:05]: Info: Using realtime GPU priority
[2023:11:13:21:59:05]: Info: Desktop resolution [2560x1440]
[2023:11:13:21:59:05]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2023:11:13:21:59:05]: Info: Display refresh rate [120Hz]
[2023:11:13:21:59:05]: Info: Requested frame rate [119fps]
[2023:11:13:21:59:05]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 10
Red Primary : [0.652344,0.335938]
Green Primary : [0.317383,0.610352]
Blue Primary : [0.146484,0.0830078]
White Point : [0.313477,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2023:11:13:21:59:05]: Info: Capture format [DXGI_FORMAT_R16G16B16A16_FLOAT]
[2023:11:13:21:59:05]: Info: SDR color coding [Rec. 709]
[2023:11:13:21:59:05]: Info: Color depth: 8-bit
[2023:11:13:21:59:05]: Info: Color range: [MPEG]
[2023:11:13:21:59:34]: Info: CLIENT DISCONNECTED
Select the Start button, then select Settings > System > Display > Windows HD Color settings.Turn off Use HDR. )))
HDR was not on. I do not have an HDR monitor, the setting is greyed out, and I couldn't turn it on even if I wanted.
I'm seeing the same issue here, also with a 7800xt. Log:
[2024:02:12:21:48:32]: Info: nvprefs: NvAPI_Initialize() failed, ignore if you don't have NVIDIA video card
[2024:02:12:21:48:32]: Info: Sunshine version: 0.21.0
[2024:02:12:21:48:32]: Info: Compiling shaders...
[2024:02:12:21:48:32]: Info: System tray created
[2024:02:12:21:48:32]: Info: Compiled shaders
[2024:02:12:21:48:32]: Info: Trying encoder [amdvce]
[2024:02:12:21:48:32]: Info: ddprobe.exe [1] [] returned: 0x00000000
[2024:02:12:21:48:32]: Info: Set GPU preference: 1
[2024:02:12:21:48:32]: Info:
Device Description : AMD Radeon RX 7800 XT
Device Vendor ID : 0x00001002
Device Device ID : 0x0000747E
Device Video Mem : 16172 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16341 MiB
Feature Level : 0x0000B100
Capture size : 1920x1080
Offset : 2560x278
Virtual Desktop : 4480x1440
[2024:02:12:21:48:32]: Info: Active GPU has HAGS enabled
[2024:02:12:21:48:32]: Info: Using realtime GPU priority
[2024:02:12:21:48:32]: Info: Desktop resolution [1920x1080]
[2024:02:12:21:48:32]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:02:12:21:48:32]: Info: Display refresh rate [59.9401Hz]
[2024:02:12:21:48:32]: Info: Requested frame rate [60fps]
[2024:02:12:21:48:32]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.650391,0.333008]
Green Primary : [0.316406,0.612305]
Blue Primary : [0.152344,0.0673828]
White Point : [0.313477,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2024:02:12:21:48:32]: Info:
Device Description : AMD Radeon RX 7800 XT
Device Vendor ID : 0x00001002
Device Device ID : 0x0000747E
Device Video Mem : 16172 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16341 MiB
Feature Level : 0x0000B100
Capture size : 1920x1080
Offset : 2560x278
Virtual Desktop : 4480x1440
[2024:02:12:21:48:32]: Info: Active GPU has HAGS enabled
[2024:02:12:21:48:32]: Info: Using realtime GPU priority
[2024:02:12:21:48:32]: Info: Desktop resolution [1920x1080]
[2024:02:12:21:48:32]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:02:12:21:48:32]: Info: Display refresh rate [59.9401Hz]
[2024:02:12:21:48:32]: Info: Requested frame rate [60fps]
[2024:02:12:21:48:32]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.650391,0.333008]
Green Primary : [0.316406,0.612305]
Blue Primary : [0.152344,0.0673828]
White Point : [0.313477,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2024:02:12:21:48:32]: Info: SDR color coding [Rec. 601]
[2024:02:12:21:48:32]: Info: Color depth: 8-bit
[2024:02:12:21:48:32]: Info: Color range: [JPEG]
[2024:02:12:21:48:32]: Info:
Device Description : AMD Radeon RX 7800 XT
Device Vendor ID : 0x00001002
Device Device ID : 0x0000747E
Device Video Mem : 16172 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16341 MiB
Feature Level : 0x0000B100
Capture size : 1920x1080
Offset : 2560x278
Virtual Desktop : 4480x1440
[2024:02:12:21:48:32]: Info: Active GPU has HAGS enabled
[2024:02:12:21:48:32]: Info: Using realtime GPU priority
[2024:02:12:21:48:32]: Info: Desktop resolution [1920x1080]
[2024:02:12:21:48:32]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:02:12:21:48:32]: Info: Display refresh rate [59.9401Hz]
[2024:02:12:21:48:32]: Info: Requested frame rate [60fps]
[2024:02:12:21:48:32]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.650391,0.333008]
Green Primary : [0.316406,0.612305]
Blue Primary : [0.152344,0.0673828]
White Point : [0.313477,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2024:02:12:21:48:32]: Info: SDR color coding [Rec. 601]
[2024:02:12:21:48:32]: Info: Color depth: 8-bit
[2024:02:12:21:48:32]: Info: Color range: [JPEG]
[2024:02:12:21:48:32]: Info:
Device Description : AMD Radeon RX 7800 XT
Device Vendor ID : 0x00001002
Device Device ID : 0x0000747E
Device Video Mem : 16172 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16341 MiB
Feature Level : 0x0000B100
Capture size : 1920x1080
Offset : 2560x278
Virtual Desktop : 4480x1440
[2024:02:12:21:48:32]: Info: Active GPU has HAGS enabled
[2024:02:12:21:48:32]: Info: Using realtime GPU priority
[2024:02:12:21:48:32]: Info: Desktop resolution [1920x1080]
[2024:02:12:21:48:32]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:02:12:21:48:32]: Info: Display refresh rate [59.9401Hz]
[2024:02:12:21:48:32]: Info: Requested frame rate [60fps]
[2024:02:12:21:48:32]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.650391,0.333008]
Green Primary : [0.316406,0.612305]
Blue Primary : [0.152344,0.0673828]
White Point : [0.313477,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2024:02:12:21:48:32]: Info: SDR color coding [Rec. 601]
[2024:02:12:21:48:32]: Info: Color depth: 8-bit
[2024:02:12:21:48:32]: Info: Color range: [JPEG]
[2024:02:12:21:48:32]: Info:
Device Description : AMD Radeon RX 7800 XT
Device Vendor ID : 0x00001002
Device Device ID : 0x0000747E
Device Video Mem : 16172 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16341 MiB
Feature Level : 0x0000B100
Capture size : 1920x1080
Offset : 2560x278
Virtual Desktop : 4480x1440
[2024:02:12:21:48:32]: Info: Active GPU has HAGS enabled
[2024:02:12:21:48:32]: Info: Using realtime GPU priority
[2024:02:12:21:48:32]: Info: Desktop resolution [1920x1080]
[2024:02:12:21:48:32]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:02:12:21:48:32]: Info: Display refresh rate [59.9401Hz]
[2024:02:12:21:48:32]: Info: Requested frame rate [60fps]
[2024:02:12:21:48:32]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.650391,0.333008]
Green Primary : [0.316406,0.612305]
Blue Primary : [0.152344,0.0673828]
White Point : [0.313477,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2024:02:12:21:48:32]: Info: SDR color coding [Rec. 709]
[2024:02:12:21:48:32]: Info: Color depth: 10-bit
[2024:02:12:21:48:32]: Info: Color range: [JPEG]
[2024:02:12:21:48:32]: Info:
Device Description : AMD Radeon RX 7800 XT
Device Vendor ID : 0x00001002
Device Device ID : 0x0000747E
Device Video Mem : 16172 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16341 MiB
Feature Level : 0x0000B100
Capture size : 1920x1080
Offset : 2560x278
Virtual Desktop : 4480x1440
[2024:02:12:21:48:32]: Info: Active GPU has HAGS enabled
[2024:02:12:21:48:32]: Info: Using realtime GPU priority
[2024:02:12:21:48:32]: Info: Desktop resolution [1920x1080]
[2024:02:12:21:48:32]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:02:12:21:48:32]: Info: Display refresh rate [59.9401Hz]
[2024:02:12:21:48:32]: Info: Requested frame rate [60fps]
[2024:02:12:21:48:32]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.650391,0.333008]
Green Primary : [0.316406,0.612305]
Blue Primary : [0.152344,0.0673828]
White Point : [0.313477,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2024:02:12:21:48:33]: Info: SDR color coding [Rec. 709]
[2024:02:12:21:48:33]: Info: Color depth: 10-bit
[2024:02:12:21:48:33]: Info: Color range: [JPEG]
[2024:02:12:21:48:33]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024:02:12:21:48:33]: Info:
[2024:02:12:21:48:33]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2024:02:12:21:48:33]: Info:
[2024:02:12:21:48:33]: Info: Found H.264 encoder: h264_amf [amdvce]
[2024:02:12:21:48:33]: Info: Found HEVC encoder: hevc_amf [amdvce]
[2024:02:12:21:48:33]: Info: Found AV1 encoder: av1_amf [amdvce]
[2024:02:12:21:48:33]: Info: Configuration UI available at [https://localhost:47990]
[2024:02:12:21:48:33]: Info: Registered Sunshine mDNS service
[2024:02:12:21:48:37]: Error: No IGD device found
[2024:02:12:21:50:05]: Info: Trying encoder [amdvce]
[2024:02:12:21:50:05]: Info:
Device Description : AMD Radeon RX 7800 XT
Device Vendor ID : 0x00001002
Device Device ID : 0x0000747E
Device Video Mem : 16172 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16341 MiB
Feature Level : 0x0000B100
Capture size : 1920x1080
Offset : 2560x278
Virtual Desktop : 4480x1440
[2024:02:12:21:50:05]: Info: Active GPU has HAGS enabled
[2024:02:12:21:50:05]: Info: Using realtime GPU priority
[2024:02:12:21:50:05]: Info: Desktop resolution [1920x1080]
[2024:02:12:21:50:05]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:02:12:21:50:05]: Info: Display refresh rate [59.9401Hz]
[2024:02:12:21:50:05]: Info: Requested frame rate [60fps]
[2024:02:12:21:50:05]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.650391,0.333008]
Green Primary : [0.316406,0.612305]
Blue Primary : [0.152344,0.0673828]
White Point : [0.313477,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2024:02:12:21:50:05]: Info:
Device Description : AMD Radeon RX 7800 XT
Device Vendor ID : 0x00001002
Device Device ID : 0x0000747E
Device Video Mem : 16172 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16341 MiB
Feature Level : 0x0000B100
Capture size : 1920x1080
Offset : 2560x278
Virtual Desktop : 4480x1440
[2024:02:12:21:50:05]: Info: Active GPU has HAGS enabled
[2024:02:12:21:50:05]: Info: Using realtime GPU priority
[2024:02:12:21:50:05]: Info: Desktop resolution [1920x1080]
[2024:02:12:21:50:05]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:02:12:21:50:05]: Info: Display refresh rate [59.9401Hz]
[2024:02:12:21:50:05]: Info: Requested frame rate [60fps]
[2024:02:12:21:50:05]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.650391,0.333008]
Green Primary : [0.316406,0.612305]
Blue Primary : [0.152344,0.0673828]
White Point : [0.313477,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2024:02:12:21:50:06]: Info: SDR color coding [Rec. 601]
[2024:02:12:21:50:06]: Info: Color depth: 8-bit
[2024:02:12:21:50:06]: Info: Color range: [JPEG]
[2024:02:12:21:50:06]: Info:
Device Description : AMD Radeon RX 7800 XT
Device Vendor ID : 0x00001002
Device Device ID : 0x0000747E
Device Video Mem : 16172 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16341 MiB
Feature Level : 0x0000B100
Capture size : 1920x1080
Offset : 2560x278
Virtual Desktop : 4480x1440
[2024:02:12:21:50:06]: Info: Active GPU has HAGS enabled
[2024:02:12:21:50:06]: Info: Using realtime GPU priority
[2024:02:12:21:50:06]: Info: Desktop resolution [1920x1080]
[2024:02:12:21:50:06]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:02:12:21:50:06]: Info: Display refresh rate [59.9401Hz]
[2024:02:12:21:50:06]: Info: Requested frame rate [60fps]
[2024:02:12:21:50:06]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.650391,0.333008]
Green Primary : [0.316406,0.612305]
Blue Primary : [0.152344,0.0673828]
White Point : [0.313477,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2024:02:12:21:50:06]: Info: SDR color coding [Rec. 601]
[2024:02:12:21:50:06]: Info: Color depth: 8-bit
[2024:02:12:21:50:06]: Info: Color range: [JPEG]
[2024:02:12:21:50:06]: Info:
Device Description : AMD Radeon RX 7800 XT
Device Vendor ID : 0x00001002
Device Device ID : 0x0000747E
Device Video Mem : 16172 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16341 MiB
Feature Level : 0x0000B100
Capture size : 1920x1080
Offset : 2560x278
Virtual Desktop : 4480x1440
[2024:02:12:21:50:06]: Info: Active GPU has HAGS enabled
[2024:02:12:21:50:06]: Info: Using realtime GPU priority
[2024:02:12:21:50:06]: Info: Desktop resolution [1920x1080]
[2024:02:12:21:50:06]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:02:12:21:50:06]: Info: Display refresh rate [59.9401Hz]
[2024:02:12:21:50:06]: Info: Requested frame rate [60fps]
[2024:02:12:21:50:06]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.650391,0.333008]
Green Primary : [0.316406,0.612305]
Blue Primary : [0.152344,0.0673828]
White Point : [0.313477,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2024:02:12:21:50:06]: Info: SDR color coding [Rec. 601]
[2024:02:12:21:50:06]: Info: Color depth: 8-bit
[2024:02:12:21:50:06]: Info: Color range: [JPEG]
[2024:02:12:21:50:06]: Info:
Device Description : AMD Radeon RX 7800 XT
Device Vendor ID : 0x00001002
Device Device ID : 0x0000747E
Device Video Mem : 16172 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16341 MiB
Feature Level : 0x0000B100
Capture size : 1920x1080
Offset : 2560x278
Virtual Desktop : 4480x1440
[2024:02:12:21:50:06]: Info: Active GPU has HAGS enabled
[2024:02:12:21:50:06]: Info: Using realtime GPU priority
[2024:02:12:21:50:06]: Info: Desktop resolution [1920x1080]
[2024:02:12:21:50:06]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:02:12:21:50:06]: Info: Display refresh rate [59.9401Hz]
[2024:02:12:21:50:06]: Info: Requested frame rate [60fps]
[2024:02:12:21:50:06]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.650391,0.333008]
Green Primary : [0.316406,0.612305]
Blue Primary : [0.152344,0.0673828]
White Point : [0.313477,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2024:02:12:21:50:06]: Info: SDR color coding [Rec. 709]
[2024:02:12:21:50:06]: Info: Color depth: 10-bit
[2024:02:12:21:50:06]: Info: Color range: [JPEG]
[2024:02:12:21:50:06]: Info:
Device Description : AMD Radeon RX 7800 XT
Device Vendor ID : 0x00001002
Device Device ID : 0x0000747E
Device Video Mem : 16172 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16341 MiB
Feature Level : 0x0000B100
Capture size : 1920x1080
Offset : 2560x278
Virtual Desktop : 4480x1440
[2024:02:12:21:50:06]: Info: Active GPU has HAGS enabled
[2024:02:12:21:50:06]: Info: Using realtime GPU priority
[2024:02:12:21:50:06]: Info: Desktop resolution [1920x1080]
[2024:02:12:21:50:06]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:02:12:21:50:06]: Info: Display refresh rate [59.9401Hz]
[2024:02:12:21:50:06]: Info: Requested frame rate [60fps]
[2024:02:12:21:50:06]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.650391,0.333008]
Green Primary : [0.316406,0.612305]
Blue Primary : [0.152344,0.0673828]
White Point : [0.313477,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2024:02:12:21:50:06]: Info: SDR color coding [Rec. 709]
[2024:02:12:21:50:06]: Info: Color depth: 10-bit
[2024:02:12:21:50:06]: Info: Color range: [JPEG]
[2024:02:12:21:50:06]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024:02:12:21:50:06]: Info:
[2024:02:12:21:50:06]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2024:02:12:21:50:06]: Info:
[2024:02:12:21:50:06]: Info: Found H.264 encoder: h264_amf [amdvce]
[2024:02:12:21:50:06]: Info: Found HEVC encoder: hevc_amf [amdvce]
[2024:02:12:21:50:06]: Info: Found AV1 encoder: av1_amf [amdvce]
[2024:02:12:21:50:06]: Info: Spawning [steam steam://open/bigpicture] in ["C:\Program Files (x86)\Steam"]
[2024:02:12:21:50:06]: Info: steam steam://open/bigpicture running with PID 14364
[2024:02:12:21:50:06]: Info: Executing [Desktop]
[2024:02:12:21:50:06]: Info: nvprefs: NvAPI_Initialize() failed, ignore if you don't have NVIDIA video card
[2024:02:12:21:50:06]: Info: CLIENT CONNECTED
[2024:02:12:21:50:07]: Info:
Device Description : AMD Radeon RX 7800 XT
Device Vendor ID : 0x00001002
Device Device ID : 0x0000747E
Device Video Mem : 16172 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16341 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 4480x1440
[2024:02:12:21:50:07]: Info: Active GPU has HAGS enabled
[2024:02:12:21:50:07]: Info: Using realtime GPU priority
[2024:02:12:21:50:07]: Info: Desktop resolution [2560x1440]
[2024:02:12:21:50:07]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:02:12:21:50:07]: Info: Display refresh rate [240Hz]
[2024:02:12:21:50:07]: Info: Requested frame rate [60fps]
[2024:02:12:21:50:07]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.650391,0.327148]
Green Primary : [0.216797,0.722656]
Blue Primary : [0.151367,0.0410156]
White Point : [0.313477,0.329102]
Min Luminance : 0.3517 nits
Max Luminance : 417 nits
Max Full Luminance : 417 nits
[2024:02:12:21:50:07]: Info: Capture format [DXGI_FORMAT_R16G16B16A16_FLOAT]
[2024:02:12:21:50:07]: Info: SDR color coding [Rec. 709]
[2024:02:12:21:50:07]: Info: Color depth: 8-bit
[2024:02:12:21:50:07]: Info: Color range: [MPEG]
[2024:02:12:21:50:09]: Info: Gamepad 0 will be Xbox 360 controller (default)
[2024:02:12:21:50:17]: Info: CLIENT DISCONNECTED
I am also seeing this issue with AMD AMF, with an RX 6950xt. I do not have any HDR displays either, meaning windows will not let me enable or disable HDR. Software encoding works as intended, including the expected input lag.
It seems this issue hasn't had any activity in the past 90 days. If it's still something you'd like addressed, please let us know by leaving a comment. Otherwise, to help keep our backlog tidy, we'll be closing this issue in 10 days. Thanks!
I have also noticed this behavior both on the stable and nightly builds of Sunshine. The build I'm running right now is: 0.23.1.e6e4dcf0170615f100987809258a7d3dd33b69a6 This is with a Framework 13, AMD Ryzen 7650u + Radeon 760M, 4GBs of VRAM. Both the host and client are running Windows 11 23H2 (0S Build 22631.3593), AMD drivers ver. 24.3.1 I didn't notice any of the settings on AMD AMF Encoder and Audio/Video tabs in the webUI settings making a difference. That included turning HRD/AMF preanalysis etc. on/off, trying configurations that are both said to be recommended and not. I'll include more information later in the day and/or if pinged (please excuse me, I have a bad week but I use the software actively to access a local Hyper-V virtual machine making use of GPU partitioning)
Edit1: This is what the issue looks like:
On the left is the 'native' RDP view I make through the Hyper-V console, on the right is Moonlight connected to Sunshine on the same host machine.
Don't think it's an issue with Moonlight itself, since when connecting on the same host machine to a client desktop PC /w an RTX 3060 Ti, so NVENC, the colours are displayed correctly.
Almost certainly not a sunshine issue. Am seeing this with both Sunshine/Moonlight as well as SteamLink using AMF
As a test I've installed both Sunshine and Moonlight on the same OS, same machine. I have two monitors, so by default Sunshine has picked the main one for streaming. I have then connected with Moonlight to the local Sunshine install, and voila.
The gamma level is correct between the actual desktop and what Moonlight is decoding and displaying.
As this issue describes, it's not always the case. For me the gamma levels seem off when connecting to the another W11 OS install running through Hyper-V, but this doesn't occur with other software: RDP, Parsec.
The logs from this connection are as follows:
[2024:05:27:10:02:18]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2024:05:27:10:02:18]: Info:
[2024:05:27:10:02:18]: Info: Found H.264 encoder: h264_amf [amdvce]
[2024:05:27:10:02:18]: Info: Found HEVC encoder: hevc_amf [amdvce]
[2024:05:27:10:02:18]: Info: Found AV1 encoder: av1_amf [amdvce]
[2024:05:27:10:02:18]: Info: Executing [Desktop]
[2024:05:27:10:02:18]: Info: nvprefs: NvAPI_Initialize() failed, ignore if you don't have NVIDIA video card
[2024:05:27:10:02:18]: Info: CLIENT CONNECTED
[2024:05:27:10:02:18]: Info:
Device Description : AMD Radeon(TM) 760M
Device Vendor ID : 0x00001002
Device Device ID : 0x000015BF
Device Video Mem : 4001 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 14238 MiB
Feature Level : 0x0000B100
Capture size : 2256x1504
Offset : 0x649
Virtual Desktop : 6096x2160
[2024:05:27:10:02:18]: Info: Active GPU has HAGS disabled
[2024:05:27:10:02:18]: Info: Using realtime GPU priority
[2024:05:27:10:02:18]: Info: Desktop resolution [2256x1504]
[2024:05:27:10:02:18]: Info: Desktop format [DXGI_FORMAT_R16G16B16A16_FLOAT]
[2024:05:27:10:02:18]: Info: Display refresh rate [60Hz]
[2024:05:27:10:02:18]: Info: Requested frame rate [60fps]
[2024:05:27:10:02:18]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.639648,0.329102]
Green Primary : [0.299805,0.599609]
Blue Primary : [0.149414,0.0595703]
White Point : [0.3125,0.328125]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
[2024:05:27:10:02:18]: Info: Capture format [DXGI_FORMAT_R16G16B16A16_FLOAT]
[2024:05:27:10:02:18]: Info: SDR color coding [Rec. 601]
[2024:05:27:10:02:18]: Info: Color depth: 8-bit
[2024:05:27:10:02:18]: Info: Color range: [MPEG]
[2024:05:27:10:02:20]: Info: Successfully installed Steam Streaming Speakers
[2024:05:27:10:02:52]: Info: CLIENT DISCONNECTED
I have same issue.
GPU: 6800 XT OS: Win 11 x64 (23H2) Drivers: 24.7.1 Sunshine: 0.23.1 / 2024.725.210143 Moonlight: 12.1 (Android TV)