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
    81208
    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

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

                              @lackyluuk
                              thanks.

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

                                @dragu I have also a problem with hifiberry dacplus. It worked very well with recalbox 4.0.2 but since the maj 4.1 no sound anymore....

                                But i have this:
                                boot$ cat /proc/asound/cards
                                0 [sndrpihifiberry]: snd_rpi_hifiber - snd_rpi_hifiberry_dacplus
                                snd_rpi_hifiberry_dacplus

                                Strange?

                                Thanks for your help!

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

                                  @monsieurlefou What Raspberry do you use?
                                  how does your etc/modules.conflook like? Do you have any other modules loaded than the internal sound card (bcm2835)? Or did you remove the internal one?

                                  It seems that your card is loaded.

                                  NintendoRS | Nintendo Adapter Box | Cardboard Recalbox

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

                                    Hi and thanks for your help!

                                    My PI is a PI3
                                    My etc/modules.conf looks alike:

                                    snd_bcm2835
                                    uinput
                                    usbhid

                                    I don't remove anything

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

                                      @monsieurlefou It's the same as for me. According to Hifiberry it does not matter if the soundcard is not in modules.conf when the dtoverlay=hifiberry_dacplus is set and the dtparam=audio=on is removed from config.txt. But I don't know exactly how it works in recalbox

                                      NintendoRS | Nintendo Adapter Box | Cardboard Recalbox

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

                                        My config.txt seems ok, dtoverlay=hifiberry_dacplus and dtparam=audio=on removed.

                                        The command amixer returns this (it seems the voulume is set to 0, isn't it?):

                                        /etc$ amixer
                                        Simple mixer control 'DSP Program',0
                                        Capabilities: enum
                                        Items: 'FIR interpolation with de-emphasis' 'Low latency IIR with de-emphasis' 'High attenuation with de-emphasis' 'Fixed process flow' 'Ringing-less low latency FIR'
                                        Item0: 'FIR interpolation with de-emphasis'
                                        Simple mixer control 'Analogue',0
                                        Capabilities: pvolume
                                        Playback channels: Front Left - Front Right
                                        Limits: Playback 0 - 1
                                        Mono:
                                        Front Left: Playback 0 [0%] [-6.00dB]
                                        Front Right: Playback 0 [0%] [-6.00dB]
                                        Simple mixer control 'Analogue Playback Boost',0
                                        Capabilities: volume
                                        Playback channels: Front Left - Front Right
                                        Capture channels: Front Left - Front Right
                                        Limits: 0 - 1
                                        Front Left: 0 [0%] [0.00dB]
                                        Front Right: 0 [0%] [0.00dB]
                                        Simple mixer control 'Auto Mute',0
                                        Capabilities: pswitch
                                        Playback channels: Front Left - Front Right
                                        Mono:
                                        Front Left: Playback [off]
                                        Front Right: Playback [off]
                                        Simple mixer control 'Auto Mute Mono',0
                                        Capabilities: pswitch pswitch-joined
                                        Playback channels: Mono
                                        Mono: Playback [off]
                                        Simple mixer control 'Auto Mute Time Left',0
                                        Capabilities: enum
                                        Items: '21ms' '106ms' '213ms' '533ms' '1.07s' '2.13s' '5.33s' '10.66s'
                                        Item0: '21ms'
                                        Simple mixer control 'Auto Mute Time Right',0
                                        Capabilities: enum
                                        Items: '21ms' '106ms' '213ms' '533ms' '1.07s' '2.13s' '5.33s' '10.66s'
                                        Item0: '21ms'
                                        Simple mixer control 'Clock Missing Period',0
                                        Capabilities: enum
                                        Items: '1s' '2s' '3s' '4s' '5s' '6s' '7s' '8s'
                                        Item0: '1s'
                                        Simple mixer control 'Deemphasis',0
                                        Capabilities: pswitch pswitch-joined
                                        Playback channels: Mono
                                        Mono: Playback [off]
                                        Simple mixer control 'Digital',0
                                        Capabilities: pvolume pswitch
                                        Playback channels: Front Left - Front Right
                                        Limits: Playback 0 - 207
                                        Mono:
                                        Front Left: Playback 0 [0%] [-99999.99dB] [off]
                                        Front Right: Playback 0 [0%] [-99999.99dB] [off]
                                        Simple mixer control 'Max Overclock DAC',0
                                        Capabilities: volume volume-joined
                                        Playback channels: Mono
                                        Capture channels: Mono
                                        Limits: 0 - 40
                                        Mono: 0 [0%]
                                        Simple mixer control 'Max Overclock DSP',0
                                        Capabilities: volume volume-joined
                                        Playback channels: Mono
                                        Capture channels: Mono
                                        Limits: 0 - 40
                                        Mono: 0 [0%]
                                        Simple mixer control 'Max Overclock PLL',0
                                        Capabilities: volume volume-joined
                                        Playback channels: Mono
                                        Capture channels: Mono
                                        Limits: 0 - 20
                                        Mono: 0 [0%]
                                        Simple mixer control 'Volume Ramp Down Emergency Rate',0
                                        Capabilities: enum
                                        Items: '1 sample/update' '2 samples/update' '4 samples/update' 'Immediate'
                                        Item0: '1 sample/update'
                                        Simple mixer control 'Volume Ramp Down Emergency Step',0
                                        Capabilities: enum
                                        Items: '4dB/step' '2dB/step' '1dB/step' '0.5dB/step'
                                        Item0: '4dB/step'
                                        Simple mixer control 'Volume Ramp Down Rate',0
                                        Capabilities: enum
                                        Items: '1 sample/update' '2 samples/update' '4 samples/update' 'Immediate'
                                        Item0: '1 sample/update'
                                        Simple mixer control 'Volume Ramp Down Step',0
                                        Capabilities: enum
                                        Items: '4dB/step' '2dB/step' '1dB/step' '0.5dB/step'
                                        Item0: '4dB/step'
                                        Simple mixer control 'Volume Ramp Up Rate',0
                                        Capabilities: enum
                                        Items: '1 sample/update' '2 samples/update' '4 samples/update' 'Immediate'
                                        Item0: '1 sample/update'
                                        Simple mixer control 'Volume Ramp Up Step',0
                                        Capabilities: enum
                                        Items: '4dB/step' '2dB/step' '1dB/step' '0.5dB/step'
                                        Item0: '4dB/step'

                                        Thanks for your help

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

                                          @monsieurlefou You should leave dtoverlay=hifiberry-dacplus in your config.txt

                                          NintendoRS | Nintendo Adapter Box | Cardboard Recalbox

                                          1 Reply Last reply Reply Quote -1
                                          • monsieurlefou
                                            monsieurlefou last edited by

                                            I confirm that dtoverlay=hifiberry-dacplus is in my config.txt.
                                            Just dtparam=audio=on removed

                                            I don't change anything since the maj 4.0.2 => 4.1

                                            Thanks

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

                                            Want to support us ?

                                            68
                                            Online

                                            99.6k
                                            Users

                                            28.1k
                                            Topics

                                            187.1k
                                            Posts

                                            Copyright © 2021 recalbox.com