RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    failed to find mixer elements

    Scheduled Pinned Locked Moved Help and Support
    audio issues
    24 Posts 20 Posters 77.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      CrazyWind
      last edited by

      This thread is reposted in multiple forums and while it led me to a fix it doesn't link to what worked for me.

      I followed mitu's instructions and the error is gone.

      @mitu said in Latest update lvl0: VolumeControl::init() - Failed to find mixer elements!:

      This is caused by the recent change in kernel/firmware for the audio system on the Pi - the names of the cards and devices have changed (see the announcement on the 29th, the Other changes section).

      The volume can be set using alsamixer or the Audio menu in RetroPie (which uses alsamixer), but for EmulationStation the only workaround right now is to edit es_settings.cfg and set AudioDevice to

      • HDMI, if using the HDMI for audio
      • Headphone, if using the analog jack for audio.

      Once I edited /opt/retropie/configs/all/emulationstation/es_settings.cfg
      and set
      <string name="AudioDevice" value="HDMI"
      the error dissapeared.

      Thank you @mitu

      M E P 3 Replies Last reply Reply Quote 5
      • M
        matp @CrazyWind
        last edited by

        @CrazyWind Thank you for this, problem solved.

        1 Reply Last reply Reply Quote 0
        • W
          willinliv
          last edited by

          Thanks for picking up on this. For me I wasn't getting any sounds - almost pulled everything apart fearing I'd damaged the socket on my rpi. In my case I wanted audio via the 3.5mm audio. I found that I could set it in Raspi-config but the Audio setting in emulationstation seemed to be orphaned from the setting. Looking in the es_settings.cfg it mentioned PCM for the string name not headphones, I changed it to headphones and the error no longer is mentioned - however the ELSAMIXER in emulationstation still seems to default to only allowing volume of HDMI, so still not yet idead (have to run ALSAMIXER as standalone)

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @willinliv
            last edited by

            @willinliv said in failed to find mixer elements:

            however the ELSAMIXER in emulationstation still seems to default to only allowing volume of HDMI, so still not yet idead (have to run ALSAMIXER as standalone)

            You probably need an updated EmulationStation for that - as mentioned in https://retropie.org.uk/forum/topic/26628/audio-issues-after-latest-raspbian-updates.

            1 Reply Last reply Reply Quote 0
            • E
              ericitaquera @CrazyWind
              last edited by

              @CrazyWind Thanks!!

              1 Reply Last reply Reply Quote 0
              • H
                Heartman
                last edited by

                I am using an external card on my PI and for me amixer and emulationstation gave errors when using the devicename as reported by aplay, I had to use hw:2, hope it helps someone

                1 Reply Last reply Reply Quote 0
                • P
                  pablonauta @CrazyWind
                  last edited by

                  @crazywind Thank you!

                  1 Reply Last reply Reply Quote 0
                  • A
                    Alex Levi
                    last edited by

                    Only this helped me:
                    add the following line in your config.txt.

                    dtoverlay=pwm-2chan,pin=18,func=2,pin2=13,func2=4

                    D S 2 Replies Last reply Reply Quote 3
                    • D
                      dzungenzo @Alex Levi
                      last edited by

                      @alex-levi this worked for me too, Thanks alot,
                      Pi3A+ Cart - Gpi Case Retropie 4.7.1

                      1 Reply Last reply Reply Quote 0
                      • S
                        smag
                        last edited by smag

                        Just wanted to say thank you for this help. I had the same "failed to find mixer elements" problem with my Retropie on Raspberry Pi 4, with the Picade hardware. The volume was always very loud and could not be changed, but once I made this edit to the es_settings.cfg file, I rebooted and I was finally able to modify the volume in the Emulation Station settings UI.

                        1 Reply Last reply Reply Quote 0
                        • ElethE
                          Eleth
                          last edited by

                          @alex-levi I know this is old but I need to tell you how much I appreciate your post! I am brand new to raspberry pi and didn't know how to do the other recommended changes. However, what you suggested not only eliminated the error constantly popping up, it also fixed the forced maxed-out volume level issue! I just reset and tested, now I can lower the volume and it keeps the value I move the slider to. Thank you so much!

                          1 Reply Last reply Reply Quote 0
                          • M MSP430 referenced this topic on
                          • S
                            sisyfos12 @Alex Levi
                            last edited by

                            @Alex-Levi Thanks a lot! This worked for me too!

                            1 Reply Last reply Reply Quote 0
                            • J jernserval referenced this topic on
                            • M
                              Muscleflex
                              last edited by

                              Hi Levi - where do I enter this?
                              dtoverlay=pwm-2chan,pin=18,func=2,pin2=13,func2=4

                              1 Reply Last reply Reply Quote 0
                              • mituM mitu locked this topic on
                              • S sinother referenced this topic on
                              • First post
                                Last post

                              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.