Bug 93226 - drm_kms_helper.edid / EDID not working as expected
Summary: drm_kms_helper.edid / EDID not working as expected
Status: CLOSED INVALID
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-03 14:07 UTC by Alex P.
Modified: 2017-07-07 18:28 UTC (History)
4 users (show)

See Also:
i915 platform: HSW
i915 features: display/HDMI


Attachments
dmesg output (56.84 KB, text/plain)
2016-03-04 19:43 UTC, Alex P.
no flags Details

Description Alex P. 2015-12-03 14:07:58 UTC
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@60D drm_kms_helper.edid_firmware=HDMI-A-2:edid/edid.bin"

Afterwards ran update-grub

root@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@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.
Comment 1 Alex P. 2016-01-05 14:49:08 UTC
Any updates here?
Do you need further information?
Comment 2 yann 2016-03-04 14:13:49 UTC
Alex, can you share a little bit more details. For instance, can you attached full dmesg? Which system are your using?
thx
Comment 3 Alex P. 2016-03-04 19:43:37 UTC
Created attachment 122112 [details]
dmesg output

This dmesg output is when starting the HTPC, TV and the AVR on almost the same time (one by one by harmony remote activity).
Comment 4 Alex P. 2016-03-04 19:52:18 UTC
I've attached a dmesg output. See also details button from the attachment.
The system I use, is a home-made HTPC with Ubuntu LTS 14.04 and actually the following kernel: 4.4.0-040400rc8-generic

Components:
Mainboard: ASRock B85M-ITX
CPU: Intel i3 4150
RAM: 2x 2GB G.Skill F3-12800CL9-2GBNQ
SSD: Kingston SS200S3
DVB: Digital Devices Cine-S2

TV: Samsung UE46ES5700
AVR: Denon 1912 


My HTPC is running Kodi (XMBC) with TVHeadend as PVR Backend.
When a scheduled timer (PVR) starts, my HTPC is turning on by RTC (only the HTPC).
The problem now is: When I decide to watch TV or a movie (while the timer is still running), I turn on the AVR and the TV.
Now I mostly get no picture and sound. Sometimes I get a picture but no sound.

Hopefully you can follow this description of my problem.
If you need further information, please let me know.
Comment 5 Jani Nikula 2016-12-28 12:50:32 UTC
Is this still an issue with current versions?
Comment 6 Alex P. 2016-12-28 22:57:03 UTC
You may specify included in which kernel/version?
Comment 7 Jani Nikula 2016-12-29 09:09:13 UTC
Kernel v4.9 or v4.10-rc1.
Comment 8 Alex P. 2017-01-06 07:34:39 UTC
Hi,

actually build kernel 4.9 from source with .config from my existing kernel.
Did not make any changes (still picture when turning AVR + TV on (while HTPC is running a while) but no sound!).

Did you need further debug information?
Comment 9 senoladem 2017-01-07 16:33:03 UTC
I can confirm that drm_kms_helper.edid is not working as expected (CPU: Intel(R) Pentium(R) CPU  J2900). 

I run Ubuntu 16.04.1 LTS with the kernel 4.4.0-57-generic x86_64. My edid emulation via drm_kms_helper.edid_firmware is UP AND RUNNING (checked logs, and I see that it is working because of the video behaviour; I redid everything according to fritsch's guide just in case). I need it because I want kodi to have the proper video and audio output before my tv is turned on. For video it worked just fine, but not for the hdmi audio.

The behaviour is as follows: 
When the TV is turned on BEFORE starting the device with kodi, hdmi audio in Kodi is named "HDA Intel PCH, GSM LG TV on HDMI", when the Tv is not on when turning the device on just "HDA Intel PCH, HDMI #0". Audio only works when the TV was on before the device. I figure that the intel audio ignores the edid information I want to force.
Comment 10 senoladem 2017-01-10 17:09:24 UTC
My previous comment was missing dmesg:

With kernel 4.4:

dmesg for non-working sound (booted my device (server/htpc) first, then my tv, as described in my previous post):
senol@masterserver:~$ sudo dmesg | pastebinit
http://paste.ubuntu.com/23759278/

dmesg for working sound (booted my device while the tv is turned on):
senol@masterserver:~$ sudo dmesg | pastebinit
http://paste.ubuntu.com/23759293/


I also installed 4.8.1-040801 for testing. The behaviour is still the same.

dmesg for non-working sound:
senol@masterserver:~$ sudo dmesg | pastebinit
http://paste.ubuntu.com/23760114/

dmesg for working sound:
senol@masterserver:~$ sudo dmesg | pastebinit
http://paste.ubuntu.com/23760097/


I double checked my edid whether it is correct, and it is (audio information present, 256 bytes long). The dmesg shows that I have my edid emulation up and running. This has to be a bug with the sound driver for intel.
Comment 11 Ricardo 2017-02-24 15:25:40 UTC
removing needinfo status, the submitter has added information
Comment 12 Jani Nikula 2017-02-24 15:29:22 UTC
Please try http://patchwork.freedesktop.org/patch/msgid/1487344854-18777-5-git-send-email-jani.nikula@intel.com on top of drm-tip, change drm_kms_helper.edid_firmware to drm.edid_firmware.
Comment 13 Ricardo 2017-02-24 18:22:41 UTC
Changing again to NEEDINFO Jani has propose something to try for the submitter...
Comment 14 Alex P. 2017-03-20 20:40:08 UTC
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@htpc /linux-4.9.12/drivers/gpu/drm] {0}
cat Kconfig | pastebinit
http://paste.ubuntu.com/24217293/

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

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

