• 1
  • 2
  • 3(current)
  • 4
  • 5
  • 7
[LINUX] Ubuntu PulseAudio Sound Issues
#31
At least in Kubuntu 8.10 getting rid of PulseAudio isnt enough. On some system you also have to update Alsa. There is a great script to do that - check:
http://ubuntu-virginia.ubuntuforums.org/...p?t=962695

Mac Mini - only analog sound work, with the script everything works perfectly
Asus P5E-VM HDMI (no sound over HDMI) the script makes stereo sound work in some programs but not in XBMC
IBM Thinkpad X40 works out of the box, no need for the script

Regards
/O
#32
Does this problem exist in Hardy? I have Intrepid installed but am wondering if it would just be easier to wipe my system and do a fresh install with Hardy instead.
#33
Yes it does, Hardy also uses pulseaudio!
#34
XBMC supports Pulse Audio now so you can always compile from source instead.

Cheers,
Tobias
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
#35
Topfs2 Wrote:XBMC supports Pulse Audio now so you can always compile from source instead.

Cheers,
Tobias

64bit too?
#36
Topfs2 Wrote:XBMC supports Pulse Audio now so you can always compile from source instead.

Cheers,
Tobias

Working fantastically! Thank you.
#37
"If you absolutely positively have to kill every last pulseaudio in the room"

sudo killall -9 pulseaudio

However that will require you to enter your password.

This is less effective, but still more effective than plain "killall pulseaudio":

killall -9 pulseaudio


Does the new pulse support work with surround and passthrough?
#38
slight Wrote:"If you absolutely positively have to kill every last pulseaudio in the room"

sudo killall -9 pulseaudio

However that will require you to enter your password.

This is less effective, but still more effective than plain "killall pulseaudio":

killall -9 pulseaudio


Does the new pulse support work with surround and passthrough?

Surround yes, if you have setup pulseaudio for it (cant be done through XBMC)

Passthrough no, not our fault. PulseAudio actually doesnt support it

kipfel Wrote:64bit too?
I guess? dont have 64bit but the code isnt that specific and as long as libpulse0-dev is available on 64bit it should work.
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
#39
Topfs2 Wrote:I guess? dont have 64bit but the code isnt that specific and as long as libpulse0-dev is available on 64bit it should work.

It plays correct now, right speed etc. But I can't get surround, it plays over all the speakers but not in 5.1. Does someone know how to get xbmc to play surround trough pulseaudio?
#40
IIRC I did something along the lines of
Code:
cd
mkdir .pulse
cp /etc/pulse/daemon.conf ~/.pulse/daemon.conf
cp /etc/pulse/default.pa ~/.pulse/default.pa

and then I opened and edited the daemon.conf by
Code:
gedit ~/.pulse/daemon.conf
and edited
; default-sample-channels = 2
to
default-sample-channels = 6

and restarted the computer.
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
#41
Topfs2 Wrote:IIRC I did something along the lines of
Code:
cd
mkdir .pulse
cp /etc/pulse/daemon.conf ~/.pulse/daemon.conf
cp /etc/pulse/default.pa ~/.pulse/default.pa

and then I opened and edited the daemon.conf by
Code:
gedit ~/.pulse/daemon.conf
and edited
; default-sample-channels = 2
to
default-sample-channels = 6

and restarted the computer.

The default-sample-channels were already set to 6. My surround works with other players, like totem, but not with xbmc. When playing a surround video i only see stereo for xbmc in pulse audio volume manager. But this stereo is trough all speakers.

xbmc is set to analog audio output with default as the device, maybe this needs to be changed, but don't know to what.
#42
could you post a log when your trying to play something that have surround?
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
#43
Here is my log, trying to play a 5.1 test file: http://pastebin.com/f4dc5bb2a

But i was watching a movie this evening and i noticed that the playback wasn't completely flawless, sometimes it went just a little to fast (sound and video both).
#44
Looks like its dvdplayer that mixes it wrong so it shouldnt matter if you run ALSA or PulseAudio, would probably be good if you could file a ticket with a sample and the log. Then the developers could try to reproduce.

Also you could verify that running it in alsa isnt helping, Just killall pulseaudio and then run XBMC again and it should use alsa

Edit: Although the sync error seems to be because the buffer is on the little side and pulseaudio fails to add everything. Though DVDPlayer was gonna fix that. Anyways I will look into it
If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
#45
type in sound device "paul"
I have default ubuntu 8.10

my /etc/asound.conf:

Code:
# Part I directly from ALSA Dmix Wiki

pcm.paul {
    type dmix
    ipc_key 1024
    slave {
        pcm "hw:0,0"    
        period_time 0
        period_size 1024
        buffer_size 8192
       #format "S32_LE"
       #periods 128
        rate 44100
    }
}

pcm.dsp0 {
    type plug
    slave.pcm "paul"
}

# This following device can fool some applications into using pulseaudio
pcm.dsp1 {
    type plug
    slave.pcm "pulse"
}

ctl.mixer0 {
    type hw
    card 0
}

# Part II directly from Pulseaudio Wiki

pcm.pulse {
    type pulse
}

ctl.pulse {
    type pulse
}

# Optional, set defaults

pcm.!default {
    type pulse
}

ctl.!default {
    type pulse
}
  • 1
  • 2
  • 3(current)
  • 4
  • 5
  • 7

Logout Mark Read Team Forum Stats Members Help
[LINUX] Ubuntu PulseAudio Sound Issues0