• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

Missing Sound, using GPi Case 2

Scheduled Pinned Locked Moved Help and Support
gpi case 2no sound
6 Posts 2 Posters 887 Views
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.
  • R
    Rage
    last edited by 17 Sept 2023, 21:24

    Hi I hope someone here smarter than me can help me figuring this out

    Level

    Pie and Linux noob

    Hardware

    GPi Case 2
    Raspberry Pi Compute M4 (CM4108000)

    Software

    RetroPie 4.8
    GPiCase2-Script

    Config

    Pastebin

    What I have done

    (removed point 3 and 4 as I tried w/o doing them and it had no effect)

    1. New Image created using Raspberry PI Imager
    2. Added the GPiCase2-Script (to be able to see the screen)
      3. Added a wpa_supplicant.conf to set up the wifi
      4. Added a ssh empty file to activate ssh connection
    3. Inserted the MicroSD into the GPi Case 2 and bootet it up

    It boots up fine but there is no sound, if I go into the sound settings it is set like this
    SoundError2.png
    If i try and increase the system volume and select close or back it is reset back to 0
    Yet increasing the volume does not give any sound

    If I go into Retropie configuration and into Audio I get this
    SoundError3.png
    And the this when the menu loads
    SoundError1.png

    I know there is working sound on the print and in the case, because if I install recalbox then I have sound.
    I found a few other posts talking about this, suggesting redoing image and updating from inside retropie
    neither solved my problem.
    Another suggestion for changing a config file, also did not work.

    sudo nano /usr/share/alsa/alsa.conf
    defaults.ctl.card 0
    defaults.pcm.card 0
    to
    defaults.ctl.card 1
    defaults.pcm.card 1
    1 Reply Last reply Reply Quote 0
    • M
      mitu Global Moderator
      last edited by 18 Sept 2023, 02:27

      Since you disabled the on-board audio (analog) and there's no HDMI connected, it seems the system has no audio outputs defined - hence the errors you get.
      See https://retropie.org.uk/forum/topic/31555/no-sound-retroflag-gpi-case-with-pi-zero-w-2-solved/28?page=2 for a solution - you need an additional configuration line added to config.txt in order to have an audio card show up.

      R 1 Reply Last reply 18 Sept 2023, 20:24 Reply Quote 0
      • R
        Rage @mitu
        last edited by 18 Sept 2023, 20:24

        @mitu

        Thanks for the suggestion.
        From what I could read they said to add this line, to the config
        dtoverlay=audremap,pins_18_19,enable_jack=on

        It had no effect, I tried both the normal speakers and plugged in a mini Jack to check earplug sound.

        M 1 Reply Last reply 19 Sept 2023, 03:42 Reply Quote 0
        • M
          mitu Global Moderator @Rage
          last edited by 19 Sept 2023, 03:42

          @Rage Can you remove the modifications you've done to alsa.conf (from your previous post) and then run speaker-test to see if the test sounds are working ?

          R 1 Reply Last reply 19 Sept 2023, 20:30 Reply Quote 1
          • R
            Rage @mitu
            last edited by 19 Sept 2023, 20:30

            I returned the settings to its original
            ssh_1.png

            when I did the speaker-test i got the following resault

            ssh_2.png

            I tried using the command
            cat /proc/asound/modules

            it only gave me this
            ssh_3.png

            R 1 Reply Last reply 19 Sept 2023, 21:28 Reply Quote 0
            • R
              Rage @Rage
              last edited by 19 Sept 2023, 21:28

              Okay Thanks to mitu because I got to digging into the speaker-test function and because I only had the one snd_usb_audio
              I found out that in the lcd config that comes with the GPi Case 2 patch they have the following in the config

              dtparam=audio=off

              so changing that to on enabled snd_bcm2835 at index 0 then I just followed the Alternate USB Audio Method from RetroPie Docs and changed the snd_usb_audio from index 1 to 0 and rebooted and now I have sound.

              I do not know if this is 100% correct or a buggy workaround as I am all new to Linux. But thanks a bunch for the help :)

              1 Reply Last reply Reply Quote 0
              6 out of 6
              • First post
                6/6
                Last post

              Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

              Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.

                This community forum collects and processes your personal information.
                consent.not_received