element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Blog Alsa no audio (glitch) issue Pi 4 fix
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
GPIO Pinout
Raspberry Pi Wishlist
Comparison Chart
Quiz
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: gam3t3ch
  • Date Created: 14 Sep 2019 5:50 PM Date Created
  • Views 24778 views
  • Likes 8 likes
  • Comments 38 comments
Related
Recommended
  • raspberry pi 4 audio
  • alsa
  • raspbian alsa glitch
  • raspberry pi 4 audio glitch
  • raspberry pi
  • raspbian audio glitch
  • raspberry pi 4 alsa

Alsa no audio (glitch) issue Pi 4 fix

gam3t3ch
gam3t3ch
14 Sep 2019

image

 

**Small update: [Oct.13.19] Remember to also plug your audio into another speaker system as well.  Today I thought I had this issue again so  I ran the fix and was getting frustrated that it wasn't working.  Turns out that my speakers on my old monitor that I am using finally went and now I have to find a low powered replacement so remember to also try hardware as well to make sure it is working (I could have run my phone into the monitor to test it which I eventually did after to double check it was the issue after resetting the monitor as well.)

 

 

So recently I have been installing a bunch of programs and been finding some have been causing a weird audio issue with my pi 4 but not to fear instead of wiping the pi and starting over I decided to investigate further and see what I could do to get it to work.

 

If your audio should be working but isn't on the pi 4 this might be something to try before you reset it.

 

Now I had it configured properly but still was not getting sound out after installing a few different programs and even had a issue playing with sdr and some games but finally got it working the following way.

 

 

First off your audio setting are probably all set back to where they were working before but still no audio.

 

First thing we will do is run open terminal ctrl + alt + t  (or from your quick launch)

type the following in bold.

sudo apt-get remove pulseaudio

now if it comes back that pulseaudio is not installed you will have to install it with:

sudo apt-get install pulseaudio

sudo reboot

after the reboot you will run the removal up top.

Test in terminal if you have sound now it might not be working quite yet we have one more line to run but you should hear something

when played through terminal.

aplay /usr/share/sounds/alsa/Noise.wav

alright a few more quick steps to complete now pulseaudio should be removed we are going to run the following

sudo apt autoremove

sudo /etc/init.d/alsa-utils reset

you can test again before reboot if you hear sound with the aplay command above.

sudo reboot

Now that the unit is rebooted we will select our analogue or HDMI as our default whichever you were using. for me it was the 3.5mm jack

Now open a web browser and go to youtube.com and play a video you should now have sound.

 

I had tested many different configs for getting the audio to work but this was the method I had to do each time to get my audio back even rasp-config wouldn't play nice with me on this one

So hopefully will help someone and if you have any questions about it or having issues let me know.

If I find any other workaround or fixes for this I will post them up here.

  • Sign in to reply

Top Comments

  • colporteur
    colporteur over 6 years ago +6
    Thanks for sharing your discoveries. I can speculate on the issue but I am not a developer so it is pure speculation. clem57 shared some resources with me when I was researching an issue with setting up…
  • gam3t3ch
    gam3t3ch over 6 years ago in reply to clem57 +5
    Ya I never had the issue with my 3b+ installing the same things but seems to arise more in the pi4 will have to keep my eyes open more to see if I can find out more its a really annoying issue lol been…
  • gam3t3ch
    gam3t3ch over 6 years ago in reply to colporteur +4
    So when I install a program and the volume issue happens I resolve and remove the program and reset before attempting another. On a few tho I have wanted working I have had it so that I run the fix to…
  • colporteur
    colporteur over 6 years ago in reply to gam3t3ch

    Thanks for touching base GW gam3t3ch . After reading LN truthreigns post I thought, man I would like to see this resolved in the Raspberry Pi community. I went back over the notes I posted regarding the framework and thought what can I do to better understand this, again.

     

    As I discovered with Bluetooth and suspect the same instability may exist with audio between lite and full installations. The complete Bluetooth framework is lacking in the lite version but gives you the impression it should work. I'm curious if the same doesn't exist audio. I haven't done checks on the latest O/S so I'm guarded on saying Bluetooth works:)

     

    I suspects the framework drawing I have posted for ALSA is outdated. If you run across any documentation that discuss the implementation of ALSA on the Pi please send me the links. I would like to revisit audio on the Pi to see if I can't get a better understanding.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • gam3t3ch
    gam3t3ch over 6 years ago in reply to colporteur

    I have an update coming soon! lol been a while but since new audio issues have come up I have been learning quite a bit so should have something done up soon.  And I am still getting confirmation that the fix is still working for people as recently as yesterday so at this point it could be something else.

     

    but if you did sudo apt-get remove pulseaudio and there was nothing there and nothing else removed from the auto remove it sound like you didn't install it if I am correct or not let me know truthreigns

     

    also colporteur thanks for keeping an eye on the thread here image   I will also be reaching out to others and finding out to make sure I am not leaving any stone unturned when resolving the audio issues to me it looks like a glitch with the sdl even tho everything configured correctly it still doesn't want to go I have a odd feeling I noticed a really big glitch the other day and had fully working audio and my chromium browser was not wanting to play any video regardless of what site I streamed on I attempted a fix and resolved it.....then the sound issue arouse again.  So this is leading me in a different direction if you see where I am going with it.  But lots more investigation to go and will like I said have something done up soon as this is a new issue that caused it to happen or a issue I noticed that being fixed caused it for certain.  (video and everything worked fine in firefox-esr but not chromium when I originally tested as well)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • colporteur
    colporteur over 6 years ago in reply to truthreigns

    Your post has a few things going for it, that piqued my interest and given me reason to respond.

     

    Your membership is new, so welcome. The fact that WG's gam3t3ch configuration isn't working is unfortunate but how about working with us to see if we can't tweak what we have and resolve your issue.

     

    Are you willing to provide a detailed description of your Raspberry Pi setup and what you are actually trying to do. That means hardware versions, operating systems, memory cards or peripherals and the what you want to accomplish. That resets the bar. If you have read my earlier commentary in this post you can appreciate getting audio to work consistently is a challenge. The ALSA/Pulseaudio framework is not well understood and I think support many liberties that cause users problems.

     

    I saw your post and thought maybe a revisit to audio is not such a bad thing. Element14 was kind enough to provide me a Pi4B4G after my last Roadtest Review, why not re-purpose it. Now that I have newer hardware to dabble, I'm interested in helping investigate if you are willing to invest some time.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • truthreigns
    truthreigns over 6 years ago

    I tried this fix.  When i ran sudo apt auto remove i got that it was going to remove rtkit vers. (0.11-6) ; what is that about on a practically brand new noobs installation?  Any way the fix did not work and i still do not have audio.  Also i had some sound with the
    aplay /usr/share/sounds/alsa/Noise.wav but after running sudo /etc/init.d/alsa-utils reset there was no sound with the wav. test.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • colporteur
    colporteur over 6 years ago in reply to mpdpiguy

    Every time I have an audio issue with a Raspberry Pi it feels like the game of snakes and ladders.  I think I am almost at the end but I land on the second last square to be taken all the way back to the beginning. When I start audio troubleshooting I have to first confirm if what I have learned is still valid or has it changed. If it has changed, why. That usually gets me to a starting point I'm comfortable with to start evaluating the issue. Your troubles with Pi4B don't surprise me. I'm glad I don't require audio at the moment. You figure at some point the issue would be resolve.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
<>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube