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

                                        It had become a bit complicated for me... I leave it to you professionals 😉
                                        Ok with Dragu i'm not in a hurry so take time
                                        Could you just let me know if you find something that work it out?

                                        Thank you

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

                                          @Substring
                                          If you tell me how to make screenshot, there is a lot. there are 6 snd_soc modules loaded snd_soc_hifiberry_dacplus and snd_soc_hifiberry_dac snd_soc_pcm512x_ic2 snd_soc_bcm2835_i2s snd_soc_pcm512x snd_soc_core

                                          thats it for the march version.

                                          In the 4.1 Stable in my configuration not one snd_soc is loaded.

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

                                            @dragu just use raspi2png and the screenshots are saved in your shared folder

                                            NintendoRS | Nintendo Adapter Box | Cardboard Recalbox

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

                                            Want to support us ?

                                            99
                                            Online

                                            99.6k
                                            Users

                                            28.1k
                                            Topics

                                            187.1k
                                            Posts

                                            Copyright © 2021 recalbox.com