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

      There is a very simple way to find out if the hifiberry-dacplus card is adressed.
      On the board is a green led, when the card is in contact with a driver, it is lit. When it has no connection with software, is dark.
      I changed again the cards and on 4.1 stable, led is not on. With my unstable from march, led and sound.

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

        @dragu so is it possible to get back and reinstall 4.1 from march? maybe it's one of the solutions for my issue

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

          @benj008
          I think, they should have a chance to look into this.
          I have the system on another card, so easy for me to change, till they find a solution.
          But if you have no image anymore from build 11603320, I have no idea.

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

            @dragu thanks, i was careless, i didn't have a backup of previous 4.0.1

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

              @benj008
              build 11603320 is an 4.1 unstable version, that I use (for me very stable, never had a problem).
              I have still the image, but if I link it here, I will be in death row. 😉

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

                                            Want to support us ?

                                            80
                                            Online

                                            99.6k
                                            Users

                                            28.1k
                                            Topics

                                            187.1k
                                            Posts

                                            Copyright © 2021 recalbox.com