# No sound on raspberry pi bookworm

**URL:** <https://discourse.mopidy.com/t/no-sound-on-raspberry-pi-bookworm/5934>\
**Category:** Misc\
**Created:** [April 17, 2024, 8:10am UTC](https://discourse.mopidy.com/t/no-sound-on-raspberry-pi-bookworm/5934 "2024-04-17T08:10:20Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![dan\_attwood](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/dan_attwood/32/2495_2.png) [@dan\_attwood](https://discourse.mopidy.com/u/dan_attwood)\
**Post date:** [April 17, 2024, 8:10am UTC](https://discourse.mopidy.com/t/no-sound-on-raspberry-pi-bookworm/5934/1 "2024-04-17T08:10:20Z")

</div>

Hi all

I have installed the lasest version of Pi OS onto a Raspberry Pi 4. I wont Mopidy to output via the headphone jack.

I have tried to folllow the instructions at:

[https://docs.mopidy.com/stable/installation/raspberrypi/](https://docs.mopidy.com/stable/installation/raspberrypi/)

The test

`aplay /usr/share/sounds/alsa/Front_Center.wav`

is correctly playing sound out of the headphone jack into the speaker.

However Mopidy it’s self outputs no sound. I think this is possbly becuase Rpi OS not uses pipewire be default and not alsa.

Is there a newer of the instrustions available with the solution to this please?

---

<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, 2024, 5:13pm UTC](https://discourse.mopidy.com/t/no-sound-on-raspberry-pi-bookworm/5934/2 "2024-04-17T17:13:18Z")

</div>

> [@dan\_attwood](#):
>
> becuase Rpi OS not uses pipewire be default and not alsa.

I think you were meaning to say that Rpi OS uses pipewire by default. And for anyone curious, their bookworm lite image still uses ALSA.

Got a pipewire setup, try [Add documentation for running as a user service · Issue #1974 · mopidy/mopidy · GitHub](https://github.com/mopidy/mopidy/issues/1974#issuecomment-815357274)

---

<div class="post-metadata">

**Author:** ![dan\_attwood](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/dan_attwood/32/2495_2.png) [@dan\_attwood](https://discourse.mopidy.com/u/dan_attwood)\
**Post date:** [April 18, 2024, 8:59am UTC](https://discourse.mopidy.com/t/no-sound-on-raspberry-pi-bookworm/5934/3 "2024-04-18T08:59:12Z")

</div>

Hi

I’ve just tried this and no dice.

---

<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 18, 2024, 4:27pm UTC](https://discourse.mopidy.com/t/no-sound-on-raspberry-pi-bookworm/5934/4 "2024-04-18T16:27:00Z")

</div>

And you have pipewire-pulse installed?

---

<div class="post-metadata">

**Author:** ![dan\_attwood](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/dan_attwood/32/2495_2.png) [@dan\_attwood](https://discourse.mopidy.com/u/dan_attwood)\
**Post date:** [April 19, 2024, 7:13am UTC](https://discourse.mopidy.com/t/no-sound-on-raspberry-pi-bookworm/5934/5 "2024-04-19T07:13:05Z")

</div>

I do indeed.

`pipewire-pulse is already the newest version (0.3.65-3+rpt6+deb12u1).`

---

<div class="post-metadata">

**Author:** ![mej](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/mej/32/2505_2.png) [@mej](https://discourse.mopidy.com/u/mej)\
**Post date:** [June 6, 2024, 3:44am UTC](https://discourse.mopidy.com/t/no-sound-on-raspberry-pi-bookworm/5934/6 "2024-06-06T03:44:40Z")

</div>

Just ran into this issue. The problem is that the install script modifies /boot/config.txt, but in bookworm, the file that needs to be modified is /boot/firmware/config.txt.  
You can fix this by modifying the install script before running it:

> <https://github.com/pimoroni/pirate-audio/blob/master/mopidy/install.sh#L72>

just change the path to the config.txt file. Also, @kingosticks or any other maintainer, I put up a PR to fix this.

---

<div class="post-metadata">

**Author:** ![bennypr0fane](https://avatars.discourse-cdn.com/v4/letter/b/3e96dc/32.png) [@bennypr0fane](https://discourse.mopidy.com/u/bennypr0fane)\
**Post date:** [November 18, 2024, 1:16am UTC](https://discourse.mopidy.com/t/no-sound-on-raspberry-pi-bookworm/5934/7 "2024-11-18T01:16:42Z")

</div>

I have the same problem in the same config.

> [@mej](#):
>
> You can fix this by modifying the install script before running it:

@mej , is there a way to fix it after I have already installed Mopidy? Will it work if I manually edit `/boot/firmware/config.txt` ?

EDIT: I added the following to the bottom of `/boot/firmware/config.txt`, under `[all]`

```auto
gpio=25=op,dh
dtoverlay=hifiberry-dac

```

and rebooted the Pi, but I still get no sound. I’m not using a DAC though btw, the sound comes out of the 3,5 mm jack.

EDIT2: This is my config file (running as a service):

```auto
~ $ sudo cat /etc/mopidy/mopidy.conf
[http]
hostname = 0.0.0.0

[audio]
output = audioresample ! audioconvert ! audio/x-raw,rate=48000,channels=2,format=S16LE ! wavenc ! filesink location=/tmp/snapfifo

[spotify]
client_id = 6ebafebe-fd6a-4bec-9010-a50b22bb5b28
client_secret = <REDACTED>

[local]
media_dir = /home/ben/Music
enabled = true

```

---

<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:** [November 18, 2024, 9:12am UTC](https://discourse.mopidy.com/t/no-sound-on-raspberry-pi-bookworm/5934/8 "2024-11-18T09:12:45Z")

</div>

I doubt the proposal by @mej will help you, it’s very specifically for the pirate audio board which isn’t what was being discussed here. 🤷‍♂️

Your config seems to contain settings for using Snapcast which is something else entirely again! We cannot mix 3 different problems/solutions in the same thread, please start a new thread and spell out exactly what you want, what you’ve got, and what you’re using.

---

<div class="post-metadata">

**Author:** ![bennypr0fane](https://avatars.discourse-cdn.com/v4/letter/b/3e96dc/32.png) [@bennypr0fane](https://discourse.mopidy.com/u/bennypr0fane)\
**Post date:** [November 18, 2024, 1:58pm UTC](https://discourse.mopidy.com/t/no-sound-on-raspberry-pi-bookworm/5934/9 "2024-11-18T13:58:10Z")

</div>

Ok, will do, thanks.

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/system/32/1_2.png) [@system](https://discourse.mopidy.com/u/system)\
**Post date:** [May 20, 2025, 1:58am UTC](https://discourse.mopidy.com/t/no-sound-on-raspberry-pi-bookworm/5934/10 "2025-05-20T01:58:36Z")

</div>

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
