HDR content is displayed with a green/pink tint Lexa PRO [Radeon 550X] on mesa-23.3.1
System information
- OS: (
Arch Linux
) - GPU: (
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] [1002:699f] (rev c7)
) - Kernel version: (
Linux myth2 6.6.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 14 Dec 2023 03:45:42 +0000 x86_64 GNU/Linux
) - Mesa version: (
23.3.1
) - Desktop manager and compositor:
kodi-gbm
Describe the issue
Playback of a HDR test clip is displayed with a bright green/pink tint.
- Build kodi from 0ac9c10 with
-DAPP_RENDER_SYSTEM=gles
and-DCORE_PLATFORM_NAME=gbm
- Run
kodi-gbm
- Playback HDR_HEVC_10-bit_BT.2020_59.940fps_Camp_by_Sony.mp4 from kodi samples
The bug seems specific to this particular Radeon 550X:
- I can trigger it under Arch Linux
- I can trigger it under
LibreELEC-Generic.x86_64-12.0-nightly-20231218-865d980
from a live USB.
Another PC which is based on AMD Cezanne hardware does NOT exhibit the bug when connected to the same TV, via the same HDMI cable running LibreELEC-Generic.x86_64-12.0-nightly-20231218-865d980
from a live USB. It plays the clip as expected.
Regression
Never worked.
Log files as attachment
Nothing written to dmesg
when playing this video clip. Attached is the kodi debug log.
kodi.log.txt
Screenshots/video files (if applicable)
Any extra information would be greatly appreciated
I initially reported this as Issue#24269 against kodi, but one of their developers feels that this presents not as a kodi bug, but as a bug with mesa.
Edited by John Audia