• 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

Sound issues over HDMI (works fine using analogue out)

Scheduled Pinned Locked Moved Help and Support
vectrexsound issueflickeringcrthdtv
15 Posts 2 Posters 4.7k 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.
  • J
    J.Beau
    last edited by 30 Jan 2017, 10:05

    This is what's in the runcommand.log:

    Parameters:
    Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-vecx/vecx_libretro.so --config /opt/retropie/configs/vectrex/retroarch.cfg "/home/pi/RetroPie/roms/vectrex/Spinball.vec" --appendconfig /dev/shm/retroarch.cfg

    Nothing special right?

    1 Reply Last reply Reply Quote 0
    • J
      J.Beau
      last edited by 1 Feb 2017, 00:43

      Okay. I kind of fixed it. Turns out NES audio was choppy too. Since I switched from an SD tv to HDMI, I thought of disabling sound from the HDMI and switching to the analogue audio out. To do this, I had to input the following line into the /boot/config.txt:

      hdmi_drive=1

      This forces DVI mode, so my tv will read the audio from the analogue in. I had to boost the audio signal quite a lot, but... this worked perfectly! NES audio was smooth, Vectrex audio works fine now and even the Atari 2600 emulator makes sounds I haven't heard before! I also put in:

      disable_audio_dither=1

      I was hearing some white noise, but this fixed it.

      Question is: why does the audio from the Genesis emulator work fine over HDMI, but the rest of them have issues? Is there a way to make them all work over HDMI?

      E 1 Reply Last reply 1 Feb 2017, 05:25 Reply Quote 0
      • E
        edmaul69 @J.Beau
        last edited by 1 Feb 2017, 05:25

        @J.Beau you dont need hdmi_drive=1. Switch it back to 2. Then when emulationstation boots, go into the retropie menu and go into audio setting. Switch the audio there. You can swap back and forth that way.

        J 1 Reply Last reply 1 Feb 2017, 08:35 Reply Quote 0
        • J
          J.Beau @edmaul69
          last edited by 1 Feb 2017, 08:35

          @edmaul69 It needs drive=1, because otherwise my tv won't read the audio signal from the analogue in. That port only works when HDMI in in DVI mode.

          E 1 Reply Last reply 1 Feb 2017, 08:42 Reply Quote 0
          • E
            edmaul69 @J.Beau
            last edited by 1 Feb 2017, 08:42

            @J.Beau i know it wont recognize normally from analog while hdmi is on without a setting. But the audio configuration lets you enable it without the need to change the config.txt so you can switch back and forth without the need to change the code.

            J 1 Reply Last reply 1 Feb 2017, 08:53 Reply Quote 0
            • J
              J.Beau @edmaul69
              last edited by 1 Feb 2017, 08:53

              @edmaul69 That didn't work for me. That only works when I connect external speakers or headphones. If the signal to the the tv is not in DVI mode, the tv itself does nothing with audio received on other ports. I hope you understand what I mean. English is not my first language. The other question remains. Why does the sound work without a problem over analogue but does it have troubles with some emulators over HDMI?

              E 2 Replies Last reply 1 Feb 2017, 09:00 Reply Quote 0
              • E
                edmaul69 @J.Beau
                last edited by 1 Feb 2017, 09:00

                @J.Beau when you were on hdmi audio did you try hdmi_drive=2 before doing 1? Also you could put a hashtag # in front of that line to disable it and try to see if this works on hdmi mode:

                hdmi_force_edid_audio=1
                
                1 Reply Last reply Reply Quote 0
                • E
                  edmaul69 @J.Beau
                  last edited by edmaul69 2 Jan 2017, 09:02 1 Feb 2017, 09:01

                  @J.Beau also just realized something. Did you try setting your tv into game mode? That can cause this too. And a good chance it is the problem.

                  J 1 Reply Last reply 1 Feb 2017, 09:23 Reply Quote 0
                  • J
                    J.Beau @edmaul69
                    last edited by 1 Feb 2017, 09:23

                    @edmaul69 Yes, tried them both. Was trying everything to get sound working over HDMI for the last 3 days, before I came up with the idea of using an extra cable. Used this page a lot: http://elinux.org/RPiconfig.

                    J E 2 Replies Last reply 1 Feb 2017, 09:25 Reply Quote 0
                    • J
                      J.Beau @J.Beau
                      last edited by 1 Feb 2017, 09:25

                      Can I change the topic title? It wasn't really a Vectrex issue, but a sound over HDMI issue.

                      E 1 Reply Last reply 1 Feb 2017, 09:27 Reply Quote 0
                      • E
                        edmaul69 @J.Beau
                        last edited by edmaul69 2 Jan 2017, 09:26 1 Feb 2017, 09:26

                        @J.Beau did you see my last post about setting your tv's game mode on? Not sure if you tried that or not?

                        J 1 Reply Last reply 1 Feb 2017, 09:41 Reply Quote 0
                        • E
                          edmaul69 @J.Beau
                          last edited by 1 Feb 2017, 09:27

                          @J.Beau yes you can change the title

                          1 Reply Last reply Reply Quote 0
                          • J
                            J.Beau @edmaul69
                            last edited by 1 Feb 2017, 09:41

                            @edmaul69 Yes, tried the game mode. Thanks!

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