Bug 112148

Summary: Broken colors on RX 5700 with adjusted brightness
Product: DRI Reporter: Miroslav Lichvar <mlichvar>
Component: DRM/AMDgpuAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: not set    
Priority: not set    
Version: XOrg git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Red gradient
none
Displayed red gradient none

Description Miroslav Lichvar 2019-10-28 11:37:02 UTC
I have an RX 5700 card connected to a monitor which doesn't display dark colors very well. The brightness needs to be adjusted in software. I use the xcalib tool like this:

xcalib -c
xcalib -a -b 10 -co 90

This displays dark colors well, but some images/videos have weird artifacts. After playing with a color picker it looks like colors that have the green component zero are much brighter than they should be. For example, color #750000 is much brighter than #750100. I'll attach some images that show the problem.

When the monitor is connected to a different computer (with a non-AMD GPU) configured with the same xcalib commands, the problem disappears, so it seems to be specific to the hardware/driver.

Please let me know if you need more information.

Installed packages:
kernel-5.3.6-300.fc31.x86_64
xorg-x11-server-Xorg-1.20.5-7.fc31.x86_64
xorg-x11-drv-amdgpu-19.1.0-1.fc31.x86_64
mesa-dri-drivers-19.2.0-1.fc31.x86_64
xcalib-0.8-24.fc31.x86_64
Comment 1 Miroslav Lichvar 2019-10-28 11:38:03 UTC
Created attachment 145833 [details]
Red gradient
Comment 2 Miroslav Lichvar 2019-10-28 11:40:06 UTC
Created attachment 145834 [details]
Displayed red gradient

This is a photo of the monitor displaying the first attached image.
Comment 3 Martin Peres 2019-11-19 09:59:19 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/946.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.