[root@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@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
Comment 15 Libin Yang 2017-03-30 01:36:17 UTC
Hi,

My understand is that display is OK now and there is no audio?

If so, could you please attach the output of:
amixer contents;
cat /proc/asound/cardn/eld*

Thanks,
Libin
Comment 16 Libin Yang 2017-03-30 01:37:44 UTC
I mean please catch the information when you are playing audio and there is no sound
Comment 17 Alex P. 2017-04-09 09:23:10 UTC
Hi,

> My understand is that display is OK now and there is no audio?

No.
In Ubuntu 14.02 this would be correct, but in 16.02 I've got no picture and no sound.

HTPC running for ~2h20min then turning on TV and AVR (no picture no sound):

[root@kodi:~] {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
[    0.949921] [drm] Initialized
[    0.956878] drm_kms_helper: unknown parameter 'edid_firmware' ignored
[    0.978059] [drm] Memory usable by graphics device = 2048M
[    0.978062] fb: switching to inteldrmfb from VESA VGA
[    0.978135] [drm] Replacing VGA console driver
[    0.984120] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    0.984121] [drm] Driver supports precise vblank timestamp query.
[    0.986803] [drm] forcing HDMI-A-2 connector ON
[    1.005046] [drm] Initialized i915 1.6.0 20160919 for 0000:00:02.0 on minor 0
[    1.007826] fbcon: inteldrmfb (fb0) is primary device
[    1.081874] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device


Nevertheless:

> If so, could you please attach the output of:
> amixer contents;
> cat /proc/asound/cardn/eld*

[root@kodi:~] {0}
amixer contents;
numid=1,iface=CARD,name='HDMI/DP,pcm=3 Jack'
  ; type=BOOLEAN,access=r-------,values=1
  : values=off
numid=7,iface=CARD,name='HDMI/DP,pcm=7 Jack'
  ; type=BOOLEAN,access=r-------,values=1
  : values=off
numid=13,iface=CARD,name='HDMI/DP,pcm=8 Jack'
  ; type=BOOLEAN,access=r-------,values=1
  : values=off
numid=2,iface=MIXER,name='IEC958 Playback Con Mask'
  ; type=IEC958,access=r-------,values=1
  : values=[AES0=0x0f AES1=0xff AES2=0x00 AES3=0x00]
numid=8,iface=MIXER,name='IEC958 Playback Con Mask',index=1
  ; type=IEC958,access=r-------,values=1
  : values=[AES0=0x0f AES1=0xff AES2=0x00 AES3=0x00]
numid=14,iface=MIXER,name='IEC958 Playback Con Mask',index=2
  ; type=IEC958,access=r-------,values=1
  : values=[AES0=0x0f AES1=0xff AES2=0x00 AES3=0x00]
numid=3,iface=MIXER,name='IEC958 Playback Pro Mask'
  ; type=IEC958,access=r-------,values=1
  : values=[AES0=0x0f AES1=0x00 AES2=0x00 AES3=0x00]
numid=9,iface=MIXER,name='IEC958 Playback Pro Mask',index=1
  ; type=IEC958,access=r-------,values=1
  : values=[AES0=0x0f AES1=0x00 AES2=0x00 AES3=0x00]
numid=15,iface=MIXER,name='IEC958 Playback Pro Mask',index=2
  ; type=IEC958,access=r-------,values=1
  : values=[AES0=0x0f AES1=0x00 AES2=0x00 AES3=0x00]
numid=4,iface=MIXER,name='IEC958 Playback Default'
  ; type=IEC958,access=rw------,values=1
  : values=[AES0=0x04 AES1=0x82 AES2=0x00 AES3=0x00]
numid=10,iface=MIXER,name='IEC958 Playback Default',index=1
  ; type=IEC958,access=rw------,values=1
  : values=[AES0=0x04 AES1=0x00 AES2=0x00 AES3=0x00]
numid=16,iface=MIXER,name='IEC958 Playback Default',index=2
  ; type=IEC958,access=rw--l---,values=1
  : values=[AES0=0x04 AES1=0x82 AES2=0x00 AES3=0x02]
numid=5,iface=MIXER,name='IEC958 Playback Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=11,iface=MIXER,name='IEC958 Playback Switch',index=1
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=17,iface=MIXER,name='IEC958 Playback Switch',index=2
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=6,iface=PCM,name='ELD',device=3
  ; type=BYTES,access=r--v----,values=0
  : values=
numid=19,iface=PCM,name='Playback Channel Map',device=3
  ; type=INTEGER,access=rw---R--,values=8,min=0,max=36,step=0
  : values=0,0,0,0,0,0,0,0
  | container
    | chmap-variable=FL,FR

numid=12,iface=PCM,name='ELD',device=7
  ; type=BYTES,access=r--v----,values=0
  : values=
numid=20,iface=PCM,name='Playback Channel Map',device=7
  ; type=INTEGER,access=rw---R--,values=8,min=0,max=36,step=0
  : values=0,0,0,0,0,0,0,0
  | container
    | chmap-variable=FL,FR

numid=18,iface=PCM,name='ELD',device=8
  ; type=BYTES,access=r--v----,values=0
  : values=
numid=21,iface=PCM,name='Playback Channel Map',device=8
  ; type=INTEGER,access=rw---R--,values=8,min=0,max=36,step=0
  : values=3,4,5,6,7,8,0,0
  | container
    | chmap-variable=FL,FR


[root@kodi:~] {1}
cat /proc/asound/card/eld*
card0/ card1/ cards
[root@kodi:~] {1}
cat /proc/asound/card*/eld*
monitor_present         0
eld_valid               0
monitor_present         0
eld_valid               0
monitor_present         0
eld_valid               0

Again with working picture and working sound:

[root@kodi:~] {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.058223] [drm] Initialized
[    1.065289] drm_kms_helper: unknown parameter 'edid_firmware' ignored
[    1.088591] [drm] Memory usable by graphics device = 2048M
[    1.088593] fb: switching to inteldrmfb from VESA VGA
[    1.088671] [drm] Replacing VGA console driver
[    1.093792] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.093793] [drm] Driver supports precise vblank timestamp query.
[    1.097883] [drm] forcing HDMI-A-2 connector ON
[    1.104094] [drm] Initialized i915 1.6.0 20160919 for 0000:00:02.0 on minor 0
[    1.166104] fbcon: inteldrmfb (fb0) is primary device
[    1.213181] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device


[root@kodi:~] {0}
amixer contents;
numid=1,iface=CARD,name='HDMI/DP,pcm=3 Jack'
  ; type=BOOLEAN,access=r-------,values=1
  : values=off
numid=7,iface=CARD,name='HDMI/DP,pcm=7 Jack'
  ; type=BOOLEAN,access=r-------,values=1
  : values=off
numid=13,iface=CARD,name='HDMI/DP,pcm=8 Jack'
  ; type=BOOLEAN,access=r-------,values=1
  : values=on
numid=2,iface=MIXER,name='IEC958 Playback Con Mask'
  ; type=IEC958,access=r-------,values=1
  : values=[AES0=0x0f AES1=0xff AES2=0x00 AES3=0x00]
numid=8,iface=MIXER,name='IEC958 Playback Con Mask',index=1
  ; type=IEC958,access=r-------,values=1
  : values=[AES0=0x0f AES1=0xff AES2=0x00 AES3=0x00]
numid=14,iface=MIXER,name='IEC958 Playback Con Mask',index=2
  ; type=IEC958,access=r-------,values=1
  : values=[AES0=0x0f AES1=0xff AES2=0x00 AES3=0x00]
numid=3,iface=MIXER,name='IEC958 Playback Pro Mask'
  ; type=IEC958,access=r-------,values=1
  : values=[AES0=0x0f AES1=0x00 AES2=0x00 AES3=0x00]
