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

Gray tinted screen on AMD gpu #1337

Open
3 tasks done
Destromite opened this issue May 30, 2023 · 17 comments
Open
3 tasks done

Gray tinted screen on AMD gpu #1337

Destromite opened this issue May 30, 2023 · 17 comments

Comments

@Destromite
Copy link

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 nightly release?

  • This issue is present in the nightly release

Describe the Bug

I got a AMD gpu and stopped being able to use Nvidia Shield because of it. I tried sunshine tonight. It works well but i have a problem with it. When i connect like normal it all works like on a Nvidia gpu but my entire screen is tinted gray. It looks very bad. I can still see color but again everything is gray.
I installed the night version and its no different

Expected Behavior

No response

Additional Context

No response

Host Operating System

Windows

Operating System Version

19045.2965

Architecture

64 bit

Sunshine commit or version

v0.20.0

Package

Windows - installer

GPU Type

AMD

GPU Model

7900 XTX

GPU Driver/Mesa Version

23.4.2

Capture Method (Linux Only)

No response

Config

amd_quality = speed
origin_web_ui_allowed = pc

Apps

No response

Relevant log output

[2023:05:31:02:23:39]: Info: Sunshine version: 0.20.0.72d63aae688b0d7fae04d91047827e67b818bb0a
[2023:05:31:02:23:39]: Info: Compiling shaders...
[2023:05:31:02:23:39]: Info: System tray created
[2023:05:31:02:23:39]: Info: Compiled shaders
[2023:05:31:02:23:39]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2023:05:31:02:23:39]: Info: Trying encoder [nvenc]
[2023:05:31:02:23:39]: Info: ddprobe.exe [1] [] returned: 0x00000000
[2023:05:31:02:23:39]: Info: Set GPU preference: 1
[2023:05:31:02:23:39]: Info: 
Device Description : AMD Radeon RX 7900 XTX
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000744C
Device Video Mem   : 24218 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 15947 MiB
Feature Level      : 0x0000B100
Capture size       : 1440x2560
Offset             : 0x0
Virtual Desktop    : 4000x2560
[2023:05:31:02:23:39]: Info: Desktop resolution [1440x2560]
[2023:05:31:02:23:39]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2023:05:31:02:23:39]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 10
Red Primary        : [0.677734,0.30957]
Green Primary      : [0.265625,0.663086]
Blue Primary       : [0.148438,0.0527344]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.0492 nits
Max Luminance      : 408 nits
Max Full Luminance : 322 nits
[2023:05:31:02:23:39]: Info: SDR color coding [Rec. 601]
[2023:05:31:02:23:39]: Info: Color range: [JPEG]
[2023:05:31:02:23:39]: Error: Could not open codec [h264_nvenc]: Operation not permitted
[2023:05:31:02:23:39]: Info: 
Device Description : AMD Radeon RX 7900 XTX
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000744C
Device Video Mem   : 24218 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 15947 MiB
Feature Level      : 0x0000B100
Capture size       : 1440x2560
Offset             : 0x0
Virtual Desktop    : 4000x2560
[2023:05:31:02:23:39]: Info: Desktop resolution [1440x2560]
[2023:05:31:02:23:39]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2023:05:31:02:23:39]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 10
Red Primary        : [0.677734,0.30957]
Green Primary      : [0.265625,0.663086]
Blue Primary       : [0.148438,0.0527344]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.0492 nits
Max Luminance      : 408 nits
Max Full Luminance : 322 nits
[2023:05:31:02:23:39]: Info: SDR color coding [Rec. 601]
[2023:05:31:02:23:39]: Info: Color range: [JPEG]
[2023:05:31:02:23:39]: Error: Could not open codec [h264_nvenc]: Operation not permitted
[2023:05:31:02:23:39]: Info: 
Device Description : AMD Radeon RX 7900 XTX
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000744C
Device Video Mem   : 24218 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 15947 MiB
Feature Level      : 0x0000B100
Capture size       : 1440x2560
Offset             : 0x0
Virtual Desktop    : 4000x2560
[2023:05:31:02:23:39]: Info: Desktop resolution [1440x2560]
[2023:05:31:02:23:39]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2023:05:31:02:23:39]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 10
Red Primary        : [0.677734,0.30957]
Green Primary      : [0.265625,0.663086]
Blue Primary       : [0.148438,0.0527344]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.0492 nits
Max Luminance      : 408 nits
Max Full Luminance : 322 nits
[2023:05:31:02:23:39]: Info: SDR color coding [Rec. 601]
[2023:05:31:02:23:39]: Info: Color range: [JPEG]
[2023:05:31:02:23:39]: Error: Could not open codec [h264_nvenc]: Operation not permitted
[2023:05:31:02:23:40]: Info: 
Device Description : AMD Radeon RX 7900 XTX
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000744C
Device Video Mem   : 24218 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 15947 MiB
Feature Level      : 0x0000B100
Capture size       : 1440x2560
Offset             : 0x0
Virtual Desktop    : 4000x2560
[2023:05:31:02:23:40]: Info: Desktop resolution [1440x2560]
[2023:05:31:02:23:40]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2023:05:31:02:23:40]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 10
Red Primary        : [0.677734,0.30957]
Green Primary      : [0.265625,0.663086]
Blue Primary       : [0.148438,0.0527344]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.0492 nits
Max Luminance      : 408 nits
Max Full Luminance : 322 nits
[2023:05:31:02:23:40]: Info: SDR color coding [Rec. 601]
[2023:05:31:02:23:40]: Info: Color range: [JPEG]
[2023:05:31:02:23:40]: Error: Could not open codec [h264_nvenc]: Operation not permitted
[2023:05:31:02:23:40]: Info: Encoder [nvenc] failed
[2023:05:31:02:23:40]: Info: Trying encoder [quicksync]
[2023:05:31:02:23:40]: Info: 
Device Description : AMD Radeon RX 7900 XTX
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000744C
Device Video Mem   : 24218 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 15947 MiB
Feature Level      : 0x0000B100
Capture size       : 1440x2560
Offset             : 0x0
Virtual Desktop    : 4000x2560
[2023:05:31:02:23:40]: Info: Desktop resolution [1440x2560]
[2023:05:31:02:23:40]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2023:05:31:02:23:40]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 10
Red Primary        : [0.677734,0.30957]
Green Primary      : [0.265625,0.663086]
Blue Primary       : [0.148438,0.0527344]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.0492 nits
Max Luminance      : 408 nits
Max Full Luminance : 322 nits
[2023:05:31:02:23:40]: Info: SDR color coding [Rec. 601]
[2023:05:31:02:23:40]: Info: Color range: [JPEG]
[2023:05:31:02:23:40]: Error: Failed to derive device context: Unknown error occurred
[2023:05:31:02:23:40]: Info: 
Device Description : AMD Radeon RX 7900 XTX
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000744C
Device Video Mem   : 24218 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 15947 MiB
Feature Level      : 0x0000B100
Capture size       : 1440x2560
Offset             : 0x0
Virtual Desktop    : 4000x2560
[2023:05:31:02:23:40]: Info: Desktop resolution [1440x2560]
[2023:05:31:02:23:40]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2023:05:31:02:23:40]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 10
Red Primary        : [0.677734,0.30957]
Green Primary      : [0.265625,0.663086]
Blue Primary       : [0.148438,0.0527344]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.0492 nits
Max Luminance      : 408 nits
Max Full Luminance : 322 nits
[2023:05:31:02:23:40]: Info: SDR color coding [Rec. 601]
[2023:05:31:02:23:40]: Info: Color range: [JPEG]
[2023:05:31:02:23:40]: Error: Failed to derive device context: Unknown error occurred
[2023:05:31:02:23:40]: Info: 
Device Description : AMD Radeon RX 7900 XTX
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000744C
Device Video Mem   : 24218 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 15947 MiB
Feature Level      : 0x0000B100
Capture size       : 1440x2560
Offset             : 0x0
Virtual Desktop    : 4000x2560
[2023:05:31:02:23:40]: Info: Desktop resolution [1440x2560]
[2023:05:31:02:23:40]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2023:05:31:02:23:40]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 10
Red Primary        : [0.677734,0.30957]
Green Primary      : [0.265625,0.663086]
Blue Primary       : [0.148438,0.0527344]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.0492 nits
Max Luminance      : 408 nits
Max Full Luminance : 322 nits
[2023:05:31:02:23:40]: Info: SDR color coding [Rec. 601]
[2023:05:31:02:23:40]: Info: Color range: [JPEG]
[2023:05:31:02:23:40]: Error: Failed to derive device context: Unknown error occurred
[2023:05:31:02:23:40]: Info: 
Device Description : AMD Radeon RX 7900 XTX
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000744C
Device Video Mem   : 24218 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 15947 MiB
Feature Level      : 0x0000B100
Capture size       : 1440x2560
Offset             : 0x0
Virtual Desktop    : 4000x2560
[2023:05:31:02:23:40]: Info: Desktop resolution [1440x2560]
[2023:05:31:02:23:40]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2023:05:31:02:23:40]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 10
Red Primary        : [0.677734,0.30957]
Green Primary      : [0.265625,0.663086]
Blue Primary       : [0.148438,0.0527344]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.0492 nits
Max Luminance      : 408 nits
Max Full Luminance : 322 nits
[2023:05:31:02:23:40]: Info: SDR color coding [Rec. 601]
[2023:05:31:02:23:40]: Info: Color range: [JPEG]
[2023:05:31:02:23:40]: Error: Failed to derive device context: Unknown error occurred
[2023:05:31:02:23:40]: Info: Encoder [quicksync] failed
[2023:05:31:02:23:40]: Info: Trying encoder [amdvce]
[2023:05:31:02:23:41]: Info: 
Device Description : AMD Radeon RX 7900 XTX
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000744C
Device Video Mem   : 24218 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 15947 MiB
Feature Level      : 0x0000B100
Capture size       : 1440x2560
Offset             : 0x0
Virtual Desktop    : 4000x2560
[2023:05:31:02:23:41]: Info: Desktop resolution [1440x2560]
[2023:05:31:02:23:41]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2023:05:31:02:23:41]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 10
Red Primary        : [0.677734,0.30957]
Green Primary      : [0.265625,0.663086]
Blue Primary       : [0.148438,0.0527344]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.0492 nits
Max Luminance      : 408 nits
Max Full Luminance : 322 nits
[2023:05:31:02:23:41]: Info: SDR color coding [Rec. 601]
[2023:05:31:02:23:41]: Info: Color range: [JPEG]
[2023:05:31:02:23:41]: Info: 
Device Description : AMD Radeon RX 7900 XTX
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000744C
Device Video Mem   : 24218 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 15947 MiB
Feature Level      : 0x0000B100
Capture size       : 1440x2560
Offset             : 0x0
Virtual Desktop    : 4000x2560
[2023:05:31:02:23:41]: Info: Desktop resolution [1440x2560]
[2023:05:31:02:23:41]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2023:05:31:02:23:41]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 10
Red Primary        : [0.677734,0.30957]
Green Primary      : [0.265625,0.663086]
Blue Primary       : [0.148438,0.0527344]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.0492 nits
Max Luminance      : 408 nits
Max Full Luminance : 322 nits
[2023:05:31:02:23:41]: Info: SDR color coding [Rec. 601]
[2023:05:31:02:23:41]: Info: Color range: [JPEG]
[2023:05:31:02:23:41]: Info: 
Device Description : AMD Radeon RX 7900 XTX
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000744C
Device Video Mem   : 24218 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 15947 MiB
Feature Level      : 0x0000B100
Capture size       : 1440x2560
Offset             : 0x0
Virtual Desktop    : 4000x2560
[2023:05:31:02:23:41]: Info: Desktop resolution [1440x2560]
[2023:05:31:02:23:41]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2023:05:31:02:23:41]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 10
Red Primary        : [0.677734,0.30957]
Green Primary      : [0.265625,0.663086]
Blue Primary       : [0.148438,0.0527344]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.0492 nits
Max Luminance      : 408 nits
Max Full Luminance : 322 nits
[2023:05:31:02:23:41]: Info: SDR color coding [Rec. 709]
[2023:05:31:02:23:41]: Info: Color range: [JPEG]
[2023:05:31:02:23:41]: Info: 
[2023:05:31:02:23:41]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2023:05:31:02:23:41]: Info: 
[2023:05:31:02:23:41]: Info: Found encoder amdvce: [h264_amf, hevc_amf]
[2023:05:31:02:23:41]: Info: Configuration UI available at [https://localhost:47990]
[2023:05:31:02:23:42]: Info: Registered Sunshine mDNS service
[2023:05:31:02:25:14]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2023:05:31:02:25:14]: Info: Trying encoder [nvenc]
[2023:05:31:02:25:14]: Info: 
Device Description : AMD Radeon RX 7900 XTX
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000744C
Device Video Mem   : 24218 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 15947 MiB
Feature Level      : 0x0000B100
Capture size       : 1440x2560
Offset             : 0x0
Virtual Desktop    : 4000x2560
[2023:05:31:02:25:14]: Info: Desktop resolution [1440x2560]
[2023:05:31:02:25:14]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2023:05:31:02:25:14]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 10
Red Primary        : [0.677734,0.30957]
Green Primary      : [0.265625,0.663086]
Blue Primary       : [0.148438,0.0527344]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.0492 nits
Max Luminance      : 408 nits
Max Full Luminance : 322 nits
[2023:05:31:02:25:14]: Info: SDR color coding [Rec. 601]
[2023:05:31:02:25:14]: Info: Color range: [JPEG]
[2023:05:31:02:25:14]: Error: Could not open codec [h264_nvenc]: Operation not permitted
[2023:05:31:02:25:15]: Info: 
Device Description : AMD Radeon RX 7900 XTX
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000744C
Device Video Mem   : 24218 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 15947 MiB
Feature Level      : 0x0000B100
Capture size       : 1440x2560
Offset             : 0x0
Virtual Desktop    : 4000x2560
[2023:05:31:02:25:15]: Info: Desktop resolution [1440x2560]
[2023:05:31:02:25:15]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2023:05:31:02:25:15]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 10
Red Primary        : [0.677734,0.30957]
Green Primary      : [0.265625,0.663086]
Blue Primary       : [0.148438,0.0527344]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.0492 nits
Max Luminance      : 408 nits
Max Full Luminance : 322 nits
[2023:05:31:02:25:15]: Info: SDR color coding [Rec. 601]
[2023:05:31:02:25:15]: Info: Color range: [JPEG]
[2023:05:31:02:25:15]: Error: Could not open codec [h264_nvenc]: Operation not permitted
[2023:05:31:02:25:15]: Info: Encoder [nvenc] failed
[2023:05:31:02:25:15]: Info: Trying encoder [quicksync]
[2023:05:31:02:25:15]: Info: 
Device Description : AMD Radeon RX 7900 XTX
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000744C
Device Video Mem   : 24218 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 15947 MiB
Feature Level      : 0x0000B100
Capture size       : 1440x2560
Offset             : 0x0
Virtual Desktop    : 4000x2560
[2023:05:31:02:25:15]: Info: Desktop resolution [1440x2560]
[2023:05:31:02:25:15]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2023:05:31:02:25:15]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 10
Red Primary        : [0.677734,0.30957]
Green Primary      : [0.265625,0.663086]
Blue Primary       : [0.148438,0.0527344]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.0492 nits
Max Luminance      : 408 nits
Max Full Luminance : 322 nits
[2023:05:31:02:25:15]: Info: SDR color coding [Rec. 601]
[2023:05:31:02:25:15]: Info: Color range: [JPEG]
[2023:05:31:02:25:15]: Error: Failed to derive device context: Unknown error occurred
[2023:05:31:02:25:15]: Info: 
Device Description : AMD Radeon RX 7900 XTX
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000744C
Device Video Mem   : 24218 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 15947 MiB
Feature Level      : 0x0000B100
Capture size       : 1440x2560
Offset             : 0x0
Virtual Desktop    : 4000x2560
[2023:05:31:02:25:15]: Info: Desktop resolution [1440x2560]
[2023:05:31:02:25:15]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2023:05:31:02:25:15]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 10
Red Primary        : [0.677734,0.30957]
Green Primary      : [0.265625,0.663086]
Blue Primary       : [0.148438,0.0527344]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.0492 nits
Max Luminance      : 408 nits
Max Full Luminance : 322 nits
[2023:05:31:02:25:15]: Info: SDR color coding [Rec. 601]
[2023:05:31:02:25:15]: Info: Color range: [JPEG]
[2023:05:31:02:25:15]: Error: Failed to derive device context: Unknown error occurred
[2023:05:31:02:25:15]: Info: Encoder [quicksync] failed
[2023:05:31:02:25:15]: Info: Trying encoder [amdvce]
[2023:05:31:02:25:15]: Info: 
Device Description : AMD Radeon RX 7900 XTX
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000744C
Device Video Mem   : 24218 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 15947 MiB
Feature Level      : 0x0000B100
Capture size       : 1440x2560
Offset             : 0x0
Virtual Desktop    : 4000x2560
[2023:05:31:02:25:15]: Info: Desktop resolution [1440x2560]
[2023:05:31:02:25:15]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2023:05:31:02:25:15]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 10
Red Primary        : [0.677734,0.30957]
Green Primary      : [0.265625,0.663086]
Blue Primary       : [0.148438,0.0527344]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.0492 nits
Max Luminance      : 408 nits
Max Full Luminance : 322 nits
[2023:05:31:02:25:15]: Info: SDR color coding [Rec. 601]
[2023:05:31:02:25:15]: Info: Color range: [JPEG]
[2023:05:31:02:25:15]: Info: 
Device Description : AMD Radeon RX 7900 XTX
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000744C
Device Video Mem   : 24218 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 15947 MiB
Feature Level      : 0x0000B100
Capture size       : 1440x2560
Offset             : 0x0
Virtual Desktop    : 4000x2560
[2023:05:31:02:25:15]: Info: Desktop resolution [1440x2560]
[2023:05:31:02:25:15]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2023:05:31:02:25:15]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 10
Red Primary        : [0.677734,0.30957]
Green Primary      : [0.265625,0.663086]
Blue Primary       : [0.148438,0.0527344]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.0492 nits
Max Luminance      : 408 nits
Max Full Luminance : 322 nits
[2023:05:31:02:25:15]: Info: SDR color coding [Rec. 601]
[2023:05:31:02:25:15]: Info: Color range: [JPEG]
[2023:05:31:02:25:16]: Info: 
Device Description : AMD Radeon RX 7900 XTX
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000744C
Device Video Mem   : 24218 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 15947 MiB
Feature Level      : 0x0000B100
Capture size       : 1440x2560
Offset             : 0x0
Virtual Desktop    : 4000x2560
[2023:05:31:02:25:16]: Info: Desktop resolution [1440x2560]
[2023:05:31:02:25:16]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2023:05:31:02:25:16]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 10
Red Primary        : [0.677734,0.30957]
Green Primary      : [0.265625,0.663086]
Blue Primary       : [0.148438,0.0527344]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.0492 nits
Max Luminance      : 408 nits
Max Full Luminance : 322 nits
[2023:05:31:02:25:16]: Info: SDR color coding [Rec. 709]
[2023:05:31:02:25:16]: Info: Color range: [JPEG]
[2023:05:31:02:25:16]: Info: 
[2023:05:31:02:25:16]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2023:05:31:02:25:16]: Info: 
[2023:05:31:02:25:16]: Info: Found encoder amdvce: [h264_amf, hevc_amf]
[2023:05:31:02:25:16]: Info: Executing [Desktop]
[2023:05:31:02:25:16]: Info: CLIENT CONNECTED
[2023:05:31:02:25:16]: Info: 
Device Description : AMD Radeon RX 7900 XTX
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000744C
Device Video Mem   : 24218 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 15947 MiB
Feature Level      : 0x0000B100
Capture size       : 2560x1440
Offset             : 1440x866
Virtual Desktop    : 4000x2560
[2023:05:31:02:25:16]: Info: Desktop resolution [2560x1440]
[2023:05:31:02:25:16]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2023:05:31:02:25:16]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 10
Red Primary        : [0.692383,0.296875]
Green Primary      : [0.277344,0.651367]
Blue Primary       : [0.146484,0.0644531]
White Point        : [0.313477,0.329102]
Min Luminance      : 0.0491 nits
Max Luminance      : 603 nits
Max Full Luminance : 366 nits
[2023:05:31:02:25:16]: Info: Capture format [DXGI_FORMAT_R16G16B16A16_FLOAT]
[2023:05:31:02:25:16]: Info: SDR color coding [Rec. 601]
[2023:05:31:02:25:16]: Info: Color range: [MPEG]
[2023:05:31:02:36:36]: Info: Web UI: [127.0.0.1] -- not authorized
@XenHat
Copy link

