Sunshine
Sunshine copied to clipboard
HDR Streaming Very Dark After Plasma 6.2 Update
Is there an existing issue for this?
- [X] I have searched the existing issues
Is your issue described in the documentation?
- [X] I have read the documentation
Is your issue present in the latest beta/pre-release?
This issue is present in the latest pre-release
Describe the Bug
HDR streaming to HDR clients now produces an extremely dark image on the client that is not really usable after the recent Plasma 6.2 update that has come to Fedora over the past few days.
Expected Behavior
A normal HDR picture without black crush present.
Additional Context
I'm able to at least work around the issue by not streaming in HDR, so it's not showstopping. I have tested this on a Sep 30th build and the most recent lizardbyte/beta copr build that doesn't segfault (the version listed below).
Host Operating System
Linux
Operating System Version
Fedora Linux 40 (KDE Plasma)
Architecture
amd64/x86_64
Sunshine commit or version
2024.1006.230920-1
Package
Linux - Fedora Copr
GPU Type
AMD
GPU Model
AMD Radeon RX 7900 XTX
GPU Driver/Mesa Version
Mesa 24.1.7
Capture Method
KMX (Linux)
Config
wan_encryption_mode = 2
lan_encryption_mode = 2
key_rightalt_to_key_win = enabled
origin_pin_allowed = lan
resolutions = [
1280x720,
1920x1080,
2560x1440
]
fps = [30,60,90,120,240]
sunshine_name = EmpokNor
channels = 2
#audio_sink = alsa_output.usb-M-Audio_AIR_192_4-00.analog-stereo
#output_name = 2
Apps
No response
Relevant log output
[2024-10-12 21:55:52.411]: Info: Found H.264 encoder: h264_vaapi [vaapi]
[2024-10-12 21:55:52.411]: Info: Found HEVC encoder: hevc_vaapi [vaapi]
[2024-10-12 21:55:52.411]: Info: Found AV1 encoder: av1_vaapi [vaapi]
[2024-10-12 21:55:52.411]: Info: Executing [Desktop]
[2024-10-12 21:55:52.543]: Info: Video encryption enabled
[2024-10-12 21:55:52.573]: Info: CLIENT CONNECTED
[2024-10-12 21:55:52.575]: Info: /dev/dri/card0 -> amdgpu
[2024-10-12 21:55:52.576]: Info: Found display [wayland-0]
[2024-10-12 21:55:52.576]: Info: Found interface: zxdg_output_manager_v1(31) version 3
[2024-10-12 21:55:52.576]: Info: Found interface: wl_output(65) version 4
[2024-10-12 21:55:52.576]: Info: Resolution: 2560x1440
[2024-10-12 21:55:52.576]: Info: Offset: 0x0
[2024-10-12 21:55:52.576]: Info: Logical size: 2560x1440
[2024-10-12 21:55:52.576]: Info: Name: DP-1
[2024-10-12 21:55:52.576]: Info: Found monitor: Samsung Electric Company LC32G7xT/H4ZN801004
[2024-10-12 21:55:52.576]: Info: -------- Start of KMS monitor list --------
[2024-10-12 21:55:52.576]: Info: Monitor 0 is DP-1: Samsung Electric Company LC32G7xT/H4ZN801004
[2024-10-12 21:55:52.576]: Info: --------- End of KMS monitor list ---------
[2024-10-12 21:55:52.576]: Info: Screencasting with KMS
[2024-10-12 21:55:52.576]: Info: /dev/dri/card0 -> amdgpu
[2024-10-12 21:55:52.577]: Info: Found monitor for DRM screencasting
[2024-10-12 21:55:52.577]: Info: Found connector ID [107]
[2024-10-12 21:55:52.577]: Info: Found cursor plane [90]
[2024-10-12 21:55:52.585]: Info: Creating encoder [av1_vaapi]
[2024-10-12 21:55:52.585]: Info: Color coding: HDR (Rec. 2020 + SMPTE 2084 PQ)
[2024-10-12 21:55:52.585]: Info: Color depth: 10-bit
[2024-10-12 21:55:52.585]: Info: Color range: JPEG
[2024-10-12 21:55:52.608]: Info: vaapi vendor: Mesa Gallium driver 24.1.7 for AMD Radeon RX 7900 XTX (radeonsi, navi31, LLVM 18.1.6, DRM 3.59, 6.11.3-cb1.0.fc40.x86_64)
[2024-10-12 21:55:52.609]: Error: [av1_vaapi @ 0x7f75b023e480] No usable encoding entrypoint found for profile VAProfileAV1Profile0 (32).
[2024-10-12 21:55:52.609]: Info: Retrying with fallback configuration options for [av1_vaapi] after error: Function not implemented
[2024-10-12 21:55:52.613]: Info: vaapi vendor: Mesa Gallium driver 24.1.7 for AMD Radeon RX 7900 XTX (radeonsi, navi31, LLVM 18.1.6, DRM 3.59, 6.11.3-cb1.0.fc40.x86_64)
[2024-10-12 21:55:52.614]: Warning: [av1_vaapi @ 0x7f75b0295080] Multiple slices were requested but this codec does not support controlling slices.
[2024-10-12 21:55:52.748]: Info: Gamepad 0 will be Xbox One controller (default)
[2024-10-12 21:55:53.032]: Info: Setting default sink to: [sink-sunshine-stereo]
[2024-10-12 21:55:53.032]: Info: Found default monitor by name: sink-sunshine-stereo.monitor
[2024-10-12 21:55:53.055]: Info: Opus initialized: 48 kHz, 2 channels, 512 kbps (total), LOWDELAY
[2024-10-12 21:57:22.482]: Info: CLIENT DISCONNECTED
[2024-10-12 21:57:22.483]: Info: Setting default sink to: [alsa_output.usb-M-Audio_AIR_192_4-00.analog-stereo]