Bug 107559 - no color format choice in amdgpu
Summary: no color format choice in amdgpu
Status: NEW
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/AMDgpu (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-13 14:44 UTC by zamundaaalp
Modified: 2019-11-07 06:01 UTC (History)
8 users (show)

See Also:
i915 platform:
i915 features:


Attachments
The xorg log (70.50 KB, text/plain)
2018-08-13 14:44 UTC, zamundaaalp
no flags Details
dmesg with amdgpu.dc=0 (66.77 KB, text/plain)
2018-08-17 09:53 UTC, zamundaaalp
no flags Details
dmesg with amdgpu.dc=1 (66.27 KB, text/plain)
2018-08-17 09:54 UTC, zamundaaalp
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description zamundaaalp 2018-08-13 14:44:23 UTC
Created attachment 141066 [details]
The xorg log

I have a really crappy Philips "HD ready" tv. This tv has no options to change the color format, and it always assumes full rgb. The problem is now that I upgraded my graphics card, and now with the RX 580 I'm using the amdgpu driver. amdgpu chooses YCrCb or limited RGB (but seemingly not reported as supported, so not likely) automatically instead of RGB, and all my colors look really bad. Black levels are grey and everything looks washed out and blurry.
From xorg log:
Information	[     6.523] (II) AMDGPU(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 

If I use an adapter and plug it in via DVI instead of HDMI, it looks fine. That has its compromises though (I now have to connect my 2nd monitor by a VGA to HDMI adapter, and that has its issues). Kernel 4.18 also breaks this work-around; it doesn't recognize any resolutions, and seemingly no EDID at all. HDMI is same as before.
I also tried overriding the EDID and setting YCrCb as not supported, but failed

The solution to all of this hassle would be to have the option "output_csc" available on amdgpu as it's apparently possible with radeon
Comment 1 Michel Dänzer 2018-08-15 08:54:07 UTC
Please attach the corresponding dmesg output.

Does it work better with amdgpu.dc=0?
Comment 2 zamundaaalp 2018-08-17 09:53:38 UTC
Created attachment 141164 [details]
dmesg with amdgpu.dc=0
Comment 3 zamundaaalp 2018-08-17 09:54:03 UTC
Created attachment 141165 [details]
dmesg with amdgpu.dc=1
Comment 4 zamundaaalp 2018-08-17 09:55:12 UTC
With amdgpu.dc=0 it seems to work just fine. I've booted up with my normal setup, switched the cables so I am connected by HDMI directly and I get good colors
Comment 5 Heiko Lechner 2019-04-08 20:27:15 UTC
I have the same problem
Comment 6 x0a.cake 2019-06-22 16:29:23 UTC
Same problem. Disabling DisplayCore gets me crisp and beautiful colors, but at the cost of audio over HDMI. Faded colors with dc=1 has been a longstanding issue for me.
Comment 7 g.graziosi 2019-07-29 13:33:32 UTC
Similar problem over here: everything works fine with amdgpu.dc=0. Without it the colors are way darker.


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.