XenHat commented Jul 9, 2023

I have a very similar, or the same issue since switching my streaming host from Arch Linux to Nobara (Fedora 38 base): Green artifact stuck at the top of the screen, heavy compression artifacts and loss of color over time.

It resets after a disconnect and reconnect, however.

GPU: RX 7900 XTX
CPU: Ryzen 7 5800X3D
Moonlight client: Steam Deck

Something to do with the driver perhaps?

@XenHat
Copy link

XenHat commented Jul 10, 2023

@Destromite Have you tried turning off hardware accelerated decoding, or switching from HEVC to H.264? The isssue has disappeared since I did that.

@LizardByte-bot
Copy link
Member

LizardByte-bot commented Oct 8, 2023

👋 @Destromite, 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!

@LizardByte-bot LizardByte-bot added stale and removed stale labels Oct 8, 2023
@PseudoResonance
Copy link

This is still an issue.

@Protonpig
Copy link

I am having the same problem with an AMD GPU 6800XT

@FerrumMaster
Copy link

Yes, same on 7900XTX, but it works fine using older [v0.19.1] for me.

@cgutman
Copy link
Collaborator

cgutman commented Jan 5, 2024

Please post logs from Sunshine and a screenshots of the bug. I can't reproduce this when streaming from either of my AMD machines (7900 XT and 6700 XT) using the latest 23.12.1 drivers. I've tried SDR, HDR, H.264, HEVC, and AV1 and none of them have this issue.

