Audio clicking/popping during playback over HDMI
Description
Environment
Attachments
- 01 Apr 2019, 08:19 PM
Web links
Activity
Pierre Marzin April 24, 2019 at 3:07 PM
Hi Edi,
I could not find "the patch" that made it work on master. The gap is too big now.
Actually the issue is present only on Flounder and Guppy. Not on master (as your tests suite https://lf-automotivelinux.atlassian.net/browse/SPEC-2224#icft=SPEC-2224 can demonstrate it). That's means that the issue will be fixed into the next Happy Halibut release.
So, what I propose is to discuss if we still need to fix the issue now or let it as "won't fix" until the HH release.
What do you think about ?
CC: @Sebastien Douheret, @Thierry Bultel
Pierre Marzin April 9, 2019 at 3:47 PM
Hi Edi,
just to let you know that I finally reproduced sound issues' on Minnowboard with Guppy 7.0.1.
As the problem is not on master, I will try to understand what we need to solve this on Guppy. And then I will let you know if I found something interesting.
Regards. Pierre.
Edi Feschiyan April 4, 2019 at 6:51 PM
I am happy to see this resolved in master, however I have opened this ticket some time ago - I suspect that there are significant changes in master since.
Executing the line you wrote above and renaming the smixer json left me without audio.
The issue persists in latest guppy 7.0.1, clean build from today, changed different usb sticks - KingstonDT100G3, SanDisk Extreme USB 3.0 32GB and some generic Transcend, and is also observed during bluetooth audio streaming.
I have uploaded the image here, the links will be valid for two weeks from now on:
https://transfer.sh/oy201/agl-demo-platform-intel-corei7-64-20190404113519.rootfs.wic.xz
Here is the manifest from this specific build:
https://transfer.sh/12PQvp/captured-manifest.xml
Pierre Marzin April 3, 2019 at 4:22 PM
Dear Edi,
I tried to reproduce issues you mentioned on Minnowboard without success.
I used the configuration as bellow :
* AGL master (2019/04/03 nightly build https://download.automotivelinux.org/AGL/snapshots/master/latest/intel-corei7-64/deploy/images/intel-corei7-64/)
* Minnowboard (firmware MNW2MAX1.X64.0100.R01.1811141644)
* Iiyama HDMI Monitor with jack 3.5mm headset and touchscreen
* USB stick Kingston DT50 32Gb
The only thing I did after the first boot is to change the 4a softmixer config to avirt mode by doing this :
mv /usr/libexec/agl/smixer/etc/smixer-4a-default.json /usr/libexec/agl/smixer/etc/smixer-4a-default.json.old && sync && reboot
Then, after the reboot, I plug the USB stick and I read the OGG sample you attached from the USB stick and from file system too... The sound was always good. No pop, crack or something else...
Did you try to read the OGG file from a different mass storage support and/or the filesystem ?
(Tips : To play audio from filesystem paste your OGG file within the "/home/0/Music" folder).
Edi Feschiyan April 2, 2019 at 7:19 AM
@Sebastien Douheret, yes, from now on - most certainly.
When using the audio jack from a monitor connected via HDMI, the playback starts to crack, pop or skip frames with either the media player or 4a-play.
If the audio is playing fine, seek through the audio file a few times or play the next and the artifacts should appear.
The audio artifacts are not observed when playing the same file with 4a-play and selecting local USB soundcard(Logilink UA0053) connected to a USB hub(D-Link DUB-H7) or using local audio jack like on M3ULCB. 4a-play does not expose controls for seeking.
Affected boards:
Minnowboard Turbot B
Upsquared 2
Tested with:
Monitor Samsung PX2370
GeChic On-Lap 1502i touchscreen