<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:alex@znirp.de" title="Alex P. <alex@znirp.de>"> <span class="fn">Alex P.</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - drm_kms_helper.edid / EDID not working as expected"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93226">bug 93226</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEEDINFO
</td>
<td>REOPENED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - drm_kms_helper.edid / EDID not working as expected"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93226#c14">Comment # 14</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - drm_kms_helper.edid / EDID not working as expected"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93226">bug 93226</a>
from <span class="vcard"><a class="email" href="mailto:alex@znirp.de" title="Alex P. <alex@znirp.de>"> <span class="fn">Alex P.</span></a>
</span></b>
<pre>While waiting for bugfix, I had to upgrade to Ubuntu 16.04 LTS (due some
problems, just FYI).
So, what I've did so far.
1. build kernel from source
wget <a href="https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.9.12.tar.xz">https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.9.12.tar.xz</a>
cd linux-4.9.12/
cp -v /boot/config-$(uname -r) .config
make menuconfig # just saving without any changes
make-kpkg clean
fakeroot make-kpkg --initrd --revision=4.9.12.Alex.DRM.Patch kernel_image
kernel_headers -j4
dpkg -i linux-headers-4.9.12_4.9.12.Alex.DRM.Patch_amd64.deb
dpkg -i linux-headers-4.9.12_4.9.12.Alex.DRM.Patch_amd64.deb
This is what my changed configs look like:
[ root@htpc /linux-4.9.12/drivers/gpu/drm] {0}
cat Kconfig | pastebinit
<a href="http://paste.ubuntu.com/24217293/">http://paste.ubuntu.com/24217293/</a>
[root@htpc /linux-4.9.12/drivers/gpu/drm] {0}
cat Makefile | pastebinit
<a href="http://paste.ubuntu.com/24217299/">http://paste.ubuntu.com/24217299/</a>
[root@htpc /linux-4.9.12/drivers/gpu/drm] {0}
cat drm_edid.c | pastebinit
<a href="http://paste.ubuntu.com/24217302/">http://paste.ubuntu.com/24217302/</a>
[root@htpc /linux-4.9.12/drivers/gpu/drm] {0}
cat drm_probe_helper.c | pastebinit
<a href="http://paste.ubuntu.com/24217306/">http://paste.ubuntu.com/24217306/</a>
.. After installing the kernel, I did the following:
[root@htpc /linux-4.9.12/drivers/gpu/drm] {0}
cat /etc/default/grub|grep ^GRUB_CMDLINE_LINUX_DEFAULT
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=HDMI-A-2:1920x1080@60D
drm_kms_helper.edid_firmware=HDMI-A-2:edid/edid.bin"
[root@htpc /linux-4.9.12/drivers/gpu/drm] {0}
mkdir -p /lib/firmware/edid
[root@htpc /linux-4.9.12/drivers/gpu/drm] {0}
get-edid > /lib/firmware/edid/edid.bin
[root@htpc /linux-4.9.12/drivers/gpu/drm] {0}
ls -lh /lib/firmware/edid/edid.bin
-rw-r--r-- 1 root root 256 Mär 2 21:07 /lib/firmware/edid/edid.bin
[root@htpc /linux-4.9.12/drivers/gpu/drm] {0}
parse-edid < /lib/firmware/edid/edid.bin | head -10
Checksum Correct
Section "Monitor"
Identifier "DENON-AVAMP"
ModelName "DENON-AVAMP"
VendorName "DON"
# Monitor Manufactured week 0 of 2011
# EDID version 1.3
# Digital Display
DisplaySize 1020 570
Gamma 2.20
Option "DPMS" "false"
and finally:
[root@htpc /linux-4.9.12/drivers/gpu/drm] {0}
updater-grub
Still not working..
[root@htpc /linux-4.9.12/drivers/gpu/drm] {0}
dmesg|grep -i drm
[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-4.9.12
root=/dev/mapper/vg0-root ro net.ifnames=0 biosdevname=0 libahci.ignore_sss=1
quiet splash video=HDMI-A-2:1920x1080@60D
drm_kms_helper.edid_firmware=HDMI-A-2:edid/edid.bin vt.handoff=7
[ 0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-4.9.12
root=/dev/mapper/vg0-root ro net.ifnames=0 biosdevname=0 libahci.ignore_sss=1
quiet splash video=HDMI-A-2:1920x1080@60D
drm_kms_helper.edid_firmware=HDMI-A-2:edid/edid.bin vt.handoff=7
[ 1.050069] [drm] Initialized
[ 1.057089] drm_kms_helper: unknown parameter 'edid_firmware' ignored
[ 1.080535] [drm] Memory usable by graphics device = 2048M
[ 1.080538] fb: switching to inteldrmfb from VESA VGA
[ 1.080633] [drm] Replacing VGA console driver
[ 1.086479] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.086480] [drm] Driver supports precise vblank timestamp query.
[ 1.089333] [drm] forcing HDMI-A-2 connector ON
[ 1.134747] [drm] Initialized i915 1.6.0 20160919 for 0000:00:02.0 on minor
0
[ 1.163019] fbcon: inteldrmfb (fb0) is primary device
[ 1.203902] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>