Audio issues after latest Raspbian updates (June 2020)
-
@mitu, Hi, I am running my Raspberry Pi 3b+ with an audio jack and I've been having sound problems as mentioned in this post (no audio from games, although I can verify my computer's audio works by running an mp3 file on omxplayer). The errors I've been getting when trying to change my audio settings in emulation station is "lvl0: VolumeControl::init() - Failed to attach to default card". I followed all the steps and configured the audio in the menu as you suggested. But, still hasn't solved anything, unfortunately.
I've been looking through blog posts all day trying to fix this, but it hasn't been working. If you'd like me to make a new post and list my system specs and whatnot, please let me know, and thank you.
-
@amansur Nvm, I gave up and just decided to reboot everything on the pre-installed image. For those that manually installed and are having trouble like I was and nothing seemed to be working, just do that. My recommendation.
-
Error message has gone, ingame audio is back, but my intro video has no audio anymore...
-
@Yobiwan Please open a separate topic and add your system info, as detailed in https://retropie.org.uk/forum/topic/3/read-this-first.
-
When you say "just do that", what is the "that" that you're talking about?
Nothing from the above has fixed audio here, and I'm getting the same error.
Just an FYI, this is a freshly flashed image on an SD card in an RPi 3b.
-
@undrwater Sorry for not being clear. What I mean by "that" is simply downloading the RetroPie software from the pre-made image as opposed to the manual installation. After doing so, I was able to figure it out.
Since you are still getting issues, after the installation, I followed these instructions from this video:
By audio settings currently are: Audio Card (Default), Audio Device (PCM), Enable Navigation Sounds (On) Enable Video Audio (ON), DMX Player Audio Device (Local).
It's worth noting that when I type in "uname -r" I see my version is "4.19.97-v7+" but in my old configuration (before I went with the flashed installation) it was at 4.19.118 or above. So if you followed the instructions in the video AND you have a lower kernel number than 4.19.118, then you should be fine... If your kernel number is at or above 4.19.118 and the post's instructions didn't work, then try downgrading the kernel. In essence, that's what I probably ended up doing when I switched over.
-
@amansur said in Audio issues after latest Raspbian updates:
If your kernel number is at or above 4.19.118 and the post's instructions didn't work, then try downgrading the kernel.
This is not recommended, as mentioned before. The first post has instructions on how to configure your sound if your wish to use the previous configuration style (single audio device) with newer Linux kernel versions.
-
Hello,
I have encountered this problem and now I have no sound on my image . What I think happened in my case is that on boot Retropie updated firmware and kept old kernel modules that do not work with this firmware. I'm not expert here, so maybe I'm talking silly. I presume firmware is only rewritten when new version is found.
I do have backup of my image from time when it worked properly. Is there any way to revert to my old firmware and disabled updates of firmware ?
Thanks.
-
@draxd said in Audio issues after latest Raspbian updates:
What I think happened in my case is that on boot Retropie updated firmware and kept old kernel modules that do not work with this firmware.
If you used
apt
to update your system, then I don't think that's the case. The only method I'm aware that can mix/match kernel and firmware versions is usingrpi-update
and skipping kernel updates.I do have backup of my image from time when it worked properly. Is there any way to revert to my old firmware and disabled updates of firmware ?
The subject of this topic is how to change the settings so your audio works after the latest update, why do you want to downgrade instead of applying these new settings ?
-
Hi, I managed to fix it by updating kernel and fallowing your instructions. Thanks.
I do not know how system updated to latest version of firmware. I pretty much did nothing. My Raspberry pi was offline for
pretty long time (for few months, playing retro games don't really requires internet) and this happened first time I rebooted it after connecting to Internet. -
@mitu i am working on my first project ever, and i just started working on audio today. i have the pi zero w, and i plugged headphones into the display, which is connected to hdmi. i have never had it working and the volume slider keeps resetting to 0%. which fix should i try?
-
@tendiesaregood The Pi zero W doesn't have an analog jack, just the miniHDMI port, so your sound should be configured with HDMI.
-
@mitu This is driving me absolutely batty... I set up the latest version of Retropie (4.6) downloaded directly from the website this morning to install on my 3B+. Upon first boot, I am able to do everything normally, but I have no sound and no matter what option I select from the menu, I get a message saying "failed to find mixer elements". I am using an HDMI monitor with no built-in speakers, so I have a small USB amplifier with a 3.5mm audio jack plugged into the Pi. I have tried everything on this thread and nothing seems to work... adding text to my cmdline.txt file added a few new options to my audio settings (previously it was just HDMI and headphones), but no matter what I select, I still get no sound and the "failed to find mixer elements" message. What am I doing wrong here?
-
@momentarydogma Did you set your Audio output from the RetroPie menu ?
-
@mitu said in Audio issues after latest Raspbian updates:
@tendiesaregood The Pi zero W doesn't have an analog jack, just the miniHDMI port, so your sound should be configured with HDMI.
This brings up an interesting question. If I wanted to use a Pi Zero for a portable music player, what is the best way to get good sound from it other than an HDMI connection? Is there a way to output decent sound to GPIO pins that an audio amp chip can use?
-
@VictimRLSH said in Audio issues after latest Raspbian updates:
Is there a way to output decent sound to GPIO pins that an audio amp chip can use?
Either via GPIO - there's a plethora of Audio DACs that work like that - or with an external audio card connected via USB.
-
@mitu Yes, I have tried every option... at first I had "HDMI", "Headphone", "Sound Mixer" and "Default" none of which worked. When I added the above text to the cmdline.txt file, it expanded to add "Auto" and changed the "Headphone" option to something like "Headphone - 3.5mm". When I select "Sound Mixer" (or whatever it is), it allows me to hit F6 to select my soundcard. Previously, I only had 2-3 options, but now I have six, none of which make any difference.
-
I would also add this-- the amp I'm using is only connected to the Pi via 3.5mm audio. It plugs into power on its own, and it works perfectly when I connect it to other devices via the 3.5mm jack. I'm not trying to output to a USB soundcard or anything-- I just want the audio output to go through the headphone jack on the Pi. I have also tried connecting the Pi to other powered speakers and I have the same issue. What is preventing the Pi from sending an audio signal through the headphone jack? Or is that even the problem?
-
@momentarydogma Don't modify the
cmdline.txt
, it shouldn't be needed and you should remove the lines you added.
If you selected the Analog/Headphone audio option in the Audio settings, then in EmulationStation the settings should be Card: Default and Device: Headphone. -
Okay, I removed the lines I added to the cmdline.txt file and selected the Headphone audio option in the Audio settings, then selected "Default" and "Headphone" in the EmulationStation settings. This actually got rid of the "failed to find mixer elements" message temporarily, but it unfortunately did not end up providing any sound... I tried restarting ES to see if that would help, but then the "mixer elements" message just automatically came back. On a whim, I tried selecting HDMI from the Audio settings and the ES settings (even though I'm using the 3.5mm output), but that just resulted in THREE iterations of the "mixer elements error". There is another setting in the ES audio settings titled "OMX Player Audio Device"-- do you have any idea what I should set that to?
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.