numid=9,iface=MIXER,name='IEC958 Playback Pro Mask',index=1
  ; type=IEC958,access=r-------,values=1
  : values=[AES0=0x0f AES1=0x00 AES2=0x00 AES3=0x00]
numid=15,iface=MIXER,name='IEC958 Playback Pro Mask',index=2
  ; type=IEC958,access=r-------,values=1
  : values=[AES0=0x0f AES1=0x00 AES2=0x00 AES3=0x00]
numid=4,iface=MIXER,name='IEC958 Playback Default'
  ; type=IEC958,access=rw------,values=1
  : values=[AES0=0x04 AES1=0x82 AES2=0x00 AES3=0x00]
numid=10,iface=MIXER,name='IEC958 Playback Default',index=1
  ; type=IEC958,access=rw------,values=1
  : values=[AES0=0x04 AES1=0x00 AES2=0x00 AES3=0x00]
numid=16,iface=MIXER,name='IEC958 Playback Default',index=2
  ; type=IEC958,access=rw--l---,values=1
  : values=[AES0=0x04 AES1=0x82 AES2=0x00 AES3=0x00]
numid=5,iface=MIXER,name='IEC958 Playback Switch'
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=11,iface=MIXER,name='IEC958 Playback Switch',index=1
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=17,iface=MIXER,name='IEC958 Playback Switch',index=2
  ; type=BOOLEAN,access=rw------,values=1
  : values=on
numid=6,iface=PCM,name='ELD',device=3
  ; type=BYTES,access=r--v----,values=0
  : values=
numid=19,iface=PCM,name='Playback Channel Map',device=3
  ; type=INTEGER,access=rw---R--,values=8,min=0,max=36,step=0
  : values=0,0,0,0,0,0,0,0
  | container
    | chmap-variable=FL,FR
    | chmap-variable=FL,FR,LFE
    | chmap-variable=FL,FR,FC
    | chmap-variable=FL,FR,RC
    | chmap-variable=FL,FR,RL,RR
    | chmap-variable=FL,FR,LFE,FC
    | chmap-variable=FL,FR,LFE,RC
    | chmap-variable=FL,FR,FC,RC
    | chmap-variable=FL,FR,LFE,RL,RR
    | chmap-variable=FL,FR,FC,RL,RR
    | chmap-variable=FL,FR,LFE,FC,RC
    | chmap-variable=FL,FR,RL,RR,RC
    | chmap-variable=FL,FR,LFE,FC,RL,RR
    | chmap-variable=FL,FR,LFE,RL,RR,RC
    | chmap-variable=FL,FR,FC,RL,RR,RC
    | chmap-variable=FL,FR,RL,RR,RLC,RRC
    | chmap-variable=FL,FR,LFE,FC,RL,RR,RC
    | chmap-variable=FL,FR,LFE,RL,RR,RLC,RRC
    | chmap-variable=FL,FR,FC,RL,RR,RLC,RRC
    | chmap-variable=FL,FR,LFE,FC,RL,RR,RLC,RRC

numid=12,iface=PCM,name='ELD',device=7
  ; type=BYTES,access=r--v----,values=0
  : values=
numid=20,iface=PCM,name='Playback Channel Map',device=7
  ; type=INTEGER,access=rw---R--,values=8,min=0,max=36,step=0
  : values=0,0,0,0,0,0,0,0
  | container
    | chmap-variable=FL,FR
    | chmap-variable=FL,FR,LFE
    | chmap-variable=FL,FR,FC
    | chmap-variable=FL,FR,RC
    | chmap-variable=FL,FR,RL,RR
    | chmap-variable=FL,FR,LFE,FC
    | chmap-variable=FL,FR,LFE,RC
    | chmap-variable=FL,FR,FC,RC
    | chmap-variable=FL,FR,LFE,RL,RR
    | chmap-variable=FL,FR,FC,RL,RR
    | chmap-variable=FL,FR,LFE,FC,RC
    | chmap-variable=FL,FR,RL,RR,RC
    | chmap-variable=FL,FR,LFE,FC,RL,RR
    | chmap-variable=FL,FR,LFE,RL,RR,RC
    | chmap-variable=FL,FR,FC,RL,RR,RC
    | chmap-variable=FL,FR,RL,RR,RLC,RRC
    | chmap-variable=FL,FR,LFE,FC,RL,RR,RC
    | chmap-variable=FL,FR,LFE,RL,RR,RLC,RRC
    | chmap-variable=FL,FR,FC,RL,RR,RLC,RRC
    | chmap-variable=FL,FR,LFE,FC,RL,RR,RLC,RRC

