[Bug 93226] New: drm_kms_helper.edid / EDID not working as expected
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Dec 3 06:07:58 PST 2015
https://bugs.freedesktop.org/show_bug.cgi?id=93226
Bug ID: 93226
Summary: drm_kms_helper.edid / EDID not working as expected
Product: xorg
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/intel
Assignee: chris at chris-wilson.co.uk
Reporter: alex at znirp.de
QA Contact: intel-gfx-bugs at lists.freedesktop.org
Hi,
first: I hope I've choosen the correct category for my bug.
Actually I'm facing an issue with drm_kms_helper.edid, which is not working
correctly.
OS is Ubuntu LTS 14.04.
What I Did:
###########
To get video and sound I'm using actual kernel 4.4-rc2
###########
sudo mkdir -p /lib/firmware/edid
sudo cp /sys/class/drm/card0-HDMI-A-2/edid /lib/firmware/edid/edid.bin
EDID file is exactly 256 Bytes long.
###########
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=HDMI-A-2:1920x1080 at 60D
drm_kms_helper.edid_firmware=HDMI-A-2:edid/edid.bin"
Afterwards ran update-grub
root at kodi:~# cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-4.4.0-040400rc2-generic root=/dev/mapper/live--vg-root ro
quiet splash video=HDMI-A-2:1920x1080 at 60D
drm_kms_helper.edid_firmware=HDMI-A-2:edid/edid.bin vt.handoff=7
###########
Additionally I used a initramfs hook to integrate EDID within the initramfs
(/etc/initramfs-tools/hooks/include-edid-data):
#!/bin/sh
PREREQ="udev"
prereqs()
{
echo "$PREREQ"
}
case $1 in
prereqs)
prereqs
exit 0
;;
esac
. /usr/share/initramfs-tools/hook-functions
# Begin real processing below this line
if [ ! -e "${DESTDIR}/lib/firmware/edid" ]; then
mkdir -p "${DESTDIR}/lib/firmware/edid"
fi
if [ -r "/lib/firmware/edid/edid.bin" ]; then
cp "/lib/firmware/edid/edid.bin" "${DESTDIR}/lib/firmware/edid/"
fi
manual_add_modules i915 radeon
exit 0
After that, I'd made it executable and ran: update-initramfs -u
###########
So far everything is working like expected. When I reboot I've got picture and
sound.
What's not working is, when my PC turns on (without my TV and my AVR) and I
turn on both (AVR+TV) later (e.g. one hour later), I got no picture and no
sound.
Syslog is telling me:
Dec 3 13:27:14 kodi kernel: [ 3486.786132] [drm:drm_edid_block_valid [drm]]
*ERROR* EDID checksum is invalid, remainder is 15
Dec 3 13:27:14 kodi kernel: [ 3486.786135] Raw EDID:
Dec 3 13:27:14 kodi kernel: [ 3486.786136] 00 ff ff ff ff ff ff 00 11 ee
27 00 01 01 01 01
Dec 3 13:27:14 kodi kernel: [ 3486.786137] 00 15 01 03 80 50 2d 78 0a 0d
c9 a0 57 47 98 27
Dec 3 13:27:14 kodi kernel: [ 3486.786138] 12 48 4c 20 00 00 01 01 01 01
01 01 01 01 01 01
Dec 3 13:27:14 kodi kernel: [ 3486.786139] ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
Dec 3 13:27:14 kodi kernel: [ 3486.786139] ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
Dec 3 13:27:14 kodi kernel: [ 3486.786140] ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
Dec 3 13:27:14 kodi kernel: [ 3486.786141] ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
Dec 3 13:27:14 kodi kernel: [ 3486.786142] ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff
Dec 3 13:27:14 kodi kernel: [ 3486.798655] EDID block is all zeroes
Dec 3 13:27:14 kodi kernel: [ 3486.811157] EDID block is all zeroes
Dec 3 13:27:14 kodi kernel: [ 3486.823662] EDID block is all zeroes
Dec 3 13:27:14 kodi kernel: [ 3486.823667] i915 0000:00:02.0: HDMI-A-2: EDID
block 0 invalid.
Dec 3 13:27:14 kodi kernel: [ 3486.823740] [drm] Got external EDID base block
and 1 extension from "edid/edid.bin" for connector "HDMI-A-2"
Dec 3 13:27:19 kodi kernel: [ 3491.873675] [drm] Got external EDID base block
and 1 extension from "edid/edid.bin" for connector "HDMI-A-2"
Dec 3 13:27:19 kodi kernel: [ 3491.960732] [drm] Got external EDID base block
and 1 extension from "edid/edid.bin" for connector "HDMI-A-2"
Dec 3 13:27:19 kodi kernel: [ 3492.007403] [drm] Got external EDID base block
and 1 extension from "edid/edid.bin" for connector "HDMI-A-2"
Dec 3 13:27:19 kodi kernel: [ 3492.069470] [drm] Got external EDID base block
and 1 extension from "edid/edid.bin" for connector "HDMI-A-2"
If you need further information or explanation, please let me know.
Hoping someone can help me solving this issue.
Thanks in advance.
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20151203/1bbb3353/attachment-0001.html>
More information about the intel-gfx-bugs
mailing list