@PseudoResonance
Copy link

Here are my logs and some screenshots of the issue. I took 2 screenshots for each scenario, one on the host device and another on the client device to compare. As you can see, the client images are washed out and all colors besides black are brighter than they should be.

Sample Images - Black

Host Screenshot
Native - Black
Client Screenshot
Sunshine - Black

Sample Images - White

Host Screenshot
Native - White
Client Screenshot
Sunshine - White

Sunshine Logs
[2024:01:05:17:17:10]: Info: nvprefs: NvAPI_Initialize() failed, ignore if you don't have NVIDIA video card
[2024:01:05:17:17:10]: Info: Sunshine version: 0.21.0
[2024:01:05:17:17:10]: Info: Compiling shaders...
[2024:01:05:17:17:10]: Info: System tray created
[2024:01:05:17:17:10]: Info: Compiled shaders
[2024:01:05:17:17:10]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024:01:05:17:17:10]: Info: Trying encoder [nvenc]
[2024:01:05:17:17:10]: Info: ddprobe.exe [1] [] returned: 0x00000000
[2024:01:05:17:17:10]: Info: Set GPU preference: 1
[2024:01:05:17:17:10]: Info: 
Device Description : AMD Radeon RX 5700 XT
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000731F
Device Video Mem   : 7806 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 8154 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:01:05:17:17:10]: Info: Active GPU has HAGS disabled
[2024:01:05:17:17:10]: Info: Using realtime GPU priority
[2024:01:05:17:17:10]: Info: Desktop resolution [1920x1080]
[2024:01:05:17:17:10]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:01:05:17:17:10]: Info: Display refresh rate [60Hz]
[2024:01:05:17:17:10]: Info: Requested frame rate [60fps]
[2024:01:05:17:17:10]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2024:01:05:17:17:10]: Info: Encoder [nvenc] is not supported on this GPU
[2024:01:05:17:17:10]: Info: Trying encoder [quicksync]
[2024:01:05:17:17:10]: Info: 
Device Description : AMD Radeon RX 5700 XT
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000731F
Device Video Mem   : 7806 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 8154 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:01:05:17:17:10]: Info: Active GPU has HAGS disabled
[2024:01:05:17:17:10]: Info: Using realtime GPU priority
[2024:01:05:17:17:10]: Info: Desktop resolution [1920x1080]
[2024:01:05:17:17:10]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:01:05:17:17:10]: Info: Display refresh rate [60Hz]
[2024:01:05:17:17:10]: Info: Requested frame rate [60fps]
[2024:01:05:17:17:10]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2024:01:05:17:17:10]: Info: Encoder [quicksync] is not supported on this GPU
[2024:01:05:17:17:10]: Info: Trying encoder [amdvce]
[2024:01:05:17:17:10]: Info: 
Device Description : AMD Radeon RX 5700 XT
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000731F
Device Video Mem   : 7806 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 8154 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:01:05:17:17:10]: Info: Active GPU has HAGS disabled
[2024:01:05:17:17:10]: Info: Using realtime GPU priority
[2024:01:05:17:17:10]: Info: Desktop resolution [1920x1080]
[2024:01:05:17:17:10]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:01:05:17:17:10]: Info: Display refresh rate [60Hz]
[2024:01:05:17:17:10]: Info: Requested frame rate [60fps]
[2024:01:05:17:17:10]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2024:01:05:17:17:10]: Info: 
Device Description : AMD Radeon RX 5700 XT
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000731F
Device Video Mem   : 7806 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 8154 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:01:05:17:17:10]: Info: Active GPU has HAGS disabled
[2024:01:05:17:17:10]: Info: Using realtime GPU priority
[2024:01:05:17:17:10]: Info: Desktop resolution [1920x1080]
[2024:01:05:17:17:10]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:01:05:17:17:10]: Info: Display refresh rate [60Hz]
[2024:01:05:17:17:10]: Info: Requested frame rate [60fps]
[2024:01:05:17:17:10]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2024:01:05:17:17:10]: Info: SDR color coding [Rec. 601]
[2024:01:05:17:17:10]: Info: Color depth: 8-bit
[2024:01:05:17:17:10]: Info: Color range: [JPEG]
[2024:01:05:17:17:11]: Info: 
Device Description : AMD Radeon RX 5700 XT
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000731F
Device Video Mem   : 7806 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 8154 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:01:05:17:17:11]: Info: Active GPU has HAGS disabled
[2024:01:05:17:17:11]: Info: Using realtime GPU priority
[2024:01:05:17:17:11]: Info: Desktop resolution [1920x1080]
[2024:01:05:17:17:11]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:01:05:17:17:11]: Info: Display refresh rate [60Hz]
[2024:01:05:17:17:11]: Info: Requested frame rate [60fps]
[2024:01:05:17:17:11]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2024:01:05:17:17:11]: Info: SDR color coding [Rec. 601]
[2024:01:05:17:17:11]: Info: Color depth: 8-bit
[2024:01:05:17:17:11]: Info: Color range: [JPEG]
[2024:01:05:17:17:11]: Info: 
Device Description : AMD Radeon RX 5700 XT
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000731F
Device Video Mem   : 7806 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 8154 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:01:05:17:17:11]: Info: Active GPU has HAGS disabled
[2024:01:05:17:17:11]: Info: Using realtime GPU priority
[2024:01:05:17:17:11]: Info: Desktop resolution [1920x1080]
[2024:01:05:17:17:11]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:01:05:17:17:11]: Info: Display refresh rate [60Hz]
[2024:01:05:17:17:11]: Info: Requested frame rate [60fps]
[2024:01:05:17:17:11]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2024:01:05:17:17:11]: Info: SDR color coding [Rec. 601]
[2024:01:05:17:17:11]: Info: Color depth: 8-bit
[2024:01:05:17:17:11]: Info: Color range: [JPEG]
[2024:01:05:17:17:11]: Error: [av1_amf @ 000002077b68fe40] CreateComponent(AMFVideoEncoderHW_AV1) failed with error 1
[2024:01:05:17:17:11]: Error: Could not open codec [av1_amf]: Encoder not found
[2024:01:05:17:17:11]: Info: 
Device Description : AMD Radeon RX 5700 XT
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000731F
Device Video Mem   : 7806 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 8154 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:01:05:17:17:11]: Info: Active GPU has HAGS disabled
[2024:01:05:17:17:11]: Info: Using realtime GPU priority
[2024:01:05:17:17:11]: Info: Desktop resolution [1920x1080]
[2024:01:05:17:17:11]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:01:05:17:17:11]: Info: Display refresh rate [60Hz]
[2024:01:05:17:17:11]: Info: Requested frame rate [60fps]
[2024:01:05:17:17:11]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2024:01:05:17:17:11]: Info: SDR color coding [Rec. 601]
[2024:01:05:17:17:11]: Info: Color depth: 8-bit
[2024:01:05:17:17:11]: Info: Color range: [JPEG]
[2024:01:05:17:17:11]: Error: [av1_amf @ 000002077b68fe40] CreateComponent(AMFVideoEncoderHW_AV1) failed with error 1
[2024:01:05:17:17:11]: Error: Could not open codec [av1_amf]: Encoder not found
[2024:01:05:17:17:11]: Info: 
Device Description : AMD Radeon RX 5700 XT
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000731F
Device Video Mem   : 7806 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 8154 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:01:05:17:17:11]: Info: Active GPU has HAGS disabled
[2024:01:05:17:17:11]: Info: Using realtime GPU priority
[2024:01:05:17:17:11]: Info: Desktop resolution [1920x1080]
[2024:01:05:17:17:11]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:01:05:17:17:11]: Info: Display refresh rate [60Hz]
[2024:01:05:17:17:11]: Info: Requested frame rate [60fps]
[2024:01:05:17:17:11]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2024:01:05:17:17:11]: Info: SDR color coding [Rec. 601]
[2024:01:05:17:17:11]: Info: Color depth: 8-bit
[2024:01:05:17:17:11]: Info: Color range: [JPEG]
[2024:01:05:17:17:11]: Error: [av1_amf @ 000002077b68fe40] CreateComponent(AMFVideoEncoderHW_AV1) failed with error 1
[2024:01:05:17:17:11]: Error: Could not open codec [av1_amf]: Encoder not found
[2024:01:05:17:17:11]: Info: 
Device Description : AMD Radeon RX 5700 XT
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000731F
Device Video Mem   : 7806 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 8154 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:01:05:17:17:11]: Info: Active GPU has HAGS disabled
[2024:01:05:17:17:11]: Info: Using realtime GPU priority
[2024:01:05:17:17:11]: Info: Desktop resolution [1920x1080]
[2024:01:05:17:17:11]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:01:05:17:17:11]: Info: Display refresh rate [60Hz]
[2024:01:05:17:17:11]: Info: Requested frame rate [60fps]
[2024:01:05:17:17:11]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2024:01:05:17:17:11]: Info: SDR color coding [Rec. 601]
[2024:01:05:17:17:11]: Info: Color depth: 8-bit
[2024:01:05:17:17:11]: Info: Color range: [JPEG]
[2024:01:05:17:17:11]: Error: [av1_amf @ 000002077b68fe40] CreateComponent(AMFVideoEncoderHW_AV1) failed with error 1
[2024:01:05:17:17:11]: Error: Could not open codec [av1_amf]: Encoder not found
[2024:01:05:17:17:11]: Info: 
Device Description : AMD Radeon RX 5700 XT
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000731F
Device Video Mem   : 7806 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 8154 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:01:05:17:17:11]: Info: Active GPU has HAGS disabled
[2024:01:05:17:17:11]: Info: Using realtime GPU priority
[2024:01:05:17:17:11]: Info: Desktop resolution [1920x1080]
[2024:01:05:17:17:11]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:01:05:17:17:11]: Info: Display refresh rate [60Hz]
[2024:01:05:17:17:11]: Info: Requested frame rate [60fps]
[2024:01:05:17:17:11]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2024:01:05:17:17:11]: Info: SDR color coding [Rec. 709]
[2024:01:05:17:17:11]: Info: Color depth: 10-bit
[2024:01:05:17:17:11]: Info: Color range: [JPEG]
[2024:01:05:17:17:12]: Info: 
[2024:01:05:17:17:12]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2024:01:05:17:17:12]: Info: 
[2024:01:05:17:17:12]: Info: Found H.264 encoder: h264_amf [amdvce]
[2024:01:05:17:17:12]: Info: Found HEVC encoder: hevc_amf [amdvce]
[2024:01:05:17:17:12]: Info: Configuration UI available at [https://localhost:47990]
[2024:01:05:17:17:12]: Info: Registered Sunshine mDNS service
[2024:01:05:17:17:46]: Info: // Testing for available encoders, this may generate errors. You can safely ignore those errors. //
[2024:01:05:17:17:46]: Info: Trying encoder [nvenc]
[2024:01:05:17:17:46]: Info: 
Device Description : AMD Radeon RX 5700 XT
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000731F
Device Video Mem   : 7806 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 8154 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:01:05:17:17:46]: Info: Active GPU has HAGS disabled
[2024:01:05:17:17:46]: Info: Using realtime GPU priority
[2024:01:05:17:17:46]: Info: Desktop resolution [1920x1080]
[2024:01:05:17:17:46]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:01:05:17:17:46]: Info: Display refresh rate [60Hz]
[2024:01:05:17:17:46]: Info: Requested frame rate [60fps]
[2024:01:05:17:17:46]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2024:01:05:17:17:46]: Info: Encoder [nvenc] is not supported on this GPU
[2024:01:05:17:17:46]: Info: Trying encoder [quicksync]
[2024:01:05:17:17:46]: Info: 
Device Description : AMD Radeon RX 5700 XT
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000731F
Device Video Mem   : 7806 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 8154 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:01:05:17:17:46]: Info: Active GPU has HAGS disabled
[2024:01:05:17:17:46]: Info: Using realtime GPU priority
[2024:01:05:17:17:46]: Info: Desktop resolution [1920x1080]
[2024:01:05:17:17:46]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:01:05:17:17:46]: Info: Display refresh rate [60Hz]
[2024:01:05:17:17:46]: Info: Requested frame rate [60fps]
[2024:01:05:17:17:46]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2024:01:05:17:17:46]: Info: Encoder [quicksync] is not supported on this GPU
[2024:01:05:17:17:46]: Info: Trying encoder [amdvce]
[2024:01:05:17:17:46]: Info: 
Device Description : AMD Radeon RX 5700 XT
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000731F
Device Video Mem   : 7806 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 8154 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:01:05:17:17:46]: Info: Active GPU has HAGS disabled
[2024:01:05:17:17:46]: Info: Using realtime GPU priority
[2024:01:05:17:17:46]: Info: Desktop resolution [1920x1080]
[2024:01:05:17:17:46]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:01:05:17:17:46]: Info: Display refresh rate [60Hz]
[2024:01:05:17:17:46]: Info: Requested frame rate [60fps]
[2024:01:05:17:17:46]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2024:01:05:17:17:46]: Info: 
Device Description : AMD Radeon RX 5700 XT
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000731F
Device Video Mem   : 7806 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 8154 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:01:05:17:17:46]: Info: Active GPU has HAGS disabled
[2024:01:05:17:17:46]: Info: Using realtime GPU priority
[2024:01:05:17:17:46]: Info: Desktop resolution [1920x1080]
[2024:01:05:17:17:46]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:01:05:17:17:46]: Info: Display refresh rate [60Hz]
[2024:01:05:17:17:46]: Info: Requested frame rate [60fps]
[2024:01:05:17:17:46]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2024:01:05:17:17:46]: Info: SDR color coding [Rec. 601]
[2024:01:05:17:17:46]: Info: Color depth: 8-bit
[2024:01:05:17:17:46]: Info: Color range: [JPEG]
[2024:01:05:17:17:46]: Info: 
Device Description : AMD Radeon RX 5700 XT
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000731F
Device Video Mem   : 7806 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 8154 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:01:05:17:17:46]: Info: Active GPU has HAGS disabled
[2024:01:05:17:17:46]: Info: Using realtime GPU priority
[2024:01:05:17:17:46]: Info: Desktop resolution [1920x1080]
[2024:01:05:17:17:46]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:01:05:17:17:46]: Info: Display refresh rate [60Hz]
[2024:01:05:17:17:46]: Info: Requested frame rate [60fps]
[2024:01:05:17:17:46]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2024:01:05:17:17:46]: Info: SDR color coding [Rec. 601]
[2024:01:05:17:17:46]: Info: Color depth: 8-bit
[2024:01:05:17:17:46]: Info: Color range: [JPEG]
[2024:01:05:17:17:47]: Info: 
Device Description : AMD Radeon RX 5700 XT
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000731F
Device Video Mem   : 7806 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 8154 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:01:05:17:17:47]: Info: Active GPU has HAGS disabled
[2024:01:05:17:17:47]: Info: Using realtime GPU priority
[2024:01:05:17:17:47]: Info: Desktop resolution [1920x1080]
[2024:01:05:17:17:47]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:01:05:17:17:47]: Info: Display refresh rate [60Hz]
[2024:01:05:17:17:47]: Info: Requested frame rate [60fps]
[2024:01:05:17:17:47]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2024:01:05:17:17:47]: Info: SDR color coding [Rec. 601]
[2024:01:05:17:17:47]: Info: Color depth: 8-bit
[2024:01:05:17:17:47]: Info: Color range: [JPEG]
[2024:01:05:17:17:47]: Error: [av1_amf @ 00000207000d3740] CreateComponent(AMFVideoEncoderHW_AV1) failed with error 1
[2024:01:05:17:17:47]: Error: Could not open codec [av1_amf]: Encoder not found
[2024:01:05:17:17:47]: Info: 
Device Description : AMD Radeon RX 5700 XT
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000731F
Device Video Mem   : 7806 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 8154 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:01:05:17:17:47]: Info: Active GPU has HAGS disabled
[2024:01:05:17:17:47]: Info: Using realtime GPU priority
[2024:01:05:17:17:47]: Info: Desktop resolution [1920x1080]
[2024:01:05:17:17:47]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:01:05:17:17:47]: Info: Display refresh rate [60Hz]
[2024:01:05:17:17:47]: Info: Requested frame rate [60fps]
[2024:01:05:17:17:47]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2024:01:05:17:17:47]: Info: SDR color coding [Rec. 601]
[2024:01:05:17:17:47]: Info: Color depth: 8-bit
[2024:01:05:17:17:47]: Info: Color range: [JPEG]
[2024:01:05:17:17:47]: Error: [av1_amf @ 00000207000d3740] CreateComponent(AMFVideoEncoderHW_AV1) failed with error 1
[2024:01:05:17:17:47]: Error: Could not open codec [av1_amf]: Encoder not found
[2024:01:05:17:17:47]: Info: 
Device Description : AMD Radeon RX 5700 XT
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000731F
Device Video Mem   : 7806 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 8154 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:01:05:17:17:47]: Info: Active GPU has HAGS disabled
[2024:01:05:17:17:47]: Info: Using realtime GPU priority
[2024:01:05:17:17:47]: Info: Desktop resolution [1920x1080]
[2024:01:05:17:17:47]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:01:05:17:17:47]: Info: Display refresh rate [60Hz]
[2024:01:05:17:17:47]: Info: Requested frame rate [60fps]
[2024:01:05:17:17:47]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2024:01:05:17:17:47]: Info: SDR color coding [Rec. 601]
[2024:01:05:17:17:47]: Info: Color depth: 8-bit
[2024:01:05:17:17:47]: Info: Color range: [JPEG]
[2024:01:05:17:17:47]: Error: [av1_amf @ 00000207000d3740] CreateComponent(AMFVideoEncoderHW_AV1) failed with error 1
[2024:01:05:17:17:47]: Error: Could not open codec [av1_amf]: Encoder not found
[2024:01:05:17:17:47]: Info: 
Device Description : AMD Radeon RX 5700 XT
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000731F
Device Video Mem   : 7806 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 8154 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:01:05:17:17:47]: Info: Active GPU has HAGS disabled
[2024:01:05:17:17:47]: Info: Using realtime GPU priority
[2024:01:05:17:17:47]: Info: Desktop resolution [1920x1080]
[2024:01:05:17:17:47]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:01:05:17:17:47]: Info: Display refresh rate [60Hz]
[2024:01:05:17:17:47]: Info: Requested frame rate [60fps]
[2024:01:05:17:17:47]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2024:01:05:17:17:47]: Info: SDR color coding [Rec. 601]
[2024:01:05:17:17:47]: Info: Color depth: 8-bit
[2024:01:05:17:17:47]: Info: Color range: [JPEG]
[2024:01:05:17:17:47]: Error: [av1_amf @ 00000207000d3740] CreateComponent(AMFVideoEncoderHW_AV1) failed with error 1
[2024:01:05:17:17:47]: Error: Could not open codec [av1_amf]: Encoder not found
[2024:01:05:17:17:47]: Info: 
Device Description : AMD Radeon RX 5700 XT
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000731F
Device Video Mem   : 7806 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 8154 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:01:05:17:17:47]: Info: Active GPU has HAGS disabled
[2024:01:05:17:17:47]: Info: Using realtime GPU priority
[2024:01:05:17:17:47]: Info: Desktop resolution [1920x1080]
[2024:01:05:17:17:47]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:01:05:17:17:47]: Info: Display refresh rate [60Hz]
[2024:01:05:17:17:47]: Info: Requested frame rate [60fps]
[2024:01:05:17:17:47]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2024:01:05:17:17:47]: Info: SDR color coding [Rec. 709]
[2024:01:05:17:17:47]: Info: Color depth: 10-bit
[2024:01:05:17:17:47]: Info: Color range: [JPEG]
[2024:01:05:17:17:47]: Info: 
[2024:01:05:17:17:47]: Info: // Ignore any errors mentioned above, they are not relevant. //
[2024:01:05:17:17:47]: Info: 
[2024:01:05:17:17:47]: Info: Found H.264 encoder: h264_amf [amdvce]
[2024:01:05:17:17:47]: Info: Found HEVC encoder: hevc_amf [amdvce]
[2024:01:05:17:17:47]: Info: Executing [Desktop]
[2024:01:05:17:17:48]: Info: nvprefs: NvAPI_Initialize() failed, ignore if you don't have NVIDIA video card
[2024:01:05:17:17:48]: Info: CLIENT CONNECTED
[2024:01:05:17:17:48]: Info: 
Device Description : AMD Radeon RX 5700 XT
Device Vendor ID   : 0x00001002
Device Device ID   : 0x0000731F
Device Video Mem   : 7806 MiB
Device Sys Mem     : 0 MiB
Share Sys Mem      : 8154 MiB
Feature Level      : 0x0000B100
Capture size       : 1920x1080
Offset             : 0x0
Virtual Desktop    : 1920x1080
[2024:01:05:17:17:48]: Info: Active GPU has HAGS disabled
[2024:01:05:17:17:48]: Info: Using realtime GPU priority
[2024:01:05:17:17:48]: Info: Desktop resolution [1920x1080]
[2024:01:05:17:17:48]: Info: Desktop format [DXGI_FORMAT_R10G10B10A2_UNORM]
[2024:01:05:17:17:48]: Info: Display refresh rate [60Hz]
[2024:01:05:17:17:48]: Info: Requested frame rate [60fps]
[2024:01:05:17:17:48]: Info: 
Colorspace         : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color     : 8
Red Primary        : [0.639648,0.330078]
Green Primary      : [0.299805,0.599609]
Blue Primary       : [0.149414,0.0595703]
White Point        : [0.3125,0.329102]
Min Luminance      : 0.5 nits
Max Luminance      : 270 nits
Max Full Luminance : 270 nits
[2024:01:05:17:17:48]: Info: Capture format [DXGI_FORMAT_R16G16B16A16_FLOAT]
[2024:01:05:17:17:48]: Info: SDR color coding [Rec. 601]
[2024:01:05:17:17:48]: Info: Color depth: 8-bit
[2024:01:05:17:17:48]: Info: Color range: [MPEG]
[2024:01:05:17:18:06]: Info: CLIENT DISCONNECTED

