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

    Problem with sound on Love2d

    Scheduled Pinned Locked Moved Help and Support
    love2dsoundproblems
    14 Posts 2 Posters 1.1k 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.
    • S
      StefHost
      last edited by

      Sorry about that. I totally forgot!

      I'm using:

      • A Raspberry Pi Zero W
      • A samsung (phone) 5v power supply
      • RetroPie version 4.5.1
      • Built from the pre made SD Image
      • Connected a wireless USB keyboard, and 2 "DragonRise Inc" arcade joysticks

      Here is the content of my runcommand.log

      Parameters: 
      Executing: /opt/retropie/ports/love/bin/love "/home/pi/RetroPie/roms/love/Audiotest.love"
      Cannot connect to server socket err = No such file or directory
      Cannot connect to server request channel
      jack server is not running or cannot be started
      JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
      JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
      /opt/retropie/supplementary/runcommand/runcommand.sh: line 1006:   703 Illegal instruction     /opt/retropie/ports/love/bin/love "/home/pi/RetroPie/roms/love/Audiotest.love"
      
      
      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @StefHost
        last edited by

        @StefHost From the log file, it seems the .love file tried to use the Jack audio server, but RetroPie doesn't include that. Do you have the source for the Audiotest.love (or a download link) to try it out ?

        1 Reply Last reply Reply Quote 0
        • S
          StefHost
          last edited by

          Ok, thanks for the info!

          Here is a downloadlink to the Audiotest.love:
          http://www.stefhost.nl/hosting/Audiotest.love

          Is it possible to install this audio server on RetroPie?

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @StefHost
            last edited by

            @StefHost said in Problem with sound on Love2d:

            Is it possible to install this audio server on RetroPie?

            You can, but if jackd takes over the sound, it might interfere with other programs that expect to use alsalib directly.

            S 1 Reply Last reply Reply Quote 0
            • S
              StefHost @mitu
              last edited by

              @mitu ok. I understand
              Can you help me with installing jack or jackd? :)

              mituM 1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @StefHost
                last edited by

                @StefHost I'm not convinced this will be a solution to your problem - I didn't test the sample you in your test.

                1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator
                  last edited by mitu

                  I tested the sample you posted with the love package and it plays a sound without problems - no crashing. The version is 0.11:

                  pi@retropie:~/RetroPie/roms/love $  /opt/retropie/ports/love/bin/love --version
                  LOVE 11.3 (Mysterious Mysteries)
                  

                  I'm also using the 4.5.1 version and I installed love from source using the RetroPie-Setup menu.

                  S 2 Replies Last reply Reply Quote 0
                  • S
                    StefHost @mitu
                    last edited by

                    @mitu That's great to hear!
                    And very weird too πŸ˜†

                    I'm going to try it again!
                    I will let you know if it's working..

                    1 Reply Last reply Reply Quote 0
                    • S
                      StefHost @mitu
                      last edited by

                      @mitu
                      I don't understand...

                      I've done a clean install of Retropie last night and installed Love from source as you said.
                      And i'm still getting the same error.

                      Can it be because i'm using a Raspberry Pi Zero?
                      Can i ask what Pi you are using?

                      Did you configure the sound in a different way?
                      And are you using HDMI output too?

                      I hope you can help me.

                      mituM 1 Reply Last reply Reply Quote 0
                      • mituM
                        mitu Global Moderator @StefHost
                        last edited by

                        @StefHost said in Problem with sound on Love2d:

                        Can it be because i'm using a Raspberry Pi Zero?
                        Can i ask what Pi you are using?

                        I'm using a PI model 3.

                        Did you configure the sound in a different way?
                        And are you using HDMI output too?

                        No, the sound is configured as default - via HDMI.

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          StefHost @mitu
                          last edited by

                          @mitu Thanks. I think i'm going to try buying a model 3 pie then πŸ˜…

                          1 Reply Last reply Reply Quote 0
                          • S
                            StefHost
                            last edited by StefHost

                            @mitu Hi!

                            I just wanted to let you know that i have fixed the problem.
                            I bought a Raspberry Pi 3 Model B+ and that seems to fixed the problem.

                            Thanks for testing and helping me out!

                            Greetings Stefan

                            1 Reply Last reply Reply Quote 0
                            • First post
                              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.