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

    volume mixer error

    Scheduled Pinned Locked Moved Help and Support
    help fast
    21 Posts 5 Posters 5.8k 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.
    • H
      hughp @mitu
      last edited by

      @mitu raspberry pi 4 retropie 4.8 used raspberry pi installer speakers use headphonejack

      1 Reply Last reply Reply Quote 0
      • A
        Arrafart
        last edited by

        Hi, I have the same issue.
        Plus, I have this error while loading each game.

        Orange Pi zero 2w 4gb, Dietpi OS.

        Oct 23 19:58:42 lvl0: VolumeControl::init() - Failed to find mixer elements!

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

          @Arrafart said in volume mixer error:

          Hi, I have the same issue.

          Post the settings for audio that you have in EmulationStation (Card and Device). What version of DietPi ? Are you using PulseAudio/PipeWire for audio ? Is the audio working when you start a game/emulator ?

          Please run the following commands and post the output:

          amixer
          aplay -l
          aplay -L
          
          A 1 Reply Last reply Reply Quote 0
          • A
            Arrafart @mitu
            last edited by Arrafart

            @mitu Hi Mitu, thank you for the response!

            I am running Dietpi OS v9.8.0 Armv8 Debian GNU/Linux 12 Bookworm
            Device model : Orange Pi Zero 2W (aarch64)

            Pulseaudio is installed, I've read elsewhere that it should connect to Alsa.?

            I do have sound through HDMI output, no matter what settings in ES.
            ES, Retroarch and Mupen64plus are fully functional, apart from the error.

            Extra info, proper hardware/software setup for the sound on Orange Pi Zero 2w might be incomplete. If so, and this is an OS issue, i'll move back to the Dietpi forum :)

            Hope this will already help identifying the issue:

            dietpi@DietPi:~$ amixer
            Simple mixer control 'Master',0
            Capabilities: pvolume pswitch pswitch-joined
            Playback channels: Front Left - Front Right
            Limits: Playback 0 - 65536
            Mono:
            Front Left: Playback 26213 [40%] [on]
            Front Right: Playback 26213 [40%] [on]
            Simple mixer control 'Capture',0
            Capabilities: cvolume cswitch cswitch-joined
            Capture channels: Front Left - Front Right
            Limits: Capture 0 - 65536
            Front Left: Capture 65536 [100%] [on]
            Front Right: Capture 65536 [100%] [on]
            dietpi@DietPi:~$ aplay -l
            **** List of PLAYBACK Hardware Devices ****
            card 0: audiocodec [audiocodec], device 0: CDC PCM Codec-0 [CDC PCM Codec-0]
            Subdevices: 1/1
            Subdevice #0: subdevice #0
            card 1: ahubi2s0 [ahubi2s0], device 0: ahub_plat-snd-soc-dummy-dai snd-soc-dummy-dai-0 [ahub_plat-snd-soc-dummy-dai snd-soc-dummy-dai-0]
            Subdevices: 1/1
            Subdevice #0: subdevice #0
            card 2: HDMI [HDMI], device 0: ahub_plat-i2s-hifi i2s-hifi-0 [ahub_plat-i2s-hifi i2s-hifi-0]
            Subdevices: 1/1
            Subdevice #0: subdevice #0
            dietpi@DietPi:~$ aplay -L
            null
            Discard all samples (playback) or generate zero samples (capture)
            lavrate
            Rate Converter Plugin Using Libav/FFmpeg Library
            samplerate
            Rate Converter Plugin Using Samplerate Library
            speexrate
            Rate Converter Plugin Using Speex Resampler
            jack
            JACK Audio Connection Kit
            oss
            Open Sound System
            pulse
            PulseAudio Sound Server
            speex
            Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
            upmix
            Plugin for channel upmix (4,6,8)
            vdownmix
            Plugin for channel downmix (stereo) with a simple spacialization
            default
            Playback/recording through the PulseAudio sound server
            hw:CARD=audiocodec,DEV=0
            audiocodec, CDC PCM Codec-0
            Direct hardware device without any conversions
            plughw:CARD=audiocodec,DEV=0
            audiocodec, CDC PCM Codec-0
            Hardware device with all software conversions
            sysdefault:CARD=audiocodec
            audiocodec, CDC PCM Codec-0
            Default Audio Device
            dmix:CARD=audiocodec,DEV=0
            audiocodec, CDC PCM Codec-0
            Direct sample mixing device
            usbstream:CARD=audiocodec
            audiocodec
            USB Stream Output
            hw:CARD=ahubi2s0,DEV=0
            ahubi2s0, ahub_plat-snd-soc-dummy-dai snd-soc-dummy-dai-0
            Direct hardware device without any conversions
            plughw:CARD=ahubi2s0,DEV=0
            ahubi2s0, ahub_plat-snd-soc-dummy-dai snd-soc-dummy-dai-0
            Hardware device with all software conversions
            sysdefault:CARD=ahubi2s0
            ahubi2s0, ahub_plat-snd-soc-dummy-dai snd-soc-dummy-dai-0
            Default Audio Device
            dmix:CARD=ahubi2s0,DEV=0
            ahubi2s0, ahub_plat-snd-soc-dummy-dai snd-soc-dummy-dai-0
            Direct sample mixing device
            usbstream:CARD=ahubi2s0
            ahubi2s0
            USB Stream Output
            hw:CARD=HDMI,DEV=0
            HDMI, ahub_plat-i2s-hifi i2s-hifi-0
            Direct hardware device without any conversions
            plughw:CARD=HDMI,DEV=0
            HDMI, ahub_plat-i2s-hifi i2s-hifi-0
            Hardware device with all software conversions
            sysdefault:CARD=HDMI
            HDMI, ahub_plat-i2s-hifi i2s-hifi-0
            Default Audio Device
            dmix:CARD=HDMI,DEV=0
            HDMI, ahub_plat-i2s-hifi i2s-hifi-0
            Direct sample mixing device
            usbstream:CARD=HDMI
            HDMI
            USB Stream Output

            mituM 1 Reply Last reply Reply Quote 0
            • A
              Arrafart
              last edited by

              I was trying every setting yesterday and gave up. I gave up when it was set to: Default/Master

              I logged in to double check and... No more error.

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

                @Arrafart said in volume mixer error:

                dietpi@DietPi:~$ amixer
                > Simple mixer control 'Master',0
                Capabilities: pvolume pswitch pswitch-joined
                Playback channels: Front Left - Front Right
                Limits: Playback 0 - 65536
                Mono:
                Front Left: Playback 26213 [40%] [on]
                Front Right: Playback 26213 [40%] [on]
                Simple mixer control 'Capture',0
                Capabilities: cvolume cswitch cswitch-joined
                Capture channels: Front Left - Front Right
                Limits: Capture 0 - 65536
                Front Left: Capture 65536 [100%] [on]
                Front Right: Capture 65536 [100%] [on]
                ...

                Since the default Mixer control for the default audio card is named Master , this is what you should set as Audio Device. As it turns out, you already found this is the working option.

                A 1 Reply Last reply Reply Quote 1
                • A
                  Arrafart @mitu
                  last edited by

                  @mitu thank you for clarifying. If needed on a different device, I now know how to check it and replicate.

                  H 1 Reply Last reply Reply Quote 0
                  • H
                    hughp @Arrafart
                    last edited by

                    @Arrafart i have this issue still and i need help its a black rasp pie 4 4gb running retro pie

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      Arrafart @hughp
                      last edited by Arrafart

                      @hughp for me it was finding the correct setting. Default/Master
                      Try to replicate what @mitu said above. I was lucky to reboot with the correct setting by accident.

                      I believe a reboot will be necessary ater each time you check it, but not sure.

                      Again, I was lucky and Mitu was right the day after.

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

                        @Arrafart said in volume mixer error:

                        I believe a reboot will be necessary ater each time you check it, but not sure.

                        No, a reboot is not necessary.

                        H 1 Reply Last reply Reply Quote 1
                        • H
                          hughp @mitu
                          last edited by

                          @mitu what do i need to do to fix my issue

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

                            @hughp Change the Audio settings for Card in EmulationStation to Headphones ?

                            H 1 Reply Last reply Reply Quote 0
                            • H
                              hughp @mitu
                              last edited by

                              @mitu its on headphones

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

                                @hughp No idea then. If the audio works in games, then the default device is set to headphone/analog on the system.

                                Please run the following commands and post the output:

                                amixer
                                aplay -l
                                
                                1 Reply Last reply Reply Quote 0
                                • B
                                  BenScoobert
                                  last edited by

                                  I have the same issue.
                                  Here is a short video showing it happening.

                                  I have a fresh install as per instructions on https://github.com/danielfreer/raspberrypi5-retropie-setup?tab=readme-ov-file

                                  Pi 5 connected via hdmi for audio.

                                  I've tried the fixes that worked for some above, but nothing changes.
                                  as per @mitu request I have run the amixer/aplay commands

                                  pi@retropie:~ $ amixer
                                  pi@retropie:~ $ aplay -1
                                  aplay: invalid option -- '1'
                                  Try aplay --help' for more information. pi@retropie:~ $ aplay -1 aplay: invalid option -- '1' Try aplay --help' for more information.
                                  pi@retropie:~ $ aplay -L
                                  null
                                  Discard all samples (playback) or generate zero samples (capture)
                                  default
                                  Default Audio Device
                                  sysdefault
                                  Default Audio Device
                                  hw:CARD=vc4hdmi0,DEV=0
                                  vc4-hdmi-0, MAI PCM i2s-hifi-0
                                  Direct hardware device without any conversions
                                  plughw:CARD=vc4hdmi0,DEV=0
                                  vc4-hdmi-0, MAI PCM i2s-hifi-0
                                  Hardware device with all software conversions
                                  default:CARD=vc4hdmi0
                                  vc4-hdmi-0, MAI PCM i2s-hifi-0
                                  Default Audio Device
                                  sysdefault:CARD=vc4hdmi0
                                  vc4-hdmi-0, MAI PCM i2s-hifi-0
                                  Default Audio Device
                                  hdmi:CARD=vc4hdmi0,DEV=0
                                  vc4-hdmi-0, MAI PCM i2s-hifi-0
                                  HDMI Audio Output
                                  dmix:CARD=vc4hdmi0,DEV=0
                                  vc4-hdmi-0, MAI PCM i2s-hifi-0
                                  Direct sample mixing device
                                  hw:CARD=vc4hdmi1,DEV=0
                                  vc4-hdmi-1, MAI PCM i2s-hifi-0
                                  Direct hardware device without any conversions
                                  plughw:CARD=vc4hdmi1,DEV=0
                                  vc4-hdmi-1, MAI PCM i2s-hifi-0
                                  Hardware device with all software conversions
                                  default:CARD=vc4hdmi1
                                  vc4-hdmi-1, MAI PCM i2s-hifi-0
                                  Default Audio Device
                                  sysdefault:CARD=vc4hdmi1
                                  vc4-hdmi-1, MAI PCM i2s-hifi-0
                                  Default Audio Device
                                  hdmi:CARD=vc4hdmi1,DEV=0
                                  vc4-hdmi-1, MAI PCM i2s-hifi-0
                                  HDMI Audio Output
                                  dmix:CARD=vc4hdmi1,DEV=0
                                  vc4-hdmi-1, MAI PCM i2s-hifi-0
                                  Direct sample mixing device

                                  1 Reply Last reply Reply Quote 0
                                  • 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.