-
Notifications
You must be signed in to change notification settings - Fork 607
Playback issue with Raspberry Pi Stretch 2017-11-29 #427
Comments
I recompiled with the debugs enabled on both Stretch version (2017-09-07 "working" and 2017-11-29 "not working") and compared the logs, but nothing obvious. Here's below the log for "Raspberry Pi reference 2017-11-29" where I said "Alexa, what time is it" and it didn't playback anything Thank you
|
Hi @sdumorti, the MediaPlayer uses a autoaudiosink element in the pipeline for audio playback. Would you be able to run some basic functionality test with the below command and see if you could hear a constant tone? gst-launch-1.0 audiotestsrc ! autoaudiosink Also, I found that #212 contains some very useful suggestions. For example, some users were able to get audio working after installing the gstreamer1.0-alsa package: |
Hi @kclchan, Thanks for your help. For the fix mentioned at #212, I already had gstreamer1.0-alsa installed, so it doesn't fix my issue. As a debug test, I did the following:
I then tried "aplay":
It seems that there's an issue with GStreamer and the latest "Raspbian 2017-11-29" then. |
Hi @sdumorti, maybe look into the .asoundrc configuration as well and check if sound is going through the HDMI instead. |
Hi @kclchan, "Raspbian 2017-11-29": "Raspbian 2017-09-07": There's still something wrong with "Raspbian 2017-11-29" and Gstreamer. |
Hi @sdumorti, Could you confirm that SDK SampleApp works through HDMI? Also, can you compare the .asoundrc files of the two Stretch versions? |
Hi @BennyAvramson, With "Raspbian 2017-11-29": I diffed "/usr/share/alsa/alsa.conf" for both the "Raspbian 2017-09-07" and "Raspbian 2017-11-29" and they are identical. Even with identical ".asoundrc" to override the default sound card, "Raspbian 2017-11-29" always routes the audio out to HDMI with GStreamer. "aplay" behaves as expected though and follows the default sound card. |
Hi @sdumorti, Unfortunately, debugging your ALSA .asoundrc file isn't something that can easily be done through Github issues. We simply can't help debugging .asoundrc issues beyond pointing out common problems that we've seen posted elsewhere. Sorry! You may take a look on Gstreamer docs to understand how to configure the |
Hi @BennyAvramson, The GStreamer issue appears even with a very generic scenario on a standalone Raspberry Pi (no third party sound card attached, no custom .asoundrc). I use "raspi-config" to set the Pi 3.5mm jack as default on two freshly burned official images. "Raspbian 2017-11-29": "Raspbian 2017-09-07": I'll look into the GStreamer docs |
Hey @sdumorti , Starting the audio-test with -m option prints some additional information. |
Hi @sdumorti, Could you check @XPlay1990 suggestion and see if it's working for you? |
Thanks @XPlay1990 for the hint on the "-m" switch. |
Hi @sdumorti, This is great to hear - let us know if you need any further assistance with the SDK. |
I believe I am having the same issue with no audio out from Alexa using the 3.5mm jack. |
Hi @mikejrh |
Briefly summarize your issue:
Raspberry Pi reference 2017-11-29:
I have no audio playback, the Alexa keyword is detected, I ask my question but when it says "Speaking" nothing comes out to the speaker.
Note: I can successfully play a sound using "aplay"
Raspberry Pi reference 2017-09-07:
Same SDK, same hardware, same ALSA config as above but it works fine.
It seems that something related to the MediaPlayer is broken with the latest Raspbian image
What is the expected behavior?
I would expect the same behavior in "Raspberry Pi reference 2017-11-29" as in "Raspberry Pi reference 2017-09-07". Both are Raspbian Stretch
What behavior are you observing?
No audio playback within the Alexa Sample App with "Raspberry Pi reference 2017-11-29"
Provide the steps to reproduce the issue, if applicable:
Follow the instructions provided in this wiki to install the Alexa sample app on a Raspberry Pi
Tell us about your environment:
cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
uname -a
Linux Microsemi-AVS 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux
cat /etc/rpi-issue
Raspberry Pi reference 2017-11-29
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, b71bf3179310aadf9aaf2ffcdf094a88e488dce8, stage5
What version of the AVS Device SDK are you using?
Tell us what hardware you're using:
Tell us about your OS (Type & version):
The text was updated successfully, but these errors were encountered: