# No Analog Audio when HDMI is connected

**URL:** <https://discourse.mopidy.com/t/no-analog-audio-when-hdmi-is-connected/2256>\
**Category:** Misc\
**Created:** [January 31, 2018, 4:50pm UTC](https://discourse.mopidy.com/t/no-analog-audio-when-hdmi-is-connected/2256 "2018-01-31T16:50:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mizzoudavis](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/mizzoudavis/32/839_2.png) [@mizzoudavis](https://discourse.mopidy.com/u/mizzoudavis)\
**Post date:** [January 31, 2018, 4:50pm UTC](https://discourse.mopidy.com/t/no-analog-audio-when-hdmi-is-connected/2256/1 "2018-01-31T16:50:04Z")

</div>

I’m using a RPi and running mopidy locally (not as a service). I’ve got an HDMI cable connected for video output, but I’ve selected analog as the main output for my pi and have confirmed that I can hear audio fine on a youtube video, just not when playing music through mopidy.

Here’s my config file:

```
[core]
#cache_dir = $XDG_CACHE_DIR/mopidy
#config_dir = $XDG_CONFIG_DIR/mopidy
#data_dir = $XDG_DATA_DIR/mopidy
#max_tracklist_length = 10000
#restore_state = false

[audio]
mixer = software
mixer_volume = 100
output = autoaudiosink
#buffer_time = 

[softwaremixer]
#enabled = true

[spotify]
enabled = true
username = xxxx
password = xxxx
client_id = xxx
client_secret = xxx
```

---

<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:** [February 1, 2018, 11:01am UTC](https://discourse.mopidy.com/t/no-analog-audio-when-hdmi-is-connected/2256/2 "2018-02-01T11:01:56Z")

</div>

And what about [https://docs.mopidy.com/en/latest/installation/raspberrypi/#testing-sound-output](https://docs.mopidy.com/en/latest/installation/raspberrypi/#testing-sound-output) ?

Any errors in the log?

---

<div class="post-metadata">

**Author:** ![mizzoudavis](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/mizzoudavis/32/839_2.png) [@mizzoudavis](https://discourse.mopidy.com/u/mizzoudavis)\
**Post date:** [February 3, 2018, 4:15pm UTC](https://discourse.mopidy.com/t/no-analog-audio-when-hdmi-is-connected/2256/3 "2018-02-03T16:15:37Z")

</div>

Yes, that works fine. I hear ‘Front Center’

Here’s my log when I fire up Mopidy:

```
INFO Starting Mopidy 2.1.0
INFO Loading config from builtin defaults
INFO Loading config from /home/pi/.config/mopidy/mopidy.conf
INFO Loading config from command line options
INFO Enabled extensions: spotify, mpd, http, moped, stream, m3u, softwaremixer, file, api_explorer, local
INFO Disabled extensions: none
INFO Starting Mopidy mixer: SoftwareMixer
INFO Mixer volume set to 100
INFO Starting Mopidy audio
INFO Starting Mopidy backends: StreamBackend, M3UBackend, FileBackend, LocalBackend, SpotifyBackend
INFO Audio output set to "autoaudiosink"
INFO No local library metadata cache found at /home/pi/.local/share/mopidy/local/library.json.gz. Please run `mopidy local scan` to index your local music library. If you do not have a local music collection, you can disable the local backend to hide this message.
INFO Loaded 0 local tracks using json
INFO Starting Mopidy core
INFO Logged in to Spotify in offline mode
INFO Logged in to Spotify in online mode
INFO Starting Mopidy frontends: MpdFrontend, HttpFrontend
INFO MPD server running at [::ffff:127.0.0.1]:6600
INFO Starting GLib mainloop
INFO HTTP server running at [::ffff:127.0.0.1]:6680
```

---

<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:** [February 3, 2018, 7:18pm UTC](https://discourse.mopidy.com/t/no-analog-audio-when-hdmi-is-connected/2256/4 "2018-02-03T19:18:18Z")

</div>

Did you actually try and play a track during that log?

---

<div class="post-metadata">

**Author:** ![mizzoudavis](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/mizzoudavis/32/839_2.png) [@mizzoudavis](https://discourse.mopidy.com/u/mizzoudavis)\
**Post date:** [February 4, 2018, 2:28am UTC](https://discourse.mopidy.com/t/no-analog-audio-when-hdmi-is-connected/2256/5 "2018-02-04T02:28:43Z")

</div>

Yes. I’m using Moped, which loads just fine and populates my spotify account info as expected. In fact, it shows the track progress bar as expected as well. just no sound.

---

<div class="post-metadata">

**Author:** ![Felix7747](https://avatars.discourse-cdn.com/v4/letter/f/74df32/32.png) [@Felix7747](https://discourse.mopidy.com/u/Felix7747)\
**Post date:** [February 24, 2018, 5:39am UTC](https://discourse.mopidy.com/t/no-analog-audio-when-hdmi-is-connected/2256/6 "2018-02-24T05:39:42Z")

</div>

Hey, I’m new to this but I had the same problem and found that installing gstreamer1.0-pulseaudio got me one step closer.

> sudo apt-get install gstreamer1.0-pulseaudio

hope this helps

---

<div class="post-metadata">

**Author:** ![mizzoudavis](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/mizzoudavis/32/839_2.png) [@mizzoudavis](https://discourse.mopidy.com/u/mizzoudavis)\
**Post date:** [February 26, 2018, 1:59am UTC](https://discourse.mopidy.com/t/no-analog-audio-when-hdmi-is-connected/2256/7 "2018-02-26T01:59:11Z")

</div>

Turns out I switch the audio to Alsa and it worked fine…

---

<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:** [February 26, 2018, 10:04am UTC](https://discourse.mopidy.com/t/no-analog-audio-when-hdmi-is-connected/2256/8 "2018-02-26T10:04:51Z")

</div>

I don’t understand, in your first post you said you had already done that.

Edit:  
Apologies, no you didn’t, my mistake. But I’m still a bit confused, doesn’t the pi always use alsa? Is this stretch or jessie?
