Kodi Community Forum
[LINUX] Ubuntu PulseAudio Sound Issues - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: [LINUX] Ubuntu PulseAudio Sound Issues (/showthread.php?tid=40249)

Pages: 1 2 3 4 5 6 7


[LINUX] Ubuntu PulseAudio Sound Issues - sparkie - 2008-11-12

Here is some reading material if you've upgraded to Ubuntu Intrepid 8.10
http://ubuntuforums.org/showthread.php?t=866965


- althekiller - 2008-11-12

Nice find, there's also a link in the first post to similar for 8.04. To all those with alsa errors in your logs, check this out.


- s7mx1 - 2008-11-13

Pulse audio is no longer an issue after the developer decided to downmix the 5.1 audio to 2 channels by default in video playing.

To set up put the following into the system wide configuration file /etc/asound.conf

pcm.!default {
type pulse
}

ctl.!default {
type pulse
}

pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}


The xbmc client and pulseaudio server in my setup are both running the 8.10 with unmodified pulseaudio package.

I am more than happy to see the changes as now I can streaming the audio to the my centralised pulseaudio server.


- LAW-Mastermind - 2008-11-16

WOOT? 5.1 is downmixed to 2 channels? Alway or just if you use Pulseaudio? How can i enable 5.1?


- s7mx1 - 2008-11-16

LAW-Mastermind Wrote:WOOT? 5.1 is downmixed to 2 channels? Alway or just if you use Pulseaudio? How can i enable 5.1?

SPDIF passthrough will always give you 5.1 I would guess.


- vajonam - 2008-11-16

I've tried all that, the playback still eventually freezes. when i hit x to stop the plyaback XMBC freezes until i kill -9 on pulseaudio

does any one else have this working? on intrepid?


- LAW-Mastermind - 2008-11-16

I´m using xbmc together with 8.10 , i made a script to startup
Quote:pulseaudio -k
xbmc



- kipfel - 2008-11-17

Is XBMC going to support pulseaudio in the near future? Because i can't get my surround sound to work in XBMC.


does the menu sounds still work - vajonam - 2008-11-17

I find if do the kill pulseaudio trick, then my menu sounds dont work, but movie audio works okay. do you menu navigation sounds still work?


- eversmann - 2008-11-17

For the, everything works (even the sound "ticks" in the menu) when i kill pulseaudio. So the script:
pulseaudio -k
sleep 2
xbmc
pulseaudio -D

works great ;-)


- kipfel - 2008-11-17

I use that script too, but then I can't get the surround sound to work.


- topfs2 - 2008-11-17

kipfel Wrote:Is XBMC going to support pulseaudio in the near future? Because i can't get my surround sound to work in XBMC.

maybe Wink

Should be in XBMC Svn when we have decided on how to implement it good (mostly need to take care on desktops that doesnt use it, ie KDE)

Cheers


- s7mx1 - 2008-11-17

The pulseaudio server running with the following command on the centralised sound server:

/usr/bin/pulseaudio --system --daemonize --high-priority --log-target=syslog --disallow-module-loading=1

On the client all I need to do is to define the

default-server = ; set this to ip where your pulse server is running

in /etc/pulse/client.conf

and rest just works. The client and server both running the latest stock Ubuntu 8.10.

On the client, the pulse audio was automatically started as I log in the GDM with the following command line (I think they are default for ubuntu users)

/usr/bin/pulseaudio -D --log-target=syslog
/usr/lib/pulseaudio/pulse/gconf-helper

I did not try running the pulseaudio server on the same machine as the XBMC client. But I would suggest to run the pulseaudio (on the same machine as the XBMC client) as a system service and disable the user's (XBMC) pulseaudio instance to start up automatically.


- s7mx1 - 2008-11-17

Topfs2 Wrote:maybe Wink

Should be in XBMC Svn when we have decided on how to implement it good (mostly need to take care on desktops that doesnt use it, ie KDE)

Cheers

Hello,

I was having the impression you secretly made some magic code for the pulseaudio support.


- s7mx1 - 2008-11-17

Topfs2 Wrote:maybe Wink

Should be in XBMC Svn when we have decided on how to implement it good (mostly need to take care on desktops that doesnt use it, ie KDE)

Cheers

Can it be ported to XBOX branch? Will be thrilled if it's true.