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

      @dragu
      i don't modify recalbox.conf.
      I just hack settings audio via the recalbox audio menu settings.

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

        @dragu

        My audio setting in recalbox.conf file:

        ------------ C - Audio ------------

        Set the audio device (auto, hdmi, jack)

        audio.device=[0:0] snd_rpi_hifiber - snd_rpi_hifiberry_dacplus + HiFiBerry DAC+ HiFi pcm512x-hifi-0

        Set system volume (0..100)

        audio.volume=0

        Enable or disable system sounds in ES (0,1)

        audio.bgmusic=1

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

          Hi

          Just to know if you have any news on fixing the issue?
          Bye

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

            The soud device selection in ES does more than just editing the recalbox.conf. It also sets some parameters for ALSA.

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

              @substring ok j espere que vous trouverez un moyen pour retablir le son sur cette version 4.1
              Pourriez vous me tenir informé en tous cas ?
              Merci pour votre ecoute et bon courage

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

                @benj008 oui

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

                  To everyone : just a few words regarding what you'd believe to be strange but may not be:

                  • the splash video is played through omxplayer which doesn't care about soundcards. Just jack and hdmi
                  • changing a sound device in ES woumd not change where the music is output until a reboot, wheras emulators would work straight away after. That is a lumitation of alsa not being able of dynamically changing the output device of an already running process
                  • we know about that bug in ES where music would start after player input

                  @monsieurlefou as your dac works, can you make a support archive ? http://recalbox/help

                  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
                    I dont understand what he made, as he didnt modified recalbox.conf, but has other values inside as we have ?
                    @monsieurlefou said in No more sound after installing v. 4.1 in recalbox:

                    @dragu
                    i don't modify recalbox.conf.
                    I just hack settings audio via the recalbox audio menu settings.

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

                      @Substring
                      I was just testing with 4.1 stable now and the communicated value of audio.device=
                      Nothing changed, always no sound. The same in Kodi, no found device.
                      So I have some doubt...

                      Perhaps possibility to provide momentary download of march 4.1us, so that the few concerned
                      could use their machine before they have convulsions 😉 I have just PI3 version. benj008 has PI2.

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

                        @dragu we don't have such old builds. What i should do is check all sound commits between march and april and see what i can do. No time for that, i'm on holidays, won't be very active for a week

                        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
                          I wish you first nice (and merited) holidays. I hope not in silicon valley 😉
                          So if benj008 spend the money for a PI3 (that anywhere he will not regret) and if he contacts me, I can help him.

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

                            @dragu hi in this case do you think a pi3 will be a good idea?
                            To tell the truth i thought about it at the very begining;-)
                            Anyway i m ok with this if you think it can help bringing the sound back. I precise i m far for professional in such areas sorry. But happily accept you help.

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

                              @benj008
                              If you send me a mail on "amarx"@"tango.lu", I will send you back a link short time after where you can download the 4.1 march version, just not to be without gaming.

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

                                @dragu ok i ll do that on monday thanks.
                                And what about the pi3?

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

                                  @benj008
                                  You know that the images are processor dependant, so I have just the PI3 version. Anyway it is double speed from PI2.

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

                                    @dragu ok thanks. So i ll just have to insert my old sd card with v 4.1 on the pi3 and apply the march update?
                                    Do i have to reinstall hifiberry soundcard before that also?

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

                                      @benj008
                                      You must copy the march image and make the few modifications in config.txt and make asound.conf. You sure already did it once.

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

                                        Ok done, but could anyone tell me which modificationsi have to make in config.txt and asound.conf?
                                        Thanks

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

                                          Hi Benjamin,
                                          On peut aussi parler francais et je vais t'aider.
                                          Il faut avoir un clavier raccordé en USB sur ton raspberry.
                                          Si tu veux récupèrer tes roms et ta configuration des joysticks, il faudra après recopier tout le directory /share (/recalbox/share) sur ta nouvelle installation.
                                          Mais commencant par le début.

                                          Si tu te trouves dans l'écran émulation, tu pousse t'abord F4 et après ALT+F2.
                                          Il te demande le login.
                                          nom : root
                                          passcode : recalboxroot
                                          Si tout est correct, il t'affiche #.
                                          Maintenant une première commande linux est importante
                                          ls ---> t'affiche les directory actuel, comme ça tu vois ou tu te trouve.
                                          Maintenant tu fais
                                          cd / avec un espace entre
                                          ls devrait maintenant t'afficher les directory avec /boot et /etc on aura besoin des deux. tu fais
                                          cd boot et après
                                          ls ---> maintenant du verra config.txt qui se trouve dans boot. Tu dois te mettre en droit de modifier cet fichier par
                                          mount -o remount, rw /boot un espace après la virgule et -o(ctave), pas zéro
                                          pour les modifications tu appelle
                                          nano config.txt
                                          et il va normalement ouvrir le fichier
                                          Tu navigue avec le curseur et tu met un # devant cette ligne
                                          comment out

                                          #dtparam=audio=on
                                          

                                          et après tu ajoute les lignes, tu peut les mettre directement derrière

                                          # uncomment for hifiberry
                                          dtoverlay=hifiberry-dacplus
                                          

                                          Voilà les modifications dans config.txt, il faut encore les sauvegarder. Tu fais
                                          CTRL+X et Y pour dire yes, sinon tu recommence. Pour contrôler que config.txt est bien modifié, la commande
                                          cat ---> va t'afficher le contenu 🙂 On quitte boot et on revient à la base, pour cela tu fais
                                          cd .. (avec un espace) Maintenant si tu fais à nouveau
                                          ls il va t'afficher entre autre le directory etc

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

                                            Nous allons dans cet directory par la commande
                                            cd etc
                                            Maintenant pour avoir les droits d'écriture
                                            mount -o remount, rw /
                                            donc comme avant sans boot derrière, ok, il faut créer le fichier asound.conf ici
                                            nano asound.conf
                                            il est vide, il faut tout créer

                                            
                                            pcm.!default {
                                            type hw card 0
                                            }
                                            ctl.!default {
                                            type hw card 0
                                            }
                                            

                                            CTRL+X Yes et après tu peux à nouveau contrôler si le contenu est juste avec
                                            cat asound.conf

                                            Gagné. On restarte la machine avec la commande
                                            reboot

                                            The beat goes on !

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

                                            Want to support us ?

                                            82
                                            Online

                                            99.6k
                                            Users

                                            28.1k
                                            Topics

                                            187.1k
                                            Posts

                                            Copyright © 2021 recalbox.com