Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    No more sound after installing v. 4.1 in recalbox

    MediaCenter & Dualboot
    more sound installing 4.1 recalbox
    10
    215
    81201
    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.
    • Dragu
      Dragu Banned last edited by

      @clappique
      Très bien, mais c'est @Substring qui a eu l'idée. je ne suis qu'un humble serviteur 😉

      1 Reply Last reply Reply Quote 0
      • wegen
        wegen last edited by

        bonjour,

        plus beaucoup de news avec ce sujet. Est-ce que la compatibilité en recalbox et HiFiBerry a été corrigée ?

        Merci d'avance

        1 Reply Last reply Reply Quote 0
        • klubad
          klubad last edited by

          Hi @Substring

          I also have a rpi3 with a hifiberry dacplus. I have no sound either.

          I followed the instructions found here. With the old hifiberry-dacplus.dtbo file, the card now shows up in reacalbox UI and alsamixer. (I got the device tree file here https://github.com/raspberrypi/firmware/tree/b4b1f641ba1290bdf275b99922e16c0194a8e54b/boot/overlays)

          But I can't have any sound. I tried to move up every sliders in alsamixer, but still no sound. Am I missing something?

          Substring 1 Reply Last reply Reply Quote 0
          • Substring
            Substring @klubad last edited by

            @klubad have you selected the device in ES and rebooted ?

            Former dev - Please reply with @substring so that i am notified when you answer me
            Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

            klubad 1 Reply Last reply Reply Quote 0
            • klubad
              klubad @Substring last edited by

              @substring yes, multiple times 🙂

              As much as I understood, it seems that we can't set volume through ES. So if I change the volume in ES, close the sound panel and reopen, volume is set back to 0. It is the expected behavior with hifiberry card, right?

              I can provide you dmesg output and other stuff tonight.

              Substring 1 Reply Last reply Reply Quote 0
              • Substring
                Substring @klubad last edited by

                @klubad ES is not very good at setting sound volume for anything other than the pi itself tonbe honnest. Alsamixer is a much better choice.

                Former dev - Please reply with @substring so that i am notified when you answer me
                Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                grgohr 1 Reply Last reply Reply Quote 0
                • klubad
                  klubad last edited by

                  @Substring well, I tried to set the volume through alsamixer (and amixer too). No sound.

                  Any advice of what I could test next?

                  1 Reply Last reply Reply Quote 0
                  • grgohr
                    grgohr @Substring last edited by grgohr

                    hello @substring maybe an old topic but there is no sound in ES since 4.1 and thought it was a temp bug but not fixed with 1802 (XU4) (sound in videointro ok, sound in game ok)

                    here are the ES logs at first boot:

                    lvl0: Error loading sound "../sounds/scroll.ogg"!
                    Audio device hasn't been opened
                    lvl2: req music [system.bgsound]
                    lvl2: playing
                    lvl2: Mix_PlayMusic: Audio device hasn't been opened

                    Going in to the sound menu and validating a soundcard activates sound in ES (sound volume is always 0 but does not affect anything, can be ignored for XU4)

                    Substring 1 Reply Last reply Reply Quote 0
                    • Substring
                      Substring @grgohr last edited by

                      @grgohr hey !
                      The sou d card parameter is supposed to be saved. How do you turn off your recalbox ?

                      Former dev - Please reply with @substring so that i am notified when you answer me
                      Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                      grgohr 1 Reply Last reply Reply Quote 0
                      • grgohr
                        grgohr @Substring last edited by grgohr

                        @substring even after a proper menu>quit>shutdown or reboot I have the same behaviour and ES logs:

                        lvl0: VolumeControl::init() - Failed to find mixer elements!
                        lvl0: MUSIC Error - Unable to open SDLMixer audio: ALSA: Couldn't open audio device: Device or resource busy
                        lvl2: Mix_PlayMusic: Audio device hasn't been opened
                        lvl0: Error loading sound "../sounds/scroll.ogg"!
                        Audio device hasn't been opened

                        once I go to the menu>sound and change the device from auto>card or vice-versa (I hear a sound click), sound comes and back and ES logs shows:

                        lvl2: Shutting down SDL AUDIO
                        lvl0: VolumeControl::init() - Failed to find mixer elements!
                        lvl2: SDL AUDIO Initialized
                        lvl2: playing

                        also sound comes back after going into a game and chaning nothing in ES menu:
                        lvl2: Mix_PlayMusic: Audio device hasn't been opened
                        lvl2: Attempting to launch game...
                        lvl2: Shutting down SDL AUDIO
                        going back from game
                        lvl0: VolumeControl::init() - Failed to find mixer elements!
                        lvl2: SDL AUDIO Initialized
                        lvl2: playing

                        it seems that the following step is the key to have proper init of sound in ES
                        lvl2: Shutting down SDL AUDIO

                        Substring 1 Reply Last reply Reply Quote 0
                        • Substring
                          Substring @grgohr last edited by

                          @grgohr es may be trying to open the 1st sound card which must be the HDMI output (which hsmas no mixer available)

                          Former dev - Please reply with @substring so that i am notified when you answer me
                          Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          Want to support us ?

                          76
                          Online

                          99.6k
                          Users

                          28.1k
                          Topics

                          187.1k
                          Posts

                          Copyright © 2021 recalbox.com