# No Sound coming from Mopidy on Raspberry Pi (NOT on MusicBox)

**URL:** <https://discourse.mopidy.com/t/no-sound-coming-from-mopidy-on-raspberry-pi-not-on-musicbox/1585>\
**Category:** Misc\
**Created:** [April 15, 2017, 9:58pm UTC](https://discourse.mopidy.com/t/no-sound-coming-from-mopidy-on-raspberry-pi-not-on-musicbox/1585 "2017-04-15T21:58:30Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![coppyhop](https://avatars.discourse-cdn.com/v4/letter/c/c2a13f/32.png) [@coppyhop](https://discourse.mopidy.com/u/coppyhop)\
**Post date:** [April 15, 2017, 9:58pm UTC](https://discourse.mopidy.com/t/no-sound-coming-from-mopidy-on-raspberry-pi-not-on-musicbox/1585/1 "2017-04-15T21:58:30Z")

</div>

Hey all, been pulling my hair out on this issue I’ve been having. I’ve got it all setup, can go into a web client and queue stuff from soundcloud, but there’s no sound.

gst-launch-1.0 audiotestsrc ! autoaudiosink  
and  
aplay /usr/share/sounds/alsa/Front\_Center.wav

both produce sound, but when queuing anything local or online there’s nothing. I am using analog output, gstreamer1.0-alsa is installed, and here is my config

[core]  
cache\_dir = /var/cache/mopidy  
config\_dir = /etc/mopidy  
data\_dir = /var/lib/mopidy  
max\_tracklist\_length = 10000  
restore\_state = false

[logging]  
color = true  
console\_format = %(levelname)-8s %(message)s  
debug\_format = %(levelname)-8s %(asctime)s [%(process)d:%(threadName)s] %(name)s\n %(message)s  
debug\_file = /var/log/mopidy/mopidy-debug.log  
config\_file = /etc/mopidy/logging.conf

[audio]  
mixer = alsamixer  
mixer\_volume = 100  
output = alsasink  
buffer\_time =

[proxy]  
scheme = http  
hostname = kyles-pi  
port = 6680  
username =  
password =

[musicbox\_webclient]  
enabled = true  
musicbox = false  
websocket\_host =  
websocket\_port =  
on\_track\_click = PLAY\_ALL

[material-webclient]  
enabled = true  
config\_file = /etc/mopidy/mopidy.conf

[alsamixer]  
enabled = true  
card = 0  
control = PCM

[soundcloud]  
enabled = true  
explore\_songs = 25  
auth\_token = \*\*\*\*\*\*\*\*

[mpd]  
enabled = true  
hostname = 127.0.0.1  
port = 6600  
password =  
max\_connections = 20  
connection\_timeout = 60  
zeroconf = Mopidy MPD server on $hostname  
command\_blacklist =  
listall  
listallinfo  
default\_playlist\_scheme = m3u

[http]  
enabled = true  
hostname = 0.0.0.0  
port = 6680  
static\_dir =  
zeroconf = Mopidy HTTP server on $hostname

[stream]  
enabled = true  
protocols =  
http  
https  
mms  
rtmp  
rtmps  
rtsp  
metadata\_blacklist =  
timeout = 5000

[m3u]  
enabled = true  
base\_dir =  
default\_encoding = latin-1  
default\_extension = .m3u8  
playlists\_dir = /var/lib/mopidy/playlists

[softwaremixer]  
enabled = false ; Extension disabled by user config.

[file]  
enabled = true  
media\_dirs =  
$XDG\_MUSIC\_DIR|Music  
~/|Home  
excluded\_file\_extensions =  
.jpg  
.jpeg  
show\_dotfiles = false  
follow\_symlinks = false  
metadata\_timeout = 1000

[local]  
enabled = false ; Extension disabled by user config.

I have tried multiple webclients, autoaudiosink, alsasink, software mixer, alsamixer, all sorts of combinations, nothing seems to be producing any sound. aplay -l output just in case:

\*\*\*\* List of PLAYBACK Hardware Devices \*\*\*\*  
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]  
Subdevices: 8/8  
Subdevice #0: subdevice #0  
Subdevice #1: subdevice #1  
Subdevice #2: subdevice #2  
Subdevice #3: subdevice #3  
Subdevice #4: subdevice #4  
Subdevice #5: subdevice #5  
Subdevice #6: subdevice #6  
Subdevice #7: subdevice #7  
card 0: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]  
Subdevices: 1/1  
Subdevice #0: subdevice #0

