Re: Intel builtin graphics, wsfb, gop - uses EDID?

RVP <[email protected]> Fri, 18 Aug 2023 08:24:39 +0000 (UTC)
Newsgroups gmane.os.netbsd.ports.x86-64
Message-ID <[email protected]>
On Fri, 18 Aug 2023, RVP wrote:

> try: wsconsctl -dw edid > edid.bin on 10.x
>

That's just `wsconsctl -d edid': it's a RO variable and the value is plain
text. For 9.x, you can use:

drvctl -np intelfb0 |
     xmllint --xpath '/plist/dict/data[1]' - |
     sed -Ee 's/<[^>]+>//g' |
     base64 -d |
     edid-decode

xmllint is from libxml2 which almost always gets installed.
edid-decode is wip/edid-decode.

-RVP