Question about PulseAudio
-
Hi ppl,
PulseAudio doesn't come pre-installed with RetroPie images right ? And there isn't compatibility from most emulators with it, so it shouldn't be running in the background right?
I am asking this because some ppl want the ability to play audio via Bluetooth in Kodi, and PulseAudio is needed for that, and I don't want to enabled that, and having problems after, in emultors.
Any input is appreciated,
Thanks -
@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
-
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.
-
@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
-
@Rascas It's visible while viewing a video.
-
-
@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
-
@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.
-
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? -
@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:
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?
-
Please post your Kodi log:
http://kodi.wiki/view/Log_fileAnd a photo of the problem if possible.
-
@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.
-
Thanks, here is a photo of what I am getting during video playback. Working on the logs.
-
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.
-
@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.
-
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.
-
@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!
-
-
@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
-
Only audio issues I noted were when I closed out of Kodi, the menu audio was off by a second or so.
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.