| Summary: | not audio- play (wav) with HDMI, 2.4 | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BSPs | Reporter: | oscar lopez arandas <oscarx.lopez.arandas> | ||||||||||
| Component: | bsps-tools | Assignee: | Anuj Mittal <anuj.mittal> | ||||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||||
| Severity: | normal | ||||||||||||
| Priority: | Medium | CC: | jair.de.jesus.gonzalez.plascencia, pravin.shankarx.patil, randy.macleod | ||||||||||
| Version: | 2.4 | ||||||||||||
| Target Milestone: | 4.99 | ||||||||||||
| Hardware: | NUC | ||||||||||||
| OS: | x86_64 | ||||||||||||
| Whiteboard: | |||||||||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||||||||
| Verified: | Documentation change: | Don't know | |||||||||||
| Attachments: |
|
||||||||||||
|
Description
oscar lopez arandas
2017-10-04 20:34:33 UTC
I was able to reproduce the initial issue on hardware available to me. Interestingly, audio works with headphones, and once the headphones are unplugged, HDMI audio begins working as well, so I think its most likely a configuration issue. Can you try reproducing the above? (In reply to comment #1) > I was able to reproduce the initial issue on hardware available to me. > > Interestingly, audio works with headphones, and once the headphones are > unplugged, HDMI audio begins working as well, so I think its most likely a > configuration issue. > > Can you try reproducing the above? similarly perform different tests with the headphones testing directly on nuc and then via HDMI and it does not work, probe downloading the image again, relay tests on another nuc of the same model and switch HDMI cables, change monitor and can not get audio in any attempt. try running this from a terminal: pacmd set-card-profile 0 output:hdmi-stereo gst-play-1.0 /path/to/your/wav/file (In reply to comment #3) > try running this from a terminal: > > pacmd set-card-profile 0 output:hdmi-stereo > gst-play-1.0 /path/to/your/wav/file if the wav file is played but still without audio, I uploaded the whole volume using the arrows above, attached process log. Created attachment 4057 [details]
gst-play
(In reply to comment #4) > (In reply to comment #3) > > try running this from a terminal: > > > > pacmd set-card-profile 0 output:hdmi-stereo > > gst-play-1.0 /path/to/your/wav/file > > if the wav file is played but still without audio, I uploaded the whole > volume using the arrows above, attached process log. the audio is only present in the output of the NUC via HDMI there is no audio I'm thinking this is a kernel issue, as we have found the following: NUC6, intel-corei7-64: works (with some configuration) NUC6, genericx86-64: does not work NUC7, intel-corei7-64: works (with some configuration) NUC7, genericx86-64: works (with some configuration) intel-corei7-64 is currently using the linux-intel-4.9 kernel, whereas genericx86-64 is using the linux-yocto-4.12 kernel. I may try pyro genericx86-64 next. With pyro genericx86-64 (linux-yocto-4.10), hdmi audio works with no additional configuration. With master genericx86-64, and PREFERRED_VERSION_linux-yocto = "4.10%", hdmi audio works with the additional configuration above. There definitely appears to be a new kernel issue with the 4.12 kernel. his is the type of karnel version, sh-4.4# uname -r 4.12.12-yocto-standard in the automatic test of generixc86-64-nuc and wic, this present this in central error ----------------------- Central error: [ 1.457891] snd_hda_codec_hdmi: probe of hdaudioC0D2 failed with error -16 *********************** full-log in attachment Created attachment 4068 [details]
full_log
does not play the audio in wav format, ogg through the HDMI monitor, in 2.4_M4_rc2, there is only the audio of wav and ogg formats in direct of the nuc output does not play the audio in wav or ogg format, through the HDMI monitor, in 2.4_M4_rc3, there is only the audio of wav and ogg formats in direct of the nuc output BUILD: 2.4 M4: rc3-65d23bd7986615fdfb0f1717b615534a2a14ab80 ENVIRONMENT: Genericx86-64_NUC NUC 6i5SYH images: https://autobuilder.yocto.io/pub/releases/yocto-2.4.rc3/machines/genericx86-64/core-image-sato-sdk-genericx86-64.hddimg STEPS TO REPRODUCE: 1. copy sample wav or ogg file to system 2. connect system with a monitor with HDMI 3. launch media player and play the wav or oggfile EXPECTED OUTCOME: wav or ogg file can be played without problem, with HDMI ACTUAL OUTCOME: the audio is not present with played wav or ogg file in HDMI Created attachment 4094 [details]
2.4_M4_rc3_genericx86-64_NUC.log
BUILD: 2.4 M4: rc3-65d23bd7986615fdfb0f1717b615534a2a14ab80 ENVIRONMENT: genericx86-64_NUC NUC Model: NUC6i5SYH IMAGES: core-image-sato-sdk.wic, core-image-sato-sdk.hddimg The "snd_hda_codec_hdmi" parselog errors continue appearing in 2.4 RC3 on automatic BSP testing for genericx86-64 images in NUC (in both, wic and hddimg formats). For more reference, I have attached the log file with more details about the execution using the hddimg version. This is an example of the errors that appear: *********************** Central error: [ 1.453224] snd_hda_codec_hdmi: probe of hdaudioC0D2 failed with error -16 *********************** [ 1.448566] snd_hda_intel 0000:00:1f.3: Consider building the kernel with CONFIG_SND_DYNAMIC_MINORS=y [ 1.449571] snd_hda_intel 0000:00:1f.3: control 3:0:0:ELD:0 is already present [ 1.449609] snd_hda_codec_hdmi: probe of hdaudioC0D2 failed with error -16 [ 1.452014] snd_hda_intel 0000:00:1f.3: Too many HDMI devices [ 1.452015] snd_hda_intel 0000:00:1f.3: Consider building the kernel with CONFIG_SND_DYNAMIC_MINORS=y [ 1.452015] snd_hda_intel 0000:00:1f.3: Too many HDMI devices [ 1.452016] snd_hda_intel 0000:00:1f.3: Consider building the kernel with CONFIG_SND_DYNAMIC_MINORS=y [ 1.452017] snd_hda_intel 0000:00:1f.3: Too many HDMI devices [ 1.452017] snd_hda_intel 0000:00:1f.3: Consider building the kernel with CONFIG_SND_DYNAMIC_MINORS=y [ 1.453193] snd_hda_intel 0000:00:1f.3: control 3:0:0:ELD:0 is already present [ 1.453224] snd_hda_codec_hdmi: probe of hdaudioC0D2 failed with error -16 [ 1.453793] snd_hda_codec_generic hdaudioC0D2: ignore pin 0x7, too many assigned pins [ 1.453795] snd_hda_codec_generic hdaudioC0D2: autoconfig for Generic: line_outs=0 (0x0/0x0/0x0/0x0/0x0) type:line [ 1.453796] snd_hda_codec_generic hdaudioC0D2: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 1.453796] snd_hda_codec_generic hdaudioC0D2: hp_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 1.453797] snd_hda_codec_generic hdaudioC0D2: mono: mono_out=0x0 [ 1.453798] snd_hda_codec_generic hdaudioC0D2: dig-out=0x5/0x6 [ 1.453799] snd_hda_codec_generic hdaudioC0D2: inputs: [ 1.455463] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input4 [ 1.455526] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1f.3/sound/card0/input5 [ 1.455598] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input6 in yocto release 2.6 M2 rc1 this bug is resolved. |