RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Question about PulseAudio

    Scheduled Pinned Locked Moved General Discussion and Gaming
    kodipulseaudioemulators
    20 Posts 6 Posters 7.9k 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.
    • hooperreH
      hooperre @Rascas
      last edited by

      @Rascas I'm assuming this was removed as I am now getting an error after updating:

      /usr/bin/kodi: 68: /usr/bin/kodi: /usr/bin/pulseaudio: not found

      4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

      1 Reply Last reply Reply Quote 0
      • RascasR
        Rascas
        last edited by Rascas

        No, it wasn't removed, it is just that the last Kodi packages (Kodi 17.1 RC2) has PulseAudio support, the later ones doesn't, but RetroPie doesn't have it installed either way. You can just ignore that warning, it makes no difference for you.

        BuZzB hooperreH 2 Replies Last reply Reply Quote 0
        • BuZzB
          BuZz administrators @Rascas
          last edited by BuZz

          @Rascas in the launch script perhaps a check if it's installed ?

          # check if pulseaudio has already been started by someone else
          if [ ! -f /usr/bin/pulseaudio ] || /usr/bin/pulseaudio --check; then
                 true
          else
                 /usr/bin/pulseaudio --start >/dev/null 2>&1
          fi
          

          or even just something like this (if nothing should be done if running - avoids the true)

          # check if pulseaudio has already been started by someone else
          if [ -f /usr/bin/pulseaudio ] && ! /usr/bin/pulseaudio --check; then
                 /usr/bin/pulseaudio --start >/dev/null 2>&1
          fi
          

          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

          RascasR 1 Reply Last reply Reply Quote 0
          • hooperreH
            hooperre @Rascas
            last edited by

            @Rascas It's visible while viewing a video.

            4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

            1 Reply Last reply Reply Quote 0
            • RascasR
              Rascas @BuZz
              last edited by Rascas

              @BuZz Yeah will do that next version, I just forgot that RetroPie doesn't have it installed by default. It should make no difference in kodi function.

              @hooperre not sure how you can see that message while playing a video, probably something wrong with your startup script. How it is exactly ?

              M 1 Reply Last reply Reply Quote 1
              • M
                mikecoscia @Rascas
                last edited by

                @Rascas said in Question about PulseAudio:

                @BuZz Yeah will do that next version, I just forgot that RetroPie doesn't have it installed by default. It should make no difference in kodi function.

                @hooperre not sure how you can see that message while playing a video, probably something wrong with your startup script. How it is exactly ?

                I am having the same issue. It shows the below line directly over the video playing at the top of the screen. Is there anyway to disable the warning?

                /usr/bin/kodi: 68: /usr/bin/kodi: /usr/bin/pluseaudio: not found

                RascasR 1 Reply Last reply Reply Quote 0
                • RascasR
                  Rascas @mikecoscia
                  last edited by

                  @mikecoscia said in Question about PulseAudio:

                  @Rascas said in Question about PulseAudio:

                  @BuZz Yeah will do that next version, I just forgot that RetroPie doesn't have it installed by default. It should make no difference in kodi function.

                  @hooperre not sure how you can see that message while playing a video, probably something wrong with your startup script. How it is exactly ?

                  I am having the same issue. It shows the below line directly over the video playing at the top of the screen. Is there anyway to disable the warning?

                  /usr/bin/kodi: 68: /usr/bin/kodi: /usr/bin/pluseaudio: not found

                  You shouldn't see anything in the black background when videos are playing. If so, something is wrong with your setup. How are you starting Kodi ? Do you have mmal enabled and omxplayer disabled in video settings ? Kodi log would be helpfull.

                  M 2 Replies Last reply Reply Quote 0
                  • M
                    mikecoscia @Rascas
                    last edited by BuZz

                    @Rascas

                    Thanks for the reply. All I did was install it from the optional package menu in retropie. Besides that, all I did was add [removed], did change any other setting. I have no idea what omxplayer and mmal are, where would I find those settings?

                    BuZzB 1 Reply Last reply Reply Quote -1
                    • M
                      mikecoscia @Rascas
                      last edited by BuZz

                      @Rascas said in Question about PulseAudio:

                      @mikecoscia said in Question about PulseAudio:

                      @Rascas said in Question about PulseAudio:

                      @BuZz Yeah will do that next version, I just forgot that RetroPie doesn't have it installed by default. It should make no difference in kodi function.

                      @hooperre not sure how you can see that message while playing a video, probably something wrong with your startup script. How it is exactly ?

                      I am having the same issue. It shows the below line directly over the video playing at the top of the screen. Is there anyway to disable the warning?

                      /usr/bin/kodi: 68: /usr/bin/kodi: /usr/bin/pluseaudio: not found

                      You shouldn't see anything in the black background when videos are playing. If so, something is wrong with your setup. How are you starting Kodi ? Do you have mmal enabled and omxplayer disabled in video settings ? Kodi log would be helpfull.

                      @mikecoscia said in Question about PulseAudio:

                      @Rascas

                      Thanks for the reply. All I did was install it from the optional package menu in retropie. Besides that, all I did was add [removed], did change any other setting. I have no idea what omxplayer and mmal are, where would I find those settings?

                      Nevermind, I found the settings. Omxplayer was already disabled and mmal was enabled. Is there a way I can upload logs?

                      1 Reply Last reply Reply Quote 0
                      • RascasR
                        Rascas
                        last edited by

                        Please post your Kodi log:
                        http://kodi.wiki/view/Log_file

                        And a photo of the problem if possible.

                        M 1 Reply Last reply Reply Quote 0
                        • BuZzB
                          BuZz administrators @mikecoscia
                          last edited by BuZz

                          @mikecoscia Read the forum rules https://retropie.org.uk/forum/topic/2/forum-rules - do not discuss/ mention Kodi addons which are designed for watching pirate/bootleg video.

                          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                          1 Reply Last reply Reply Quote 0
                          • M
                            mikecoscia @Rascas
                            last edited by

                            @Rascas

                            Thanks, here is a photo of what I am getting during video playback. Working on the logs.

                            alt text

                            1 Reply Last reply Reply Quote 1
                            • E
                              electricmba
                              last edited by

                              I have this issue in a slightly different way - I don't get the error when playing videos but it pops up (three times) every time you launch Kodi, and after that, the error appears when you launch a game/emulator (one time, only if you've already launched Kodi prior to). Doesn't seem to inhibit functionality, just annoying.

                              RascasR 1 Reply Last reply Reply Quote 0
                              • RascasR
                                Rascas @electricmba
                                last edited by

                                @electricmba It is just a message, you can ignore it, we will hide this in the next kodi version. 3 times are most likely the times you started Kodi, one message for which time, and then it stays there until something clears the screen.

                                1 Reply Last reply Reply Quote 1
                                • R
                                  retoturtle
                                  last edited by

                                  ssh into your pi and run the following command: sudo apt-get install pulseaudio

                                  it will install it and you shouldn't have the issue going forward.

                                  hooperreH 1 Reply Last reply Reply Quote 0
                                  • hooperreH
                                    hooperre @retoturtle
                                    last edited by hooperre

                                    @retoturtle thanks. Did this and was able to update Kodi and don't get the message anymore, but now get this error during video playback:

                                    Lvl10: VolumeControl::init() - Failed to find mixer elements!

                                    4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

                                    R 1 Reply Last reply Reply Quote 0
                                    • hooperreH
                                      hooperre
                                      last edited by

                                      alt text

                                      4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

                                      1 Reply Last reply Reply Quote 0
                                      • R
                                        retoturtle @hooperre
                                        last edited by retoturtle

                                        @hooperre said in Question about PulseAudio:

                                        Lvl10: VolumeControl::init() - Failed to find mixer elements!

                                        Are you having any audio issue?

                                        Try looking at this thread: https://github.com/Aloshi/EmulationStation/issues/433

                                        1 Reply Last reply Reply Quote 0
                                        • hooperreH
                                          hooperre
                                          last edited by

                                          Only audio issues I noted were when I closed out of Kodi, the menu audio was off by a second or so.

                                          4B ~ RPi PSU 5.1V / 3.0A ~ 32GB SanDisk microSD ~ 128GB USB

                                          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.