LizardByte / Sunshine

Self-hosted game stream host for Moonlight.
http://app.lizardbyte.dev/Sunshine/
GNU General Public License v3.0
19.33k stars 940 forks source link

Gray tinted screen on AMD gpu #1337

Open Destromite opened 1 year ago

Destromite commented 1 year ago

Is there an existing issue for this?

Is your issue described in the documentation?

Is your issue 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 commented 1 year ago

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 commented 1 year ago

@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 commented 1 year ago

:wave: @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!

PseudoResonance commented 1 year ago

This is still an issue.

Protonpig commented 1 year ago

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

FerrumMaster commented 10 months ago

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

cgutman commented 10 months ago

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 commented 10 months ago

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](https://github.com/LizardByte/Sunshine/assets/7216500/8e7e2983-7d47-48a0-90dd-0e660cb287c2) Client Screenshot ![Sunshine - Black](https://github.com/LizardByte/Sunshine/assets/7216500/59bffacc-e41e-4c41-b4a0-d78f08724231)
Sample Images - White Host Screenshot ![Native - White](https://github.com/LizardByte/Sunshine/assets/7216500/f46722a7-a103-4bb1-9111-8393c55427e8) Client Screenshot ![Sunshine - White](https://github.com/LizardByte/Sunshine/assets/7216500/3f2701a8-1121-4edb-a40e-c6ff7dc26a3c)
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 commented 7 months ago

Same here! on 6800 XT with amd driver 24.2.1

ubun222 commented 6 months ago

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

LizardByte-bot commented 3 months ago

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 commented 3 months ago

Still an issue...

mjnks commented 2 months ago

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 commented 1 month ago

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 commented 1 month ago

I believe I've originally opened this issue. I haven't used moonlight since because this hasn't been resolved but it's been amusing every month another person comes and reports this issue for it to continue to be neglected

On Fri, Sep 6, 2024, 7:39 PM Jarome Eyken @.***> wrote:

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. I notice in logs when using software encoding, it is attempting 8bit color, but for AMD AMF i see 10bit color... which my monitor also does not support.

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

— Reply to this email directly, view it on GitHub https://github.com/LizardByte/Sunshine/issues/1337#issuecomment-2335009701, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANHRZQ5MOMSLYQGXOXOGJ3LZVJRMXAVCNFSM6AAAAAAYUV3UZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZVGAYDSNZQGE . You are receiving this because you were mentioned.Message ID: @.***>

cgutman commented 1 month ago

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 commented 1 month ago

Still an issue...

+1