Quick edit: the log shows

2017-04-15 21:49:51,095 ERROR [2749:MainThread] mopidy.audio.gst: GStreamer error: gst-resource-error-quark: Method Not Allowed (5)

every time I queue a song

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [April 15, 2017, 10:35pm UTC](https://discourse.mopidy.com/t/no-sound-coming-from-mopidy-on-raspberry-pi-not-on-musicbox/1585/2 "2017-04-15T22:35:07Z")

</div>

Never seen this one. Have you installed pulseaudio here also? Did you install mopidy from apt or pip?

---

<div class="post-metadata">

**Author:** ![coppyhop](https://avatars.discourse-cdn.com/v4/letter/c/c2a13f/32.png) [@coppyhop](https://discourse.mopidy.com/u/coppyhop)\
**Post date:** [April 15, 2017, 10:39pm UTC](https://discourse.mopidy.com/t/no-sound-coming-from-mopidy-on-raspberry-pi-not-on-musicbox/1585/3 "2017-04-15T22:39:56Z")

</div>

Mopidy installed from apt, all extensions besides mopidy-pulseaudio installed from pip. I used to have pulseaudio installed, but I uninstalled it using  
sudo apt-get remove pulseaudio

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [April 17, 2017, 9:05pm UTC](https://discourse.mopidy.com/t/no-sound-coming-from-mopidy-on-raspberry-pi-not-on-musicbox/1585/4 "2017-04-17T21:05:16Z")

</div>

Are you running mopidy as a service as as your user? Is the `mopidy` user in the `audio` group? The error message does sound like some sort of pulseaudio thing and the fact that it used to be installed is a bit suspicious.

---

<div class="post-metadata">

**Author:** ![coppyhop](https://avatars.discourse-cdn.com/v4/letter/c/c2a13f/32.png) [@coppyhop](https://discourse.mopidy.com/u/coppyhop)\
**Post date:** [April 22, 2017, 6:24am UTC](https://discourse.mopidy.com/t/no-sound-coming-from-mopidy-on-raspberry-pi-not-on-musicbox/1585/5 "2017-04-22T06:24:58Z")

</div>

Sorry about the late response, it is running as a service using systemd.

---

<div class="post-metadata">

**Author:** ![voodoomatz](https://avatars.discourse-cdn.com/v4/letter/v/ba9def/32.png) [@voodoomatz](https://discourse.mopidy.com/u/voodoomatz)\
**Post date:** [May 15, 2017, 10:09am UTC](https://discourse.mopidy.com/t/no-sound-coming-from-mopidy-on-raspberry-pi-not-on-musicbox/1585/6 "2017-05-15T10:09:40Z")

</div>

Exactly the same issue here.  
Raspberry Pi 3 Model B  
Raspbian distro (not Pi MusicBox)  
Mopidy 2.1.0; installed from APT source, running as a service

gst-launch-1.0 audiotestsrc ! autoaudiosink WORKS  
aplay /usr/share/sounds/alsa/Front\_Center.wav WORKS

Still no audio from Mopidy.

---

<div class="post-metadata">

**Author:** ![voodoomatz](https://avatars.discourse-cdn.com/v4/letter/v/ba9def/32.png) [@voodoomatz](https://discourse.mopidy.com/u/voodoomatz)\
**Post date:** [May 15, 2017, 10:26am UTC](https://discourse.mopidy.com/t/no-sound-coming-from-mopidy-on-raspberry-pi-not-on-musicbox/1585/7 "2017-05-15T10:26:14Z")

</div>

…some additional info:

mopidy.conf

> [mpd]  
> enabled = true  
> hostname = 0.0.0.0  
> port = 6600  
> password =  
> max\_connections = 20  
> connection\_timeout = 60  
> zeroconf = Mopidy MPD server on $hostname

> [http]  
> enabled = true  
> hostname = 0.0.0.0  
> port = 6680  
> static\_dir =  
> zeroconf = Mopidy HTTP server on $hostname

> [core]  
> cache\_dir = /var/cache/mopidy  
> config\_dir = /etc/mopidy  
> data\_dir = /var/lib/mopidy

> [audio]  
> mixer = alsamixer  
> mixer\_volume = 100  
> output = alsasink  
> buffer\_time = 10

> [logging]  
> config\_file = /etc/mopidy/logging.conf  
> debug\_file = /var/log/mopidy/mopidy-debug.log

> [local]  
> enabled = true  
> library = json  
> media\_dir = /home/pi/Music  
> scan\_timeout = 1000  
> scan\_flush\_threshold = 100  
> scan\_follow\_symlinks = false  
> excluded\_file\_extensions =  
> .directory  
> .html  
> .jpeg  
> .jpg  
> .log  
> .nfo  
> .png  
> .txt  
> .gz

> [m3u]  
> playlists\_dir = /var/lib/mopidy/playlists

> [musicbox\_webclient]  
> enabled = true  
> musicbox = false  
> websocket\_host =  
> websocket\_port =  
> on\_track\_click = PLAY\_ALL

> [alsamixer]  
> card = 0  
> control = PCM  
> min\_volume = 0  
> max\_volume = 100  
> volume\_scale = cubic

Log file on boot

> ```
> 2017-05-15 12:24:51,262 INFO [26095:MainThread] mopidy. __main__ : Starting Mopidy 2.1.0
> 2017-05-15 12:24:51,376 INFO [26095:MainThread] mopidy.config: Loading config from builtin defaults
> 2017-05-15 12:24:51,394 INFO [26095:MainThread] mopidy.config: Loading config from /etc/mopidy/mopidy.conf
> 2017-05-15 12:24:51,405 INFO [26095:MainThread] mopidy.config: Loading config from command line options
> 2017-05-15 12:24:51,586 INFO [26095:MainThread] mopidy. __main__ : Enabled extensions: mpd, alsamixer, http, moped, stream, m3u, musicbox_webclient, softwaremixer, file, local-images, local, tunein
> 2017-05-15 12:24:51,588 INFO [26095:MainThread] mopidy. __main__ : Disabled extensions: none
> 2017-05-15 12:24:52,066 INFO [26095:MainThread] mopidy.commands: Starting Mopidy mixer: AlsaMixer
> 2017-05-15 12:24:52,414 INFO [26095:MainThread] mopidy_alsamixer.mixer: Mixing using ALSA, card 0, mixer control "PCM".
> 2017-05-15 12:24:52,427 INFO [26095:MainThread] mopidy.commands: Mixer volume set to 100
> 2017-05-15 12:24:52,435 INFO [26095:MainThread] mopidy.commands: Starting Mopidy audio
> 2017-05-15 12:24:52,445 INFO [26095:MainThread] mopidy.commands: Starting Mopidy backends: StreamBackend, M3UBackend, FileBackend, LocalBackend, TuneInBackend
> 2017-05-15 12:24:52,499 INFO [26095:Audio-3] mopidy.audio.actor: Audio output set to "alsasink"
> 2017-05-15 12:24:52,548 INFO [26095:MainThread] mopidy.local.library: Loaded 1 local tracks using json
> 2017-05-15 12:24:52,588 INFO [26095:MainThread] mopidy.commands: Starting Mopidy core
> 2017-05-15 12:24:52,673 INFO [26095:MainThread] mopidy.commands: Starting Mopidy frontends: MpdFrontend, HttpFrontend
> 2017-05-15 12:24:52,680 INFO [26095:MainThread] mopidy.mpd.actor: MPD server running at [::ffff:0.0.0.0]:6600
> 2017-05-15 12:24:52,691 INFO [26095:HttpFrontend-12] mopidy.http.actor: HTTP server running at [::ffff:0.0.0.0]:6680
> 2017-05-15 12:24:52,692 INFO [26095:MainThread] mopidy.commands: Starting GLib mainloop
> 
> ```

Log when I play a song

> 2017-05-15 12:25:30,328 WARNING [26095:MainThread] mopidy.audio.gst: GStreamer warning: gst-stream-error-quark: No volume control found (3)

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [May 15, 2017, 11:47am UTC](https://discourse.mopidy.com/t/no-sound-coming-from-mopidy-on-raspberry-pi-not-on-musicbox/1585/8 "2017-05-15T11:47:24Z")

</div>

> [@coppyhop](#):
>
> 2017-04-15 21:49:51,095 ERROR [2749:MainThread] mopidy.audio.gst: GStreamer error: gst-resource-error-quark: Method Not Allowed (5)

and [quote=“voodoomatz, post:7, topic:1585”]  
2017-05-15 12:25:30,328 WARNING [26095:MainThread] mopidy.audio.gst: GStreamer warning: gst-stream-error-quark: No volume control found (3)  
[/quote]

Are not the same error. I suggest you remove your alsamixer settings and try to get the software mixer working first.

---

<div class="post-metadata">

**Author:** ![voodoomatz](https://avatars.discourse-cdn.com/v4/letter/v/ba9def/32.png) [@voodoomatz](https://discourse.mopidy.com/u/voodoomatz)\
**Post date:** [May 15, 2017, 12:16pm UTC](https://discourse.mopidy.com/t/no-sound-coming-from-mopidy-on-raspberry-pi-not-on-musicbox/1585/9 "2017-05-15T12:16:20Z")

</div>

Thanks for the quick response!

I have change to software mixer and the issue and log file is exactly the same.

Regarding

> 2017-05-15 12:25:30,328 WARNING [26095:MainThread] mopidy.audio.gst: GStreamer warning: gst-stream-error-quark: No volume control found (3)

…[another post](https://discourse.mopidy.com/t/gstreamer-warning-gst-stream-error-quark-no-volume-control-found/1375) suggests this is no prob.

So the question is: Where is the problem then?

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [May 15, 2017, 12:47pm UTC](https://discourse.mopidy.com/t/no-sound-coming-from-mopidy-on-raspberry-pi-not-on-musicbox/1585/10 "2017-05-15T12:47:07Z")

</div>

Why have you set this?

> [@voodoomatz](#):
>
> [audio]  
> …  
> buffer\_time = 10

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [May 15, 2017, 12:51pm UTC](https://discourse.mopidy.com/t/no-sound-coming-from-mopidy-on-raspberry-pi-not-on-musicbox/1585/11 "2017-05-15T12:51:08Z")

</div>

In general, it’s a really good idea to only set configuration values where you want a setting that is different from the default. This will make your configuration much smaller and simpler. It’ll also make upgrading to future versions easier.

---

<div class="post-metadata">

**Author:** ![voodoomatz](https://avatars.discourse-cdn.com/v4/letter/v/ba9def/32.png) [@voodoomatz](https://discourse.mopidy.com/u/voodoomatz)\
**Post date:** [May 15, 2017, 12:59pm UTC](https://discourse.mopidy.com/t/no-sound-coming-from-mopidy-on-raspberry-pi-not-on-musicbox/1585/12 "2017-05-15T12:59:22Z")

</div>

> Why have you set this?

> > voodoomatz:  
> > [audio]  
> > …  
> > buffer\_time = 10

Just trying to find a solution.

---

<div class="post-metadata">

**Author:** ![Patrick\_Joseph](https://avatars.discourse-cdn.com/v4/letter/p/b9e5f3/32.png) [@Patrick\_Joseph](https://discourse.mopidy.com/u/Patrick_Joseph)\
**Post date:** [September 7, 2018, 4:32pm UTC](https://discourse.mopidy.com/t/no-sound-coming-from-mopidy-on-raspberry-pi-not-on-musicbox/1585/13 "2018-09-07T16:32:47Z")

</div>

HI  
I know this thread is old but a solution was never posted.  
Was is solved for either of you?

Thanks

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [September 7, 2018, 5:18pm UTC](https://discourse.mopidy.com/t/no-sound-coming-from-mopidy-on-raspberry-pi-not-on-musicbox/1585/14 "2018-09-07T17:18:30Z")

</div>

Did you follow the instructions at [https://docs.mopidy.com/en/latest/installation/raspberrypi/#how-to-for-raspbian](https://docs.mopidy.com/en/latest/installation/raspberrypi/#how-to-for-raspbian)?  
I redid that document not that long ago and it was all working.

---

<div class="post-metadata">

**Author:** ![Patrick\_Joseph](https://avatars.discourse-cdn.com/v4/letter/p/b9e5f3/32.png) [@Patrick\_Joseph](https://discourse.mopidy.com/u/Patrick_Joseph)\
**Post date:** [September 7, 2018, 6:05pm UTC](https://discourse.mopidy.com/t/no-sound-coming-from-mopidy-on-raspberry-pi-not-on-musicbox/1585/15 "2018-09-07T18:05:59Z")

</div>

HI  
Yes I spent a lot of time in that Doc (my new “Bible”)

I am using the analog output and can hear sound during the Center.Wav audio test but not through Mopidy.

I have not played with the sound options yet and will try switching the output to “alsasink” as above.

Regards,

Pj

I

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [September 7, 2018, 6:25pm UTC](https://discourse.mopidy.com/t/no-sound-coming-from-mopidy-on-raspberry-pi-not-on-musicbox/1585/16 "2018-09-07T18:25:27Z")

</div>

And are you running raspbian lite or the full desktop?

---

<div class="post-metadata">

**Author:** ![Patrick\_Joseph](https://avatars.discourse-cdn.com/v4/letter/p/b9e5f3/32.png) [@Patrick\_Joseph](https://discourse.mopidy.com/u/Patrick_Joseph)\
**Post date:** [September 7, 2018, 8:13pm UTC](https://discourse.mopidy.com/t/no-sound-coming-from-mopidy-on-raspberry-pi-not-on-musicbox/1585/17 "2018-09-07T20:13:35Z")

</div>

I am using the full desktop version.

---

<div class="post-metadata">

**Author:** ![Patrick\_Joseph](https://avatars.discourse-cdn.com/v4/letter/p/b9e5f3/32.png) [@Patrick\_Joseph](https://discourse.mopidy.com/u/Patrick_Joseph)\
**Post date:** [September 8, 2018, 2:32am UTC](https://discourse.mopidy.com/t/no-sound-coming-from-mopidy-on-raspberry-pi-not-on-musicbox/1585/18 "2018-09-08T02:32:38Z")

</div>

Hey just to let you know I go the audio working with :  
[audio]  
mixer = none  
#mixer\_volume =  
output = alsasink  
#buffer\_time =

Thanks for the Help, I will now attempt to setup streaming 🙂

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [September 8, 2018, 7:48am UTC](https://discourse.mopidy.com/t/no-sound-coming-from-mopidy-on-raspberry-pi-not-on-musicbox/1585/19 "2018-09-08T07:48:09Z")

</div>

Thanks for the update. Sounds like a I actually need to try the desktop image myself and see what’s going wrong.

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [September 8, 2018, 7:53am UTC](https://discourse.mopidy.com/t/no-sound-coming-from-mopidy-on-raspberry-pi-not-on-musicbox/1585/20 "2018-09-08T07:53:34Z")

</div>

OK looks like on more recent versions of Raspbian Desktop, autoaudiosink defaults to use omxhdmi instead of alsasink. [https://github.com/alexa/avs-device-sdk/issues/427](https://github.com/alexa/avs-device-sdk/issues/427)

I will update our install documentation.
