[Bug 212279] AMDGPU doesn’t expose any way of setting the full RGB range [ryzen+ mobile]
bugzilla-daemon at bugzilla.kernel.org
bugzilla-daemon at bugzilla.kernel.org
Mon Mar 15 21:06:53 UTC 2021
https://bugzilla.kernel.org/show_bug.cgi?id=212279
--- Comment #3 from Neil (ledufff at hotmail.com) ---
Created attachment 295875
--> https://bugzilla.kernel.org/attachment.cgi?id=295875&action=edit
edited edid with wxedid
Got it!
I failed at editing the file first because it was a 0 byte file (didn't had my
TV connected lol!)
So. I followed this video https://www.youtube.com/watch?v=tYYMiX7dlak
And basically did the following in my debian sid partition (I will describe it
for anyone interested):
To find my TV edid
$ find /sys/devices/pci*/ -name edid
Grab/copy the desired edid file to my home folder
$ cp
/sys/devices/pci0000:00/0000:00:08.1/0000:05:00.0/drm/card0/card0-HDMI-A-1/edid
~/edid.bin
Then edited that file with wxedid to change the following:
SPF: Supported features = vsig_format to 0b00
CHD: CEA-861 header = YCbCr 4:2:2 to 0
CHD: CEA-861 header = YCbCr 4:4:4 to 0
VSD: Vendor Specific Data Block = DC_Y444 to 0
Then before saving the file I clicked Options > Recalc checksum (otherwise the
system will not use your edited edid!), after that I did saved the file, and
copied that new modified edid file to /lib/firmware/edid/edid.bin
To use the new edid, I added
'drm_kms_helper.edid_firmware=HDMI-A-1:edid/edid.bin' to /etc/default/grub (to
the line GRUB_CMDLINE_LINUX="foo")
updated initramfs with 'sudo update-initramfs -u' and then updated grub as well
with 'sudo update-grub'.
Note: I compiled the latest wxedid from sourceforge, and, 'options > recalc
checksum' option is MISSING at least for me. That's why the process was
failing for me. Luckily for me debian has a wxedid in their repo that has the
recalc checksum option.
Now... bit of work ain't it? I don't know if this happens because of my TV,
I haven't tried with other monitors/televisions. But a bit of improvement in
the matter would be GREAT.
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the dri-devel
mailing list