dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 212279] AMDGPU doesn’t expose any way of setting the full RGB range [ryzen+ mobile]
Date: Mon, 15 Mar 2021 21:06:53 +0000	[thread overview]
Message-ID: <bug-212279-2300-GrB7M7JcSp@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-212279-2300@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=212279

--- Comment #3 from Neil (ledufff@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.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

      parent reply	other threads:[~2021-03-15 21:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-14 23:44 [Bug 212279] New: AMDGPU doesn’t expose any way of setting the full RGB range [ryzen+ mobile] bugzilla-daemon
2021-03-15 17:58 ` [Bug 212279] " bugzilla-daemon
2021-03-15 18:25 ` bugzilla-daemon
2021-03-15 21:06 ` bugzilla-daemon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-212279-2300-GrB7M7JcSp@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox