[Bug 93226] drm_kms_helper.edid / EDID not working as expected

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 20 20:40:08 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=93226

Alex P. <alex at znirp.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |REOPENED

--- Comment #14 from Alex P. <alex at znirp.de> ---
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 https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.9.12.tar.xz
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 at htpc /linux-4.9.12/drivers/gpu/drm] {0}
cat Kconfig | pastebinit
http://paste.ubuntu.com/24217293/

[root at htpc /linux-4.9.12/drivers/gpu/drm] {0}
cat Makefile | pastebinit
http://paste.ubuntu.com/24217299/

[root at htpc /linux-4.9.12/drivers/gpu/drm] {0}
cat drm_edid.c | pastebinit
http://paste.ubuntu.com/24217302/

[root at htpc /linux-4.9.12/drivers/gpu/drm] {0}
cat drm_probe_helper.c | pastebinit
http://paste.ubuntu.com/24217306/

.. After installing the kernel, I did the following:

[root at 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 at 60D
drm_kms_helper.edid_firmware=HDMI-A-2:edid/edid.bin"

[root at htpc /linux-4.9.12/drivers/gpu/drm] {0}
mkdir -p /lib/firmware/edid
[root at htpc /linux-4.9.12/drivers/gpu/drm] {0}
get-edid > /lib/firmware/edid/edid.bin

[root at 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 at 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 at htpc /linux-4.9.12/drivers/gpu/drm] {0}
updater-grub

Still not working..

[root at 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 at 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 at 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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20170320/8a0a9212/attachment.html>


More information about the intel-gfx-bugs mailing list