numid=18,iface=PCM,name='ELD',device=8
  ; type=BYTES,access=r--v----,values=52
  : values=0x10,0x00,0x0c,0x00,0x6b,0x62,0x00,0x5f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x11,0xee,0x27,0x00,0x44,0x45,0x4e,0x4f,0x4e,0x2d,0x41,0x56,0x41,0x4d,0x50,0x0f,0x7f,0x07,0x3d,0x1e,0xc0,0x15,0x07,0x50,0x5f,0x7e,0x01,0x57,0x06,0x00,0x67,0x7e,0x00,0x00,0x00,0x00
numid=21,iface=PCM,name='Playback Channel Map',device=8
  ; type=INTEGER,access=rw---R--,values=8,min=0,max=36,step=0
  : values=3,4,0,0,0,0,0,0
  | container
    | chmap-variable=FL,FR
    | chmap-variable=FL,FR,LFE
    | chmap-variable=FL,FR,FC
    | chmap-variable=FL,FR,RC
    | chmap-variable=FL,FR,RL,RR
    | chmap-variable=FL,FR,LFE,FC
    | chmap-variable=FL,FR,LFE,RC
    | chmap-variable=FL,FR,FC,RC
    | chmap-variable=FL,FR,LFE,RL,RR
    | chmap-variable=FL,FR,FC,RL,RR
    | chmap-variable=FL,FR,LFE,FC,RC
    | chmap-variable=FL,FR,RL,RR,RC
    | chmap-variable=FL,FR,LFE,FC,RL,RR
    | chmap-variable=FL,FR,LFE,RL,RR,RC
    | chmap-variable=FL,FR,FC,RL,RR,RC
    | chmap-variable=FL,FR,RL,RR,RLC,RRC
    | chmap-variable=FL,FR,LFE,FC,RL,RR,RC
    | chmap-variable=FL,FR,LFE,RL,RR,RLC,RRC
    | chmap-variable=FL,FR,FC,RL,RR,RLC,RRC
    | chmap-variable=FL,FR,LFE,FC,RL,RR,RLC,RRC


[root@kodi:~] {0}
cat /proc/asound/card*/eld*
monitor_present         0
eld_valid               0
monitor_present         0
eld_valid               0
monitor_present         1
eld_valid               1
monitor_name            DENON-AVAMP
connection_type         HDMI
eld_version             [0x2] CEA-861D or below
edid_version            [0x3] CEA-861-B, C or D
manufacture_id          0xee11
product_id              0x27
port_id                 0x0
support_hdcp            0
support_ai              1
audio_sync_delay        0
speakers                [0x5f] FL/FR LFE FC RL/RR RC RLC/RRC
sad_count               6
sad0_coding_type        [0x1] LPCM
sad0_channels           8
sad0_rates              [0x1ee0] 32000 44100 48000 88200 96000 176400 192000
sad0_bits               [0xe0000] 16 20 24
sad1_coding_type        [0x7] DTS
sad1_channels           6
sad1_rates              [0x6c0] 44100 48000 88200 96000
sad1_max_bitrate        1536000
sad2_coding_type        [0x2] AC-3
sad2_channels           6
sad2_rates              [0xe0] 32000 44100 48000
sad2_max_bitrate        640000
sad3_coding_type        [0xb] DTS-HD
sad3_channels           8
sad3_rates              [0x1ec0] 44100 48000 88200 96000 176400 192000
sad4_coding_type        [0xa] E-AC-3/DD+ (Dolby Digital Plus)
sad4_channels           8
sad4_rates              [0xc0] 44100 48000
sad5_coding_type        [0xc] MLP (Dolby TrueHD)
sad5_channels           8
sad5_rates              [0x1ec0] 44100 48000 88200 96000 176400 192000
[root@kodi:~] {0}
Comment 18 Jari Tahvanainen 2017-04-26 15:29:24 UTC
Alex P. - please provide dmesg having drm debug messages as instructed in https://01.org/linuxgraphics/documentation/how-report-bugs.
Comment 19 Ricardo 2017-07-07 18:27:58 UTC
Closing bug as invalid due to inactivity, please if the problem appears again with latest configuration please open a new bug


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.