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
    81209
    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.
    • lackyluuk
      lackyluuk Translator last edited by

      @benj008 @Dragu @Substring

      I have just installed 4.1 and my HifiBerry DAC+ is not working at all. In the settings I can only choose between AUTO, JACK and HDMI.

      The dtoverlay in /boot/conig.txt is still dtoverlay=hifiberry-dacplus and the green LED on the card is on.
      But somehow in alsamixer the card is not showing up. The only soundcard is the internal.

      With cat /proc/asound/cards i get the following:

      0 [ALSA           ]: bcm2835 - bcm2835 ALSA
                           bcm2835 ALSA
      

      If I remove this driver I cannot access alsa or amixer anymore

      Still try to figure out some other ways to check the soundcard implementation...

      NintendoRS | Nintendo Adapter Box | Cardboard Recalbox

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

        same for me..

        1 Reply Last reply Reply Quote 0
        • Dragu
          Dragu Banned last edited by

          In build 15156473 the problem was appearing for me.

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

            @benj008 @lackyluuk @Dragu The only things that changed regarding sound are how the volumes are set/forced at boot, so I have an idea where to look BUT as I can't test by myself, I need you guyz.
            So first remount / as read-write : mount -o remount, rw / then edit /recalbox/scripts/recalbox-configure.sh and comment line 409 by adding a # at the start of it and report back If it worked, remove the #, and set the volume to 100% in ES, reboot and report back.

            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é

            benj008 1 Reply Last reply Reply Quote 1
            • benj008
              benj008 @Substring last edited by

              @substring salut
              Tipping /recalbox/scripts/recalbox-configure.sh path in putty seems to bring me to an empty file

              1 Reply Last reply Reply Quote 0
              • lackyluuk
                lackyluuk Translator last edited by

                @Substring I will test it tonight when I am home. Thanks for the approach!

                NintendoRS | Nintendo Adapter Box | Cardboard Recalbox

                1 Reply Last reply Reply Quote 0
                • Dragu
                  Dragu Banned last edited by

                  @Substring
                  You sleep sometimes ?
                  The file name is in my installation recalbox-config.sh, I think you mean the same.
                  I made the comment out, it had no effect. I also changed in ES the sound to 100%. But the animal put it back directly to 0%, no way.

                  I have some other issues with 4.1s, dont want to kill you. 😉

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

                    @dragu I guess I spend about 4 to 6h a day on support for 4.1 since Friday, and it's becoming exhausting ... So many people who just can't read or report false bugs ... Have to find the truth in all forum topics

                    But the hifiberry IS a real regression bug that sadly I can't test at home

                    Now can you make that line 409 look like :

                    for param in `amixer controls | cut -d ',' -f 1` ; do recallog "Setting volume for $param" ; amixer -q cset ${param} 100% ; done
                    

                    reboot, and report ?

                    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é

                    benj008 1 Reply Last reply Reply Quote 0
                    • Dragu
                      Dragu Banned last edited by

                      @Substring

                      No, it has no effect. In ES the sound level is put back to 0% after leaving the sound menu.
                      But in my beloved version from march, this is the same, anyway as the volume for this card is not regulable and always at max.
                      I see the problem from the driver side, the hifiberry driver is not loaded. If you have the tools to run a compare between versions. If you compare build 11603320 with the stable release, somewhere shoud be the answer, I think.

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

                        @substring same for me the 409 line looks line the one you propose already and even with the # changes, no sound again.
                        But my ES seems to save volume after reboot or leavong dound menu unlike dragu..

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

                          @dragu said in No more sound after installing v. 4.1 in recalbox:

                          11603320

                          ok that's the runner ID.

                          Have you followed https://support.hifiberry.com/hc/en-us/articles/205377651-Configuring-Linux-4-x-or-higher ? looks like it's not "compatible" with our default config.txt

                          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
                          • Dragu
                            Dragu Banned last edited by

                            @Substring
                            Yes, the modifications in the config.txt are made this way. Would also be interesting if aplay was in the package.

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

                              @dragu aplay is not on the pi, but aplay is not useful in that case.

                              Try this :

                              cat > ~/.asoundrc << EOF
                              pcm.!default  {
                               type hw card 0
                              }
                              ctl.!default {
                               type hw card 0
                              }
                              EOF
                              

                              reboot, report 🙂

                              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
                              • Dragu
                                Dragu Banned last edited by

                                @Substring
                                No change.
                                But I have no directory /proc/asound/ as lackyluuk has.

                                Substring 1 Reply Last reply Reply Quote 0
                                • lackyluuk
                                  lackyluuk Translator last edited by lackyluuk

                                  @Dragu Don't know if it's relevant for this, but have you created a asound.conf file?

                                  I also noticed that if I remove the internal sound card, it is added back after every reboot into /boot/config.txt

                                  NintendoRS | Nintendo Adapter Box | Cardboard Recalbox

                                  1 Reply Last reply Reply Quote 0
                                  • Dragu
                                    Dragu Banned last edited by

                                    @lackyluuk
                                    @Substring

                                    Yes, /etc/asound.conf I created, is there that I made the modifications from
                                    before, (cat >..) I expect it was the right place, or should this block be in /boot/config.txt ?

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

                                      @dragu WTF ? no /proc/asound ??? i guess lackyluuk hasn't removed the dtparm=audio=on from the config.txt. But still ... I'll look at changes since March

                                      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é

                                      Dragu 1 Reply Last reply Reply Quote 0
                                      • lackyluuk
                                        lackyluuk Translator last edited by

                                        If I remove dtparam=audio=on in the config.txt it is automatically re-added after a reboot. Only commenting it out helps. But then I cannot access amixer, alsamixer etc anymore. And no soundcard at all is loaded

                                        NintendoRS | Nintendo Adapter Box | Cardboard Recalbox

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

                                          @substring
                                          Take your time, I am not playing fulltime, have a rescue from march and also some other cats to whip... 🙂

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

                                            @Dragu if you still have your march image, can you check lsmod if a specific module is loaded ? I'll check the differences on audio between april and march (and there are many)

                                            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 ?

                                            83
                                            Online

                                            99.6k
                                            Users

                                            28.1k
                                            Topics

                                            187.1k
                                            Posts

                                            Copyright © 2021 recalbox.com