If I boot my Pi 3b+ with the HDMI cord plugged in then my audio sounds fine. However, if I want to run it headless and I boot the device without the HDMI plug then the audio is very slow and distorted. It still plays (through the headphone jack) but it sounds terrible. Then if I plug in my HDMI cable and reboot it sounds perfect.

How? Why?

  • Where the speakers are connected?
    – Ingo
    Apr 29, 2020 at 10:33
  • The speakers are plugged into the headphone jack.
    – J Allen
    Apr 29, 2020 at 15:09
  • Is there a way to restart the audio service? It's like the playback speed is dramatically reduced - maybe there's a way to set the playback speed?
    – J Allen
    May 4, 2020 at 17:14

1 Answer 1

sudo nano /boot/config.txt

uncomment the "hdmi_force_hotplug=1" line

uncomment the "hdmi_drive=2" line

Save changes to the file (ctrl+o, ctrl+x)

sudo reboot

That did the trick for me.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.