@jkljkl1197
Copy link

jkljkl1197 commented Mar 9, 2024

Same here! on 6800 XT with amd driver 24.2.1

@ubun222
Copy link

ubun222 commented May 1, 2024

I have similar issue using hyper-v with 4070super.
the screen looks brighter except hdr.

@LizardByte-bot
Copy link
Member

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!

@PseudoResonance
Copy link

Still an issue...

@mjnks
Copy link

mjnks commented Aug 10, 2024

The Discord seems to indicate this happens either because HDR is enabled (windows settings on the host and/or Moonlight settings on the client) and/or because 10-bit color is enabled (GPU or OpenGL settings). Is there a way to support 10-bit color?

https://discord.com/channels/804382334370578482/1116599939246604418

@JarEXE
Copy link

JarEXE commented Sep 7, 2024

Can confirm this to be an issue in latest version, using an RX 6600. Will roll back to 0.19.1 for now.

My monitor is not HDR capable and HDR is disabled in windows settings (allegedly). Same for moonlight settings.
This color issue is non existent if I choose to use software encoding over AMD AMF.

If there's anything I can provide to help, then I will do my best.

@Destromite
Copy link
Author

Destromite commented Sep 7, 2024 via email

@cgutman
Copy link
Collaborator

cgutman commented Sep 8, 2024

It's because nobody from the dev team can reproduce it, and many unrelated issues are all being reported here. I've run the exact configuration as OP except with a 7900 XT instead of an XTX and colors are perfect both in SDR and HDR modes.

The only issue similar to this report that I've found is specifically with AV1 and the Vulkan renderer in Moonlight-Qt, which is due to an AMD driver bug (incorrect color range in encoded AV1 bitstream). However, this issue report predates the Vulkan renderer, so that cannot be the whole explanation.

And also keep in mind that it looks like lots of people are experiencing it here, but the current Sunshine v0.23.1 build for Windows has been downloaded over 400,000 times as of this post. If the issue were really that widespread, we would see a lot more than ~6 people reporting it (the others in this thread look like a different bug). There has to be something we're missing here that explains why you all experience the issue and we don't.

@igophper

This comment was marked as duplicate.

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