PDA

View Full Version : HOWTO: PulseAudio Fixes & System-Wide Equalizer Support


Pages : 1 2 3 [4] 5 6 7

Oceanwatcher
October 25th, 2008, 08:55 PM
I got around that problem by deleting things manually. So now I have the following .asoundrc


# ALSA library configuration file

# Include settings that are under the control of asoundconf(1).
# (To disable these settings, comment out this line.)
</home/svein/.asoundrc.asoundconf>

.asoundrc.asounconf lookslike this:


# ALSA library configuration file managed by asoundconf(1).
#
# MANUAL CHANGES TO THIS FILE WILL BE OVERWRITTEN!
#
# Manual changes to the ALSA library configuration should be implemented
# by editing the ~/.asoundrc file, not by editing this file.
pcm.!default { type pulse }
ctl.!default { type pulse }
pcm.pulse { type pulse }
ctl.pulse { type pulse }

The fact that I do not have to stress anymore with getting the index to be 0 for the RME card is just relaxing :-)

But I would very much like to find out if the card is correct configured in ALSA. I really hope we will soon see some really simple point and click interfaces for this. It is a computer and it should be possible to make a program for this :-)

If I type lsmod in a terminal, I get a long listing. The following lines contain a lot about sound. I hope it helps:

snd_rme9652 29152 1
snd_pcm_oss 42144 0
snd_mixer_oss 17920 1 snd_pcm_oss
snd_pcm 78596 2 snd_rme9652,snd_pcm_oss
snd_seq_dummy 4868 0
snd_seq_oss 35584 0
snd_seq_midi 9376 0
snd_rawmidi 25760 1 snd_seq_midi
snd_seq_midi_event 8320 2 snd_seq_oss,snd_seq_midi
jedec_probe 17536 0
snd_seq 54224 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_mid i_event
snd_timer 24836 2 snd_pcm,snd_seq
snd_seq_device 9612 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi ,snd_seq
cfi_probe 6912 0
gen_probe 4608 2 jedec_probe,cfi_probe
serio_raw 7940 0
i2c_amd756 7428 0
snd 56996 12 snd_rme9652,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_ seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_time r,snd_seq_device
mtd 17540 0
chipreg 4224 2 jedec_probe,cfi_probe
button 9232 0
evdev 13056 4
i2c_core 24832 1 i2c_amd756
amd_rng 3716 0
shpchp 34452 0
pci_hotplug 30880 1 shpchp
soundcore 8800 1 snd
snd_page_alloc 11400 2 snd_rme9652,snd_pcm

When I pull up the PA Volume Control, it still says No Streams Available under the playback tab. And under default server, sink and source, nothing is checked and the top says No network devices found. Anything more I should delete that is not on your original list?

Oceanwatcher
October 26th, 2008, 12:27 AM
Well, it turns out there actually is a GUI tool to do the setup. But it is still not working.. You can see it in this thread:

http://ge.ubuntuforums.com/showthread.php?t=759147

BUT - in the thread the author suggested a couple of outputs for troubleshooting that might be helpful here as well.

svein@Aristoteles ~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: R15 [RME Digi9652 (Rev 1.5)], device 0: RME Digi9652 (Rev 1.5) [RME Digi9652 (Rev 1.5)]
Subdevices: 1/1
Subdevice #0: subdevice #0

svein@Aristoteles ~ $ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: R15 [RME Digi9652 (Rev 1.5)], device 0: RME Digi9652 (Rev 1.5) [RME Digi9652 (Rev 1.5)]
Subdevices: 1/1
Subdevice #0: subdevice #0

This is the most interesting one:

svein@Aristoteles ~ $ pulseaudio
E: pid.c: Daemon already running.
E: main.c: pa_pid_file_create() failed.

The content of ~/.pulse/default.pa

#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

.nofail

### Load something into the sample cache
#load-sample-lazy x11-bell /usr/share/sounds/gtk-events/activate.wav
load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav
#load-sample-lazy pulse-coldplug /usr/share/sounds/startup3.wav
#load-sample-lazy pulse-access /usr/share/sounds/generic.wav

.fail

### Load audio drivers statically (it's probably better to not load
### these drivers manually, but instead use module-hal-detect --
### see below -- for doing this automatically)
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
#load-module module-null-sink
#load-module module-pipe-sink
load-module module-alsa-sink device=front:R15 sink_name=R15
load-module module-alsa-source device=hw:R15

### Automatically load driver modules depending on the hardware available
.ifexists module-hal-detect.so
#load-module module-hal-detect
.else
### Alternatively use the static hardware detection module (for systems that
### lack HAL support)
load-module module-detect
.endif

### Load several protocols
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix

### Network access (may be configured with paprefs, so leave this commented
### here if you plan to use paprefs)
#load-module module-esound-protocol-tcp
#load-module module-native-protocol-tcp
#load-module module-zeroconf-publish

### Load the RTP reciever module (also configured via paprefs, see above)
#load-module module-rtp-recv

### Load the RTP sender module (also configured via paprefs, see above)
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 description="RTP Multicast Sink"
#load-module module-rtp-send source=rtp.monitor

### Automatically restore the volume of playback streams
load-module module-volume-restore

### Automatically restore the default sink/source when changed by the user during runtime
load-module module-default-device-restore

### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

### Load X11 bell module
#load-module module-x11-bell sample=x11-bell

### Register ourselves in the X11 session manager
# Deactivated by default, to avoid deadlock when PA is started as esd from gnome-session
# Instead we load this via /etc/xdg/autostart/ and "pactl load-module" now
# load-module module-x11-xsmp

### Load additional modules from GConf settings. This can be configured with the paprefs tool.
### Please keep in mind that the modules configured by paprefs might conflict with manually
### loaded modules.
.ifexists module-gconf.so
.nofail
load-module module-gconf
.fail
.endif

### Publish connection data in the X11 root window
.ifexists module-x11-publish.so
.nofail
load-module module-x11-publish
.fail
.endif

### Make some devices default
#set-default-source input

I hope I am not making anyone dizzy with all this info.. I am just so desperate to get audio fully working here!

Oceanwatcher
October 26th, 2008, 01:24 AM
I did a test with the paconfig application.

First I chose to delete the configuration for the existing user.
I did a reboot.
No sound - BUT
I now have ALSA plug-in (twhirl) showing in the playback tab of the PA Volume Control. And if I open Rythmbox and play a track, it will also show a Playback Stream.

But no sound out.

Also, if I open the Audio preferences, I can click on the Test buttons and it will show that something is playing. But no sound.

So I thought, why not check the meter on the things that are playing. Then I got an error message:

Failed to get sink information: No such entity

In the PA Manager, it shows this Server Information:

Server Name: pulseaudio
Server Version: 0.9.10
Default Sample Type: s16le 2ch 44100Hz
x
x
Default Sink: R15
Default Source: combined.monitor

To me it look like there is no actual link between PulseAudio and the ALSA driver for the soundcard or the soundcard itself.

Is it possible to check this?

By choosing the audiocard in Skype instead of pulse, I could hear the startup sound and I could call the testing service and hear the message there. I have not connected a mic yet, so I can not confirm that the input is working. But nothing shows in the PA Volume Control.

At least this give me some hope that there is a chance to get audio working.

If I choose ALSA as sound in Pidgin and try to test a sound, it crashes out with no message. I can restart it fine, but no audio.

psyke83
October 26th, 2008, 02:13 AM
I did a test with the paconfig application.
<snip>

It's possible that something is seriously screwed on your system, especially considering the strange errors from asoundconf you posted earlier. I'm almost recommending that you download the Intrepid RC and boot from the live cd to see if your sound works correctly...

Play something in Rhythmbox again. When you open the PulseAudio Volume Control, Playback tab, and you see the Rhythmbox client entry, right-click on that entry. Try to move the stream to a different sink.

Are there any choices to move the stream?

Also, I highly recommend you check the volume levels:
$ alsamixer -Dhw

Finally, you say that the Default Source is listed as combined.monitor - this indicates that you are not using the stock PulseAudio settings (or that Mint changes them from the Ubuntu defaults).

gmatyi
October 26th, 2008, 08:34 AM
Hi!

long time ago I'v been reading this topic hoping that I managed to solve my sound and flash play problem on my ubuntu x64 system.

today I followed this instruction, http://ubuntuforums.org/showpost.php?p=5587712&postcount=472 , but there is no change.

I can't use skype, and lot's of video isn't play in firefox.

skype: sometimes I can talk with my contacts. Other time I get en error message: audio capture problem..

flash: there is f.e. this page: http://sportgeza.hu/futball/2008/10/25/dontetlen_jatszott_az_everton_a_manchester_unitedd el/ . Here one flash video can be play, but the other doesn't appers. I see instead of the video only a gray box.

sound capture setting: how to configure the sound capture on the system/preferences/sound?

Pls. help me anybody.

thx. Gabor

flickerfly
October 30th, 2008, 10:52 AM
Thank you for your helpful guide. I've followed the instructions for the installation from PPA. I think I have a permissions issue.

I've found that both Banshee and Firefox end up with my situation A, they show up in the device chooser. I also discovered that if I right-click on the stream and select my USB headphones, that the sound comes through that device, but not the computer(an Intel ICH6 card). I've had this working before. I rechecked to assure that my speakers were plugged in properly and were provided with power.

I ran the debug command you mentioned in Appendix B. The first time I ran it I received a message "Connection failed; connection timed out" in a popup. I think this may have been from the device chooser freaking about something related to the debug command. Probably loss of the server connection.

$ pulseaudio -k; sleep 4; pulseaudio -vv
E: main.c: Failed to kill daemon.
I: main.c: We're in the group 'pulse-rt', allowing real-time and high-priority scheduling.
I: core-util.c: Successfully gained nice level -11.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_266e_sound_card_0_alsa_playback_4
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_266e_sound_card_0_alsa_capture_3
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_266e_sound_card_0_alsa_capture_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_266e_sound_card_0_alsa_capture_1
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_8086_266e_sound_card_0_a lsa_playback_0'
D: alsa-util.c: Trying front:0...
I: alsa-util.c: Couldn't open PCM device front:0: Device or resource busy
D: alsa-util.c: Trying surround40:0...
I: alsa-util.c: Couldn't open PCM device surround40:0: Device or resource busy
D: alsa-util.c: Trying surround41:0...
I: alsa-util.c: Couldn't open PCM device surround41:0: Device or resource busy
D: alsa-util.c: Trying surround50:0...
I: alsa-util.c: Couldn't open PCM device surround50:0: Device or resource busy
D: alsa-util.c: Trying surround51:0...
I: alsa-util.c: Couldn't open PCM device surround51:0: Device or resource busy
D: alsa-util.c: Trying surround71:0...
ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.ICH4.pcm.surround71.0:CARD=0'
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM surround71:0
I: alsa-util.c: Couldn't open PCM device surround71:0: No such file or directory
D: alsa-util.c: Trying hw:0 as last resort...
E: alsa-util.c: Error opening PCM device hw:0: Device or resource busy
E: module.c: Failed to load module "module-alsa-sink" (argument: "device_id=0 sink_name=alsa_output.pci_8086_266e_sound_card_0_a lsa_playback_0"): initialization failed.
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_266e_sound_card_0_alsa_playback_0
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_8086_266e_sound_card_0_ alsa_capture_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-source.c: Successfully opened device front:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Capture".
I: source.c: Created source 0 "alsa_input.pci_8086_266e_sound_card_0_alsa_capture _0" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-source.c: Using 8 fragments of size 880 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module.c: Loaded "module-alsa-source" (index: #0; argument: "device_id=0 source_name=alsa_input.pci_8086_266e_sound_card_0_ alsa_capture_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_266e_sound_card_0_alsa_control__1
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=1 sink_name=alsa_output.usb_device_46d_a01_noserial_ if0_sound_card_0_alsa_playback_0'
D: alsa-util.c: Trying front:1...
I: module-alsa-sink.c: Successfully opened device front:1.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:1
I: alsa-util.c: Unable to attach to mixer front:1: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:1'
I: alsa-util.c: Cannot find mixer control "Master".
W: alsa-util.c: Cannot find fallback mixer control "PCM".
I: sink.c: Created sink 0 "alsa_output.usb_device_46d_a01_noserial_if0_sound_ card_0_alsa_playback_0" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 1 "alsa_output.usb_device_46d_a01_noserial_if0_sound_ card_0_alsa_playback_0.monitor" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-sink.c: Using 8 fragments of size 880 bytes.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #1; argument: "device_id=1 sink_name=alsa_output.usb_device_46d_a01_noserial_ if0_sound_card_0_alsa_playback_0").
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=1 source_name=alsa_input.usb_device_46d_a01_noserial _if0_sound_card_0_alsa_capture_0'
D: alsa-util.c: Trying front:1...
I: alsa-util.c: PCM device front:1 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround40:1...
I: alsa-util.c: PCM device surround40:1 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround41:1...
I: alsa-util.c: PCM device surround41:1 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround50:1...
I: alsa-util.c: PCM device surround50:1 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround51:1...
I: alsa-util.c: PCM device surround51:1 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround71:1...
I: alsa-util.c: PCM device surround71:1 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying hw:1 as last resort...
W: alsa-util.c: Device hw:1 doesn't support 2 channels, changed to 1.
I: module-alsa-source.c: Successfully opened device hw:1.
I: module-alsa-source.c: Successfully enabled mmap() mode.
I: alsa-util.c: Successfully attached to mixer 'hw:1'
I: alsa-util.c: Cannot find mixer control "Capture".
I: alsa-util.c: Using mixer control "Mic".
I: source.c: Created source 2 "alsa_input.usb_device_46d_a01_noserial_if0_sound_c ard_0_alsa_capture_0" with sample spec "s16le 1ch 44100Hz"
I: module-alsa-source.c: Using 8 fragments of size 440 bytes.
I: alsa-util.c: All 1 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+27
I: module.c: Loaded "module-alsa-source" (index: #2; argument: "device_id=1 source_name=alsa_input.usb_device_46d_a01_noserial _if0_sound_card_0_alsa_capture_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/usb_device_46d_a01_noserial_if0_sound_card_0_alsa_ control__1
I: module-hal-detect.c: Loaded 3 modules.
I: module.c: Loaded "module-hal-detect" (index: #3; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #4; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #5; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
D: module-gconf.c: Loading module 'module-native-protocol-tcp' with args '' due to GConf configuration.
I: protocol-native.c: using already loaded auth cookie.
I: protocol-native.c: using already loaded auth cookie.
I: module.c: Loaded "module-native-protocol-tcp" (index: #6; argument: "").
D: module-gconf.c: Loading module 'module-esound-protocol-tcp' with args '' due to GConf configuration.
I: module.c: Loaded "module-esound-protocol-tcp" (index: #7; argument: "").
D: module-gconf.c: Loading module 'module-zeroconf-publish' with args '' due to GConf configuration.
D: module-zeroconf-publish.c: Publishing services in Zeroconf
D: module-zeroconf-publish.c: Successfully created entry group for josiah@josiah-desktop: ALSA PCM on front:1 (USB Audio) via DMA.
D: module-zeroconf-publish.c: Successfully created entry group for josiah@josiah-desktop: ALSA PCM on front:0 (Intel ICH6) via DMA.
D: module-zeroconf-publish.c: Successfully created entry group for josiah@josiah-desktop: ALSA PCM on hw:1 (USB Audio) via DMA.
I: module.c: Loaded "module-zeroconf-publish" (index: #8; argument: "").
D: module-gconf.c: Loading module 'module-zeroconf-discover' with args '' due to GConf configuration.
I: module.c: Loaded "module-zeroconf-discover" (index: #9; argument: "").
I: module.c: Loaded "module-gconf" (index: #10; argument: "").
I: module.c: Loaded "module-volume-restore" (index: #11; argument: "").
I: module-default-device-restore.c: Saved default sink 'alsa_output.pci_8086_266e_sound_card_0_alsa_playb ack_0' not existant, not restoring default sink setting.
D: module-default-device-restore.c: Restored default source 'alsa_input.pci_8086_266e_sound_card_0_alsa_captur e_0'.
I: module.c: Loaded "module-default-device-restore" (index: #12; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #13; argument: "").
D: module-suspend-on-idle.c: Sink alsa_output.usb_device_46d_a01_noserial_if0_sound_ card_0_alsa_playback_0 becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.pci_8086_266e_sound_card_0_alsa_capture _0 becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.usb_device_46d_a01_noserial_if0_sound_ card_0_alsa_playback_0.monitor becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.usb_device_46d_a01_noserial_if0_sound_c ard_0_alsa_capture_0 becomes idle.
I: module.c: Loaded "module-suspend-on-idle" (index: #14; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #15; argument: "").
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
I: module-zeroconf-publish.c: Successfully established service josiah@josiah-desktop: ALSA PCM on front:1 (USB Audio) via DMA.
I: module-zeroconf-publish.c: Successfully established service josiah@josiah-desktop: ALSA PCM on front:0 (Intel ICH6) via DMA.
I: module-zeroconf-publish.c: Successfully established service josiah@josiah-desktop: ALSA PCM on hw:1 (USB Audio) via DMA.
I: module-zeroconf-publish.c: Successfully established main service.
I: module-suspend-on-idle.c: Source alsa_input.usb_device_46d_a01_noserial_if0_sound_c ard_0_alsa_capture_0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_output.usb_device_46d_a01_noserial_if0_sound_ card_0_alsa_playback_0.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Source alsa_input.pci_8086_266e_sound_card_0_alsa_capture _0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Sink alsa_output.usb_device_46d_a01_noserial_if0_sound_ card_0_alsa_playback_0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...
I: client.c: Created 0 "Native client (UNIX socket client)"
I: protocol-native.c: Got credentials: uid=1000 gid=1000 success=1
I: protocol-native.c: Enabled SHM for new connection
I: client.c: Client 0 changed name from "Native client (UNIX socket client)" to "PulseAudio Volume Control"

I: client.c: Created 1 "Native client (UNIX socket client)"
I: protocol-native.c: Got credentials: uid=1000 gid=1000 success=1
I: protocol-native.c: Enabled SHM for new connection
I: client.c: Client 1 changed name from "Native client (UNIX socket client)" to "Nereid"
I: module-volume-restore.c: Restoring sink for <pulsecore/protocol-native.c$Nereid>
I: module-volume-restore.c: Restoring volume for <pulsecore/protocol-native.c$Nereid>
I: module-alsa-sink.c: Trying resume...
I: module-alsa-sink.c: Resumed successfully...
I: module-alsa-sink.c: Starting playback.
D: module-suspend-on-idle.c: Sink alsa_output.usb_device_46d_a01_noserial_if0_sound_ card_0_alsa_playback_0 becomes idle.
D: module-suspend-on-idle.c: Sink alsa_output.usb_device_46d_a01_noserial_if0_sound_ card_0_alsa_playback_0 becomes busy.
I: resampler.c: Forcing resampler 'copy', because of fixed, identical sample rates.
I: resampler.c: Using resampler 'copy'
I: resampler.c: Using float32le as working format.
I: sink-input.c: Created input 0 "Playback Stream" on alsa_output.usb_device_46d_a01_noserial_if0_sound_ card_0_alsa_playback_0 with sample spec float32le 2ch 44100Hz and channel map front-left,front-right
D: memblock.c: Memory block too large for pool: 17640 > 16376
D: memblockq.c: memblockq requested: maxlength=141120, tlength=70560, base=8, prebuf=67032, minreq=3528
D: memblockq.c: memblockq sanitized: maxlength=141120, tlength=70560, base=8, prebuf=67032, minreq=3528
I: client.c: Created 2 "Native client (UNIX socket client)"
I: protocol-native.c: Got credentials: uid=1000 gid=1000 success=1
I: protocol-native.c: Enabled SHM for new connection
I: client.c: Client 2 changed name from "Native client (UNIX socket client)" to "Pidgin"
I: module-volume-restore.c: Restoring volume for <pulsecore/protocol-native.c$Pidgin>
D: module-suspend-on-idle.c: Sink alsa_output.usb_device_46d_a01_noserial_if0_sound_ card_0_alsa_playback_0 becomes busy.
I: resampler.c: Using resampler 'speex-float-1'
I: resampler.c: Using float32le as working format.
I: resampler.c: Choosing speex quality setting 1.
I: sink-input.c: Created input 1 "Playback Stream" on alsa_output.usb_device_46d_a01_noserial_if0_sound_ card_0_alsa_playback_0 with sample spec s16le 2ch 22050Hz and channel map front-left,front-right
D: memblockq.c: memblockq requested: maxlength=35200, tlength=17600, base=4, prebuf=16720, minreq=880
D: memblockq.c: memblockq sanitized: maxlength=35200, tlength=17600, base=4, prebuf=16720, minreq=880
I: module-volume-restore.c: Saving sink for <pulsecore/protocol-native.c$Pidgin>
I: sink-input.c: Freeing output 1 "Playback Stream"
I: client.c: Freed 2 "Pidgin"
I: protocol-native.c: connection died.
I: module-volume-restore.c: Saving rules...
D: module-volume-restore.c: Successfully saved rules...


Running it this way means I don't get the actual Intel audio card available. Once the daemon starts, I only have the USB headphones and everything automatically plays through them.

If I run it as root, device chooser gives me the "Connection failed; connection timed out" which I'm beginning to expect means the program can't find an appropriate server. Also, no audio plays, but I do see it pick up the intel card properly. I'm expecting a permission issue, but don't know where.

Here is the output when run as root.

# pulseaudio -k; sleep 4; pulseaudio -vv
E: main.c: Failed to kill daemon.
I: core-util.c: Successfully gained nice level -11.
W: main.c: This program is not intended to be run as root (unless --system is specified).
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_266e_sound_card_0_alsa_playback_4
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_266e_sound_card_0_alsa_capture_3
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_266e_sound_card_0_alsa_capture_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_266e_sound_card_0_alsa_capture_1
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_8086_266e_sound_card_0_a lsa_playback_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-sink.c: Successfully opened device front:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Master".
I: sink.c: Created sink 0 "alsa_output.pci_8086_266e_sound_card_0_alsa_playba ck_0" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 0 "alsa_output.pci_8086_266e_sound_card_0_alsa_playba ck_0.monitor" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-sink.c: Using 8 fragments of size 880 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #0; argument: "device_id=0 sink_name=alsa_output.pci_8086_266e_sound_card_0_a lsa_playback_0").
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_8086_266e_sound_card_0_ alsa_capture_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-source.c: Successfully opened device front:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Capture".
I: source.c: Created source 1 "alsa_input.pci_8086_266e_sound_card_0_alsa_capture _0" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-source.c: Using 8 fragments of size 880 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28
I: module.c: Loaded "module-alsa-source" (index: #1; argument: "device_id=0 source_name=alsa_input.pci_8086_266e_sound_card_0_ alsa_capture_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_266e_sound_card_0_alsa_control__1
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=1 sink_name=alsa_output.usb_device_46d_a01_noserial_ if0_sound_card_0_alsa_playback_0'
D: alsa-util.c: Trying front:1...
I: module-alsa-sink.c: Successfully opened device front:1.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:1
I: alsa-util.c: Unable to attach to mixer front:1: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:1'
I: alsa-util.c: Cannot find mixer control "Master".
W: alsa-util.c: Cannot find fallback mixer control "PCM".
I: sink.c: Created sink 1 "alsa_output.usb_device_46d_a01_noserial_if0_sound_ card_0_alsa_playback_0" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 2 "alsa_output.usb_device_46d_a01_noserial_if0_sound_ card_0_alsa_playback_0.monitor" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-sink.c: Using 8 fragments of size 880 bytes.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+27
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #2; argument: "device_id=1 sink_name=alsa_output.usb_device_46d_a01_noserial_ if0_sound_card_0_alsa_playback_0").
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=1 source_name=alsa_input.usb_device_46d_a01_noserial _if0_sound_card_0_alsa_capture_0'
D: alsa-util.c: Trying front:1...
I: alsa-util.c: PCM device front:1 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround40:1...
I: alsa-util.c: PCM device surround40:1 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround41:1...
I: alsa-util.c: PCM device surround41:1 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround50:1...
I: alsa-util.c: PCM device surround50:1 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround51:1...
I: alsa-util.c: PCM device surround51:1 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround71:1...
I: alsa-util.c: PCM device surround71:1 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying hw:1 as last resort...
W: alsa-util.c: Device hw:1 doesn't support 2 channels, changed to 1.
I: module-alsa-source.c: Successfully opened device hw:1.
I: module-alsa-source.c: Successfully enabled mmap() mode.
I: alsa-util.c: Successfully attached to mixer 'hw:1'
I: alsa-util.c: Cannot find mixer control "Capture".
I: alsa-util.c: Using mixer control "Mic".
I: source.c: Created source 3 "alsa_input.usb_device_46d_a01_noserial_if0_sound_c ard_0_alsa_capture_0" with sample spec "s16le 1ch 44100Hz"
I: module-alsa-source.c: Using 8 fragments of size 440 bytes.
I: alsa-util.c: All 1 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+26
I: module.c: Loaded "module-alsa-source" (index: #3; argument: "device_id=1 source_name=alsa_input.usb_device_46d_a01_noserial _if0_sound_card_0_alsa_capture_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/usb_device_46d_a01_noserial_if0_sound_card_0_alsa_ control__1
I: module-hal-detect.c: Loaded 4 modules.
I: module.c: Loaded "module-hal-detect" (index: #4; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #5; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #6; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
I: module.c: Loaded "module-gconf" (index: #7; argument: "").
I: module.c: Loaded "module-volume-restore" (index: #8; argument: "").
D: module-default-device-restore.c: Restored default sink 'alsa_output.usb_device_46d_a01_noserial_if0_sound _card_0_alsa_playback_0'.
D: core-subscribe.c: dropped redundant event.
D: module-default-device-restore.c: Restored default source 'alsa_input.pci_8086_266e_sound_card_0_alsa_captur e_0'.
I: module.c: Loaded "module-default-device-restore" (index: #9; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #10; argument: "").
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_266e_sound_card_0_alsa_playba ck_0 becomes idle.
D: module-suspend-on-idle.c: Sink alsa_output.usb_device_46d_a01_noserial_if0_sound_ card_0_alsa_playback_0 becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.pci_8086_266e_sound_card_0_alsa_playba ck_0.monitor becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.pci_8086_266e_sound_card_0_alsa_capture _0 becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.usb_device_46d_a01_noserial_if0_sound_ card_0_alsa_playback_0.monitor becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.usb_device_46d_a01_noserial_if0_sound_c ard_0_alsa_capture_0 becomes idle.
I: module.c: Loaded "module-suspend-on-idle" (index: #11; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #12; argument: "").
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
I: module-suspend-on-idle.c: Source alsa_input.usb_device_46d_a01_noserial_if0_sound_c ard_0_alsa_capture_0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_output.usb_device_46d_a01_noserial_if0_sound_ card_0_alsa_playback_0.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Source alsa_input.pci_8086_266e_sound_card_0_alsa_capture _0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_output.pci_8086_266e_sound_card_0_alsa_playba ck_0.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Sink alsa_output.usb_device_46d_a01_noserial_if0_sound_ card_0_alsa_playback_0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...
I: module-suspend-on-idle.c: Sink alsa_output.pci_8086_266e_sound_card_0_alsa_playba ck_0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...

poccino
October 30th, 2008, 01:32 PM
i use Skype with Ubuntu Hardy heron 8.04.
I have serious troubles with pulse audio, so I followed this guide which was suggested on the Ubuntu forum

http://www.ubuntugeek.com/pulseaudio-fixes-system-wide-equalizer-support-in-ubuntu-804-hardy-heron.html

I set the microphone as follows (see Alsa and Kmix respectively), but I fail test call.

http://immagini.p2pforum.it/out.php/t380754_Schermata.png (http://immagini.p2pforum.it/out.php/i380754_Schermata.png)

http://immagini.p2pforum.it/out.php/t380755_Schermata1.png (http://immagini.p2pforum.it/out.php/i380755_Schermata1.png)

Grateful for any help. Thanks

Oceanwatcher
November 2nd, 2008, 05:26 PM
It's possible that something is seriously screwed on your system, especially considering the strange errors from asoundconf you posted earlier.

That is something we totally agree on, sir! :-) I had some other reasons today to look into the log of things on the computer and thought you might want to see the part that has to do with PA and ALSA during startup:

Nov 2 11:39:40 Aristoteles pulseaudio[5641]: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
Nov 2 11:39:40 Aristoteles pulseaudio[5641]: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
Nov 2 11:39:40 Aristoteles pulseaudio[5641]: alsa-util.c: Unable to determine current swparams: Operation not permitted
Nov 2 11:39:40 Aristoteles pulseaudio[5641]: module-alsa-sink.c: Got POLLERR from ALSA
Nov 2 11:39:40 Aristoteles pulseaudio[5641]: module-alsa-sink.c: Could not recover from POLLERR|POLLNVAL|POLLHUP with snd_pcm_prepare(): Input/output error
Nov 2 11:39:40 Aristoteles pulseaudio[5641]: alsa-util.c: Unable to determine current swparams: Operation not permitted
Nov 2 11:39:40 Aristoteles pulseaudio[5641]: alsa-util.c: Cannot find fallback mixer control "Mic".
Nov 2 11:39:40 Aristoteles pulseaudio[5641]: module-alsa-source.c: Got POLLERR from ALSA
Nov 2 11:39:40 Aristoteles pulseaudio[5641]: module-alsa-source.c: Could not recover from POLLERR|POLLNVAL|POLLHUP with snd_pcm_prepare(): Input/output error
Nov 2 11:40:23 Aristoteles kernel: [ 115.553031] process `skype' is using obsolete setsockopt SO_BSDCOMPAT
Nov 2 11:40:46 Aristoteles kernel: [ 138.206879] nautilus[5806]: segfault at ba000020 eip b76ae2d6 esp bfda8b80 error 4
Nov 2 11:41:01 Aristoteles pulseaudio[6177]: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
Nov 2 11:41:01 Aristoteles pulseaudio[6177]: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
Nov 2 11:41:02 Aristoteles pulseaudio[6177]: alsa-util.c: Unable to determine current swparams: Operation not permitted
Nov 2 11:41:02 Aristoteles pulseaudio[6177]: module-alsa-sink.c: Got POLLERR from ALSA
Nov 2 11:41:02 Aristoteles pulseaudio[6177]: module-alsa-sink.c: Could not recover from POLLERR|POLLNVAL|POLLHUP with snd_pcm_prepare(): Input/output error
Nov 2 11:41:02 Aristoteles pulseaudio[6177]: alsa-util.c: Unable to determine current swparams: Operation not permitted
Nov 2 11:41:02 Aristoteles pulseaudio[6177]: alsa-util.c: Cannot find fallback mixer control "Mic".
Nov 2 11:41:02 Aristoteles pulseaudio[6177]: module-alsa-source.c: Got POLLERR from ALSA
Nov 2 11:41:02 Aristoteles pulseaudio[6177]: module-alsa-source.c: Could not recover from POLLERR|POLLNVAL|POLLHUP with snd_pcm_prepare(): Input/output error

Play something in Rhythmbox again. When you open the PulseAudio Volume Control, Playback tab, and you see the Rhythmbox client entry, right-click on that entry. Try to move the stream to a different sink.

Just the combined thing. No possibility to move it to anything.

Also, I highly recommend you check the volume levels:
$ alsamixer -Dhw

When I do this, I get the same as in the GUI - not very much. And this make me suspect there is something that is not set up right with ALSA and my soundcard. I can only get a fader for IEC958, not for any of the playout tracks etc. There should actually be ADAT1-3 with 8 channels on each in and the same out. I have 3 optical in and 3 out on this card. But I do not see any of it in the mixer.

So maybe I should forget about PA and try to make sure ALSA is set up correct for now?

Finally, you say that the Default Source is listed as combined.monitor - this indicates that you are not using the stock PulseAudio settings (or that Mint changes them from the Ubuntu defaults).

Could also be.. So.. What is the easiest way to get totally rid of PA and get back to ALSA only?

Another thing - ever since doing your upgrade thing with Flash, my Firefox crashes clean if I try to load anything like flash game or a flash videoplayer (YouTube etc.). So I think it might be a good idea to clean this one out as well...

flickerfly
November 5th, 2008, 09:36 AM
I also discovered that if I right-click on the stream and select my USB headphones, that the sound comes through that device, but not the computer(an Intel ICH6 card).

Embarrassing... So it looked like in all the places that PulseAudio showed that my volume was all the way up. Apparently, I hadn't tried to twist the volume knob on my Dell multimedia keyboard. When I did this, I realized that the little opaque pop-up thing showed the volume as all the way down. I went to change the stream to the soundcard and now we're back to our expected results.

:oops:

Hope this saves someone else from a few days of soundlessness.

Baggyeyes
November 12th, 2008, 03:05 PM
psyke83 you deserve a medal for this, thanks very much

WildeBeest
November 12th, 2008, 06:46 PM
I followed your procedure verbatim.

Now I have no audio what so ever.

Sound preferences for all settings, test does not produce any sound.

Also, ever since the install firefox is very slow and constantly goes into the busy state for minutes at a time.

here's the output of
pulseaudio -k; sleep 4; pulseaudio -vv


I: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
I: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
I: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
I: main.c: Note that real-time/high-priority scheduling is NOT normally required. If you experience crackling or other sound anomalies, consider one or more of the above solutions.
I: main.c: High-priority scheduling enabled in configuration but now allowed by policy. Disabling forcibly.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=2 sink_name=alsa_output.usb_device_8bb_2900_noserial _if0_sound_card_0_alsa_playback_0'
D: alsa-util.c: Trying front:2...
I: module-alsa-sink.c: Successfully opened device front:2.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:2
I: alsa-util.c: Unable to attach to mixer front:2: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:2'
I: alsa-util.c: Cannot find mixer control "Master".
I: alsa-util.c: Using mixer control "PCM".
I: sink.c: Created sink 0 "alsa_output.usb_device_8bb_2900_noserial_if0_sound _card_0_alsa_playback_0" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 0 "alsa_output.usb_device_8bb_2900_noserial_if0_sound _card_0_alsa_playback_0.monitor" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-sink.c: Using 8 fragments of size 880 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #0; argument: "device_id=2 sink_name=alsa_output.usb_device_8bb_2900_noserial _if0_sound_card_0_alsa_playback_0").
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=2 source_name=alsa_input.usb_device_8bb_2900_noseria l_if0_sound_card_0_alsa_capture_0'
D: alsa-util.c: Trying front:2...
I: module-alsa-source.c: Successfully opened device front:2.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:2
I: alsa-util.c: Unable to attach to mixer front:2: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:2'
I: alsa-util.c: Cannot find mixer control "Capture".
W: alsa-util.c: Cannot find fallback mixer control "Mic".
I: source.c: Created source 1 "alsa_input.usb_device_8bb_2900_noserial_if0_sound_ card_0_alsa_capture_0" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-source.c: Using 8 fragments of size 880 bytes.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28
I: module.c: Loaded "module-alsa-source" (index: #1; argument: "device_id=2 source_name=alsa_input.usb_device_8bb_2900_noseria l_if0_sound_card_0_alsa_capture_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/usb_device_8bb_2900_noserial_if0_sound_card_0_alsa _control__1
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=1 source_name=alsa_input.usb_device_45e_f7_noserial_ if1_sound_card_0_alsa_capture_0'
D: alsa-util.c: Trying front:1...
I: alsa-util.c: PCM device front:1 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround40:1...
I: alsa-util.c: PCM device surround40:1 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround41:1...
I: alsa-util.c: PCM device surround41:1 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround50:1...
I: alsa-util.c: PCM device surround50:1 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround51:1...
I: alsa-util.c: PCM device surround51:1 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround71:1...
I: alsa-util.c: PCM device surround71:1 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying hw:1 as last resort...
W: alsa-util.c: Device hw:1 doesn't support 44100 Hz, changed to 16000 Hz.
W: alsa-util.c: Device hw:1 doesn't support 2 channels, changed to 1.
I: module-alsa-source.c: Successfully opened device hw:1.
I: module-alsa-source.c: Successfully enabled mmap() mode.
I: alsa-util.c: Successfully attached to mixer 'hw:1'
I: alsa-util.c: Cannot find mixer control "Capture".
I: alsa-util.c: Using mixer control "Mic".
I: source.c: Created source 2 "alsa_input.usb_device_45e_f7_noserial_if1_sound_ca rd_0_alsa_capture_0" with sample spec "s16le 1ch 16000Hz"
I: module-alsa-source.c: Using 8 fragments of size 440 bytes.
I: alsa-util.c: All 1 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+27
I: module.c: Loaded "module-alsa-source" (index: #2; argument: "device_id=1 source_name=alsa_input.usb_device_45e_f7_noserial_ if1_sound_card_0_alsa_capture_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/usb_device_45e_f7_noserial_if1_sound_card_0_alsa_c ontrol__1
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_27d8_sound_card_0_alsa_capture_4
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_8086_27d8_sound_card_0_a lsa_playback_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-sink.c: Successfully opened device front:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Master".
I: sink.c: Created sink 1 "alsa_output.pci_8086_27d8_sound_card_0_alsa_playba ck_0" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 3 "alsa_output.pci_8086_27d8_sound_card_0_alsa_playba ck_0.monitor" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-sink.c: Using 8 fragments of size 896 bytes.
I: alsa-util.c: ALSA device lacks independant volume controls for each channel, falling back to software volume control.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+26
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #3; argument: "device_id=0 sink_name=alsa_output.pci_8086_27d8_sound_card_0_a lsa_playback_0").
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_8086_27d8_sound_card_0_ alsa_capture_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-source.c: Successfully opened device front:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Capture".
I: source.c: Created source 4 "alsa_input.pci_8086_27d8_sound_card_0_alsa_capture _0" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-source.c: Using 8 fragments of size 896 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+25
I: module.c: Loaded "module-alsa-source" (index: #4; argument: "device_id=0 source_name=alsa_input.pci_8086_27d8_sound_card_0_ alsa_capture_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_27d8_sound_card_0_alsa_hw_specific_0
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_27d8_sound_card_0_alsa_control__1
I: module-hal-detect.c: Loaded 5 modules.
I: module.c: Loaded "module-hal-detect" (index: #5; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #6; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #7; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
D: module-gconf.c: Loading module 'module-combine' with args '' due to GConf configuration.
I: sink.c: Created sink 2 "combined" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 5 "combined.monitor" with sample spec "s16le 2ch 44100Hz"
D: memblockq.c: memblockq requested: maxlength=174080, tlength=174080, base=4, prebuf=1, minreq=0
D: memblockq.c: memblockq sanitized: maxlength=174080, tlength=174080, base=4, prebuf=4, minreq=4
I: resampler.c: Using resampler 'trivial'
I: resampler.c: Using s16le as working format.
I: sink-input.c: Created input 0 "Simultaneous output on ALSA PCM on front:2 (USB Audio) via DMA" on alsa_output.usb_device_8bb_2900_noserial_if0_sound _card_0_alsa_playback_0 with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
D: memblockq.c: memblockq requested: maxlength=174080, tlength=174080, base=4, prebuf=1, minreq=0
D: memblockq.c: memblockq sanitized: maxlength=174080, tlength=174080, base=4, prebuf=4, minreq=4
I: resampler.c: Using resampler 'trivial'
I: resampler.c: Using s16le as working format.
I: sink-input.c: Created input 1 "Simultaneous output on ALSA PCM on front:0 (ALC883 Analog) via DMA" on alsa_output.pci_8086_27d8_sound_card_0_alsa_playba ck_0 with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: module-combine.c: Master sink is now 'alsa_output.usb_device_8bb_2900_noserial_if0_soun d_card_0_alsa_playback_0'
D: module-combine.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+24
I: module.c: Loaded "module-combine" (index: #8; argument: "").
I: module.c: Loaded "module-gconf" (index: #9; argument: "").
I: module.c: Loaded "module-volume-restore" (index: #10; argument: "").
D: module-default-device-restore.c: Restored default sink 'alsa_output.usb_device_8bb_2900_noserial_if0_soun d_card_0_alsa_playback_0'.
D: core-subscribe.c: dropped redundant event.
D: module-default-device-restore.c: Restored default source 'alsa_input.usb_device_45e_f7_noserial_if1_sound_c ard_0_alsa_capture_0'.
I: module.c: Loaded "module-default-device-restore" (index: #11; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #12; argument: "").
D: module-suspend-on-idle.c: Sink combined becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.usb_device_8bb_2900_noserial_if0_sound _card_0_alsa_playback_0.monitor becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.usb_device_8bb_2900_noserial_if0_sound_ card_0_alsa_capture_0 becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.usb_device_45e_f7_noserial_if1_sound_ca rd_0_alsa_capture_0 becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.pci_8086_27d8_sound_card_0_alsa_playba ck_0.monitor becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.pci_8086_27d8_sound_card_0_alsa_capture _0 becomes idle.
D: module-suspend-on-idle.c: Source combined.monitor becomes idle.
I: module.c: Loaded "module-suspend-on-idle" (index: #13; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #14; argument: "").
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
I: module-suspend-on-idle.c: Source combined.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Source alsa_input.pci_8086_27d8_sound_card_0_alsa_capture _0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_output.pci_8086_27d8_sound_card_0_alsa_playba ck_0.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Source alsa_input.usb_device_45e_f7_noserial_if1_sound_ca rd_0_alsa_capture_0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_input.usb_device_8bb_2900_noserial_if0_sound_ card_0_alsa_capture_0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_output.usb_device_8bb_2900_noserial_if0_sound _card_0_alsa_playback_0.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Sink combined idle for too long, suspending ...
D: module-suspend-on-idle.c: Sink alsa_output.usb_device_8bb_2900_noserial_if0_sound _card_0_alsa_playback_0 becomes idle.
D: module-suspend-on-idle.c: Sink alsa_output.usb_device_8bb_2900_noserial_if0_sound _card_0_alsa_playback_0 becomes idle.
I: sink-input.c: Freeing output 0 "Simultaneous output on ALSA PCM on front:2 (USB Audio) via DMA"
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_27d8_sound_card_0_alsa_playba ck_0 becomes idle.
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_27d8_sound_card_0_alsa_playba ck_0 becomes idle.
I: sink-input.c: Freeing output 1 "Simultaneous output on ALSA PCM on front:0 (ALC883 Analog) via DMA"
I: module-combine.c: No master selected, lacking suitable outputs.
I: module-combine.c: Device suspended...
I: module-suspend-on-idle.c: Sink alsa_output.usb_device_8bb_2900_noserial_if0_sound _card_0_alsa_playback_0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...
I: module-suspend-on-idle.c: Sink alsa_output.pci_8086_27d8_sound_card_0_alsa_playba ck_0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...
I: client.c: Created 0 "Native client (UNIX socket client)"
I: protocol-native.c: Got credentials: uid=1000 gid=1000 success=1
I: protocol-native.c: Enabled SHM for new connection
I: client.c: Client 0 changed name from "Native client (UNIX socket client)" to "Pidgin"
I: module-volume-restore.c: Restoring sink for <pulsecore/protocol-native.c$Pidgin>
I: module-volume-restore.c: Restoring volume for <pulsecore/protocol-native.c$Pidgin>
I: module-alsa-sink.c: Trying resume...
I: module-alsa-sink.c: Resumed successfully...
I: module-alsa-sink.c: Starting playback.
D: module-suspend-on-idle.c: Sink alsa_output.usb_device_8bb_2900_noserial_if0_sound _card_0_alsa_playback_0 becomes idle.
D: module-suspend-on-idle.c: Sink alsa_output.usb_device_8bb_2900_noserial_if0_sound _card_0_alsa_playback_0 becomes busy.
I: resampler.c: Using resampler 'speex-float-1'
I: resampler.c: Using float32le as working format.
I: resampler.c: Choosing speex quality setting 1.
I: sink-input.c: Created input 2 "Playback Stream" on alsa_output.usb_device_8bb_2900_noserial_if0_sound _card_0_alsa_playback_0 with sample spec s16le 2ch 22050Hz and channel map front-left,front-right
D: memblockq.c: memblockq requested: maxlength=35200, tlength=17600, base=4, prebuf=16720, minreq=880
D: memblockq.c: memblockq sanitized: maxlength=35200, tlength=17600, base=4, prebuf=16720, minreq=880
D: module-suspend-on-idle.c: Sink alsa_output.usb_device_8bb_2900_noserial_if0_sound _card_0_alsa_playback_0 becomes idle.
D: module-suspend-on-idle.c: Sink alsa_output.usb_device_8bb_2900_noserial_if0_sound _card_0_alsa_playback_0 becomes idle.
I: sink-input.c: Freeing output 2 "Playback Stream"
I: client.c: Freed 0 "Pidgin"
I: protocol-native.c: connection died.
I: module-suspend-on-idle.c: Sink alsa_output.usb_device_8bb_2900_noserial_if0_sound _card_0_alsa_playback_0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...

Ctrl-C

E: module-gconf.c: Unable to read or parse data from client.
I: module.c: Unloading "module-gconf" (index: #9).
D: module-gconf.c: Unloading module #8
I: module.c: Unloading "module-combine" (index: #8).
D: core-subscribe.c: dropped redundant event.
D: core-subscribe.c: dropped redundant event.
D: module-rescue-streams.c: No sink inputs to move away.
D: module-rescue-streams.c: No source outputs to move away.
D: core-subscribe.c: dropped redundant event.
D: core-subscribe.c: dropped redundant event.
D: module-combine.c: Thread shutting down
I: sink.c: Freeing sink 2 "combined"
I: source.c: Freeing source 5 "combined.monitor"
I: module.c: Unloaded "module-combine" (index: #8).
I: module.c: Unloaded "module-gconf" (index: #9).
I: main.c: Got signal SIGINT.
I: main.c: Exiting.
I: main.c: Daemon shutdown initiated.
I: module.c: Unloading "module-alsa-sink" (index: #0).
D: module-rescue-streams.c: No sink inputs to move away.
D: module-rescue-streams.c: No source outputs to move away.
D: module-alsa-sink.c: Thread shutting down
I: sink.c: Freeing sink 0 "alsa_output.usb_device_8bb_2900_noserial_if0_sound _card_0_alsa_playback_0"
I: source.c: Freeing source 0 "alsa_output.usb_device_8bb_2900_noserial_if0_sound _card_0_alsa_playback_0.monitor"
I: module.c: Unloaded "module-alsa-sink" (index: #0).
I: module.c: Unloading "module-alsa-source" (index: #1).
D: module-rescue-streams.c: No source outputs to move away.
D: module-alsa-source.c: Thread shutting down
I: source.c: Freeing source 1 "alsa_input.usb_device_8bb_2900_noserial_if0_sound_ card_0_alsa_capture_0"
I: module.c: Unloaded "module-alsa-source" (index: #1).
I: module.c: Unloading "module-alsa-source" (index: #2).
D: module-rescue-streams.c: No source outputs to move away.
D: module-alsa-source.c: Thread shutting down
I: source.c: Freeing source 2 "alsa_input.usb_device_45e_f7_noserial_if1_sound_ca rd_0_alsa_capture_0"
I: module.c: Unloaded "module-alsa-source" (index: #2).
I: module.c: Unloading "module-alsa-sink" (index: #3).
D: module-rescue-streams.c: No sink inputs to move away.
D: module-rescue-streams.c: No source outputs to move away.
D: module-alsa-sink.c: Thread shutting down
I: sink.c: Freeing sink 1 "alsa_output.pci_8086_27d8_sound_card_0_alsa_playba ck_0"
I: source.c: Freeing source 3 "alsa_output.pci_8086_27d8_sound_card_0_alsa_playba ck_0.monitor"
I: module.c: Unloaded "module-alsa-sink" (index: #3).
I: module.c: Unloading "module-alsa-source" (index: #4).
D: module-rescue-streams.c: No source outputs to move away.
D: module-alsa-source.c: Thread shutting down
I: source.c: Freeing source 4 "alsa_input.pci_8086_27d8_sound_card_0_alsa_capture _0"
I: module.c: Unloaded "module-alsa-source" (index: #4).
I: module.c: Unloading "module-hal-detect" (index: #5).
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus.Local, path=/org/freedesktop/DBus/Local, member=Disconnected
I: module.c: Unloaded "module-hal-detect" (index: #5).
I: module.c: Unloading "module-esound-protocol-unix" (index: #6).
I: module.c: Unloaded "module-esound-protocol-unix" (index: #6).
I: module.c: Unloading "module-native-protocol-unix" (index: #7).
I: module.c: Unloaded "module-native-protocol-unix" (index: #7).
I: module.c: Unloading "module-volume-restore" (index: #10).
I: module.c: Unloaded "module-volume-restore" (index: #10).
I: module.c: Unloading "module-default-device-restore" (index: #11).
I: module.c: Unloaded "module-default-device-restore" (index: #11).
I: module.c: Unloading "module-rescue-streams" (index: #12).
I: module.c: Unloaded "module-rescue-streams" (index: #12).
I: module.c: Unloading "module-suspend-on-idle" (index: #13).
I: module.c: Unloaded "module-suspend-on-idle" (index: #13).
I: module.c: Unloading "module-x11-publish" (index: #14).
I: module.c: Unloaded "module-x11-publish" (index: #14).
I: main.c: Daemon terminated.

psyke83
November 12th, 2008, 07:17 PM
I followed your procedure verbatim.

Now I have no audio what so ever.

According to your output, PulseAudio is using a USB device as your default output device. Open the PulseAudio Volume Control, Output Devices. Right-click on the device which *should* be your default card, and ensure the "Default" checkmark is set.

You may need to delete the file ~/.pulse/volume-restore.table afterwards & log out and back in (PulseAudio keeps a records of applications' last-used sink and volume settings which can cause confusion when you change the default sink. Deleting the file will resolve this problem).

WildeBeest
November 12th, 2008, 08:42 PM
According to your output, PulseAudio is using a USB device as your default output device. Open the PulseAudio Volume Control, Output Devices. Right-click on the device which *should* be your default card, and ensure the "Default" checkmark is set.

You may need to delete the file ~/.pulse/volume-restore.table afterwards & log out and back in (PulseAudio keeps a records of applications' last-used sink and volume settings which can cause confusion when you change the default sink. Deleting the file will resolve this problem).

When I attempt to open PulseAudio Volume Control, I get a "Connection failed: Connection refused" error.

psyke83
November 12th, 2008, 08:55 PM
When I attempt to open PulseAudio Volume Control, I get a "Connection failed: Connection refused" error.

That means that PulseAudio isn't running (perhaps because you invoked Ctrl+C after pasting the output from the terminal). Either log out and back in, or launch "pulseaudio" via the terminal - then try the PA Volume Control application again.

WildeBeest
November 12th, 2008, 09:47 PM
That means that PulseAudio isn't running (perhaps because you invoked Ctrl+C after pasting the output from the terminal). Either log out and back in, or launch "pulseaudio" via the terminal - then try the PA Volume Control application again.

Ok, changed the default selection to:
"Simultaneous output to ALSA PCM on front:2 (USB Audio) via DMA, ALSA PCM on front:0 (ALC883 Analog) via DMA"

The other selections are:
"ALSA PCM on front:0 (ALC883 Analog) via DMA"
"ALSA PCM on front:2 (USB Audio) via DMA"

Still no sound.

Also firefox is slow as a snail. Ever since this HOWTO.

psyke83
November 12th, 2008, 10:03 PM
Ok, changed the default selection to:
"Simultaneous output to ALSA PCM on front:2 (USB Audio) via DMA, ALSA PCM on front:0 (ALC883 Analog) via DMA"

The other selections are:
"ALSA PCM on front:0 (ALC883 Analog) via DMA"
"ALSA PCM on front:2 (USB Audio) via DMA"

Still no sound.

Also firefox is slow as a snail. Ever since this HOWTO.

The simultaneous output may not work correctly. I assume you want to use the ALC883 card, so select that option, i.e.:
"ALSA PCM on front:0 (ALC883 Analog) via DMA"

You also need to restart pulseaudio *after* deleting the ~/.pulse/volume-restore.table file (to reset the saved sink for recently used applications).

As for Firefox... I don't see how it got slower. Your version of Flash was upgraded to the v10 release via my packages, but that's been shown to be universally faster than version 9 for everybody I know.

psyke83
November 13th, 2008, 05:42 AM
Hey everyone,

Just to let you know, I've (finally) updated & consolidated the PulseAudio guides into this single guide. I've reorganized all the sections and added Intrepid support.

If anyone finds any errors, please let me know!

Thanks. ;)

mixmadmen
November 13th, 2008, 10:26 AM
Sorry to bother you, but I tried what was listed and the troubleshooting. The audio still does not work.

I have case: "The application does plays audio and does list an entry in the Playback tab."
...I've tried Amarok, and played a normal track and see on the equalizer that the program is indeed playing the track but no sound from the built in speaker or my headphones if I plug them in.
Before playing, pavucontrol did not list Amacok's use, and as soon as the track began, it popped up in the list.

The same is for every audio program. VLC, etc. (and for Amarok i did make sure that it is using the Xine engine which supports both PulseAudio and Esound according to http://www.pulseaudio.org/wiki/PerfectSetup#ThirdPartyApplications )

No system sounds at startup either.

I upgraded from my old Hardy to Intrepid. The sound was fine before upgrading.



Here are my details requested in the first post:


$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: AD198x Digital [AD198x Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0



pkill pulseaudio && sleep 2 && pulseaudio -vv
I: main.c: PolicyKit refuses acquire-high-priority privilige.
I: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
I: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
I: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
I: main.c: Note that real-time/high-priority scheduling is NOT normally required. If you experience crackling or other sound anomalies, consider one or more of the above solutions.
I: main.c: High-priority scheduling enabled in configuration but now allowed by policy. Disabling forcibly.
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_284b_sound_card_0_alsa_playback_1
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_8086_284b_sound_card_0_a lsa_playback_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-sink.c: Successfully opened device front:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Master".
I: sink.c: Created sink 0 "alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 0 "alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0.monitor" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-sink.c: Using 8 fragments of size 1792 bytes.
I: alsa-util.c: ALSA device lacks independant volume controls for each channel, falling back to software volume control.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #0; argument: "device_id=0 sink_name=alsa_output.pci_8086_284b_sound_card_0_a lsa_playback_0").
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_8086_284b_sound_card_0_ alsa_capture_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-source.c: Successfully opened device front:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Capture".
I: source.c: Created source 1 "alsa_input.pci_8086_284b_sound_card_0_alsa_capture _0" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-source.c: Using 8 fragments of size 1792 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28
I: module.c: Loaded "module-alsa-source" (index: #1; argument: "device_id=0 source_name=alsa_input.pci_8086_284b_sound_card_0_ alsa_capture_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_284b_sound_card_0_alsa_hw_specific_0
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_284b_sound_card_0_alsa_control__1
I: module-hal-detect.c: Loaded 2 modules.
I: module.c: Loaded "module-hal-detect" (index: #2; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #3; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #4; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
I: module.c: Loaded "module-gconf" (index: #5; argument: "").
I: module.c: Loaded "module-volume-restore" (index: #6; argument: "").
D: module-default-device-restore.c: Restored default sink 'alsa_output.pci_8086_284b_sound_card_0_alsa_playb ack_0'.
D: core-subscribe.c: dropped redundant event.
D: module-default-device-restore.c: Restored default source 'alsa_input.pci_8086_284b_sound_card_0_alsa_captur e_0'.
I: module.c: Loaded "module-default-device-restore" (index: #7; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #8; argument: "").
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0 becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0.monitor becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.pci_8086_284b_sound_card_0_alsa_capture _0 becomes idle.
I: module.c: Loaded "module-suspend-on-idle" (index: #9; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #10; argument: "").
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
I: module-suspend-on-idle.c: Sink alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_input.pci_8086_284b_sound_card_0_alsa_capture _0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0.monitor idle for too long, suspending ...
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0, member=PropertyModified
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0, member=PropertyModified
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0, member=PropertyModified
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0, member=PropertyModified
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0, member=PropertyModified



note: on that last one, it continues to do that last bit over and over so I just ctrC it. :/ And as soon as I did so, it immediately popped out this stuff:


I: main.c: Got signal SIGINT.
I: main.c: Exiting.
I: main.c: Daemon shutdown initiated.
I: module.c: Unloading "module-alsa-sink" (index: #0).
D: module-rescue-streams.c: No sink inputs to move away.
D: module-rescue-streams.c: No source outputs to move away.
D: module-alsa-sink.c: Thread shutting down
I: sink.c: Freeing sink 0 "alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0"
I: source.c: Freeing source 0 "alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0.monitor"
I: module.c: Unloaded "module-alsa-sink" (index: #0).
I: module.c: Unloading "module-alsa-source" (index: #1).
D: module-rescue-streams.c: No source outputs to move away.
D: module-alsa-source.c: Thread shutting down
I: source.c: Freeing source 1 "alsa_input.pci_8086_284b_sound_card_0_alsa_capture _0"
I: module.c: Unloaded "module-alsa-source" (index: #1).
I: module.c: Unloading "module-hal-detect" (index: #2).
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus.Local, path=/org/freedesktop/DBus/Local, member=Disconnected
I: module.c: Unloaded "module-hal-detect" (index: #2).
I: module.c: Unloading "module-esound-protocol-unix" (index: #3).
I: module.c: Unloaded "module-esound-protocol-unix" (index: #3).
I: module.c: Unloading "module-native-protocol-unix" (index: #4).
I: module.c: Unloaded "module-native-protocol-unix" (index: #4).
I: module.c: Unloading "module-gconf" (index: #5).
I: module.c: Unloaded "module-gconf" (index: #5).
I: module.c: Unloading "module-volume-restore" (index: #6).
I: module.c: Unloaded "module-volume-restore" (index: #6).
I: module.c: Unloading "module-default-device-restore" (index: #7).
I: module.c: Unloaded "module-default-device-restore" (index: #7).
I: module.c: Unloading "module-rescue-streams" (index: #8).
I: module.c: Unloaded "module-rescue-streams" (index: #8).
I: module.c: Unloading "module-suspend-on-idle" (index: #9).
I: module.c: Unloaded "module-suspend-on-idle" (index: #9).
I: module.c: Unloading "module-x11-publish" (index: #10).
I: module.c: Unloaded "module-x11-publish" (index: #10).
I: main.c: Daemon terminated.



Not sure if that helps much. Please let me know if there is any info I can provide that may help...
Sorry if I've left out anything that should have instinctively been included. Unfortunately I'm still a ...*sigh*... noob.



-_- I'm really beginning to regret trying to upgrade. The idea of having networking that actually worked was too tempting. Any help you can provide would be greatly appreciated.
Thank you so very much.

mixmadmen
November 13th, 2008, 10:32 AM
Oh, and as a side note-- I did try this first:
http://ubuntuforums.org/showthread.php?t=885437
(among countless other failed suggestions that google rendered)
...not surprised that removing PulseAudio, as was suggested in that thread, totally messed up everything to the point that I had to back track and completely undo all of it.

I'm glad that you posted there. This thread seems to really know its stuff :)

Irihapeti
November 13th, 2008, 03:54 PM
Thanks for the information in this thread.

I've now got everything working, including Audacity WITHOUT using pasuspender or padsp.

I originally had no end of trouble getting Audacity 1.3.4 to work. A day or so ago I installed Audacity 1.3.6 from getdeb and it now runs without additional commands being necessary.

Keep up the good work.

Irihapeti


PS: I'm running Ubuntu 8.04.1

poccino
November 14th, 2008, 02:35 AM
Hey everyone,

Just to let you know, I've (finally) updated & consolidated the PulseAudio guides into this single guide. I've reorganized all the sections and added Intrepid support.

If anyone finds any errors, please let me know!

Thanks. ;)

Where is it?

cyonax
November 14th, 2008, 05:03 PM
Hi,

I followed your guide. I got pulseaudio apparently working but no sound. When playing sound it is shown in the playback tab on the PA volume control and on the volume meter. I use Hardy i686.


$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC883 Digital [ALC883 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0



$ pkill pulseaudio && sleep 2 && pulseaudio -vv
I: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
I: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
I: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
I: main.c: Note that real-time/high-priority scheduling is NOT normally required. If you experience crackling or other sound anomalies, consider one or more of the above solutions.
I: main.c: High-priority scheduling enabled in configuration but now allowed by policy. Disabling forcibly.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_284b_sound_card_0_alsa_capture_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_284b_sound_card_0_alsa_playback_1
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_284b_sound_card_0_alsa_capture_1
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_8086_284b_sound_card_0_a lsa_playback_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-sink.c: Successfully opened device front:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Master".
I: sink.c: Created sink 0 "alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 0 "alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0.monitor" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-sink.c: Using 8 fragments of size 896 bytes.
I: alsa-util.c: ALSA device lacks independant volume controls for each channel, falling back to software volume control.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #0; argument: "device_id=0 sink_name=alsa_output.pci_8086_284b_sound_card_0_a lsa_playback_0").
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_8086_284b_sound_card_0_ alsa_capture_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-source.c: Successfully opened device front:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Capture".
I: source.c: Created source 1 "alsa_input.pci_8086_284b_sound_card_0_alsa_capture _0" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-source.c: Using 8 fragments of size 896 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28
I: module.c: Loaded "module-alsa-source" (index: #1; argument: "device_id=0 source_name=alsa_input.pci_8086_284b_sound_card_0_ alsa_capture_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_284b_sound_card_0_alsa_hw_specific_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_284b_sound_card_0_alsa_control__1
I: module-hal-detect.c: Loaded 2 modules.
I: module.c: Loaded "module-hal-detect" (index: #2; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #3; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #4; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
I: module.c: Loaded "module-gconf" (index: #5; argument: "").
I: module.c: Loaded "module-volume-restore" (index: #6; argument: "").
D: module-default-device-restore.c: Restored default sink 'alsa_output.pci_8086_284b_sound_card_0_alsa_playb ack_0'.
D: core-subscribe.c: dropped redundant event.
D: module-default-device-restore.c: Restored default source 'alsa_input.pci_8086_284b_sound_card_0_alsa_captur e_0'.
I: module.c: Loaded "module-default-device-restore" (index: #7; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #8; argument: "").
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0 becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0.monitor becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.pci_8086_284b_sound_card_0_alsa_capture _0 becomes idle.
I: module.c: Loaded "module-suspend-on-idle" (index: #9; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #10; argument: "").
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
I: module-suspend-on-idle.c: Sink alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_input.pci_8086_284b_sound_card_0_alsa_capture _0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0.monitor idle for too long, suspending ...
I: main.c: Got signal SIGINT.
I: main.c: Exiting.
I: main.c: Daemon shutdown initiated.
I: module.c: Unloading "module-alsa-sink" (index: #0).
D: module-rescue-streams.c: No sink inputs to move away.
D: module-rescue-streams.c: No source outputs to move away.
D: module-alsa-sink.c: Thread shutting down
I: sink.c: Freeing sink 0 "alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0"
I: source.c: Freeing source 0 "alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0.monitor"
I: module.c: Unloaded "module-alsa-sink" (index: #0).
I: module.c: Unloading "module-alsa-source" (index: #1).
D: module-rescue-streams.c: No source outputs to move away.
D: module-alsa-source.c: Thread shutting down
I: source.c: Freeing source 1 "alsa_input.pci_8086_284b_sound_card_0_alsa_capture _0"
I: module.c: Unloaded "module-alsa-source" (index: #1).
I: module.c: Unloading "module-hal-detect" (index: #2).
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus.Local, path=/org/freedesktop/DBus/Local, member=Disconnected
I: module.c: Unloaded "module-hal-detect" (index: #2).
I: module.c: Unloading "module-esound-protocol-unix" (index: #3).
I: module.c: Unloaded "module-esound-protocol-unix" (index: #3).
I: module.c: Unloading "module-native-protocol-unix" (index: #4).
I: module.c: Unloaded "module-native-protocol-unix" (index: #4).
I: module.c: Unloading "module-gconf" (index: #5).
I: module.c: Unloaded "module-gconf" (index: #5).
I: module.c: Unloading "module-volume-restore" (index: #6).
I: module.c: Unloaded "module-volume-restore" (index: #6).
I: module.c: Unloading "module-default-device-restore" (index: #7).
I: module.c: Unloaded "module-default-device-restore" (index: #7).
I: module.c: Unloading "module-rescue-streams" (index: #8).
I: module.c: Unloaded "module-rescue-streams" (index: #8).
I: module.c: Unloading "module-suspend-on-idle" (index: #9).
I: module.c: Unloaded "module-suspend-on-idle" (index: #9).
I: module.c: Unloading "module-x11-publish" (index: #10).
I: module.c: Unloaded "module-x11-publish" (index: #10).
I: main.c: Daemon terminated.


In alsamixer chip is shown as Realtek ALC888.

Whats wrong? Any help greatly appreciated.

Thanks...

psyke83
November 14th, 2008, 05:46 PM
Sorry to bother you, but I tried what was listed and the troubleshooting. The audio still does not work.

I have case: "The application does plays audio and does list an entry in the Playback tab."
...I've tried Amarok, and played a normal track and see on the equalizer that the program is indeed playing the track but no sound from the built in speaker or my headphones if I plug them in.
Before playing, pavucontrol did not list Amacok's use, and as soon as the track began, it popped up in the list.

The same is for every audio program. VLC, etc. (and for Amarok i did make sure that it is using the Xine engine which supports both PulseAudio and Esound according to http://www.pulseaudio.org/wiki/PerfectSetup#ThirdPartyApplications )

No system sounds at startup either.

I upgraded from my old Hardy to Intrepid. The sound was fine before upgrading.

This is a very minor issue, but did you follow the guide before or after upgrading to Intrepid?

If you followed the guide when using Hardy (i.e. Part A & C), then upgraded, I recommend you do two small steps:
1. Edit /etc/apt/sources.list and ensure my PPA is pointing to the intrepid (and not hardy) repository. Look at the difference between the repository listing in Part A and Part B to see what I mean.
2. Delete the ~/.asoundrc* files (created by "asoundconf set-pulseaudio"):
$ rm ~/.asoundrc*

Just to give you the reasons why: you should always ensure you update third-party repositories (if possible) when dist-upgrading. The upgrade process doesn't do this automatically, as far as I know. As for deleting your "~/.asoundrc" files: the ALSA libraries in Intrepid have been patched to autodetect the presence of PulseAudio; if the PulseAudio server cannot be found, applications will silently fallback to ALSA output.

Ok, once you've done that (or if you didn't need to follow those steps), here's my thoughts.

Your debug output indicates no problems, so I have a suspicion that your PCM mixer got muted. This issue seems to affect a lot of Intrepid users (even those who never followed this guide).

Open alsamixer (note that you must specify your hardware device explicitly when PulseAudio is installed):
$ alsamixer -Dhw

Check the Master and PCM mixers.

Let me know if it helps.

psyke83
November 14th, 2008, 05:54 PM
Thanks for the information in this thread.

I've now got everything working, including Audacity WITHOUT using pasuspender or padsp.

I originally had no end of trouble getting Audacity 1.3.4 to work. A day or so ago I installed Audacity 1.3.6 from getdeb and it now runs without additional commands being necessary.

Keep up the good work.

Irihapeti


PS: I'm running Ubuntu 8.04.1

You got me pretty intrigued, so I installed Audacity from getdeb.net... unfortunately I had the same problem as usual.

If you test Audacity against the troubleshooting steps of Appendix A, you'll get result B (sound plays, but it doesn't show an entry in PA Volume Control). This is because Audacity is directly accessing your sound card.

What does this mean on a practical level? If you're playing something in Audacity, and another application tries to play something, the other application will fail to play sound (this is because Audacity is blocking PulseAudio from accessing the sound card). The opposite case also applies - play content in an application that uses PulseAudio (e.g. Totem), and then try to play some sound in Audacity - in this case, Audacity fails to work (as PulseAudio is controlling the card).

If you can live with that situation, then it shouldn't be a problem for you.

psyke83
November 14th, 2008, 06:03 PM
Where is it?

At the first post of this thread.

psyke83
November 14th, 2008, 06:04 PM
Hi,

I followed your guide. I got pulseaudio apparently working but no sound. When playing sound it is shown in the playback tab on the PA volume control and on the volume meter. I use Hardy i686.


$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC883 Digital [ALC883 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0



$ pkill pulseaudio && sleep 2 && pulseaudio -vv
I: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
I: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
I: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
I: main.c: Note that real-time/high-priority scheduling is NOT normally required. If you experience crackling or other sound anomalies, consider one or more of the above solutions.
I: main.c: High-priority scheduling enabled in configuration but now allowed by policy. Disabling forcibly.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_284b_sound_card_0_alsa_capture_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_284b_sound_card_0_alsa_playback_1
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_284b_sound_card_0_alsa_capture_1
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_8086_284b_sound_card_0_a lsa_playback_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-sink.c: Successfully opened device front:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Master".
I: sink.c: Created sink 0 "alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 0 "alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0.monitor" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-sink.c: Using 8 fragments of size 896 bytes.
I: alsa-util.c: ALSA device lacks independant volume controls for each channel, falling back to software volume control.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #0; argument: "device_id=0 sink_name=alsa_output.pci_8086_284b_sound_card_0_a lsa_playback_0").
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_8086_284b_sound_card_0_ alsa_capture_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-source.c: Successfully opened device front:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Capture".
I: source.c: Created source 1 "alsa_input.pci_8086_284b_sound_card_0_alsa_capture _0" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-source.c: Using 8 fragments of size 896 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28
I: module.c: Loaded "module-alsa-source" (index: #1; argument: "device_id=0 source_name=alsa_input.pci_8086_284b_sound_card_0_ alsa_capture_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_284b_sound_card_0_alsa_hw_specific_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_284b_sound_card_0_alsa_control__1
I: module-hal-detect.c: Loaded 2 modules.
I: module.c: Loaded "module-hal-detect" (index: #2; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #3; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #4; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
I: module.c: Loaded "module-gconf" (index: #5; argument: "").
I: module.c: Loaded "module-volume-restore" (index: #6; argument: "").
D: module-default-device-restore.c: Restored default sink 'alsa_output.pci_8086_284b_sound_card_0_alsa_playb ack_0'.
D: core-subscribe.c: dropped redundant event.
D: module-default-device-restore.c: Restored default source 'alsa_input.pci_8086_284b_sound_card_0_alsa_captur e_0'.
I: module.c: Loaded "module-default-device-restore" (index: #7; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #8; argument: "").
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0 becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0.monitor becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.pci_8086_284b_sound_card_0_alsa_capture _0 becomes idle.
I: module.c: Loaded "module-suspend-on-idle" (index: #9; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #10; argument: "").
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
I: module-suspend-on-idle.c: Sink alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_input.pci_8086_284b_sound_card_0_alsa_capture _0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0.monitor idle for too long, suspending ...
I: main.c: Got signal SIGINT.
I: main.c: Exiting.
I: main.c: Daemon shutdown initiated.
I: module.c: Unloading "module-alsa-sink" (index: #0).
D: module-rescue-streams.c: No sink inputs to move away.
D: module-rescue-streams.c: No source outputs to move away.
D: module-alsa-sink.c: Thread shutting down
I: sink.c: Freeing sink 0 "alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0"
I: source.c: Freeing source 0 "alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0.monitor"
I: module.c: Unloaded "module-alsa-sink" (index: #0).
I: module.c: Unloading "module-alsa-source" (index: #1).
D: module-rescue-streams.c: No source outputs to move away.
D: module-alsa-source.c: Thread shutting down
I: source.c: Freeing source 1 "alsa_input.pci_8086_284b_sound_card_0_alsa_capture _0"
I: module.c: Unloaded "module-alsa-source" (index: #1).
I: module.c: Unloading "module-hal-detect" (index: #2).
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus.Local, path=/org/freedesktop/DBus/Local, member=Disconnected
I: module.c: Unloaded "module-hal-detect" (index: #2).
I: module.c: Unloading "module-esound-protocol-unix" (index: #3).
I: module.c: Unloaded "module-esound-protocol-unix" (index: #3).
I: module.c: Unloading "module-native-protocol-unix" (index: #4).
I: module.c: Unloaded "module-native-protocol-unix" (index: #4).
I: module.c: Unloading "module-gconf" (index: #5).
I: module.c: Unloaded "module-gconf" (index: #5).
I: module.c: Unloading "module-volume-restore" (index: #6).
I: module.c: Unloaded "module-volume-restore" (index: #6).
I: module.c: Unloading "module-default-device-restore" (index: #7).
I: module.c: Unloaded "module-default-device-restore" (index: #7).
I: module.c: Unloading "module-rescue-streams" (index: #8).
I: module.c: Unloaded "module-rescue-streams" (index: #8).
I: module.c: Unloading "module-suspend-on-idle" (index: #9).
I: module.c: Unloaded "module-suspend-on-idle" (index: #9).
I: module.c: Unloading "module-x11-publish" (index: #10).
I: module.c: Unloaded "module-x11-publish" (index: #10).
I: main.c: Daemon terminated.


In alsamixer chip is shown as Realtek ALC888.

Whats wrong? Any help greatly appreciated.

Thanks...

You could also be suffering from a muted mixer. See my reply to mixmadmen I posted a few minutes ago.

Irihapeti
November 14th, 2008, 06:53 PM
You got me pretty intrigued, so I installed Audacity from getdeb.net... unfortunately I had the same problem as usual.

If you test Audacity against the troubleshooting steps of Appendix A, you'll get result B (sound plays, but it doesn't show an entry in PA Volume Control). This is because Audacity is directly accessing your sound card.

What does this mean on a practical level? If you're playing something in Audacity, and another application tries to play something, the other application will fail to play sound (this is because Audacity is blocking PulseAudio from accessing the sound card). The opposite case also applies - play content in an application that uses PulseAudio (e.g. Totem), and then try to play some sound in Audacity - in this case, Audacity fails to work (as PulseAudio is controlling the card).

If you can live with that situation, then it shouldn't be a problem for you.

Yes, I'm not trying to run multiple sound apps at once, and I would very rarely have any need to, so it's something I didn't think to test.

However, previously I was having no end of trouble trying to get Audacity to play *at all*. It insisted on loading JACK, and with it Alsa, no matter what I set defaults to. I did eventually get Audacity to work through JACK. So, for me, having it just load without fancy settings was a big step forward.

Anyway, I'm happy to stand corrected. This is how we all learn, after all.

Irihapeti

psyke83
November 14th, 2008, 07:03 PM
Yes, I'm not trying to run multiple sound apps at once, and I would very rarely have any need to, so it's something I didn't think to test.

However, previously I was having no end of trouble trying to get Audacity to play *at all*. It insisted on loading JACK, and with it Alsa, no matter what I set defaults to. I did eventually get Audacity to work through JACK. So, for me, having it just load without fancy settings was a big step forward.

Anyway, I'm happy to stand corrected. This is how we all learn, after all.

Irihapeti

Right... well I'm afraid it was probably the updated Audacity packages that fixed your issues with JACK, not my guide (damn, I can't take any credit... heh).

Audacity is a fringe case that I don't feel impacts PulseAudio quite so negatively. I should amend the guide to explain what I meant by "incompatible" in the case of Audacity.

If other types of major applications were incompatible would be a nightmare, though. Imagine if Skype was not PulseAudio compatible... In that case, if you left it running in the notification area (which many people do... it is a telephony application after all), then almost every other application on your system would fail to play audio until you closed Skype completely...

Osmosis Jones
November 15th, 2008, 08:41 AM
Hello, I followed the intructions B & C but cannot get pulse audio to start up when the systemwide euqlizer ist set up. Without loading the equalized setup it works without a problem.

System:
Dell Vostro 1510, Ubuntu Intrpid Ibex, i386


$ aplay -l
**** Liste von PLAYBACK Geräten ****
Karte 0: Intel [HDA Intel], Gerät 0: ALC268 Analog [ALC268 Analog]
Untergeordnete Geräte: 1/1
Untergeordnetes Gerät '0: subdevice #0



$ pulseaudio -vv
I: main.c: PolicyKit refuses acquire-high-priority privilige.
I: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
I: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
I: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
I: main.c: Note that real-time/high-priority scheduling is NOT normally required. If you experience crackling or other sound anomalies, consider one or more of the above solutions.
I: main.c: High-priority scheduling enabled in configuration but now allowed by policy. Disabling forcibly.
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
ALSA lib pcm.c:2196:(snd_pcm_open_noupdate) Unknown PCM equalized
E: alsa-util.c: Error opening PCM device equalized: No such file or directory
E: module.c: Failed to load module "module-alsa-sink" (argument: "device=equalized"): initialization failed.
E: main.c: Module load failed.
E: main.c: Failed to initialize daemon.
I: main.c: Daemon terminated.


Have a nice day,
Osmosis.

phorgan1
November 15th, 2008, 02:19 PM
I'm in the same boat as a lot of others. I followed your b & c but everything was already set up the way you suggest from my last pass through this. The applications show up in pavolume but no sound. I'm on Ubuntu Ibex 8.10, pa worked fine before the upgrade. Nothing's muted, i.e. alsamixer -Dhw shows:
http://dbp-consulting.com/pa.png
Note that PCM doesn't have a mute option. Don't know if that's normal, but can't un-mute it nor mute it. It's the same in the gnome alsa mixer.

aplay gives this output:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0


pulseaudio gives this output:

I: main.c: PolicyKit refuses acquire-high-priority privilige.
I: main.c: We're in the group 'pulse-rt', allowing real-time and high-priority scheduling.
I: core-util.c: Successfully gained nice level -11.
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_8086_284b_sound_card_0_a lsa_playback_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-sink.c: Successfully opened device front:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Master".
I: sink.c: Created sink 0 "alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 0 "alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0.monitor" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-sink.c: Using 8 fragments of size 1792 bytes.
I: alsa-util.c: ALSA device lacks independant volume controls for each channel, falling back to software volume control.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #0; argument: "device_id=0 sink_name=alsa_output.pci_8086_284b_sound_card_0_a lsa_playback_0").
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_8086_284b_sound_card_0_ alsa_capture_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-source.c: Successfully opened device front:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Capture".
I: source.c: Created source 1 "alsa_input.pci_8086_284b_sound_card_0_alsa_capture _0" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-source.c: Using 8 fragments of size 1792 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28
I: module.c: Loaded "module-alsa-source" (index: #1; argument: "device_id=0 source_name=alsa_input.pci_8086_284b_sound_card_0_ alsa_capture_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_284b_sound_card_0_alsa_control__1
I: module-hal-detect.c: Loaded 2 modules.
I: module.c: Loaded "module-hal-detect" (index: #2; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #3; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #4; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
I: module.c: Loaded "module-gconf" (index: #5; argument: "").
I: module.c: Loaded "module-volume-restore" (index: #6; argument: "").
D: module-default-device-restore.c: Restored default sink 'alsa_output.pci_8086_284b_sound_card_0_alsa_playb ack_0'.
D: core-subscribe.c: dropped redundant event.
D: module-default-device-restore.c: Restored default source 'alsa_input.pci_8086_284b_sound_card_0_alsa_captur e_0'.
I: module.c: Loaded "module-default-device-restore" (index: #7; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #8; argument: "").
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0 becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0.monitor becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.pci_8086_284b_sound_card_0_alsa_capture _0 becomes idle.
I: module.c: Loaded "module-suspend-on-idle" (index: #9; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #10; argument: "").
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
I: module-suspend-on-idle.c: Source alsa_input.pci_8086_284b_sound_card_0_alsa_capture _0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Sink alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0, member=PropertyModified



and then ^C'ing out of it, this additional:

^CI: main.c: Got signal SIGINT.
I: main.c: Exiting.
I: main.c: Daemon shutdown initiated.
I: module.c: Unloading "module-alsa-sink" (index: #0).
D: module-rescue-streams.c: No sink inputs to move away.
D: module-rescue-streams.c: No source outputs to move away.
D: module-alsa-sink.c: Thread shutting down
I: sink.c: Freeing sink 0 "alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0"
I: source.c: Freeing source 0 "alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0.monitor"
I: module.c: Unloaded "module-alsa-sink" (index: #0).
I: module.c: Unloading "module-alsa-source" (index: #1).
D: module-rescue-streams.c: No source outputs to move away.
D: module-alsa-source.c: Thread shutting down
I: source.c: Freeing source 1 "alsa_input.pci_8086_284b_sound_card_0_alsa_capture _0"
I: module.c: Unloaded "module-alsa-source" (index: #1).
I: module.c: Unloading "module-hal-detect" (index: #2).
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus.Local, path=/org/freedesktop/DBus/Local, member=Disconnected
I: module.c: Unloaded "module-hal-detect" (index: #2).
I: module.c: Unloading "module-esound-protocol-unix" (index: #3).
I: client.c: Freed 0 "EsounD client (UNIX socket client)"
I: module.c: Unloaded "module-esound-protocol-unix" (index: #3).
I: module.c: Unloading "module-native-protocol-unix" (index: #4).
I: module.c: Unloaded "module-native-protocol-unix" (index: #4).
I: module.c: Unloading "module-gconf" (index: #5).
I: module.c: Unloaded "module-gconf" (index: #5).
I: module.c: Unloading "module-volume-restore" (index: #6).
I: module.c: Unloaded "module-volume-restore" (index: #6).
I: module.c: Unloading "module-default-device-restore" (index: #7).
I: module.c: Unloaded "module-default-device-restore" (index: #7).
I: module.c: Unloading "module-rescue-streams" (index: #8).
I: module.c: Unloaded "module-rescue-streams" (index: #8).
I: module.c: Unloading "module-suspend-on-idle" (index: #9).
I: module.c: Unloaded "module-suspend-on-idle" (index: #9).
I: module.c: Unloading "module-x11-publish" (index: #10).
I: module.c: Unloaded "module-x11-publish" (index: #10).
I: main.c: Daemon terminated.


I can do this to get sound:

sudo /etc/init.d/alsa-utils stop
sudo alsa force-reload
sudo /etc/init.d/alsa-utils start


but pulseaudio was working fine on Hardy before I upgraded it and I like it!

Help!!!

I'm a software engineer, so if you want me to look at anything in gdb or whatever, just point me!

Patrick

Cyan_Fire
November 15th, 2008, 05:55 PM
Skype finally works! Thanks!

I have no idea what all you PPA packages did, but I'll have to accept the magic, I guess. :-P

psyke83
November 16th, 2008, 12:25 AM
Hello, I followed the intructions B & C but cannot get pulse audio to start up when the systemwide euqlizer ist set up. Without loading the equalized setup it works without a problem.

There was an error in the version of the guide that you followed. I accidentally instructed users to edit ~/.asound.conf when they were supposed to edit ~/.asoundrc. Therefore, delete the ~/.asound.conf file from your system (it's useless), and follow Appendix D again. The equalizer should then work.

psyke83
November 16th, 2008, 12:53 AM
Help!!!

I'm a software engineer, so if you want me to look at anything in gdb or whatever, just point me!

Patrick

There's one thing you may want to try, but it's unlikely to help: comment (put a # at the beginning) the two lines in your daemon.conf that specify the fragment size and amounts - see the question about stuttering in Appendix B. Remember, you need to restart PulseAudio (log out and back in, or "pkill pulseaudio && sleep 5 && pulseaudio") for changes to take effect.

By the way, if you check alsamixer *after* restarting/reloading ALSA, does the mute switch appear for your PCM mixer? I've never seen a sound card that doesn't have a mute function on the PCM mixer - that's odd.

If that doesn't help, unfortunately I don't think I can help any more - your debug output indicates no problems. Judging your need to reload ALSA, it seems to be a problem with the ALSA kernel modules or libraries unrelated to PulseAudio. In that case, check Launchpad and file a bug if one doesn't already exist.

cyonax
November 16th, 2008, 05:37 AM
You could also be suffering from a muted mixer. See my reply to mixmadmen I posted a few minutes ago.

Hi again, thanks for you reply, Master and PCM does not seem to be muted in alsamixer. However, like phorgan1 I also do not get a mute option for PCM.

In alsamixer, Chip shows Realtek ALC888, while aplay gives me ALC883, does that mean anything??

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC883 Digital [ALC883 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0

Thanks again//

Osmosis Jones
November 16th, 2008, 10:30 AM
Hi psyke83,
yes it works now, thank you very much. Befor this the sound of my laptop was horrible.

cool guide and once again thank you very much,
Osmosis Jones.

facedown
November 16th, 2008, 06:04 PM
My sound card is being detected, and I'm pretty damn sure nothing is muted (I've went to volume control, alsamixer, etc and unmuted and played around with everything) - but sound isn't working ( the headphones and drivers worked on my Windows, I'm dual-booting )

When I launch an app that has sound, it shows up in my Playback tab in PulseAudio..

Here are the results of a few commands:

aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC883 Digital [ALC883 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0


$ pkill pulseaudio && sleep 2 && pulseaudio -vv

I: main.c: PolicyKit refuses acquire-high-priority privilige.
I: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
I: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
I: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
I: main.c: Note that real-time/high-priority scheduling is NOT normally required. If you experience crackling or other sound anomalies, consider one or more of the above solutions.
I: main.c: High-priority scheduling enabled in configuration but now allowed by policy. Disabling forcibly.
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_284b_sound_card_0_alsa_capture_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_284b_sound_card_0_alsa_playback_1
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_284b_sound_card_0_alsa_capture_1
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_8086_284b_sound_card_0_a lsa_playback_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-sink.c: Successfully opened device front:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Master".
I: sink.c: Created sink 0 "alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 0 "alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0.monitor" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-sink.c: Using 8 fragments of size 1792 bytes.
I: alsa-util.c: ALSA device lacks independant volume controls for each channel, falling back to software volume control.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #0; argument: "device_id=0 sink_name=alsa_output.pci_8086_284b_sound_card_0_a lsa_playback_0").
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_8086_284b_sound_card_0_ alsa_capture_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-source.c: Successfully opened device front:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Capture".
I: source.c: Created source 1 "alsa_input.pci_8086_284b_sound_card_0_alsa_capture _0" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-source.c: Using 8 fragments of size 1792 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28
I: module.c: Loaded "module-alsa-source" (index: #1; argument: "device_id=0 source_name=alsa_input.pci_8086_284b_sound_card_0_ alsa_capture_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_284b_sound_card_0_alsa_control__1
I: module-hal-detect.c: Loaded 2 modules.
I: module.c: Loaded "module-hal-detect" (index: #2; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #3; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #4; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
I: module.c: Loaded "module-gconf" (index: #5; argument: "").
I: module.c: Loaded "module-volume-restore" (index: #6; argument: "").
D: module-default-device-restore.c: Restored default sink 'alsa_output.pci_8086_284b_sound_card_0_alsa_playb ack_0'.
D: core-subscribe.c: dropped redundant event.
D: module-default-device-restore.c: Restored default source 'alsa_input.pci_8086_284b_sound_card_0_alsa_captur e_0'.
I: module.c: Loaded "module-default-device-restore" (index: #7; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #8; argument: "").
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0 becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0.monitor becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.pci_8086_284b_sound_card_0_alsa_capture _0 becomes idle.
I: module.c: Loaded "module-suspend-on-idle" (index: #9; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #10; argument: "").
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
I: module-suspend-on-idle.c: Source alsa_input.pci_8086_284b_sound_card_0_alsa_capture _0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Sink alsa_output.pci_8086_284b_sound_card_0_alsa_playba ck_0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...



I would appreciate any help.

Oh and here's a screenshot for vol control

http://img145.imageshack.us/img145/8326/thingtd1.png

psyke83
November 16th, 2008, 11:23 PM
My sound card is being detected, and I'm pretty damn sure nothing is muted (I've went to volume control, alsamixer, etc and unmuted and played around with everything) - but sound isn't working ( the headphones and drivers worked on my Windows, I'm dual-booting )

See post #783 above, you've got the same card and your log indicates no obvious problems.

omarabbas
November 17th, 2008, 05:25 PM
hello

i'm embarrassed to bother with one more help request, you have been very kind helping out many people.
i followed the howto step by step, but the result is i have stuttering playback to all sorts of media, even when i use vlc.
i've been searching the forums for weeks but no luck, i'm a total newbie to linux i must add.
so would you please help? i'm really getting desperate.

i'm on Intrepid Ibex i386

$ aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: ICH5 [Intel ICH5], device 0: Intel ICH [Intel ICH5]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: ICH5 [Intel ICH5], device 4: Intel ICH - IEC958 [Intel ICH5 - IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0


$ pkill pulseaudio && sleep 2 && pulseaudio -vv

I: main.c: PolicyKit refuses acquire-high-priority privilige.
I: main.c: PolicyKit refuses acquire-real-time privilige.
I: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
I: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
I: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
I: main.c: Note that real-time/high-priority scheduling is NOT normally required. If you experience crackling or other sound anomalies, consider one or more of the above solutions.
I: main.c: High-priority scheduling enabled in configuration but now allowed by policy. Disabling forcibly.
I: main.c: Real-time scheduling enabled in configuration but now allowed by policy. Disabling forcibly.
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_24d5_sound_card_0_alsa_playback_4
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_24d5_sound_card_0_alsa_capture_3
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_24d5_sound_card_0_alsa_capture_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_24d5_sound_card_0_alsa_capture_1
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_8086_24d5_sound_card_0_a lsa_playback_0'
D: alsa-util.c: Trying front:0...
W: alsa-util.c: Device front:0 doesn't support 44100 Hz, changed to 48000 Hz.
I: module-alsa-sink.c: Successfully opened device front:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Master".
I: sink.c: Created sink 0 "alsa_output.pci_8086_24d5_sound_card_0_alsa_playba ck_0" with sample spec "s16le 2ch 48000Hz"
I: source.c: Created source 0 "alsa_output.pci_8086_24d5_sound_card_0_alsa_playba ck_0.monitor" with sample spec "s16le 2ch 48000Hz"
I: module-alsa-sink.c: Using 8 fragments of size 880 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #0; argument: "device_id=0 sink_name=alsa_output.pci_8086_24d5_sound_card_0_a lsa_playback_0").
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_8086_24d5_sound_card_0_ alsa_capture_0'
D: alsa-util.c: Trying front:0...
W: alsa-util.c: Device front:0 doesn't support 44100 Hz, changed to 48000 Hz.
I: module-alsa-source.c: Successfully opened device front:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Capture".
I: source.c: Created source 1 "alsa_input.pci_8086_24d5_sound_card_0_alsa_capture _0" with sample spec "s16le 2ch 48000Hz"
I: module-alsa-source.c: Using 8 fragments of size 880 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28
I: module.c: Loaded "module-alsa-source" (index: #1; argument: "device_id=0 source_name=alsa_input.pci_8086_24d5_sound_card_0_ alsa_capture_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_24d5_sound_card_0_alsa_control__1
I: module-hal-detect.c: Loaded 2 modules.
I: module.c: Loaded "module-hal-detect" (index: #2; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #3; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #4; argument: "").
I: module.c: Loaded "module-volume-restore" (index: #5; argument: "").
D: module-default-device-restore.c: Restored default sink 'alsa_output.pci_8086_24d5_sound_card_0_alsa_playb ack_0'.
D: core-subscribe.c: dropped redundant event.
D: module-default-device-restore.c: Restored default source 'alsa_input.pci_8086_24d5_sound_card_0_alsa_captur e_0'.
I: module.c: Loaded "module-default-device-restore" (index: #6; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #7; argument: "").
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_24d5_sound_card_0_alsa_playba ck_0 becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.pci_8086_24d5_sound_card_0_alsa_playba ck_0.monitor becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.pci_8086_24d5_sound_card_0_alsa_capture _0 becomes idle.
I: module.c: Loaded "module-suspend-on-idle" (index: #8; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
I: module.c: Loaded "module-gconf" (index: #9; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #10; argument: "").
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
I: module-suspend-on-idle.c: Source alsa_input.pci_8086_24d5_sound_card_0_alsa_capture _0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_output.pci_8086_24d5_sound_card_0_alsa_playba ck_0.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Sink alsa_output.pci_8086_24d5_sound_card_0_alsa_playba ck_0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...

and thanks a lot for all your effort, i really appreciate you taking the time and making this guide.

akahige
November 17th, 2008, 09:58 PM
Hello psyke83!

I found this thread by happenstance. I thought PulseAudio worked on my system, but there were little issues here and there (like Skype notifications didn't work but the rest of the app did). Decided to try your the instructions, and now everything works vastly better than before.

Kudos for taking the time to put such an excellent guide together!

There's only one app that doesn't seem to play nice with PulseAudio: VMware Workstation 6.5. Having read through all 79 pages of this thread, I didn't see anything at all about people having similar problems, so I'm hoping maybe you have some ideas.

Per the troubleshooting instructions, here's my sys info:

Architecture: Hardy on amd64

The result from the PulseAudio Volume Control's Playback tab:
D. The application does not play audio and does not list an entry in the Playback tab;


aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC883 Analog [ALC883 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC883 Digital [ALC883 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Headset [Sennheiser USB Headset], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0


pkill pulseaudio && sleep 2 && pulseaudio -vv
I: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
I: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
I: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
I: main.c: Note that real-time/high-priority scheduling is NOT normally required. If you experience crackling or other sound anomalies, consider one or more of the above solutions.
I: main.c: High-priority scheduling enabled in configuration but now allowed by policy. Disabling forcibly.
E: pid.c: Daemon already running.
E: main.c: pa_pid_file_create() failed.

NOTE: whatever this last command does, it thumped my system HARD. Mouse/keyboard control got glitchy and sluggish, app response disappeared, video refresh went to the dogs. Had to log out and back in, but at least that fixed the issue.

Any thoughts?

fINTiP
November 17th, 2008, 10:33 PM
So this guide saved me, thank you so much...

But following Apendix D to get the equalizer- does this just auto equalize the system somehow, or is there eq band control somewhere?

K

psyke83
November 17th, 2008, 11:35 PM
There's only one app that doesn't seem to play nice with PulseAudio: VMware Workstation 6.5. Having read through all 79 pages of this thread, I didn't see anything at all about people having similar problems, so I'm hoping maybe you have some ideas.

The solution is to use VirtualBox instead.... kidding ;).

From a quick googling, I discovered that VMWare Workstation uses OSS output. There are some VMWare + PulseAudio guides floating around, but the simplest thing you should try is to use the "padsp" wrapper:

$ padsp vmware-vmx

I'll download vmware player and see if I can get it working (hopefully it's similar enough to workstation).

NOTE: whatever this last command does, it thumped my system HARD. Mouse/keyboard control got glitchy and sluggish, app response disappeared, video refresh went to the dogs. Had to log out and back in, but at least that fixed the issue.

Any thoughts?


You have to ensure that audio applications are closed when you restart pulseaudio. If an application has an open PulseAudio client connection while you kill the PulseAudio server, well... let's just say that the application doesn't appreciate it ;).

psyke83
November 17th, 2008, 11:53 PM
So this guide saved me, thank you so much...

But following Apendix D to get the equalizer- does this just auto equalize the system somehow, or is there eq band control somewhere?

K

No, it uses a preset that I created. If you take a look at the code you paste into ~/.asoundrc, it has a very brief explanation of the LADSPA (audio processing) plugin used.

Check the output of this command (this is the LADSPA equalizer plugin's control options):
$ analyseplugin /usr/lib/ladspa/mbeq_1197.so

Look at the text in ~/.asoundrc:
controls [ -1 -1 -1 -1 -5 -10 -20 -17 -12 -7 -6 -5 -5 0 0 ]

By editing the control values in that file, you can modify the ranges as described from the "analyseplugin" output (starting with 50Hz and ending with 20000Hz). In the case of this particular LADSPA plugin, the valid range is from -70 to 30, with 0 being the default value for each control.

You need to restart PulseAudio every time you make a change to this file, unfortunately. The good news is that someone wrote an ALSA plugin that creates a virtual sound card for a LADSPA plugin (I forget the name of the application right now), and you can dynamically change all the control option through sliders via any ALSA volume control application. The bad news is that I never managed to get it working in conjunction with PulseAudio.

akahige
November 18th, 2008, 12:18 AM
The solution is to use VirtualBox instead.... kidding ;).
Heh! :)


From a quick googling, I discovered that VMWare Workstation uses OSS output. There are some VMWare + PulseAudio guides floating around, but the simplest thing you should try is to use the "padsp" wrapper:

$ padsp vmware-vmx
Tried that. Didn't work.

However I discovered something interesting. Well, you might find it interesting, since it doesn't mean anything to me...

I ran "padsp vmware" from a term, and noticed that it spit the following error:
ERROR: ld.so: object 'libpulsedsp.so' from LD_PRELOAD cannot be preloaded: ignored.

Apparently, someone filed a bug (https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/218093) back in April, but it got triaged by someone who couldn't read, and seems to have pretty much been abandoned.

Any of this mean anything to you? Is it an actual bug in PulseAudio, or is it something that can be worked around?


I'll download vmware player and see if I can get it working (hopefully it's similar enough to workstation).
It's similar, but all it does is run pre-built vm's, so you'll have to find one of them, too.


You have to ensure that audio applications are closed when you restart pulseaudio. If an application has an open PulseAudio client connection while you kill the PulseAudio server, well... let's just say that the application doesn't appreciate it ;).
Well, that would certainly explain that. :o

psyke83
November 18th, 2008, 12:33 AM
Any of this mean anything to you? Is it an actual bug in PulseAudio, or is it something that can be worked around?


Yes, there seems to be a workaround for this issue. Take a look: http://henning.schmiedehausen.org/wingnut-diaries/archives/101

Reminder: result "A" from Appendix A is what you should aim towards getting.

nexist
November 18th, 2008, 02:09 AM
First I had <<The PulseAudio Volume Control application displays the error: "Connection failed: Connection refused">>. I started the server and received <<The application does not play audio and does not list an entry in the Playback tab.>>

Output of the server start:
nexist@militia-templi:~$ pulseaudio -D
W: ltdl-bind-now.c: Failed to find original dlopen loader.

For the questions:

1: 8.10 Intrepid. Intel Q6600 Quad Core

2:
**** List of PLAYBACK Hardware Devices ****
card 0: VT82xx [HDA VIA VT82xx], device 0: VT1708 Analog [VT1708 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: VT82xx [HDA VIA VT82xx], device 1: VT1708 Digital [VT1708 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: CA0106 [CA0106], device 0: ca0106 [CA0106]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: CA0106 [CA0106], device 1: ca0106 [CA0106]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: CA0106 [CA0106], device 2: ca0106 [CA0106]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: CA0106 [CA0106], device 3: ca0106 [CA0106]
Subdevices: 1/1
Subdevice #0: subdevice #0

3:
I: main.c: PolicyKit refuses acquire-high-priority privilige.
I: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
I: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
I: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
I: main.c: Note that real-time/high-priority scheduling is NOT normally required. If you experience crackling or other sound anomalies, consider one or more of the above solutions.
I: main.c: High-priority scheduling enabled in configuration but now allowed by policy. Disabling forcibly.
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1106_3288_sound_card_0_alsa_playback_1
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_1106_3288_sound_card_0_a lsa_playback_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-sink.c: Successfully opened device front:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Cannot find mixer control "Master".
I: alsa-util.c: Using mixer control "PCM".
I: sink.c: Created sink 0 "alsa_output.pci_1106_3288_sound_card_0_alsa_playba ck_0" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 0 "alsa_output.pci_1106_3288_sound_card_0_alsa_playba ck_0.monitor" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-sink.c: Using 8 fragments of size 1792 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #0; argument: "device_id=0 sink_name=alsa_output.pci_1106_3288_sound_card_0_a lsa_playback_0").
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_1106_3288_sound_card_0_ alsa_capture_0'
D: alsa-util.c: Trying front:0...
W: alsa-util.c: Device front:0 doesn't support 44100 Hz, changed to 48000 Hz.
I: module-alsa-source.c: Successfully opened device front:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Capture".
I: source.c: Created source 1 "alsa_input.pci_1106_3288_sound_card_0_alsa_capture _0" with sample spec "s16le 2ch 48000Hz"
I: module-alsa-source.c: Using 8 fragments of size 1792 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28
I: module.c: Loaded "module-alsa-source" (index: #1; argument: "device_id=0 source_name=alsa_input.pci_1106_3288_sound_card_0_ alsa_capture_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1106_3288_sound_card_0_alsa_control__1
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_7_sound_card_0_alsa_playback_3
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_7_sound_card_0_alsa_capture_3
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_7_sound_card_0_alsa_playback_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_7_sound_card_0_alsa_capture_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_7_sound_card_0_alsa_playback_1
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_7_sound_card_0_alsa_capture_1
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=1 sink_name=alsa_output.pci_1102_7_sound_card_0_alsa _playback_0'
D: alsa-util.c: Trying front:1...
W: alsa-util.c: Device front:1 doesn't support 44100 Hz, changed to 48000 Hz.
I: module-alsa-sink.c: Successfully opened device front:1.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:1
I: alsa-util.c: Unable to attach to mixer front:1: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:1'
I: alsa-util.c: Cannot find mixer control "Master".
W: alsa-util.c: Cannot find fallback mixer control "PCM".
I: sink.c: Created sink 1 "alsa_output.pci_1102_7_sound_card_0_alsa_playback_ 0" with sample spec "s16le 2ch 48000Hz"
I: source.c: Created source 2 "alsa_output.pci_1102_7_sound_card_0_alsa_playback_ 0.monitor" with sample spec "s16le 2ch 48000Hz"
I: module-alsa-sink.c: Using 8 fragments of size 1792 bytes.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+27
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #2; argument: "device_id=1 sink_name=alsa_output.pci_1102_7_sound_card_0_alsa _playback_0").
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=1 source_name=alsa_input.pci_1102_7_sound_card_0_als a_capture_0'
D: alsa-util.c: Trying front:1...
I: module-alsa-source.c: Successfully opened device front:1.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:1
I: alsa-util.c: Unable to attach to mixer front:1: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:1'
I: alsa-util.c: Cannot find mixer control "Capture".
I: alsa-util.c: Using mixer control "Mic".
I: source.c: Created source 3 "alsa_input.pci_1102_7_sound_card_0_alsa_capture_0" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-source.c: Using 2 fragments of size 1792 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+26
I: module.c: Loaded "module-alsa-source" (index: #3; argument: "device_id=1 source_name=alsa_input.pci_1102_7_sound_card_0_als a_capture_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_7_sound_card_0_alsa_midi_0
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_7_sound_card_0_alsa_control__1
I: module-hal-detect.c: Loaded 4 modules.
I: module.c: Loaded "module-hal-detect" (index: #4; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #5; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #6; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
D: module-gconf.c: Loading module 'module-null-sink' with args 'sink_name=rtp format=s16be channels=2 rate=44100 description="RTP Multicast Sink"' due to GConf configuration.
I: sink.c: Created sink 2 "rtp" with sample spec "s16be 2ch 44100Hz"
I: source.c: Created source 4 "rtp.monitor" with sample spec "s16be 2ch 44100Hz"
D: module-null-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+25
I: module.c: Loaded "module-null-sink" (index: #7; argument: "sink_name=rtp format=s16be channels=2 rate=44100 description="RTP Multicast Sink"").
D: module-gconf.c: Loading module 'module-rtp-send' with args 'source=rtp.monitor loop=0' due to GConf configuration.
I: source-output.c: Created output 0 "RTP Monitor Stream" on rtp.monitor with sample spec s16be 2ch 44100Hz and channel map front-left,front-right
D: memblockq.c: memblockq requested: maxlength=174080, tlength=174080, base=4, prebuf=1, minreq=0
D: memblockq.c: memblockq sanitized: maxlength=174080, tlength=174080, base=4, prebuf=4, minreq=4
I: module-rtp-send.c: RTP stream initialized with mtu 1280 on 224.0.0.56:46544, SSRC=0x8a2f32c7, payload=10, initial sequence #63064
I: module-rtp-send.c: SDP-Data:
I: module-rtp-send.c: v=0
I: module-rtp-send.c: o=nexist 3435977107 0 IN IP4 10.11.93.179
I: module-rtp-send.c: s=PulseAudio RTP Stream on militia-templi
I: module-rtp-send.c: c=IN IP4 224.0.0.56
I: module-rtp-send.c: t=3435977107 0
I: module-rtp-send.c: a=recvonly
I: module-rtp-send.c: m=audio 46544 RTP/AVP 10
I: module-rtp-send.c: a=rtpmap:10 L16/44100/2
I: module-rtp-send.c: a=type:broadcast
I: module-rtp-send.c: EOF
I: module.c: Loaded "module-rtp-send" (index: #8; argument: "source=rtp.monitor loop=0").
D: module-gconf.c: Loading module 'module-rtp-recv' with args '' due to GConf configuration.
I: module.c: Loaded "module-rtp-recv" (index: #9; argument: "").
D: module-gconf.c: Loading module 'module-native-protocol-tcp' with args 'auth-anonymous=1' due to GConf configuration.
I: protocol-native.c: using already loaded auth cookie.
I: protocol-native.c: using already loaded auth cookie.
I: module.c: Loaded "module-native-protocol-tcp" (index: #10; argument: "auth-anonymous=1").
D: module-gconf.c: Loading module 'module-esound-protocol-tcp' with args 'auth-anonymous=1' due to GConf configuration.
I: module.c: Loaded "module-esound-protocol-tcp" (index: #11; argument: "auth-anonymous=1").
D: module-gconf.c: Loading module 'module-zeroconf-publish' with args '' due to GConf configuration.
D: module-zeroconf-publish.c: Publishing services in Zeroconf
D: module-zeroconf-publish.c: Successfully created entry group for nexist@militia-templi: ALSA PCM on front:0 (VT1708 Analog) via .
D: module-zeroconf-publish.c: Successfully created entry group for nexist@militia-templi: ALSA PCM on front:1 (CA0106) via DMA.
D: module-zeroconf-publish.c: Successfully created entry group for nexist@militia-templi: RTP Multicast Sink.
D: module-zeroconf-publish.c: Successfully created entry group for nexist@militia-templi: ALSA PCM on front:0 (VT1708 Analog) via .
D: module-zeroconf-publish.c: Successfully created entry group for nexist@militia-templi: ALSA PCM on front:1 (CA0106) via DMA.
I: module.c: Loaded "module-zeroconf-publish" (index: #12; argument: "").
D: module-gconf.c: Loading module 'module-zeroconf-discover' with args '' due to GConf configuration.
I: module.c: Loaded "module-zeroconf-discover" (index: #13; argument: "").
I: module.c: Loaded "module-gconf" (index: #14; argument: "").
I: module.c: Loaded "module-volume-restore" (index: #15; argument: "").
D: module-default-device-restore.c: Restored default sink 'alsa_output.pci_1106_3288_sound_card_0_alsa_playb ack_0'.
D: core-subscribe.c: dropped redundant event.
D: module-default-device-restore.c: Restored default source 'alsa_input.pci_1106_3288_sound_card_0_alsa_captur e_0'.
I: module.c: Loaded "module-default-device-restore" (index: #16; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #17; argument: "").
D: module-suspend-on-idle.c: Sink alsa_output.pci_1106_3288_sound_card_0_alsa_playba ck_0 becomes idle.
D: module-suspend-on-idle.c: Sink alsa_output.pci_1102_7_sound_card_0_alsa_playback_ 0 becomes idle.
D: module-suspend-on-idle.c: Sink rtp becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.pci_1106_3288_sound_card_0_alsa_playba ck_0.monitor becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.pci_1106_3288_sound_card_0_alsa_capture _0 becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.pci_1102_7_sound_card_0_alsa_playback_ 0.monitor becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.pci_1102_7_sound_card_0_alsa_capture_0 becomes idle.
I: module.c: Loaded "module-suspend-on-idle" (index: #18; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #19; argument: "").
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
I: module-zeroconf-publish.c: Successfully established service nexist@militia-templi: ALSA PCM on front:0 (VT1708 Analog) via .
I: module-zeroconf-publish.c: Successfully established service nexist@militia-templi: ALSA PCM on front:1 (CA0106) via DMA.
I: module-zeroconf-publish.c: Successfully established service nexist@militia-templi: RTP Multicast Sink.
I: module-zeroconf-publish.c: Successfully established service nexist@militia-templi: ALSA PCM on front:0 (VT1708 Analog) via .
I: module-zeroconf-publish.c: Successfully established service nexist@militia-templi: ALSA PCM on front:1 (CA0106) via DMA.
I: module-zeroconf-publish.c: Successfully established main service.
I: module-suspend-on-idle.c: Source alsa_input.pci_1102_7_sound_card_0_alsa_capture_0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_output.pci_1102_7_sound_card_0_alsa_playback_ 0.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Source alsa_input.pci_1106_3288_sound_card_0_alsa_capture _0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_output.pci_1106_3288_sound_card_0_alsa_playba ck_0.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Sink rtp idle for too long, suspending ...
I: module-suspend-on-idle.c: Sink alsa_output.pci_1102_7_sound_card_0_alsa_playback_ 0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...
I: module-suspend-on-idle.c: Sink alsa_output.pci_1106_3288_sound_card_0_alsa_playba ck_0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...
D: module-rtp-recv.c: Checking for dead streams ...

[Note this checking for dead streams goes on for hours, repeating the wame message "checking for dead streams"]

akahige
November 18th, 2008, 02:50 AM
Yes, there seems to be a workaround for this issue. Take a look: http://henning.schmiedehausen.org/wingnut-diaries/archives/101

Reminder: result "A" from Appendix A is what you should aim towards getting.

This is for player, not workstation, and completely broke my VMware install. (Only a matter of taking the time to reinstall to fix it.)

I found this -- https://www.sokrates.homelinux.net/~thomas/Private/Soft/vmwaredsp/index.php -- which is an updated version of the link you found (updated to include an ALSA driver), but I can't get it to compile on my amd64. (Probably my own ignorance.)

Googling all over, this fellow seems to be the most current and most on top of things, even if his work is a little less dated than everyone else's.

psyke83
November 18th, 2008, 03:45 AM
This is for player, not workstation, and completely broke my VMware install. (Only a matter of taking the time to reinstall to fix it.)

I found this -- https://www.sokrates.homelinux.net/~thomas/Private/Soft/vmwaredsp/index.php -- which is an updated version of the link you found (updated to include an ALSA driver), but I can't get it to compile on my amd64. (Probably my own ignorance.)

Googling all over, this fellow seems to be the most current and most on top of things, even if his work is a little less dated than everyone else's.

The latest version appears to be linked incorrectly, but you can still grab it directly: https://www.sokrates.homelinux.net/~thomas/Private/Soft/vmwaredsp/vmwaredsp-1.4.1.tar.bz2

I'm on a 32bit system, and I only needed to install "libasound-dev" (I already have the "build-essential" development packages installed). You may also want to install lib32asound2-dev and lib64asound2-dev (or whatever the proper names are).

The wrappers compiled without any warning for me.

psyke83
November 18th, 2008, 03:56 AM
First I had <<The PulseAudio Volume Control application displays the error: "Connection failed: Connection refused">>. I started the server and received <<The application does not play audio and does not list an entry in the Playback tab.>>


Your logs don't show any problems, but I'm not sure if you've selected the correct sound card as your default. Check via the PulseAudio Volume Control (see Part A, Step 5).

Also, what applications did you test? Try the troubleshooting steps with multiple applications, e.g. Totem and VLC.

akahige
November 18th, 2008, 04:20 AM
The latest version appears to be linked incorrectly, but you can still grab it directly: https://www.sokrates.homelinux.net/~thomas/Private/Soft/vmwaredsp/vmwaredsp-1.4.1.tar.bz2

I'm on a 32bit system, and I only needed to install "libasound-dev" (I already have the "build-essential" development packages installed). You may also want to install lib32asound2-dev and lib64asound2-dev (or whatever the proper names are).

The wrappers compiled without any warning for me.

Thanks for digging into that a bit more. I didn't think to try renaming the download link.

I'm still having a problem with compiling, though. When I "sudo make install", I get this:

make -C src install
make[1]: Entering directory `/home/usr/Desktop/tmp/vmwaredsp/src'
cc -c -g -W -Wall -O2 -fPIC -o vmdsp.o vmdsp.c
cc -shared -Wl,-version-script=vmdsp.map -o libvmdsp.so vmdsp.o -lpthread -ldl -lc
/usr/bin/ld: libvmdsp.so: version node not found for symbol lseek64@GLIBC_2.2.5
/usr/bin/ld: failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libvmdsp.so] Error 1
rm vmdsp.o
make[1]: Leaving directory `/home/usr/Desktop/tmp/vmwaredsp/src'
make: *** [install] Error 2


Not really sure what this means. Am I missing dependencies or is this a misconfigured makefile? (There was something in the older readme about altering variables for 64-bit compilers, but I couldn't tell that anything needed to be changed.)

In looking for info about this driver, I discovered that the guy who wrote it doesn't maintain the thing any more because he's moved over to a PPC development platform and no longer uses VMware.

Links here, if you're interested:
http://bugs.gentoo.org/97078
https://www.sokrates.homelinux.net/~thomas/Wiki/index.php?n=Thomas.MiscellaneousStuff#toc2

Cheers!

psyke83
November 18th, 2008, 04:34 AM
Thanks for digging into that a bit more. I didn't think to try renaming the download link.

I'm still having a problem with compiling, though. When I "sudo make install", I get this:

make -C src install
make[1]: Entering directory `/home/usr/Desktop/tmp/vmwaredsp/src'
cc -c -g -W -Wall -O2 -fPIC -o vmdsp.o vmdsp.c
cc -shared -Wl,-version-script=vmdsp.map -o libvmdsp.so vmdsp.o -lpthread -ldl -lc
/usr/bin/ld: libvmdsp.so: version node not found for symbol lseek64@GLIBC_2.2.5
/usr/bin/ld: failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libvmdsp.so] Error 1
rm vmdsp.o
make[1]: Leaving directory `/home/usr/Desktop/tmp/vmwaredsp/src'
make: *** [install] Error 2


Not really sure what this means. Am I missing dependencies or is this a misconfigured makefile? (There was something in the older readme about altering variables for 64-bit compilers, but I couldn't tell that anything needed to be changed.)

In looking for info about this driver, I discovered that the guy who wrote it doesn't maintain the thing any more because he's moved over to a PPC development platform and no longer uses VMware.

Links here, if you're interested:
http://bugs.gentoo.org/97078
https://www.sokrates.homelinux.net/~thomas/Wiki/index.php?n=Thomas.MiscellaneousStuff#toc2

Cheers!

The more I read about vmwaredsp, the less I like.

From: http://communities.vmware.com/thread/163605

Don't follow the actual guide (I'm not convinced by the instructions to remove the OSS emulation modules at all), but look at the comments. They say you need to manually set the sound device to /dev/dsp in the VMWare settings.

Therefore, set the sound device to /dev/dsp, close and once again try to launch vmware-vmx via padsp.

akahige
November 18th, 2008, 05:25 AM
The more I read about vmwaredsp, the less I like.

From: http://communities.vmware.com/thread/163605

Don't follow the actual guide (I'm not convinced by the instructions to remove the OSS emulation modules at all), but look at the comments. They say you need to manually set the sound device to /dev/dsp in the VMWare settings.

Therefore, set the sound device to /dev/dsp, close and once again try to launch vmware-vmx via padsp.

Done.

With no media apps open on the linux side of things, I got sound in VMware -- "B" on your troubleshooting chart. The sound was a little choppy and it also spit that LD_PRELOAD error. The interesting thing about the error, though, is that this time, it triggered when attempting to play sound. Before -- I think -- it triggered as soon as VMware was launched.

On the linux side of things, PulseAudio wouldn't take over and do its thing until I completely exited VMware. When Exaile was playing, VMware spits a device error: "Failed to open sound device /dev/dsp: Device or resource busy".

Just so you know, there are three choices for sound devices: auto select, /dev/dsp, and /dev/dsp1.

I'd seen the post you referenced, but between looking at the packages the guy was ripping out, and reading the comments and seeing the temperamental problems people were having, it didn't seem like a road I wanted to go down lest I do something really catastrophic, not having so much as an iota of your experience.

What did you see with vmwaredsp that so disenchanted you?

nexist
November 18th, 2008, 12:27 PM
Your logs don't show any problems, but I'm not sure if you've selected the correct sound card as your default. Check via the PulseAudio Volume Control (see Part A, Step 5).

Also, what applications did you test? Try the troubleshooting steps with multiple applications, e.g. Totem and VLC.

No devices appear, no streams are available in the control.

I tested with Preferences | Sound, Totem & Songbird. Also, there were no system sounds (GDM Login Prompt, Login Process, etc)

fogelfink
November 18th, 2008, 01:35 PM
Thank you psyke83 for all the time you are taking with this thread.

Unfortunately I am still experiencing stutter/distortion of audio playback when i.e. I plug in an SD card into my card reader - is that an issue that can be solved in the /etc/pulse/daemon.conf settings?
I have set my values to
default-fragments = 4
default-fragment-size-msec = 25
they were at 8 & 10 before. This did not influence the issue. I am wondering whether it is worth playing with those settings, as I don't really know how they influence the system's performance.
I followed your guide when I was using hardy and that solved my difficulties then. I am a) surprised that the problems persist in intrepid and b) that I have this time round not been able to solve the same issues with your updated guide.
But to be honest it is not as bad as it was in the early hardy days, if sound continues to only skip when I plug in devices.

paul42
November 18th, 2008, 04:43 PM
Thank You! I can't count how many things I've tried to get sound in 8.10 working, this did it. One note, you made a comment a few days ago that finally fixed everything, and that was running the command "alsamixer -Dhw", which I did not see listed on the 1st page.

Thanks again,

Paul

stakhanov
November 18th, 2008, 09:54 PM
Many thanks psyke83 for all your hard work.

Now I am finally able to have sound in Intrepid Ibex !

But there is one strange thing : with a music player like Aqualung for example, there is a "delay" everytime I do an action, like clicking on "next song", or "stop". The sound takes about 6-8 seconds to follow the changes.
I didn't manage to fix that. Any idea ?

mocha
November 19th, 2008, 02:13 AM
Wow! Thank you very much for this guide! Now I FINALLY understand how to use PulseAudio and Jack sources and sinks to "route" audio. Literally after more than 1 year of struggling how to record the internal audio mix from my computer as well as the internal sounds with gtk-recordmydesktop, this guide has allowed me to finally understand how to route that audio to be captured. Thanks so much!!!! :guitar:

WildeBeest
November 19th, 2008, 05:01 PM
The simultaneous output may not work correctly. I assume you want to use the ALC883 card, so select that option, i.e.:
"ALSA PCM on front:0 (ALC883 Analog) via DMA"

You also need to restart pulseaudio *after* deleting the ~/.pulse/volume-restore.table file (to reset the saved sink for recently used applications).

As for Firefox... I don't see how it got slower. Your version of Flash was upgraded to the v10 release via my packages, but that's been shown to be universally faster than version 9 for everybody I know.

I've been away, so I wasn't able to follow trough with your suggestions.

I just did the above and still no sound.

Any other suggestions?

tg1
November 19th, 2008, 06:51 PM
Hi there!

I'm struggling a bit with analog sound after xbmc (which I'm running on my box) crashed the other day. No sound from mp3, avi, wmv, and so on.. (In VLC as well as xbmc.) Also, the menu "clicking" sounds in xbmc are gone, and so are the ubuntu system sounds.

By the way, this applies for me:
The application does not play audio and does list an entry in the Playback tab;
- the application is using PulseAudio but there is a problem, such as: a bug in PulseAudio, a problem with your ALSA kernel module or libraries, or your PCM/Master volume is muted.

Anyway, some debugging info here:
(I'm running 8.10 (after the dist-upgrade in your how-to, was running 8.04 before (i386).)

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC882 Analog [ALC882 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC882 Digital [ALC882 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0


$ pkill pulseaudio && sleep 2 && pulseaudio -vv

I: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
I: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
I: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
I: main.c: Note that real-time/high-priority scheduling is NOT normally required. If you experience crackling or other sound anomalies, consider one or more of the above solutions.
I: main.c: High-priority scheduling enabled in configuration but now allowed by policy. Disabling forcibly.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_293e_sound_card_0_alsa_capture_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_293e_sound_card_0_alsa_playback_1
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_293e_sound_card_0_alsa_capture_1
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_8086_293e_sound_card_0_a lsa_playback_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-sink.c: Successfully opened device front:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Master".
I: sink.c: Created sink 0
"alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 0
"alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0.monitor"
with sample spec "s16le 2ch 44100Hz"
I: module-alsa-sink.c: Using 8 fragments of size 896 bytes.
I: alsa-util.c: ALSA device lacks independant volume controls for each channel, falling back to software volume control.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #0; argument: "device_id=0 sink_name=alsa_output.pci_8086_293e_sound_card_0_a lsa_playback_0").
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_8086_293e_sound_card_0_ alsa_capture_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-source.c: Successfully opened device front:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Capture".
I: source.c: Created source 1
"alsa_input.pci_8086_293e_sound_card_0_alsa_capture _0" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-source.c: Using 8 fragments of size 896 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels.
Using hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28
I: module.c: Loaded "module-alsa-source" (index: #1; argument: "device_id=0 source_name=alsa_input.pci_8086_293e_sound_card_0_ alsa_capture_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_293e_sound_card_0_alsa_hw_specific_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_293e_sound_card_0_alsa_control__1
I: module-hal-detect.c: Loaded 2 modules.
I: module.c: Loaded "module-hal-detect" (index: #2; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #3; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #4; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
I: module.c: Loaded "module-gconf" (index: #5; argument: "").
I: module.c: Loaded "module-volume-restore" (index: #6; argument: "").
D: module-default-device-restore.c: Restored default sink 'alsa_output.pci_8086_293e_sound_card_0_alsa_playb ack_0'.
D: core-subscribe.c: dropped redundant event.
D: module-default-device-restore.c: Restored default source 'alsa_input.pci_8086_293e_sound_card_0_alsa_captur e_0'.
I: module.c: Loaded "module-default-device-restore" (index: #7; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #8; argument: "").
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0 becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0.monitor becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.pci_8086_293e_sound_card_0_alsa_capture _0 becomes idle.
I: module.c: Loaded "module-suspend-on-idle" (index: #9; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #10; argument: "").
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
I: module-suspend-on-idle.c: Sink alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_input.pci_8086_293e_sound_card_0_alsa_capture _0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0.monitor idle for too long, suspending ...


Any help is greatly appreciated. (I'm not surprised if this shows to be a minor error which I've overlooked, though.. :-k )

psyke83
November 19th, 2008, 07:01 PM
Any help is greatly appreciated. (I'm not surprised if this shows to be a minor error which I've overlooked, though.. :-k )

Check your PCM mixer volume:
$ alsamixer -Dhw

There's a bug in Intrepid causing this mixer to get inexplicably muted for some users - it may be happening to you.

Additionally, ensure that PulseAudio is using the correct playback device by default (see Appendix B and Part A, Step 5).

psyke83
November 19th, 2008, 07:08 PM
No devices appear, no streams are available in the control.

I tested with Preferences | Sound, Totem & Songbird. Also, there were no system sounds (GDM Login Prompt, Login Process, etc)

Judging from your earlier debug output and test results, you probably didn't follow the guide completely (due to audio networking being enabled, which isn't the default configuration). If Totem doesn't appear in your PA Volume Control client list, then you must have set System/Preferences/Sound to OSS output (again, which suggests you skipped steps in the guide).

Note: if you log in and immediately try to open PA Volume Control and receive a "connection refused" error, it means that the pulseaudio server is not starting properly. Start PulseAudio manually, and then try the troubleshooting steps for Totem.

If that works, then you need to find out what's preventing pulseaudio from starting while logging in to your account.

psyke83
November 19th, 2008, 07:14 PM
Thank you psyke83 for all the time you are taking with this thread.

Unfortunately I am still experiencing stutter/distortion of audio playback when i.e. I plug in an SD card into my card reader - is that an issue that can be solved in the /etc/pulse/daemon.conf settings?
I have set my values to

they were at 8 & 10 before. This did not influence the issue. I am wondering whether it is worth playing with those settings, as I don't really know how they influence the system's performance.
I followed your guide when I was using hardy and that solved my difficulties then. I am a) surprised that the problems persist in intrepid and b) that I have this time round not been able to solve the same issues with your updated guide.
But to be honest it is not as bad as it was in the early hardy days, if sound continues to only skip when I plug in devices.

Take a look at /etc/pulse/daemon.conf. You can try to enable "realtime-scheduling" and "high-priority".

psyke83
November 19th, 2008, 07:16 PM
Many thanks psyke83 for all your hard work.

Now I am finally able to have sound in Intrepid Ibex !

But there is one strange thing : with a music player like Aqualung for example, there is a "delay" everytime I do an action, like clicking on "next song", or "stop". The sound takes about 6-8 seconds to follow the changes.
I didn't manage to fix that. Any idea ?

Are you using the equalizer? It tends to cause a delay due to the LADSPA filtering. Try to disable the equalizer and see if the delay persists.

psyke83
November 19th, 2008, 07:23 PM
Done.

With no media apps open on the linux side of things, I got sound in VMware -- "B" on your troubleshooting chart. The sound was a little choppy and it also spit that LD_PRELOAD error. The interesting thing about the error, though, is that this time, it triggered when attempting to play sound. Before -- I think -- it triggered as soon as VMware was launched.

On the linux side of things, PulseAudio wouldn't take over and do its thing until I completely exited VMware. When Exaile was playing, VMware spits a device error: "Failed to open sound device /dev/dsp: Device or resource busy".

Yes, PulseAudio (via ALSA) and VMWare (via ALSA's OSS emulation) are fighting for access to your sound card in this situation. They will work on a "first-come first-serve" basis, which is hardly ideal.

What did you see with vmwaredsp that so disenchanted you?

Well, it doesn't seem well-maintained, and there's no guarantee it can work with PulseAudio (the PulseAudio ALSA plugins have around 70% compatibility).

Nevertheless, it seems to be your best chance at making VMWare work with PulseAudio. Perhaps check Google for answers related to your compile errors.

psyke83
November 19th, 2008, 07:26 PM
I've been away, so I wasn't able to follow trough with your suggestions.

I just did the above and still no sound.

Any other suggestions?

Assuming you tried my earlier advice, check your PCM volume (the actual level and the mute switch): http://ubuntuforums.org/showpost.php?p=6213537&postcount=809

soifran
November 20th, 2008, 08:32 AM
hi Psyke83 & congrats for all this really useful work
i got something annoying left, though everything is pretty smooth.

i'm running intrepid, and use to follow this (http://queleimporta.com/installing-flash-10-on-intrepid-ubuntu-810-64-bits/en/) post to get the last flash player working.

following your tutorial indeed solved my sound problems, but modified the flash player, so i'm no longer able to consult mtvmusic (http://www.mtvmusic.com/), which was one of the reason of my last attempt on flash.

what could i do to test the system ? uninstalling flashplugin-nonfree, nspluginwrapper made firefox become crashy...

[edit] :oops:
re-following that post (http://queleimporta.com/how-to-install-flash-10-rc-on-ubuntu-64-bits-with-2-clicks/en/) made the situation came back, durrently enjoying that song (http://www.mtvmusic.com/prince/videos/9698/1999.jhtml), sorry for bothering.

Dawa
November 20th, 2008, 03:29 PM
just installed the intrepid updates to pulseaudio via the repository in the guide today (nov 20) and now my computer makes a very annoying garbled chirp at login instead of the usual login sound.... what gives?

once i'm logged in sound seems to work fine.. but if i go into System > Preferences > Sound and try to preview the login sound it keeps making the annoying chirp. playing the login sound file itself through audacious and exaile plays the file as it should sound normally.

any ideas?

edit: i forced a downgrade to the original intrepid versions... everything is back to normal

mssever
November 21st, 2008, 05:05 AM
Awesome thread. It really helped! Thanks, psyke83.

@mods:
This thread should be moved to the multimedia and video forum and made sticky, because a) the existing stickies don't deal with PulseAudio; b) PulseAudio is quite problematic in Ubuntu--even in Intrepid; and c) it took me a long time to find this thread since I was searching the multimedia and video forum.

psyke83
November 21st, 2008, 05:49 AM
just installed the intrepid updates to pulseaudio via the repository in the guide today (nov 20) and now my computer makes a very annoying garbled chirp at login instead of the usual login sound.... what gives?

once i'm logged in sound seems to work fine.. but if i go into System > Preferences > Sound and try to preview the login sound it keeps making the annoying chirp. playing the login sound file itself through audacious and exaile plays the file as it should sound normally.

any ideas?

edit: i forced a downgrade to the original intrepid versions... everything is back to normal

I didn't push any updates into my PPA recently. Were you referring to TheMuso's PA 0.9.13 packages?

hgkawa
November 21st, 2008, 12:05 PM
-------------------------------------
Edit: Problem solved! ATI-HDMI was the "problem"

Editing /etc/modprobe.d/alsa-base


options snd_ice1712 index=0
options snd_hda_intel index=1


solved the issue.

-------------------------------------
I use a M2496 M-Audio sound card.

A change in /etc/pulseaudio/default.pa was needed for pulseaudio to see the card. (please see below)

Pulseaudio volume control shows the right card and setting. Sadly I can not hear anything. Has anybody an idea?

BTW: System -> Preferences -> Sound | Pulseaudio everywhere


/etc/pulseaudio/default.pa


### Automatically load driver modules depending on the hardware available
#.ifexists module-hal-detect.so
#load-module module-hal-detect
#.else
### Alternatively use the static hardware detection module (for systems that
### lack HAL support)
#load-module module-detect
#.endif

load-module module-alsa-sink sink_name=M2496_out device=hw:M2496 format=s32le channels=10 channel_map=left,right,aux0,aux1,aux2,aux3,aux4,au x5,aux6,aux7
load-module module-alsa-source source_name=M2496_in device=hw:M2496 format=s32le channels=12 channel_map=left,right,aux0,aux1,aux2,aux3,aux4,au x5,aux6,aux7,aux8,aux9



I also added the following to /etc/libao.conf


default_driver=pulse


I get the following aplay -l output


aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: M2496 [M Audio Audiophile 24/96], device 0: ICE1712 multi [ICE1712 multi]
Subdevices: 1/1
Subdevice #0: subdevice #0



pulseaudio -vv gives


pulseaudio -vv
I: main.c: PolicyKit refuses acquire-high-priority privilige.
I: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
I: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
I: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
I: main.c: Note that real-time/high-priority scheduling is NOT normally required. If you experience crackling or other sound anomalies, consider one or more of the above solutions.
I: main.c: High-priority scheduling enabled in configuration but now allowed by policy. Disabling forcibly.
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
I: module-alsa-sink.c: Successfully opened device hw:M2496.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
I: alsa-util.c: Successfully attached to mixer 'hw:M2496'
I: alsa-util.c: Cannot find mixer control "Master".
W: alsa-util.c: Cannot find fallback mixer control "PCM".
I: sink.c: Created sink 0 "M2496_out" with sample spec "s32le 10ch 44100Hz"
I: source.c: Created source 0 "M2496_out.monitor" with sample spec "s32le 10ch 44100Hz"
I: module-alsa-sink.c: Using 8 fragments of size 17640 bytes.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #0; argument: "sink_name=M2496_out device=hw:M2496 format=s32le channels=10 channel_map=left,right,aux0,aux1,aux2,aux3,aux4,au x5,aux6,aux7").
I: module-alsa-source.c: Successfully opened device hw:M2496.
I: module-alsa-source.c: Successfully enabled mmap() mode.
I: alsa-util.c: Successfully attached to mixer 'hw:M2496'
I: alsa-util.c: Cannot find mixer control "Capture".
W: alsa-util.c: Cannot find fallback mixer control "Mic".
I: source.c: Created source 1 "M2496_in" with sample spec "s32le 12ch 44100Hz"
I: module-alsa-source.c: Using 8 fragments of size 21168 bytes.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28
I: module.c: Loaded "module-alsa-source" (index: #1; argument: "source_name=M2496_in device=hw:M2496 format=s32le channels=12 channel_map=left,right,aux0,aux1,aux2,aux3,aux4,au x5,aux6,aux7,aux8,aux9").

D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #2; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #3; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
I: module.c: Loaded "module-gconf" (index: #4; argument: "").
I: module.c: Loaded "module-volume-restore" (index: #5; argument: "").
D: module-default-device-restore.c: Restored default sink 'M2496_out'.
D: core-subscribe.c: dropped redundant event.
D: module-default-device-restore.c: Restored default source 'M2496_in'.
I: module.c: Loaded "module-default-device-restore" (index: #6; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #7; argument: "").
D: module-suspend-on-idle.c: Sink M2496_out becomes idle.
D: module-suspend-on-idle.c: Source M2496_out.monitor becomes idle.
D: module-suspend-on-idle.c: Source M2496_in becomes idle.
I: module.c: Loaded "module-suspend-on-idle" (index: #8; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #9; argument: "").
I: main.c: Daemon startup complete.
I: module-suspend-on-idle.c: Source M2496_in idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source M2496_out.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Sink M2496_out idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...




Thank you!

psyke83
November 21st, 2008, 02:04 PM
-------------------------------------
Edit: Problem solved! ATI-HDMI was the "problem"

Editing /etc/modprobe.d/alsa-base


options snd_ice1712 index=0
options snd_hda_intel index=1


solved the issue.


Glad to hear your issue is solved, though this first step didn't fix your problem - PulseAudio completely ignores the ALSA module indexes. See Part A, Step 5.

There's no harm in doing this, though :).

phorgan1
November 21st, 2008, 03:12 PM
There's one thing you may want to try, but it's unlikely to help: comment (put a # at the beginning) the two lines in your daemon.conf that specify the fragment size and amounts - see the question about stuttering in Appendix B. Remember, you need to restart PulseAudio (log out and back in, or "pkill pulseaudio && sleep 5 && pulseaudio") for changes to take effect.

No, sadly enough, no effect.

By the way, if you check alsamixer *after* restarting/reloading ALSA, does the mute switch appear for your PCM mixer? I've never seen a sound card that doesn't have a mute function on the PCM mixer - that's odd.
[/QUOTE]
Yes, that's right, after restarting alsa, there's no mute switch for the mixer. There used to be, on this same machine, but not now and I don't know when the change happened.


If that doesn't help, unfortunately I don't think I can help any more - your debug output indicates no problems. Judging your need to reload ALSA, it seems to be a problem with the ALSA kernel modules or libraries unrelated to PulseAudio. In that case, check Launchpad and file a bug if one doesn't already exist.
But after reloading ALSA, and sound working, if I then reload pulseaudio, sound quits working again. Doesn't that argue that pulseaudio is somehow keeping things from working?

Thanks,

Patrick

drexell0680
November 22nd, 2008, 04:34 AM
I just picked up a Toshiba Tecra A10, and liked Ubuntu so much on my old machine that I bypassed setting up a dual boot this time around in favor of just Intrepid (amdx86).

Having a hell of a time getting the sound working. To test, I have a LastFM stream coming through Banshee. In the pulse audio applet, if I go to "Volume Meter (Playback)" I can see the music, but I have no sound. I've checked all mute buttons multiple times... You have no idea how much I appreciate the help :confused:

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0


And then, with the stream playing:

pkill pulseaudio && sleep 2 && pulseaudio -vv
I: main.c: PolicyKit refuses acquire-high-priority privilige.
I: main.c: We're in the group 'pulse-rt', allowing real-time and high-priority scheduling.
I: core-util.c: Successfully gained nice level -11.
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_293e_sound_card_0_alsa_control__1
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_8086_293e_sound_card_0_ alsa_capture_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-source.c: Successfully opened device front:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Capture".
I: source.c: Created source 0 "alsa_input.pci_8086_293e_sound_card_0_alsa_capture _0" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-source.c: Using 8 fragments of size 1792 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module.c: Loaded "module-alsa-source" (index: #0; argument: "device_id=0 source_name=alsa_input.pci_8086_293e_sound_card_0_ alsa_capture_0").
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_8086_293e_sound_card_0_a lsa_playback_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-sink.c: Successfully opened device front:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Master".
I: sink.c: Created sink 0 "alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 1 "alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0.monitor" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-sink.c: Using 8 fragments of size 1792 bytes.
I: alsa-util.c: ALSA device lacks independant volume controls for each channel, falling back to software volume control.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #1; argument: "device_id=0 sink_name=alsa_output.pci_8086_293e_sound_card_0_a lsa_playback_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_293e_sound_card_0_alsa_capture_4
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
I: module-hal-detect.c: Loaded 2 modules.
I: module.c: Loaded "module-hal-detect" (index: #2; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #3; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #4; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
D: module-gconf.c: Loading module 'module-null-sink' with args 'sink_name=rtp format=s16be channels=2 rate=44100 description="RTP Multicast Sink"' due to GConf configuration.
I: sink.c: Created sink 1 "rtp" with sample spec "s16be 2ch 44100Hz"
I: source.c: Created source 2 "rtp.monitor" with sample spec "s16be 2ch 44100Hz"
D: module-null-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+27
I: module.c: Loaded "module-null-sink" (index: #5; argument: "sink_name=rtp format=s16be channels=2 rate=44100 description="RTP Multicast Sink"").
D: module-gconf.c: Loading module 'module-rtp-send' with args 'source=rtp.monitor loop=0' due to GConf configuration.
I: source-output.c: Created output 0 "RTP Monitor Stream" on rtp.monitor with sample spec s16be 2ch 44100Hz and channel map front-left,front-right
D: memblockq.c: memblockq requested: maxlength=174080, tlength=174080, base=4, prebuf=1, minreq=0
D: memblockq.c: memblockq sanitized: maxlength=174080, tlength=174080, base=4, prebuf=4, minreq=4
I: module-rtp-send.c: RTP stream initialized with mtu 1280 on 224.0.0.56:46914, SSRC=0x39f98df6, payload=10, initial sequence #32892
I: module-rtp-send.c: SDP-Data:
I: module-rtp-send.c: v=0
I: module-rtp-send.c: o=dan 3436331557 0 IN IP4 192.168.1.102
I: module-rtp-send.c: s=PulseAudio RTP Stream on dan-laptop
I: module-rtp-send.c: c=IN IP4 224.0.0.56
I: module-rtp-send.c: t=3436331557 0
I: module-rtp-send.c: a=recvonly
I: module-rtp-send.c: m=audio 46914 RTP/AVP 10
I: module-rtp-send.c: a=rtpmap:10 L16/44100/2
I: module-rtp-send.c: a=type:broadcast
I: module-rtp-send.c: EOF
I: module.c: Loaded "module-rtp-send" (index: #6; argument: "source=rtp.monitor loop=0").
D: module-gconf.c: Loading module 'module-rtp-recv' with args '' due to GConf configuration.
I: module.c: Loaded "module-rtp-recv" (index: #7; argument: "").
D: module-gconf.c: Loading module 'module-native-protocol-tcp' with args '' due to GConf configuration.
I: protocol-native.c: using already loaded auth cookie.
I: protocol-native.c: using already loaded auth cookie.
I: module.c: Loaded "module-native-protocol-tcp" (index: #8; argument: "").
D: module-gconf.c: Loading module 'module-esound-protocol-tcp' with args '' due to GConf configuration.
I: module.c: Loaded "module-esound-protocol-tcp" (index: #9; argument: "").
D: module-gconf.c: Loading module 'module-zeroconf-publish' with args '' due to GConf configuration.
D: module-zeroconf-publish.c: Publishing services in Zeroconf
D: module-zeroconf-publish.c: Successfully created entry group for dan@dan-laptop: ALSA PCM on front:0 (ALC268 Analog) via DMA.
D: module-zeroconf-publish.c: Successfully created entry group for dan@dan-laptop: RTP Multicast Sink.
D: module-zeroconf-publish.c: Successfully created entry group for dan@dan-laptop: ALSA PCM on front:0 (ALC268 Analog) via DMA.
I: module.c: Loaded "module-zeroconf-publish" (index: #10; argument: "").
D: module-gconf.c: Loading module 'module-zeroconf-discover' with args '' due to GConf configuration.
I: module.c: Loaded "module-zeroconf-discover" (index: #11; argument: "").
I: module.c: Loaded "module-gconf" (index: #12; argument: "").
I: module.c: Loaded "module-volume-restore" (index: #13; argument: "").
D: module-default-device-restore.c: Restored default sink 'alsa_output.pci_8086_293e_sound_card_0_alsa_playb ack_0'.
D: core-subscribe.c: dropped redundant event.
D: module-default-device-restore.c: Restored default source 'alsa_input.pci_8086_293e_sound_card_0_alsa_captur e_0'.
I: module.c: Loaded "module-default-device-restore" (index: #14; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #15; argument: "").
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0 becomes idle.
D: module-suspend-on-idle.c: Sink rtp becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.pci_8086_293e_sound_card_0_alsa_capture _0 becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0.monitor becomes idle.
I: module.c: Loaded "module-suspend-on-idle" (index: #16; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #17; argument: "").
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
I: module-zeroconf-publish.c: Successfully established service dan@dan-laptop: ALSA PCM on front:0 (ALC268 Analog) via DMA.
I: module-zeroconf-publish.c: Successfully established service dan@dan-laptop: RTP Multicast Sink.
I: module-zeroconf-publish.c: Successfully established service dan@dan-laptop: ALSA PCM on front:0 (ALC268 Analog) via DMA.
I: module-zeroconf-publish.c: Successfully established main service.
I: module-suspend-on-idle.c: Source alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Source alsa_input.pci_8086_293e_sound_card_0_alsa_capture _0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Sink rtp idle for too long, suspending ...
I: module-suspend-on-idle.c: Sink alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...
D: module-rtp-recv.c: Checking for dead streams ...
D: module-rtp-recv.c: Checking for dead streams ...

drexell0680
November 22nd, 2008, 04:37 AM
PS, when I ^C'd I got the following

pkill pulseaudio && sleep 2 && pulseaudio -vv
I: main.c: PolicyKit refuses acquire-high-priority privilige.
I: main.c: We're in the group 'pulse-rt', allowing real-time and high-priority scheduling.
I: core-util.c: Successfully gained nice level -11.
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_293e_sound_card_0_alsa_control__1
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_8086_293e_sound_card_0_ alsa_capture_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-source.c: Successfully opened device front:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Capture".
I: source.c: Created source 0 "alsa_input.pci_8086_293e_sound_card_0_alsa_capture _0" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-source.c: Using 8 fragments of size 1792 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module.c: Loaded "module-alsa-source" (index: #0; argument: "device_id=0 source_name=alsa_input.pci_8086_293e_sound_card_0_ alsa_capture_0").
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_8086_293e_sound_card_0_a lsa_playback_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-sink.c: Successfully opened device front:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Master".
I: sink.c: Created sink 0 "alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 1 "alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0.monitor" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-sink.c: Using 8 fragments of size 1792 bytes.
I: alsa-util.c: ALSA device lacks independant volume controls for each channel, falling back to software volume control.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #1; argument: "device_id=0 sink_name=alsa_output.pci_8086_293e_sound_card_0_a lsa_playback_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_293e_sound_card_0_alsa_capture_4
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
I: module-hal-detect.c: Loaded 2 modules.
I: module.c: Loaded "module-hal-detect" (index: #2; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #3; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #4; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
D: module-gconf.c: Loading module 'module-null-sink' with args 'sink_name=rtp format=s16be channels=2 rate=44100 description="RTP Multicast Sink"' due to GConf configuration.
I: sink.c: Created sink 1 "rtp" with sample spec "s16be 2ch 44100Hz"
I: source.c: Created source 2 "rtp.monitor" with sample spec "s16be 2ch 44100Hz"
D: module-null-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+27
I: module.c: Loaded "module-null-sink" (index: #5; argument: "sink_name=rtp format=s16be channels=2 rate=44100 description="RTP Multicast Sink"").
D: module-gconf.c: Loading module 'module-rtp-send' with args 'source=rtp.monitor loop=0' due to GConf configuration.
I: source-output.c: Created output 0 "RTP Monitor Stream" on rtp.monitor with sample spec s16be 2ch 44100Hz and channel map front-left,front-right
D: memblockq.c: memblockq requested: maxlength=174080, tlength=174080, base=4, prebuf=1, minreq=0
D: memblockq.c: memblockq sanitized: maxlength=174080, tlength=174080, base=4, prebuf=4, minreq=4
I: module-rtp-send.c: RTP stream initialized with mtu 1280 on 224.0.0.56:46914, SSRC=0x39f98df6, payload=10, initial sequence #32892
I: module-rtp-send.c: SDP-Data:
I: module-rtp-send.c: v=0
I: module-rtp-send.c: o=dan 3436331557 0 IN IP4 192.168.1.102
I: module-rtp-send.c: s=PulseAudio RTP Stream on dan-laptop
I: module-rtp-send.c: c=IN IP4 224.0.0.56
I: module-rtp-send.c: t=3436331557 0
I: module-rtp-send.c: a=recvonly
I: module-rtp-send.c: m=audio 46914 RTP/AVP 10
I: module-rtp-send.c: a=rtpmap:10 L16/44100/2
I: module-rtp-send.c: a=type:broadcast
I: module-rtp-send.c: EOF
I: module.c: Loaded "module-rtp-send" (index: #6; argument: "source=rtp.monitor loop=0").
D: module-gconf.c: Loading module 'module-rtp-recv' with args '' due to GConf configuration.
I: module.c: Loaded "module-rtp-recv" (index: #7; argument: "").
D: module-gconf.c: Loading module 'module-native-protocol-tcp' with args '' due to GConf configuration.
I: protocol-native.c: using already loaded auth cookie.
I: protocol-native.c: using already loaded auth cookie.
I: module.c: Loaded "module-native-protocol-tcp" (index: #8; argument: "").
D: module-gconf.c: Loading module 'module-esound-protocol-tcp' with args '' due to GConf configuration.
I: module.c: Loaded "module-esound-protocol-tcp" (index: #9; argument: "").
D: module-gconf.c: Loading module 'module-zeroconf-publish' with args '' due to GConf configuration.
D: module-zeroconf-publish.c: Publishing services in Zeroconf
D: module-zeroconf-publish.c: Successfully created entry group for dan@dan-laptop: ALSA PCM on front:0 (ALC268 Analog) via DMA.
D: module-zeroconf-publish.c: Successfully created entry group for dan@dan-laptop: RTP Multicast Sink.
D: module-zeroconf-publish.c: Successfully created entry group for dan@dan-laptop: ALSA PCM on front:0 (ALC268 Analog) via DMA.
I: module.c: Loaded "module-zeroconf-publish" (index: #10; argument: "").
D: module-gconf.c: Loading module 'module-zeroconf-discover' with args '' due to GConf configuration.
I: module.c: Loaded "module-zeroconf-discover" (index: #11; argument: "").
I: module.c: Loaded "module-gconf" (index: #12; argument: "").
I: module.c: Loaded "module-volume-restore" (index: #13; argument: "").
D: module-default-device-restore.c: Restored default sink 'alsa_output.pci_8086_293e_sound_card_0_alsa_playb ack_0'.
D: core-subscribe.c: dropped redundant event.
D: module-default-device-restore.c: Restored default source 'alsa_input.pci_8086_293e_sound_card_0_alsa_captur e_0'.
I: module.c: Loaded "module-default-device-restore" (index: #14; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #15; argument: "").
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0 becomes idle.
D: module-suspend-on-idle.c: Sink rtp becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.pci_8086_293e_sound_card_0_alsa_capture _0 becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0.monitor becomes idle.
I: module.c: Loaded "module-suspend-on-idle" (index: #16; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #17; argument: "").
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
I: module-zeroconf-publish.c: Successfully established service dan@dan-laptop: ALSA PCM on front:0 (ALC268 Analog) via DMA.
I: module-zeroconf-publish.c: Successfully established service dan@dan-laptop: RTP Multicast Sink.
I: module-zeroconf-publish.c: Successfully established service dan@dan-laptop: ALSA PCM on front:0 (ALC268 Analog) via DMA.
I: module-zeroconf-publish.c: Successfully established main service.
I: module-suspend-on-idle.c: Source alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Source alsa_input.pci_8086_293e_sound_card_0_alsa_capture _0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Sink rtp idle for too long, suspending ...
I: module-suspend-on-idle.c: Sink alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...
D: module-rtp-recv.c: Checking for dead streams ...
D: module-rtp-recv.c: Checking for dead streams ...

SOLVED!

To those interested, enabling the backports fixed most of my problems. I'm having to work around having both headphones and speakers playing at the same time, but this is a well documented problem.

nexist
November 22nd, 2008, 04:05 PM
Alright, I get sound from Totem, Rythmbox & Audacious, but not Songbird. Songbird does show up on the playback tab.

PulseAudio does not load on startup, I have to run it after I log in.

I also get random lockups, but I do not know if it has anything to do with the audio system, but since that has problems, I thought I would mention it.

1) Intel Quad 64bit / 8.10 64bit

2)
nexist@militia-templi:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: VT82xx [HDA VIA VT82xx], device 0: VT1708 Analog [VT1708 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: CA0106 [CA0106], device 0: ca0106 [CA0106]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: CA0106 [CA0106], device 1: ca0106 [CA0106]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: CA0106 [CA0106], device 2: ca0106 [CA0106]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: CA0106 [CA0106], device 3: ca0106 [CA0106]
Subdevices: 1/1
Subdevice #0: subdevice #0

nexist@militia-templi:~$ pkill pulseaudio && sleep 2 && pulseaudio -vv
I: main.c: PolicyKit refuses acquire-high-priority privilige.
I: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
I: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
I: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
I: main.c: Note that real-time/high-priority scheduling is NOT normally required. If you experience crackling or other sound anomalies, consider one or more of the above solutions.
I: main.c: High-priority scheduling enabled in configuration but now allowed by policy. Disabling forcibly.
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_1106_3288_sound_card_0_a lsa_playback_0'
D: alsa-util.c: Trying front:0...
W: alsa-util.c: Device front:0 doesn't support 44100 Hz, changed to 96000 Hz.
I: module-alsa-sink.c: Successfully opened device front:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
W: alsa-util.c: Unable to load mixer: Invalid argument
I: sink.c: Created sink 0 "alsa_output.pci_1106_3288_sound_card_0_alsa_playba ck_0" with sample spec "s16le 2ch 96000Hz"
I: source.c: Created source 0 "alsa_output.pci_1106_3288_sound_card_0_alsa_playba ck_0.monitor" with sample spec "s16le 2ch 96000Hz"
I: module-alsa-sink.c: Using 8 fragments of size 1792 bytes.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #0; argument: "device_id=0 sink_name=alsa_output.pci_1106_3288_sound_card_0_a lsa_playback_0").
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_1106_3288_sound_card_0_ alsa_capture_0'
D: alsa-util.c: Trying front:0...
W: alsa-util.c: Device front:0 doesn't support 44100 Hz, changed to 96000 Hz.
W: alsa-util.c: Device front:0 doesn't support sample format s16le, changed to s32le.
I: module-alsa-source.c: Successfully opened device front:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
W: alsa-util.c: Unable to load mixer: Invalid argument
I: source.c: Created source 1 "alsa_input.pci_1106_3288_sound_card_0_alsa_capture _0" with sample spec "s32le 2ch 96000Hz"
I: module-alsa-source.c: Using 8 fragments of size 3584 bytes.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28
I: module.c: Loaded "module-alsa-source" (index: #1; argument: "device_id=0 source_name=alsa_input.pci_1106_3288_sound_card_0_ alsa_capture_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1106_3288_sound_card_0_alsa_control__1
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_7_sound_card_0_alsa_playback_3
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_7_sound_card_0_alsa_capture_3
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_7_sound_card_0_alsa_playback_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_7_sound_card_0_alsa_capture_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_7_sound_card_0_alsa_playback_1
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_7_sound_card_0_alsa_capture_1
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=1 sink_name=alsa_output.pci_1102_7_sound_card_0_alsa _playback_0'
D: alsa-util.c: Trying front:1...
W: alsa-util.c: Device front:1 doesn't support 44100 Hz, changed to 48000 Hz.
I: module-alsa-sink.c: Successfully opened device front:1.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:1
I: alsa-util.c: Unable to attach to mixer front:1: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:1'
I: alsa-util.c: Cannot find mixer control "Master".
W: alsa-util.c: Cannot find fallback mixer control "PCM".
I: sink.c: Created sink 1 "alsa_output.pci_1102_7_sound_card_0_alsa_playback_ 0" with sample spec "s16le 2ch 48000Hz"
I: source.c: Created source 2 "alsa_output.pci_1102_7_sound_card_0_alsa_playback_ 0.monitor" with sample spec "s16le 2ch 48000Hz"
I: module-alsa-sink.c: Using 8 fragments of size 1792 bytes.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+27
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #2; argument: "device_id=1 sink_name=alsa_output.pci_1102_7_sound_card_0_alsa _playback_0").
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=1 source_name=alsa_input.pci_1102_7_sound_card_0_als a_capture_0'
D: alsa-util.c: Trying front:1...
I: module-alsa-source.c: Successfully opened device front:1.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:1
I: alsa-util.c: Unable to attach to mixer front:1: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:1'
I: alsa-util.c: Cannot find mixer control "Capture".
I: alsa-util.c: Using mixer control "Mic".
I: source.c: Created source 3 "alsa_input.pci_1102_7_sound_card_0_alsa_capture_0" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-source.c: Using 2 fragments of size 1792 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+26
I: module.c: Loaded "module-alsa-source" (index: #3; argument: "device_id=1 source_name=alsa_input.pci_1102_7_sound_card_0_als a_capture_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_7_sound_card_0_alsa_midi_0
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_7_sound_card_0_alsa_control__1
I: module-hal-detect.c: Loaded 4 modules.
I: module.c: Loaded "module-hal-detect" (index: #4; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #5; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #6; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
D: module-gconf.c: Loading module 'module-null-sink' with args 'sink_name=rtp format=s16be channels=2 rate=44100 description="RTP Multicast Sink"' due to GConf configuration.
I: sink.c: Created sink 2 "rtp" with sample spec "s16be 2ch 44100Hz"
I: source.c: Created source 4 "rtp.monitor" with sample spec "s16be 2ch 44100Hz"
D: module-null-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+25
I: module.c: Loaded "module-null-sink" (index: #7; argument: "sink_name=rtp format=s16be channels=2 rate=44100 description="RTP Multicast Sink"").
D: module-gconf.c: Loading module 'module-rtp-send' with args 'source=rtp.monitor loop=0' due to GConf configuration.
I: source-output.c: Created output 0 "RTP Monitor Stream" on rtp.monitor with sample spec s16be 2ch 44100Hz and channel map front-left,front-right
D: memblockq.c: memblockq requested: maxlength=174080, tlength=174080, base=4, prebuf=1, minreq=0
D: memblockq.c: memblockq sanitized: maxlength=174080, tlength=174080, base=4, prebuf=4, minreq=4
I: module-rtp-send.c: RTP stream initialized with mtu 1280 on 224.0.0.56:46690, SSRC=0x6088a6d7, payload=10, initial sequence #29500
I: module-rtp-send.c: SDP-Data:
I: module-rtp-send.c: v=0
I: module-rtp-send.c: o=nexist 3436371213 0 IN IP4 10.11.93.179
I: module-rtp-send.c: s=PulseAudio RTP Stream on militia-templi
I: module-rtp-send.c: c=IN IP4 224.0.0.56
I: module-rtp-send.c: t=3436371213 0
I: module-rtp-send.c: a=recvonly
I: module-rtp-send.c: m=audio 46690 RTP/AVP 10
I: module-rtp-send.c: a=rtpmap:10 L16/44100/2
I: module-rtp-send.c: a=type:broadcast
I: module-rtp-send.c: EOF
I: module.c: Loaded "module-rtp-send" (index: #8; argument: "source=rtp.monitor loop=0").
D: module-gconf.c: Loading module 'module-rtp-recv' with args '' due to GConf configuration.
I: module.c: Loaded "module-rtp-recv" (index: #9; argument: "").
D: module-gconf.c: Loading module 'module-native-protocol-tcp' with args 'auth-anonymous=1' due to GConf configuration.
I: protocol-native.c: using already loaded auth cookie.
I: protocol-native.c: using already loaded auth cookie.
I: module.c: Loaded "module-native-protocol-tcp" (index: #10; argument: "auth-anonymous=1").
D: module-gconf.c: Loading module 'module-esound-protocol-tcp' with args 'auth-anonymous=1' due to GConf configuration.
I: module.c: Loaded "module-esound-protocol-tcp" (index: #11; argument: "auth-anonymous=1").
D: module-gconf.c: Loading module 'module-zeroconf-publish' with args '' due to GConf configuration.
D: module-zeroconf-publish.c: Publishing services in Zeroconf
D: module-zeroconf-publish.c: Successfully created entry group for nexist@militia-templi: ALSA PCM on front:0 (VT1708 Analog) via .
D: module-zeroconf-publish.c: Successfully created entry group for nexist@militia-templi: ALSA PCM on front:1 (CA0106) via DMA.
D: module-zeroconf-publish.c: Successfully created entry group for nexist@militia-templi: RTP Multicast Sink.
D: module-zeroconf-publish.c: Successfully created entry group for nexist@militia-templi: ALSA PCM on front:0 (VT1708 Analog) via .
D: module-zeroconf-publish.c: Successfully created entry group for nexist@militia-templi: ALSA PCM on front:1 (CA0106) via DMA.
I: module.c: Loaded "module-zeroconf-publish" (index: #12; argument: "").
D: module-gconf.c: Loading module 'module-zeroconf-discover' with args '' due to GConf configuration.
I: module.c: Loaded "module-zeroconf-discover" (index: #13; argument: "").
I: module.c: Loaded "module-gconf" (index: #14; argument: "").
I: module.c: Loaded "module-volume-restore" (index: #15; argument: "").
D: module-default-device-restore.c: Restored default sink 'alsa_output.pci_1106_3288_sound_card_0_alsa_playb ack_0'.
D: core-subscribe.c: dropped redundant event.
D: module-default-device-restore.c: Restored default source 'rtp.monitor'.
I: module.c: Loaded "module-default-device-restore" (index: #16; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #17; argument: "").
D: module-suspend-on-idle.c: Sink alsa_output.pci_1106_3288_sound_card_0_alsa_playba ck_0 becomes idle.
D: module-suspend-on-idle.c: Sink alsa_output.pci_1102_7_sound_card_0_alsa_playback_ 0 becomes idle.
D: module-suspend-on-idle.c: Sink rtp becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.pci_1106_3288_sound_card_0_alsa_playba ck_0.monitor becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.pci_1106_3288_sound_card_0_alsa_capture _0 becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.pci_1102_7_sound_card_0_alsa_playback_ 0.monitor becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.pci_1102_7_sound_card_0_alsa_capture_0 becomes idle.
I: module.c: Loaded "module-suspend-on-idle" (index: #18; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #19; argument: "").
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
I: module-zeroconf-publish.c: Successfully established service nexist@militia-templi: ALSA PCM on front:0 (VT1708 Analog) via .
I: module-zeroconf-publish.c: Successfully established service nexist@militia-templi: ALSA PCM on front:1 (CA0106) via DMA.
I: module-zeroconf-publish.c: Successfully established service nexist@militia-templi: RTP Multicast Sink.
I: module-zeroconf-publish.c: Successfully established service nexist@militia-templi: ALSA PCM on front:0 (VT1708 Analog) via .
I: module-zeroconf-publish.c: Successfully established service nexist@militia-templi: ALSA PCM on front:1 (CA0106) via DMA.
I: module-zeroconf-publish.c: Successfully established main service.
I: module-suspend-on-idle.c: Source alsa_input.pci_1102_7_sound_card_0_alsa_capture_0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_output.pci_1102_7_sound_card_0_alsa_playback_ 0.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Source alsa_input.pci_1106_3288_sound_card_0_alsa_capture _0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_output.pci_1106_3288_sound_card_0_alsa_playba ck_0.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Sink rtp idle for too long, suspending ...
I: module-suspend-on-idle.c: Sink alsa_output.pci_1102_7_sound_card_0_alsa_playback_ 0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...
I: module-suspend-on-idle.c: Sink alsa_output.pci_1106_3288_sound_card_0_alsa_playba ck_0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...
D: module-rtp-recv.c: Checking for dead streams ...
D: module-rtp-recv.c: Checking for dead streams ...

It repeats this for quite some time.

souldrinker014
November 23rd, 2008, 03:08 AM
Thanks, You have showed me that I only got a bad taste of pulse audio. Now I can go off and help others with your solution.

zozio32
November 23rd, 2008, 07:40 AM
Hi,

I have followed your guide, but without success.
I had sound problem for a while. If I unsintall fully pulse audio, sound is working but obviously I can't get sound from different application.
As soon as I install pulseaudio the only thing I get is some cracking sounds.

I am running 8.10 (intel processor, i thinks it's the i386, not sure where to find that), so I've followed the step A and C.

Results: same --> cracking sound

in the first appendix, I am in case F. If I open the pulseaudio Device chooser, the the manager, everything is n/a, and it doesn't want to connect.

here is what I got out of the 2 lines of code you'd asked to run to provide more info:

remy@remy-laptop:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: STAC92xx Digital [STAC92xx Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
remy@remy-laptop:~$ pkill pulseaudio && sleep 2 && pulseaudio -vv
remy@remy-laptop:~$



thanks for helping

le_vainqueur
November 23rd, 2008, 01:25 PM
Awesome work! The first part of Appendix A got my sound working properly!

psyke83
November 23rd, 2008, 02:24 PM
Hi,

I have followed your guide, but without success.
I had sound problem for a while. If I unsintall fully pulse audio, sound is working but obviously I can't get sound from different application.
As soon as I install pulseaudio the only thing I get is some cracking sounds.

I am running 8.10 (intel processor, i thinks it's the i386, not sure where to find that), so I've followed the step A and C.

Results: same --> cracking sound

in the first appendix, I am in case F. If I open the pulseaudio Device chooser, the the manager, everything is n/a, and it doesn't want to connect.

here is what I got out of the 2 lines of code you'd asked to run to provide more info:

remy@remy-laptop:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: STAC92xx Digital [STAC92xx Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
remy@remy-laptop:~$ pkill pulseaudio && sleep 2 && pulseaudio -vv
remy@remy-laptop:~$



thanks for helping

This guide is only intended for Ubuntu (the GNOME release). PulseAudio is not the default sound daemon for Kubuntu, or most of the other distribution versions (Studio, Xubuntu, etc).

Nevertheless, try unmuting the PCM mixer:

$ alsamixer -Dhw

P.S. Did you make a mistake when pasting the PulseAudio debug output? If you're getting no output, then PulseAudio is not installed properly.

johnapeterson
November 23rd, 2008, 03:47 PM
Hey,
Have followed direction, but have not been able to get PulseAudio to work yet. I do get sound if I am running a music file thru Audacity, but no luck thru Movie Player of Rythmbox.

If I click on volume control on PulseAudio I get no devices listed in "output devices". I do not know if this will make a difference, but I noticed that I have no volume control (that little speaker icon) applet on my panel.

I run Ubuntustudio version of intrepid 8.10 with a 2.6.27-7-7generic kernel on a pentium 4.

Here is my result from aplay -l

john@john-desktop:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: M44 [M Audio Delta 44], device 0: ICE1712 multi [ICE1712 multi]
Subdevices: 1/1
Subdevice #0: subdevice #0

And here is my result from pkill pulseaduio && sleep 2 && pulseaudio -vv

john@john-desktop:~$ pkill pulseaudio && sleep 2 && pulseaudio -vv
I: main.c: PolicyKit refuses acquire-high-priority privilige.
I: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
I: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
I: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
I: main.c: Note that real-time/high-priority scheduling is NOT normally required. If you experience crackling or other sound anomalies, consider one or more of the above solutions.
I: main.c: High-priority scheduling enabled in configuration but now allowed by policy. Disabling forcibly.
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_1412_1712_sound_card_0_a lsa_playback_0'
D: alsa-util.c: Trying front:0...
I: alsa-util.c: PCM device front:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround40:0...
I: alsa-util.c: PCM device surround40:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround41:0...
I: alsa-util.c: PCM device surround41:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround50:0...
I: alsa-util.c: PCM device surround50:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround51:0...
I: alsa-util.c: PCM device surround51:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround71:0...
ALSA lib conf.c:3952:(snd_config_expand) Unknown parameters 0
ALSA lib pcm.c:2196:(snd_pcm_open_noupdate) Unknown PCM surround71:0
I: alsa-util.c: Couldn't open PCM device surround71:0: Invalid argument
D: alsa-util.c: Trying hw:0 as last resort...
W: alsa-util.c: Device hw:0 doesn't support 2 channels, changed to 10.
W: alsa-util.c: Device hw:0 doesn't support sample format s16le, changed to s32le.
I: module-alsa-sink.c: Successfully opened device hw:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Cannot find mixer control "Master".
W: alsa-util.c: Cannot find fallback mixer control "PCM".
D: sink.c: Assertion 'map && pa_channel_map_valid(map)' failed at pulsecore/sink.c:78, function pa_sink_new.
E: module-alsa-sink.c: Failed to create sink object
E: module.c: Failed to load module "module-alsa-sink" (argument: "device_id=0 sink_name=alsa_output.pci_1412_1712_sound_card_0_a lsa_playback_0"): initialization failed.
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1412_1712_sound_card_0_alsa_playback_0
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_1412_1712_sound_card_0_ alsa_capture_0'
D: alsa-util.c: Trying front:0...
I: alsa-util.c: PCM device front:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround40:0...
I: alsa-util.c: PCM device surround40:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround41:0...
I: alsa-util.c: PCM device surround41:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround50:0...
I: alsa-util.c: PCM device surround50:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround51:0...
I: alsa-util.c: PCM device surround51:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround71:0...
ALSA lib conf.c:3952:(snd_config_expand) Unknown parameters 0
ALSA lib pcm.c:2196:(snd_pcm_open_noupdate) Unknown PCM surround71:0
I: alsa-util.c: Couldn't open PCM device surround71:0: Invalid argument
D: alsa-util.c: Trying hw:0 as last resort...
W: alsa-util.c: Device hw:0 doesn't support 2 channels, changed to 12.
W: alsa-util.c: Device hw:0 doesn't support sample format s16le, changed to s32le.
I: module-alsa-source.c: Successfully opened device hw:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Cannot find mixer control "Capture".
W: alsa-util.c: Cannot find fallback mixer control "Mic".
D: source.c: Assertion 'map && pa_channel_map_valid(map)' failed at pulsecore/source.c:69, function pa_source_new.
E: module-alsa-source.c: Failed to create source object
E: module.c: Failed to load module "module-alsa-source" (argument: "device_id=0 source_name=alsa_input.pci_1412_1712_sound_card_0_ alsa_capture_0"): initialization failed.
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1412_1712_sound_card_0_alsa_capture_0
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1412_1712_sound_card_0_alsa_control__1
I: module-hal-detect.c: Loaded 0 modules.
I: module.c: Loaded "module-hal-detect" (index: #0; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #1; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #2; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
I: module.c: Loaded "module-gconf" (index: #3; argument: "").
I: module-volume-restore.c: starting with empty ruleset.
I: module.c: Loaded "module-volume-restore" (index: #4; argument: "").
D: module-default-device-restore.c: No previous default sink setting, ignoring.
D: module-default-device-restore.c: No previous default source setting, ignoring.
I: module.c: Loaded "module-default-device-restore" (index: #5; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #6; argument: "").
I: module.c: Loaded "module-suspend-on-idle" (index: #7; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #8; argument: "").
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
I: client.c: Created 0 "Native client (UNIX socket client)"
I: protocol-native.c: Got credentials: uid=1000 gid=1000 success=1
I: protocol-native.c: Enabled SHM for new connection
I: client.c: Client 0 changed name from "Native client (UNIX socket client)" to "PulseAudio Volume Control"

Thanks,
John

zozio32
November 23rd, 2008, 06:04 PM
This guide is only intended for Ubuntu (the GNOME release). PulseAudio is not the default sound daemon for Kubuntu, or most of the other distribution versions (Studio, Xubuntu, etc).

Nevertheless, try unmuting the PCM mixer:

$ alsamixer -Dhw

P.S. Did you make a mistake when pasting the PulseAudio debug output? If you're getting no output, then PulseAudio is not installed properly.

Hi, yes, I am running Ubuntu, not an other "flavour"
for the pulseaudio debug output there is no Copy/paste error, I really don't get anything out of it but...

the PCM level was at 0 -> I've put it back to 100, and I have sound now.
Rythmbox is listing itself in the pulseaudio volume control, and both firefox and rythmbox can play together. I also get big output from the debug, so everything looks fine. I'll just have to fix Skype .

thanks for everything

johnapeterson
November 23rd, 2008, 11:36 PM
Update on my problem,

I have no devices listed in "output devices" in volume control, and if I click on "volume meter", I get a window that says "No default sink set". I have a maudio delta 44 soundcard.

Help! and thanks,
John

psyke83
November 24th, 2008, 05:44 AM
Update on my problem,

I have no devices listed in "output devices" in volume control, and if I click on "volume meter", I get a window that says "No default sink set". I have a maudio delta 44 soundcard.

Help! and thanks,
John

Unfortunately, I can't support UbuntuStudio. Many of the included applications (JACK and Audacity, for example) comflict with PulseAudio, so I can't easily determine what's causing the problem for you.

Look at Appendix A - those troubleshooting steps explain why the PulseAudio server may not work (i.e. another application is using the sound card). It's quite likely that an application such as JACK is blocking access.

PulseAudio is not suited to low-latency audio in the same way as JACK, so UbuntuStudio users generally aren't recommended to use PulseAudio.

xfodder
November 24th, 2008, 01:00 PM
i went through the howto, but i dont get any sound. When running an app it does show up in the playback tab, my master and PCM are not muted.

Intrepid Ibex i386

alsamixer -Dhw:
http://img.skitch.com/20081124-ndgrt4xj6d37ptug6rjp556ini.png

Playback Tab:
http://img.skitch.com/20081124-cp3ssijcefh33mmp8k5n4nyckt.png

Output Tab:
http://img.skitch.com/20081124-fxfyw8417se61jnfmsmn7be5hc.png

aplay -l:
**** List of PLAYBACK Hardware Devices ****
card 0: CK8S [NVidia CK8S], device 0: Intel ICH [NVidia CK8S]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: CK8S [NVidia CK8S], device 2: Intel ICH - IEC958 [NVidia CK8S - IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0

VLC will play sound if i change the output manually in VLC's advanced preferences to the NVidia CK8S IEC958 device. But i can't seem to set that card in pulseaudio ... i dunno.

pkill pulseaudio && sleep 2 && pulseaudio -vv:
I: main.c: PolicyKit refuses acquire-high-priority privilige.
I: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
I: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
I: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
I: main.c: Note that real-time/high-priority scheduling is NOT normally required. If you experience crackling or other sound anomalies, consider one or more of the above solutions.
I: main.c: High-priority scheduling enabled in configuration but now allowed by policy. Disabling forcibly.
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_10de_ea_sound_card_0_alsa_playback_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_10de_ea_sound_card_0_alsa_capture_1
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_10de_ea_sound_card_0_als a_playback_0'
D: alsa-util.c: Trying front:0...
W: alsa-util.c: Device front:0 doesn't support 44100 Hz, changed to 48000 Hz.
I: module-alsa-sink.c: Successfully opened device front:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Master".
I: sink.c: Created sink 0 "alsa_output.pci_10de_ea_sound_card_0_alsa_playback _0" with sample spec "s16le 2ch 48000Hz"
I: source.c: Created source 0 "alsa_output.pci_10de_ea_sound_card_0_alsa_playback _0.monitor" with sample spec "s16le 2ch 48000Hz"
I: module-alsa-sink.c: Using 8 fragments of size 1760 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #0; argument: "device_id=0 sink_name=alsa_output.pci_10de_ea_sound_card_0_als a_playback_0").
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_10de_ea_sound_card_0_al sa_capture_0'
D: alsa-util.c: Trying front:0...
W: alsa-util.c: Device front:0 doesn't support 44100 Hz, changed to 48000 Hz.
I: module-alsa-source.c: Successfully opened device front:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Capture".
I: source.c: Created source 1 "alsa_input.pci_10de_ea_sound_card_0_alsa_capture_0" with sample spec "s16le 2ch 48000Hz"
I: module-alsa-source.c: Using 8 fragments of size 1760 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28
I: module.c: Loaded "module-alsa-source" (index: #1; argument: "device_id=0 source_name=alsa_input.pci_10de_ea_sound_card_0_al sa_capture_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_10de_ea_sound_card_0_alsa_control__1
I: module-hal-detect.c: Loaded 2 modules.
I: module.c: Loaded "module-hal-detect" (index: #2; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #3; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #4; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
I: module.c: Loaded "module-gconf" (index: #5; argument: "").
I: module.c: Loaded "module-volume-restore" (index: #6; argument: "").
D: module-default-device-restore.c: Restored default sink 'alsa_output.pci_10de_ea_sound_card_0_alsa_playbac k_0'.
D: core-subscribe.c: dropped redundant event.
D: module-default-device-restore.c: Restored default source 'alsa_input.pci_10de_ea_sound_card_0_alsa_capture_ 0'.
I: module.c: Loaded "module-default-device-restore" (index: #7; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #8; argument: "").
D: module-suspend-on-idle.c: Sink alsa_output.pci_10de_ea_sound_card_0_alsa_playback _0 becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.pci_10de_ea_sound_card_0_alsa_playback _0.monitor becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.pci_10de_ea_sound_card_0_alsa_capture_0 becomes idle.
I: module.c: Loaded "module-suspend-on-idle" (index: #9; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
E: x11wrap.c: XOpenDisplay() failed
E: module.c: Failed to load module "module-x11-publish" (argument: ""): initialization failed.
E: main.c: Module load failed.
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
I: module-suspend-on-idle.c: Source alsa_input.pci_10de_ea_sound_card_0_alsa_capture_0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_output.pci_10de_ea_sound_card_0_alsa_playback _0.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Sink alsa_output.pci_10de_ea_sound_card_0_alsa_playback _0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...


then after a CTL-C blurts out a little more ...
^CI: main.c: Got signal SIGINT.
I: main.c: Exiting.
I: main.c: Daemon shutdown initiated.
I: module.c: Unloading "module-alsa-sink" (index: #0).
D: module-rescue-streams.c: No sink inputs to move away.
D: module-rescue-streams.c: No source outputs to move away.
D: module-alsa-sink.c: Thread shutting down
I: sink.c: Freeing sink 0 "alsa_output.pci_10de_ea_sound_card_0_alsa_playback _0"
I: source.c: Freeing source 0 "alsa_output.pci_10de_ea_sound_card_0_alsa_playback _0.monitor"
I: module.c: Unloaded "module-alsa-sink" (index: #0).
I: module.c: Unloading "module-alsa-source" (index: #1).
D: module-rescue-streams.c: No source outputs to move away.
D: module-alsa-source.c: Thread shutting down
I: source.c: Freeing source 1 "alsa_input.pci_10de_ea_sound_card_0_alsa_capture_0"
I: module.c: Unloaded "module-alsa-source" (index: #1).
I: module.c: Unloading "module-hal-detect" (index: #2).
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus.Local, path=/org/freedesktop/DBus/Local, member=Disconnected
I: module.c: Unloaded "module-hal-detect" (index: #2).
I: module.c: Unloading "module-esound-protocol-unix" (index: #3).
I: module.c: Unloaded "module-esound-protocol-unix" (index: #3).
I: module.c: Unloading "module-native-protocol-unix" (index: #4).
I: module.c: Unloaded "module-native-protocol-unix" (index: #4).
I: module.c: Unloading "module-gconf" (index: #5).
I: module.c: Unloaded "module-gconf" (index: #5).
I: module.c: Unloading "module-volume-restore" (index: #6).
I: module.c: Unloaded "module-volume-restore" (index: #6).
I: module.c: Unloading "module-default-device-restore" (index: #7).
I: module.c: Unloaded "module-default-device-restore" (index: #7).
I: module.c: Unloading "module-rescue-streams" (index: #8).
I: module.c: Unloaded "module-rescue-streams" (index: #8).
I: module.c: Unloading "module-suspend-on-idle" (index: #9).
I: module.c: Unloaded "module-suspend-on-idle" (index: #9).
I: main.c: Daemon terminated.


i don't have a whole heap of linux experience so any help is appreciated :)

psyke83
November 24th, 2008, 04:58 PM
VLC will play sound if i change the output manually in VLC's advanced preferences to the NVidia CK8S IEC958 device. But i can't seem to set that card in pulseaudio ... i dunno.

You're having problems because PulseAudio doesn't allow you to choose IEC958 devices from the regular configuration options.

You can work around this problem, however.

Edit /etc/pulse/default.pa:
$ gksudo gedit /etc/pulse/default.pa

Find this line (marked in blue):
### Load audio drivers statically (it's probably better to not load
### these drivers manually, but instead use module-hal-detect --
### see below -- for doing this automatically)
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input

Change the line marked in blue to:
load-module module-alsa-sink device=hw:0,2
Note: Ensure you remove the hash symbol (#) at the beginning of the line.

After restarting PulseAudio (e.g. log out and back in), PulseAudio will use IEC958 output by default.

spellico
November 24th, 2008, 05:17 PM
apologize for sending you a personal message. My skype was working perfectly until I upgraded to Ibex. I followed your instructions and everything works except that there is an ugly voice return/echo on the other party's voice. Any help greatly appreciated.

GepettoBR
November 24th, 2008, 05:22 PM
Hello, I'm running Intrepid x64, and when I reach part A, step 5 of your guide (opening pavucontrol) it exits with an error message that reads "Connection failed: Connection Refused".

Running "pkill pulseaudio && sleep 2 && pulseaudio -vv" returned no output, and the output of aplay -l is as follows:


**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC883 Digital [ALC883 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: CS46xx [Sound Fusion CS46xx], device 0: CS46xx [CS46xx]
Subdevices: 31/31
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
Subdevice #8: subdevice #8
Subdevice #9: subdevice #9
Subdevice #10: subdevice #10
Subdevice #11: subdevice #11
Subdevice #12: subdevice #12
Subdevice #13: subdevice #13
Subdevice #14: subdevice #14
Subdevice #15: subdevice #15
Subdevice #16: subdevice #16
Subdevice #17: subdevice #17
Subdevice #18: subdevice #18
Subdevice #19: subdevice #19
Subdevice #20: subdevice #20
Subdevice #21: subdevice #21
Subdevice #22: subdevice #22
Subdevice #23: subdevice #23
Subdevice #24: subdevice #24
Subdevice #25: subdevice #25
Subdevice #26: subdevice #26
Subdevice #27: subdevice #27
Subdevice #28: subdevice #28
Subdevice #29: subdevice #29
Subdevice #30: subdevice #30
card 1: CS46xx [Sound Fusion CS46xx], device 1: CS46xx - Rear [CS46xx - Rear]
Subdevices: 31/31
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
Subdevice #8: subdevice #8
Subdevice #9: subdevice #9
Subdevice #10: subdevice #10
Subdevice #11: subdevice #11
Subdevice #12: subdevice #12
Subdevice #13: subdevice #13
Subdevice #14: subdevice #14
Subdevice #15: subdevice #15
Subdevice #16: subdevice #16
Subdevice #17: subdevice #17
Subdevice #18: subdevice #18
Subdevice #19: subdevice #19
Subdevice #20: subdevice #20
Subdevice #21: subdevice #21
Subdevice #22: subdevice #22
Subdevice #23: subdevice #23
Subdevice #24: subdevice #24
Subdevice #25: subdevice #25
Subdevice #26: subdevice #26
Subdevice #27: subdevice #27
Subdevice #28: subdevice #28
Subdevice #29: subdevice #29
Subdevice #30: subdevice #30
card 1: CS46xx [Sound Fusion CS46xx], device 2: CS46xx - IEC958 [CS46xx - IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0

psyke83
November 24th, 2008, 05:26 PM
apologize for sending you a personal message. My skype was working perfectly until I upgraded to Ibex. I followed your instructions and everything works except that there is an ugly voice return/echo on the other party's voice. Any help greatly appreciated.

That's no problem. Did you see the instructions in Appendix C for Skype?

Nevertheless, read the section again, as I just corrected a mistake (you must select your hardware device for the "Sound Out" entry).

Tip: You can test your settings by calling "echo123" in Skype.

psyke83
November 24th, 2008, 05:28 PM
Hello, I'm running Intrepid x64, and when I reach part A, step 5 of your guide (opening pavucontrol) it exits with an error message that reads "Connection failed: Connection Refused".

Try:
$ pkill pulseaudio; sleep 2; pulseaudio -vv

I've adjusted the guide so users won't have the same problem.

spellico
November 24th, 2008, 05:35 PM
I did follow carefully and did set the "Sound Out" to the mic device. I did that by trying every one (Intel) and finding the one that works. But the ugly return/echo is still there.- Many thanks for your help.

psyke83
November 24th, 2008, 05:44 PM
I did follow carefully and did set the "Sound Out" to the mic device. I did that by trying every one (Intel) and finding the one that works. But the ugly return/echo is still there.- Many thanks for your help.

Perhaps one of your mixers is causing feedback and needs to be muted? Try to mute all unnecessary mixer devices.

Note: GNOME's Volume Control applet will hide many important mixers, so I recommend you use alsamixer:

$ alsamixer -Dhw

Finally, does the Sound Recorder application cause the same feedback problems?

spellico
November 24th, 2008, 06:02 PM
I've muted all unnecessary devices suing alsamixer as suggested. Same problem. No problem with souund recorder. By the way if I follow your correction in the guide and set "Sound In" to pulse and "Sound Out" to mic device it gets worse- the mic's not working. It works but with the echo/return problem with the previous settings. Again, many thanks

I've found the (very basic ...) problem. Microphone capture needs to be enabled in the preferences/visibles and then enabled in the Switch tab of volume control- and Microphone needs to be muted in the playback tab. However it's Sound in to mic device and Sound out to pulse as in your original guide entry. Thanks for your help!

GepettoBR
November 24th, 2008, 06:22 PM
Try:
$ pkill pulseaudio; sleep 2; pulseaudio -vv

I've adjusted the guide so users won't have the same problem.

This time, I had a huge output: paulo@Thanatos:~$ pkill pulseaudio; sleep 2; pulseaudio -vv
I: main.c: PolicyKit refuses acquire-high-priority privilige.
I: main.c: We're in the group 'pulse-rt', allowing real-time and high-priority scheduling.
I: core-util.c: Successfully gained nice level -11.
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1013_6003_sound_card_0_alsa_control__1
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=1 source_name=alsa_input.pci_1013_6003_sound_card_0_ alsa_capture_0'
D: alsa-util.c: Trying front:1...
I: module-alsa-source.c: Successfully opened device front:1.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:1
I: alsa-util.c: Unable to attach to mixer front:1: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:1'
I: alsa-util.c: Using mixer control "Capture".
I: source.c: Created source 0 "alsa_input.pci_1013_6003_sound_card_0_alsa_capture _0" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-source.c: Using 6 fragments of size 2048 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module.c: Loaded "module-alsa-source" (index: #0; argument: "device_id=1 source_name=alsa_input.pci_1013_6003_sound_card_0_ alsa_capture_0").
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=1 sink_name=alsa_output.pci_1013_6003_sound_card_0_a lsa_playback_0'
D: alsa-util.c: Trying front:1...
I: module-alsa-sink.c: Successfully opened device front:1.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:1
I: alsa-util.c: Unable to attach to mixer front:1: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:1'
I: alsa-util.c: Using mixer control "Master".
I: sink.c: Created sink 0 "alsa_output.pci_1013_6003_sound_card_0_alsa_playba ck_0" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 1 "alsa_output.pci_1013_6003_sound_card_0_alsa_playba ck_0.monitor" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-sink.c: Using 6 fragments of size 2048 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #1; argument: "device_id=1 sink_name=alsa_output.pci_1013_6003_sound_card_0_a lsa_playback_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1013_6003_sound_card_0_alsa_midi_0
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1013_6003_sound_card_0_alsa_playback_1
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1013_6003_sound_card_0_alsa_playback_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_293e_sound_card_0_alsa_control__1
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_293e_sound_card_0_alsa_hw_specific_0
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_8086_293e_sound_card_0_ alsa_capture_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-source.c: Successfully opened device front:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Capture".
I: source.c: Created source 2 "alsa_input.pci_8086_293e_sound_card_0_alsa_capture _0" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-source.c: Using 8 fragments of size 1792 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+27
I: module.c: Loaded "module-alsa-source" (index: #2; argument: "device_id=0 source_name=alsa_input.pci_8086_293e_sound_card_0_ alsa_capture_0").
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_8086_293e_sound_card_0_a lsa_playback_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-sink.c: Successfully opened device front:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Master".
I: sink.c: Created sink 1 "alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 3 "alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0.monitor" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-sink.c: Using 8 fragments of size 1792 bytes.
I: alsa-util.c: ALSA device lacks independant volume controls for each channel, falling back to software volume control.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+26
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #3; argument: "device_id=0 sink_name=alsa_output.pci_8086_293e_sound_card_0_a lsa_playback_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_293e_sound_card_0_alsa_capture_1
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_293e_sound_card_0_alsa_playback_1
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_293e_sound_card_0_alsa_capture_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
I: module-hal-detect.c: Loaded 4 modules.
I: module.c: Loaded "module-hal-detect" (index: #4; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #5; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #6; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
D: module-gconf.c: Loading module 'module-null-sink' with args 'sink_name=rtp format=s16be channels=2 rate=44100 description="RTP Multicast Sink"' due to GConf configuration.
I: sink.c: Created sink 2 "rtp" with sample spec "s16be 2ch 44100Hz"
I: source.c: Created source 4 "rtp.monitor" with sample spec "s16be 2ch 44100Hz"
D: module-null-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+25
I: module.c: Loaded "module-null-sink" (index: #7; argument: "sink_name=rtp format=s16be channels=2 rate=44100 description="RTP Multicast Sink"").
D: module-gconf.c: Loading module 'module-rtp-send' with args 'source=rtp.monitor loop=0' due to GConf configuration.
I: source-output.c: Created output 0 "RTP Monitor Stream" on rtp.monitor with sample spec s16be 2ch 44100Hz and channel map front-left,front-right
D: memblockq.c: memblockq requested: maxlength=174080, tlength=174080, base=4, prebuf=1, minreq=0
D: memblockq.c: memblockq sanitized: maxlength=174080, tlength=174080, base=4, prebuf=4, minreq=4
I: module-rtp-send.c: RTP stream initialized with mtu 1280 on 224.0.0.56:46996, SSRC=0xdaf2d488, payload=10, initial sequence #65321
I: module-rtp-send.c: SDP-Data:
I: module-rtp-send.c: v=0
I: module-rtp-send.c: o=paulo 3436553963 0 IN IP4 192.168.0.101
I: module-rtp-send.c: s=PulseAudio RTP Stream on Thanatos
I: module-rtp-send.c: c=IN IP4 224.0.0.56
I: module-rtp-send.c: t=3436553963 0
I: module-rtp-send.c: a=recvonly
I: module-rtp-send.c: m=audio 46996 RTP/AVP 10
I: module-rtp-send.c: a=rtpmap:10 L16/44100/2
I: module-rtp-send.c: a=type:broadcast
I: module-rtp-send.c: EOF
I: module.c: Loaded "module-rtp-send" (index: #8; argument: "source=rtp.monitor loop=0").
D: module-gconf.c: Loading module 'module-combine' with args '' due to GConf configuration.
I: sink.c: Created sink 3 "combined" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 5 "combined.monitor" with sample spec "s16le 2ch 44100Hz"
D: memblockq.c: memblockq requested: maxlength=174080, tlength=174080, base=4, prebuf=1, minreq=0
D: memblockq.c: memblockq sanitized: maxlength=174080, tlength=174080, base=4, prebuf=4, minreq=4
I: resampler.c: Using resampler 'trivial'
I: resampler.c: Using s16le as working format.
I: sink-input.c: Created input 0 "Simultaneous output on ALSA PCM on front:1 (CS46xx) via DMA" on alsa_output.pci_1013_6003_sound_card_0_alsa_playba ck_0 with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
D: memblockq.c: memblockq requested: maxlength=174080, tlength=174080, base=4, prebuf=1, minreq=0
D: memblockq.c: memblockq sanitized: maxlength=174080, tlength=174080, base=4, prebuf=4, minreq=4
I: resampler.c: Using resampler 'trivial'
I: resampler.c: Using s16le as working format.
I: sink-input.c: Created input 1 "Simultaneous output on ALSA PCM on front:0 (ALC883 Analog) via DMA" on alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0 with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: module-combine.c: Master sink is now 'alsa_output.pci_1013_6003_sound_card_0_alsa_playb ack_0'
D: module-combine.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+24
I: module.c: Loaded "module-combine" (index: #9; argument: "").
D: module-gconf.c: Loading module 'module-rtp-recv' with args '' due to GConf configuration.
I: module.c: Loaded "module-rtp-recv" (index: #10; argument: "").
D: module-gconf.c: Loading module 'module-native-protocol-tcp' with args 'auth-anonymous=1' due to GConf configuration.
I: protocol-native.c: using already loaded auth cookie.
I: protocol-native.c: using already loaded auth cookie.
I: module.c: Loaded "module-native-protocol-tcp" (index: #11; argument: "auth-anonymous=1").
D: module-gconf.c: Loading module 'module-esound-protocol-tcp' with args 'auth-anonymous=1' due to GConf configuration.
I: module.c: Loaded "module-esound-protocol-tcp" (index: #12; argument: "auth-anonymous=1").
D: module-gconf.c: Loading module 'module-zeroconf-publish' with args '' due to GConf configuration.
D: module-zeroconf-publish.c: Publishing services in Zeroconf
D: module-zeroconf-publish.c: Successfully created entry group for paulo@Thanatos: ALSA PCM on front:1 (CS46xx) via DMA.
D: module-zeroconf-publish.c: Successfully created entry group for paulo@Thanatos: ALSA PCM on front:0 (ALC883 Analog) via DMA.
D: module-zeroconf-publish.c: Successfully created entry group for paulo@Thanatos: RTP Multicast Sink.
D: module-zeroconf-publish.c: Successfully created entry group for paulo@Thanatos: Simultaneous output to ALSA PCM on front:1 (CS4.
D: module-zeroconf-publish.c: Successfully created entry group for paulo@Thanatos: ALSA PCM on front:1 (CS46xx) via DMA.
D: module-zeroconf-publish.c: Successfully created entry group for paulo@Thanatos: ALSA PCM on front:0 (ALC883 Analog) via DMA.
I: module.c: Loaded "module-zeroconf-publish" (index: #13; argument: "").
D: module-gconf.c: Loading module 'module-zeroconf-discover' with args '' due to GConf configuration.
I: module.c: Loaded "module-zeroconf-discover" (index: #14; argument: "").
I: module.c: Loaded "module-gconf" (index: #15; argument: "").
I: module-volume-restore.c: starting with empty ruleset.
I: module.c: Loaded "module-volume-restore" (index: #16; argument: "").
D: module-default-device-restore.c: No previous default sink setting, ignoring.
D: module-default-device-restore.c: Restored default source 'rtp.monitor'.
I: module.c: Loaded "module-default-device-restore" (index: #17; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #18; argument: "").
D: module-suspend-on-idle.c: Sink rtp becomes idle.
D: module-suspend-on-idle.c: Sink combined becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.pci_1013_6003_sound_card_0_alsa_capture _0 becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.pci_1013_6003_sound_card_0_alsa_playba ck_0.monitor becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.pci_8086_293e_sound_card_0_alsa_capture _0 becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0.monitor becomes idle.
D: module-suspend-on-idle.c: Source combined.monitor becomes idle.
I: module.c: Loaded "module-suspend-on-idle" (index: #19; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #20; argument: "").
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
I: module-suspend-on-idle.c: Source combined.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Source alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Source alsa_input.pci_8086_293e_sound_card_0_alsa_capture _0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_output.pci_1013_6003_sound_card_0_alsa_playba ck_0.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Source alsa_input.pci_1013_6003_sound_card_0_alsa_capture _0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Sink combined idle for too long, suspending ...
D: module-suspend-on-idle.c: Sink alsa_output.pci_1013_6003_sound_card_0_alsa_playba ck_0 becomes idle.
D: module-suspend-on-idle.c: Sink alsa_output.pci_1013_6003_sound_card_0_alsa_playba ck_0 becomes idle.
I: sink-input.c: Freeing output 0 "Simultaneous output on ALSA PCM on front:1 (CS46xx) via DMA"
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0 becomes idle.
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0 becomes idle.
I: sink-input.c: Freeing output 1 "Simultaneous output on ALSA PCM on front:0 (ALC883 Analog) via DMA"
I: module-combine.c: No master selected, lacking suitable outputs.
I: module-combine.c: Device suspended...
I: module-suspend-on-idle.c: Sink rtp idle for too long, suspending ...
I: module-zeroconf-publish.c: Successfully established service paulo@Thanatos: ALSA PCM on front:1 (CS46xx) via DMA.
I: module-zeroconf-publish.c: Successfully established service paulo@Thanatos: ALSA PCM on front:0 (ALC883 Analog) via DMA.
I: module-zeroconf-publish.c: Successfully established service paulo@Thanatos: RTP Multicast Sink.
I: module-zeroconf-publish.c: Successfully established service paulo@Thanatos: Simultaneous output to ALSA PCM on front:1 (CS4.
I: module-zeroconf-publish.c: Successfully established service paulo@Thanatos: ALSA PCM on front:1 (CS46xx) via DMA.
I: module-zeroconf-publish.c: Successfully established service paulo@Thanatos: ALSA PCM on front:0 (ALC883 Analog) via DMA.
I: module-zeroconf-publish.c: Successfully established main service.
I: module-suspend-on-idle.c: Sink alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...
I: module-suspend-on-idle.c: Sink alsa_output.pci_1013_6003_sound_card_0_alsa_playba ck_0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...
D: module-rtp-recv.c: Checking for dead streams ...
At this point, it hung and repeated the last line about dead streams once every few seconds. This is the output from terminating the command with Ctrl+C: ^CI: main.c: Got signal SIGINT.
I: main.c: Exiting.
I: main.c: Daemon shutdown initiated.
I: module.c: Unloading "module-alsa-source" (index: #0).
D: module-zeroconf-publish.c: Removing entry group for paulo@Thanatos: ALSA PCM on front:1 (CS46xx) via DMA.
D: module-rescue-streams.c: No source outputs to move away.
D: module-alsa-source.c: Thread shutting down
I: source.c: Freeing source 0 "alsa_input.pci_1013_6003_sound_card_0_alsa_capture _0"
I: module.c: Unloaded "module-alsa-source" (index: #0).
I: module.c: Unloading "module-alsa-sink" (index: #1).
I: module-combine.c: Unconfiguring sink: alsa_output.pci_1013_6003_sound_card_0_alsa_playba ck_0
D: module-zeroconf-publish.c: Successfully created entry group for paulo@Thanatos: Simultaneous output to ALSA PCM on front:1 (CS4.
D: module-zeroconf-publish.c: Removing entry group for paulo@Thanatos: ALSA PCM on front:1 (CS46xx) via DMA.
D: module-rescue-streams.c: No sink inputs to move away.
D: module-rescue-streams.c: No source outputs to move away.
D: module-alsa-sink.c: Thread shutting down
I: sink.c: Freeing sink 0 "alsa_output.pci_1013_6003_sound_card_0_alsa_playba ck_0"
I: source.c: Freeing source 1 "alsa_output.pci_1013_6003_sound_card_0_alsa_playba ck_0.monitor"
I: module.c: Unloaded "module-alsa-sink" (index: #1).
I: module.c: Unloading "module-alsa-source" (index: #2).
D: module-zeroconf-publish.c: Removing entry group for paulo@Thanatos: ALSA PCM on front:0 (ALC883 Analog) via DMA.
D: module-rescue-streams.c: No source outputs to move away.
D: module-alsa-source.c: Thread shutting down
I: source.c: Freeing source 2 "alsa_input.pci_8086_293e_sound_card_0_alsa_capture _0"
I: module.c: Unloaded "module-alsa-source" (index: #2).
I: module.c: Unloading "module-alsa-sink" (index: #3).
I: module-combine.c: Unconfiguring sink: alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0
D: core-subscribe.c: dropped redundant event.
D: core-subscribe.c: dropped redundant event.
D: module-zeroconf-publish.c: Successfully created entry group for paulo@Thanatos: Simultaneous output to ALSA PCM on front:1 (CS4.
D: module-zeroconf-publish.c: Removing entry group for paulo@Thanatos: ALSA PCM on front:0 (ALC883 Analog) via DMA.
D: module-rescue-streams.c: No sink inputs to move away.
D: module-rescue-streams.c: No source outputs to move away.
D: module-alsa-sink.c: Thread shutting down
I: sink.c: Freeing sink 1 "alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0"
I: source.c: Freeing source 3 "alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0.monitor"
I: module.c: Unloaded "module-alsa-sink" (index: #3).
I: module.c: Unloading "module-hal-detect" (index: #4).
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus.Local, path=/org/freedesktop/DBus/Local, member=Disconnected
I: module.c: Unloaded "module-hal-detect" (index: #4).
I: module.c: Unloading "module-esound-protocol-unix" (index: #5).
I: module.c: Unloaded "module-esound-protocol-unix" (index: #5).
I: module.c: Unloading "module-native-protocol-unix" (index: #6).
I: module.c: Unloaded "module-native-protocol-unix" (index: #6).
I: module.c: Unloading "module-null-sink" (index: #7).
D: module-zeroconf-publish.c: Removing entry group for paulo@Thanatos: RTP Multicast Sink.
D: module-rescue-streams.c: No sink inputs to move away.
I: resampler.c: Forcing resampler 'copy', because of fixed, identical sample rates.
I: resampler.c: Using resampler 'copy'
I: resampler.c: Using s16le as working format.
D: module-suspend-on-idle.c: Source combined.monitor becomes idle.
D: module-suspend-on-idle.c: Source combined.monitor becomes busy.
D: module-suspend-on-idle.c: Source rtp.monitor becomes idle.
D: module-suspend-on-idle.c: Source rtp.monitor becomes idle.
D: source-output.c: Successfully moved source output 0 from rtp.monitor to combined.monitor.
I: module-rescue-streams.c: Sucessfully moved source output 0 "RTP Monitor Stream" to combined.monitor.
D: module-null-sink.c: Thread shutting down
I: sink.c: Freeing sink 2 "rtp"
I: source.c: Freeing source 4 "rtp.monitor"
I: module.c: Unloaded "module-null-sink" (index: #7).
I: module.c: Unloading "module-rtp-send" (index: #8).
D: module-suspend-on-idle.c: Source combined.monitor becomes idle.
D: core-subscribe.c: dropped redundant event.
D: module-suspend-on-idle.c: Source combined.monitor becomes idle.
I: source-output.c: Freeing output 0 "RTP Monitor Stream"
I: module.c: Unloaded "module-rtp-send" (index: #8).
I: module.c: Unloading "module-combine" (index: #9).
D: module-zeroconf-publish.c: Removing entry group for paulo@Thanatos: Simultaneous output to ALSA PCM on front:1 (CS4.
D: module-rescue-streams.c: No sink inputs to move away.
D: module-rescue-streams.c: No source outputs to move away.
D: core-subscribe.c: dropped redundant event.
D: core-subscribe.c: dropped redundant event.
D: module-combine.c: Thread shutting down
I: sink.c: Freeing sink 3 "combined"
I: source.c: Freeing source 5 "combined.monitor"
I: module.c: Unloaded "module-combine" (index: #9).
I: module.c: Unloading "module-rtp-recv" (index: #10).
I: module.c: Unloaded "module-rtp-recv" (index: #10).
I: module.c: Unloading "module-native-protocol-tcp" (index: #11).
I: module.c: Unloaded "module-native-protocol-tcp" (index: #11).
I: module.c: Unloading "module-esound-protocol-tcp" (index: #12).
I: module.c: Unloaded "module-esound-protocol-tcp" (index: #12).
I: module.c: Unloading "module-zeroconf-publish" (index: #13).
I: module.c: Unloaded "module-zeroconf-publish" (index: #13).
I: module.c: Unloading "module-zeroconf-discover" (index: #14).
I: module.c: Unloaded "module-zeroconf-discover" (index: #14).
I: module.c: Unloading "module-gconf" (index: #15).
D: module-gconf.c: Unloading module #14
D: module-gconf.c: Unloading module #11
D: module-gconf.c: Unloading module #12
D: module-gconf.c: Unloading module #13
D: module-gconf.c: Unloading module #10
D: module-gconf.c: Unloading module #9
D: module-gconf.c: Unloading module #7
D: module-gconf.c: Unloading module #8
I: module.c: Unloaded "module-gconf" (index: #15).
I: module.c: Unloading "module-volume-restore" (index: #16).
I: module.c: Unloaded "module-volume-restore" (index: #16).
I: module.c: Unloading "module-default-device-restore" (index: #17).
I: module.c: Unloaded "module-default-device-restore" (index: #17).
I: module.c: Unloading "module-rescue-streams" (index: #18).
I: module.c: Unloaded "module-rescue-streams" (index: #18).
I: module.c: Unloading "module-suspend-on-idle" (index: #19).
I: module.c: Unloaded "module-suspend-on-idle" (index: #19).
I: module.c: Unloading "module-x11-publish" (index: #20).
I: module.c: Unloaded "module-x11-publish" (index: #20).
I: main.c: Daemon terminated.


Thanks a lot for your help on this. Now, what do I do?

johnapeterson
November 24th, 2008, 06:22 PM
I am beginning to get somewhere.

First here is my aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: M44 [M Audio Delta 44], device 0: ICE1712 multi
Subdevices: 0/1
Subdevice #0: subdevice #0

I changed the line [I]#load-module module-alsa-sink in /etc/pulse/default.pa to:

load-module module-alsa-sink device=hw:0,0

I am now getting sounds from all applications, but if I try to open the pulseaudio volume control I get a message that connection failed, same with tryingto open the volume meter in pulseaudio.

I do not know how this thing is suppose to hook up to a server. As I said, I am now getting sound thru all applications.

Here is the output from pkill pulseaudio; sleep 2; pulseaudio -vv

I: main.c: PolicyKit refuses acquire-high-priority privilige.
I: main.c: We're in the group 'pulse-rt', allowing real-time and high-priority scheduling.
I: core-util.c: Successfully gained nice level -11.
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
E: alsa-util.c: Error opening PCM device hw:0,0: Device or resource busy
E: module.c: Failed to load module "module-alsa-sink" (argument: "device=hw:0,0 "): initialization failed.
E: main.c: Module load failed.
E: main.c: Failed to initialize daemon.
I: main.c: Daemon terminated.
john@john-desktop:~$ pkill pulseaudio; sleep 2; pulseaudio -vv
I: main.c: PolicyKit refuses acquire-high-priority privilige.
I: main.c: We're in the group 'pulse-rt', allowing real-time and high-priority scheduling.
I: core-util.c: Successfully gained nice level -11.
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
W: alsa-util.c: Device hw:0,0 doesn't support 2 channels, changed to 10.
W: alsa-util.c: Device hw:0,0 doesn't support sample format s16le, changed to s32le.
I: module-alsa-sink.c: Successfully opened device hw:0,0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib conf.c:3843:(parse_args) Unknown parameter 1
ALSA lib conf.c:3969:(snd_config_expand) Parse arguments error: No such file or directory
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL hw:0,0
I: alsa-util.c: Unable to attach to mixer hw:0,0: No such file or directory
I: alsa-util.c: Unable to attach to mixer hw:(null): No such device
D: sink.c: Assertion 'map && pa_channel_map_valid(map)' failed at pulsecore/sink.c:78, function pa_sink_new.
E: module-alsa-sink.c: Failed to create sink object
E: module.c: Failed to load module "module-alsa-sink" (argument: "device=hw:0,0 "): initialization failed.
E: main.c: Module load failed.
E: main.c: Failed to initialize daemon.
I: main.c: Daemon terminated.


I do have ubuntustudio, but am currently running the 2.6.27-7-generic kernel.

Thanks,
John

GepettoBR
November 24th, 2008, 06:46 PM
I followed the updated instructions and everything seems to be working great now. Even after a reboot, I still have sound. Thanks!

xfodder
November 25th, 2008, 12:35 AM
mate! you are bloody brilliant! everything is fine now, thank you very much :D

only thing is when i restart pulseaudio isn't starting, i have to enter pulseaudio -D in console for it to start

Dragonseer
November 25th, 2008, 04:41 AM
I tried the steps in this guide, but I was unable to fix my problem, which started when I upgraded WINE to 1.1.9 and the sound stopped working. At this point I thought that perhaps Pulseaudio was at fault and I tried removing it, as detailed here- http://ubuntuforums.org/showthread.php?t=973637.

After this sound stopped working altogether, including the system start up sounds. I tried reinstalling pulseaudio but now I don't know how to restore pulse audio in the System>Preferences>Sessions dialogue. Where can I find this? Trying to start pulseaudio from the terminal gives me this:

W: ltdl-bind-now.c: Failed to find original dlopen loader.
E: main.c: daemon startup failed.

Wildboar
November 25th, 2008, 08:42 AM
I'm Running Intrepid on an AMD Athalon, Nvidia n2. Sound died upon upgrading to Intrepid two weeks ago, I've been fighting video drivers.
I am showing volume in "Volume control" when it connects. Speakers are completely silent unless booted into GatesWare.

I did follow your HOWTO, went great except that it didn't work... :confused: Any ideas?

t@Handbuilt-by-Dad:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: nForce2 [NVidia nForce2], device 0: Intel ICH [NVidia nForce2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: nForce2 [NVidia nForce2], device 2: Intel ICH - IEC958 [NVidia nForce2 - IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0


t@Handbuilt-by-Dad:~$ pkill pulseaudio; sleep 2; pulseaudio -vv
I: main.c: PolicyKit refuses acquire-high-priority privilige.
I: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
I: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
I: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
I: main.c: Note that real-time/high-priority scheduling is NOT normally required. If you experience crackling or other sound anomalies, consider one or more of the above solutions.
I: main.c: High-priority scheduling enabled in configuration but now allowed by policy. Disabling forcibly.
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_10de_6a_sound_card_0_alsa_playback_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_10de_6a_sound_card_0_alsa_capture_1
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_10de_6a_sound_card_0_als a_playback_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-sink.c: Successfully opened device front:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Master".
I: sink.c: Created sink 0 "alsa_output.pci_10de_6a_sound_card_0_alsa_playback _0" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 0 "alsa_output.pci_10de_6a_sound_card_0_alsa_playback _0.monitor" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-sink.c: Using 8 fragments of size 1760 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #0; argument: "device_id=0 sink_name=alsa_output.pci_10de_6a_sound_card_0_als a_playback_0").
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_10de_6a_sound_card_0_al sa_capture_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-source.c: Successfully opened device front:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Capture".
I: source.c: Created source 1 "alsa_input.pci_10de_6a_sound_card_0_alsa_capture_0" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-source.c: Using 8 fragments of size 1760 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28
I: module.c: Loaded "module-alsa-source" (index: #1; argument: "device_id=0 source_name=alsa_input.pci_10de_6a_sound_card_0_al sa_capture_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_10de_6a_sound_card_0_alsa_control__1
I: module-hal-detect.c: Loaded 2 modules.
I: module.c: Loaded "module-hal-detect" (index: #2; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #3; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #4; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
I: module.c: Loaded "module-gconf" (index: #5; argument: "").
I: module.c: Loaded "module-volume-restore" (index: #6; argument: "").
D: module-default-device-restore.c: Restored default sink 'alsa_output.pci_10de_6a_sound_card_0_alsa_playbac k_0'.
D: core-subscribe.c: dropped redundant event.
D: module-default-device-restore.c: Restored default source 'alsa_input.pci_10de_6a_sound_card_0_alsa_capture_ 0'.
I: module.c: Loaded "module-default-device-restore" (index: #7; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #8; argument: "").
D: module-suspend-on-idle.c: Sink alsa_output.pci_10de_6a_sound_card_0_alsa_playback _0 becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.pci_10de_6a_sound_card_0_alsa_playback _0.monitor becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.pci_10de_6a_sound_card_0_alsa_capture_0 becomes idle.
I: module.c: Loaded "module-suspend-on-idle" (index: #9; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #10; argument: "").
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
I: module-suspend-on-idle.c: Source alsa_input.pci_10de_6a_sound_card_0_alsa_capture_0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_output.pci_10de_6a_sound_card_0_alsa_playback _0.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Sink alsa_output.pci_10de_6a_sound_card_0_alsa_playback _0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...

##### at this point it hung up for at least a minute before I exited [^C]

^CI: main.c: Got signal SIGINT.
I: main.c: Exiting.
I: main.c: Daemon shutdown initiated.
I: module.c: Unloading "module-alsa-sink" (index: #0).
D: module-rescue-streams.c: No sink inputs to move away.
D: module-rescue-streams.c: No source outputs to move away.
D: module-alsa-sink.c: Thread shutting down
I: sink.c: Freeing sink 0 "alsa_output.pci_10de_6a_sound_card_0_alsa_playback _0"
I: source.c: Freeing source 0 "alsa_output.pci_10de_6a_sound_card_0_alsa_playback _0.monitor"
I: module.c: Unloaded "module-alsa-sink" (index: #0).
I: module.c: Unloading "module-alsa-source" (index: #1).
D: module-rescue-streams.c: No source outputs to move away.
D: module-alsa-source.c: Thread shutting down
I: source.c: Freeing source 1 "alsa_input.pci_10de_6a_sound_card_0_alsa_capture_0"
I: module.c: Unloaded "module-alsa-source" (index: #1).
I: module.c: Unloading "module-hal-detect" (index: #2).
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus.Local, path=/org/freedesktop/DBus/Local, member=Disconnected
I: module.c: Unloaded "module-hal-detect" (index: #2).
I: module.c: Unloading "module-esound-protocol-unix" (index: #3).
I: module.c: Unloaded "module-esound-protocol-unix" (index: #3).
I: module.c: Unloading "module-native-protocol-unix" (index: #4).
I: module.c: Unloaded "module-native-protocol-unix" (index: #4).
I: module.c: Unloading "module-gconf" (index: #5).
I: module.c: Unloaded "module-gconf" (index: #5).
I: module.c: Unloading "module-volume-restore" (index: #6).
I: module.c: Unloaded "module-volume-restore" (index: #6).
I: module.c: Unloading "module-default-device-restore" (index: #7).
I: module.c: Unloaded "module-default-device-restore" (index: #7).
I: module.c: Unloading "module-rescue-streams" (index: #8).
I: module.c: Unloaded "module-rescue-streams" (index: #8).
I: module.c: Unloading "module-suspend-on-idle" (index: #9).
I: module.c: Unloaded "module-suspend-on-idle" (index: #9).
I: module.c: Unloading "module-x11-publish" (index: #10).
I: module.c: Unloaded "module-x11-publish" (index: #10).
I: main.c: Daemon terminated.
bret@Handbuilt-by-Dad:~$

GepettoBR
November 25th, 2008, 08:56 AM
I followed the updated instructions and everything seems to be working great now. Even after a reboot, I still have sound. Thanks!

It seems I celebrated too soon. After a second reboot the sound did not come back, in system sounds or otherwise. The pulse audio applet doesn't display anything different from last time, so I don't know what's wrong. When I get home today I'll post more information, like the terminal outputs for aplay and restarting pulse.

Anyways, I'm still better off than before. Now I know that it can work, and just need to make the fix persistent. :)

GepettoBR
November 25th, 2008, 11:08 AM
Still no system sounds, and the terminal outputs look the same as far as I can tell. Amarok can play, but the system sound won't.

tcrisan
November 25th, 2008, 01:43 PM
From a ARS Technica review of Fedora 10:

PA represents an enormous advancement for the Linux audio experience, but the transition has been challenging. The new glitch-free version of PulseAudio smooths out some of the rough edges. It is a rewrite that implements timer-based audio scheduling. This will significantly reduce the potential for dropped audio and will facilitate better handling for latency. It could also potentially boost battery life by cutting down on the number of interrupts. This effort has been championed by Red Hat's Lennart Poettering and Fedora is the first distribution in which it will be included by default.

How about Ubuntu?

uldo
November 25th, 2008, 04:42 PM
can't play sounds simultaneously, for example: If i run amarok, then i cant hear skype notifications. How can i fix this?
I'm running Ubuntu 8.10 intrepid.

Leo Richard Comerford
November 26th, 2008, 04:00 AM
My sound worked under 8.04 but died completely when I upgraded to 8.10. The output of aplay -l is aplay: device_list:215: no soundcards found.... pulseaudio -vv gives:

I: main.c: PolicyKit refuses acquire-high-priority privilige.
I: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
I: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
I: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
I: main.c: Note that real-time/high-priority scheduling is NOT normally required. If you experience crackling or other sound anomalies, consider one or more of the above solutions.
I: main.c: High-priority scheduling enabled in configuration but now allowed by policy. Disabling forcibly.
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
I: module-hal-detect.c: Trying capability oss
I: module-hal-detect.c: Loaded 0 modules.
I: module.c: Loaded "module-hal-detect" (index: #0; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #1; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #2; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
I: module.c: Loaded "module-gconf" (index: #3; argument: "").
I: module-volume-restore.c: starting with empty ruleset.
I: module.c: Loaded "module-volume-restore" (index: #4; argument: "").
D: module-default-device-restore.c: No previous default sink setting, ignoring.
D: module-default-device-restore.c: No previous default source setting, ignoring.
I: module.c: Loaded "module-default-device-restore" (index: #5; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #6; argument: "").
I: module.c: Loaded "module-suspend-on-idle" (index: #7; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #8; argument: "").
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device.AccessControl , path=/org/freedesktop/Hal/devices/storage_model_DVDRW_SHM_165P6S, member=ACLAdded
D: module-hal-detect.c: HAL Device added: /org/freedesktop/Hal/devices/storage_model_DVDRW_SHM_165P6S
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device.AccessControl , path=/org/freedesktop/Hal/devices/storage_model_DVDRW_SHM_165P6S, member=ACLAdded
D: module-hal-detect.c: HAL Device added: /org/freedesktop/Hal/devices/storage_model_DVDRW_SHM_165P6S
I: client.c: Created 0 "Native client (UNIX socket client)"
I: protocol-native.c: Got credentials: uid=1000 gid=1000 success=1
I: protocol-native.c: Enabled SHM for new connection
I: client.c: Client 0 changed name from "Native client (UNIX socket client)" to "PulseAudio Volume Control"
I: client.c: Freed 0 "PulseAudio Volume Control"
I: protocol-native.c: connection died.
I: client.c: Created 1 "Native client (UNIX socket client)"
I: protocol-native.c: Got credentials: uid=1000 gid=1000 success=1
I: protocol-native.c: Enabled SHM for new connection
I: client.c: Client 1 changed name from "Native client (UNIX socket client)" to "PulseAudio Volume Control"
I: client.c: Freed 1 "PulseAudio Volume Control"
I: protocol-native.c: connection died.
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device.AccessControl , path=/org/freedesktop/Hal/devices/storage_model_DVDRW_SHM_165P6S, member=ACLAdded
D: module-hal-detect.c: HAL Device added: /org/freedesktop/Hal/devices/storage_model_DVDRW_SHM_165P6S
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device.AccessControl , path=/org/freedesktop/Hal/devices/storage_model_DVDRW_SHM_165P6S, member=ACLAdded
D: module-hal-detect.c: HAL Device added: /org/freedesktop/Hal/devices/storage_model_DVDRW_SHM_165P6S
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device.AccessControl , path=/org/freedesktop/Hal/devices/storage_model_DVDRW_SHM_165P6S, member=ACLAdded
D: module-hal-detect.c: HAL Device added: /org/freedesktop/Hal/devices/storage_model_DVDRW_SHM_165P6S
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device.AccessControl , path=/org/freedesktop/Hal/devices/storage_model_DVDRW_SHM_165P6S, member=ACLAdded
D: module-hal-detect.c: HAL Device added: /org/freedesktop/Hal/devices/storage_model_DVDRW_SHM_165P6S
I: client.c: Created 2 "Native client (UNIX socket client)"
I: protocol-native.c: Got credentials: uid=1000 gid=1000 success=1
I: protocol-native.c: Enabled SHM for new connection
I: client.c: Client 2 changed name from "Native client (UNIX socket client)" to "PulseAudio Volume Control"
I: client.c: Freed 2 "PulseAudio Volume Control"
I: protocol-native.c: connection died.


(The HAL message about the DVD device reappears every few minutes.) pavucontrol shows no devices of any kind. However it seems that my audio devices are still quite visible to HAL (see my haldump output (http://launchpadlibrarian.net/19106104/haldump)). I have reported this as bug #291389 (https://bugs.launchpad.net/ubuntu/+bug/291389).

Leo Richard Comerford
November 26th, 2008, 04:05 AM
Oh, this line is added to pulseaudio -vv whenever an application (Amarok, MPlayer, Beep) fails to play audio:

D: sink-input.c: Assertion 'data->sink' failed at pulsecore/sink-input.c:110, function pa_sink_input_new.

Leo Richard Comerford
November 26th, 2008, 12:16 PM
In fact the problem turned out to be missing kernel modules, as described in SoundTroubleshooting (https://help.ubuntu.com/community/SoundTroubleshooting).

Schoappied
November 26th, 2008, 03:52 PM
Is this still needed in Ubuntu hardy at this moment? And in Ubuntu studio 8.04?

I get

~$ pavucontrol
Segmentation fault

(maudio audiophile 24/96)

GepettoBR
November 26th, 2008, 04:29 PM
How do I keep padevchooser from switching the default sink every time it starts? I want to use onboard sound and I check the default box but every time I log in it returns to my PCI sound card. Is there a way to blacklist the card altogether? I don't need to use it for anything in Ubuntu.

halovivek
November 26th, 2008, 04:32 PM
hi i have followed what you said. i have posted the results. till now i did not get sound.
i have posted what i follow
halovivek@halovivek-laptop:~$ sudo su
[sudo] password for halovivek:
root@halovivek-laptop:/home/halovivek# $ mkdir ~/pulse-backup && cp -r ~/.pulse ~/.asound* /etc/asound.conf /etc/pulse -t ~/pulse-backup/
bash: $: command not found
root@halovivek-laptop:/home/halovivek# $ sudo rm -r ~/.pulse ~/.asound* /etc/asound.conf
bash: $: command not found
root@halovivek-laptop:/home/halovivek# mkdir ~/pulse-backup && cp -r ~/.pulse ~/.asound* /etc/asound.conf /etc/pulse -t ~/pulse-backup/
cp: cannot stat `/root/.pulse': No such file or directory
cp: cannot stat `/root/.asound*': No such file or directory
cp: cannot stat `/etc/asound.conf': No such file or directory
root@halovivek-laptop:/home/halovivek# sudo apt-get install libasound2-plugins padevchooser libao-pulse libsdl1.2debian-pulseaudio flashplugin-nonfree
Reading package lists... Done
Building dependency tree
Reading state information... Done
padevchooser is already the newest version.
flashplugin-nonfree is already the newest version.
The following packages were automatically installed and are no longer required:
libnss3-0d
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
libsdl1.2debian-alsa
The following NEW packages will be installed:
libao-pulse libasound2-plugins libsdl1.2debian-pulseaudio
0 upgraded, 3 newly installed, 1 to remove and 0 not upgraded.
Need to get 327kB of archives.
After this operation, 594kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://se.archive.ubuntu.com hardy/universe libao-pulse 0.9.3-1 [7428B]
Get:2 http://se.archive.ubuntu.com hardy/main libasound2-plugins 1.0.15-1ubuntu3 [117kB]
Get:3 http://se.archive.ubuntu.com hardy/universe libsdl1.2debian-pulseaudio 1.2.13-1ubuntu1 [203kB]
Fetched 327kB in 0s (975kB/s)
dpkg: libsdl1.2debian-alsa: dependency problems, but removing anyway as you request:
libsdl1.2debian depends on libsdl1.2debian-alsa (= 1.2.13-1ubuntu1) | libsdl1.2debian-all (= 1.2.13-1ubuntu1) | libsdl1.2debian-esd (= 1.2.13-1ubuntu1) | libsdl1.2debian-arts (= 1.2.13-1ubuntu1) | libsdl1.2debian-oss (= 1.2.13-1ubuntu1) | libsdl1.2debian-nas (= 1.2.13-1ubuntu1) | libsdl1.2debian-pulseaudio (= 1.2.13-1ubuntu1); however:
Package libsdl1.2debian-alsa is to be removed.
Package libsdl1.2debian-all is not installed.
Package libsdl1.2debian-esd is not installed.
Package libsdl1.2debian-arts is not installed.
Package libsdl1.2debian-oss is not installed.
Package libsdl1.2debian-nas is not installed.
Package libsdl1.2debian-pulseaudio is not installed.
(Reading database ... 156668 files and directories currently installed.)
Removing libsdl1.2debian-alsa ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Selecting previously deselected package libao-pulse.
(Reading database ... 156660 files and directories currently installed.)
Unpacking libao-pulse (from .../libao-pulse_0.9.3-1_amd64.deb) ...
Replaced by files in installed package libao2 ...
Selecting previously deselected package libasound2-plugins.
Unpacking libasound2-plugins (from .../libasound2-plugins_1.0.15-1ubuntu3_amd64.deb) ...
Selecting previously deselected package libsdl1.2debian-pulseaudio.
Unpacking libsdl1.2debian-pulseaudio (from .../libsdl1.2debian-pulseaudio_1.2.13-1ubuntu1_amd64.deb) ...
Setting up libao-pulse (0.9.3-1) ...
Setting up libasound2-plugins (1.0.15-1ubuntu3) ...
Setting up libsdl1.2debian-pulseaudio (1.2.13-1ubuntu1) ...

Processing triggers for libc6 ...
ldconfig deferred processing now taking place

root@halovivek-laptop:/home/halovivek# sudo apt-get remove --purge libflashsupport flashplugin-nonfree-extrasound
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libflashsupport is not installed, so not removed
E: Couldn't find package flashplugin-nonfree-extrasound

root@halovivek-laptop:/home/halovivek# pulseaudio & pavucontrol
W: main.c: This program is not intended to be run as root (unless --system is specified).
[1] 7673
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0

(pavucontrol:7674): Gtk-CRITICAL **: gtk_widget_get_clipboard: assertion `gtk_widget_has_screen (widget)' failed

(pavucontrol:7674): Gtk-CRITICAL **: gtk_clipboard_set_with_owner: assertion `clipboard != NULL' failed

root@halovivek-laptop:/home/halovivek# sudo apt-get update && sudo apt-get dist-upgrade
Ign cdrom://Ubuntu 8.04.1 _Hardy Heron_ - Release amd64 (20080702.1) hardy Release.gpg
Ign cdrom://Ubuntu 8.04.1 _Hardy Heron_ - Release amd64 (20080702.1) hardy/main Translation-en_US
Ign cdrom://Ubuntu 8.04.1 _Hardy Heron_ - Release amd64 (20080702.1) hardy/restricted Translation-en_US
Ign cdrom://Ubuntu 8.04.1 _Hardy Heron_ - Release amd64 (20080702.1) hardy Release
Ign cdrom://Ubuntu 8.04.1 _Hardy Heron_ - Release amd64 (20080702.1) hardy/main Packages
Ign cdrom://Ubuntu 8.04.1 _Hardy Heron_ - Release amd64 (20080702.1) hardy/restricted Packages
Err cdrom://Ubuntu 8.04.1 _Hardy Heron_ - Release amd64 (20080702.1) hardy/main Packages
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err cdrom://Ubuntu 8.04.1 _Hardy Heron_ - Release amd64 (20080702.1) hardy/restricted Packages
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Hit http://se.archive.ubuntu.com hardy Release.gpg
Ign http://se.archive.ubuntu.com hardy/main Translation-en_US
Ign http://se.archive.ubuntu.com hardy/restricted Translation-en_US
Ign http://se.archive.ubuntu.com hardy/universe Translation-en_US
Ign http://se.archive.ubuntu.com hardy/multiverse Translation-en_US
Hit http://se.archive.ubuntu.com hardy-updates Release.gpg
Ign http://se.archive.ubuntu.com hardy-updates/main Translation-en_US
Ign http://se.archive.ubuntu.com hardy-updates/restricted Translation-en_US
Ign http://se.archive.ubuntu.com hardy-updates/universe Translation-en_US
Ign http://se.archive.ubuntu.com hardy-updates/multiverse Translation-en_US
Hit http://se.archive.ubuntu.com hardy-backports Release.gpg
Ign http://se.archive.ubuntu.com hardy-backports/main Translation-en_US
Hit http://archive.canonical.com hardy Release.gpg
Ign http://archive.canonical.com hardy/partner Translation-en_US
Ign http://ppa.launchpad.net intrepid Release.gpg
Ign http://ppa.launchpad.net intrepid/main Translation-en_US
Ign http://se.archive.ubuntu.com hardy-backports/restricted Translation-en_US
Ign http://se.archive.ubuntu.com hardy-backports/universe Translation-en_US
Ign http://se.archive.ubuntu.com hardy-backports/multiverse Translation-en_US
Hit http://security.ubuntu.com hardy-security Release.gpg
Ign http://security.ubuntu.com hardy-security/main Translation-en_US
Hit http://se.archive.ubuntu.com hardy Release
Hit http://se.archive.ubuntu.com hardy-updates Release
Hit http://se.archive.ubuntu.com hardy-backports Release
Get:1 http://dl.google.com stable Release.gpg [189B]
Hit http://archive.canonical.com hardy Release
Ign http://ppa.launchpad.net intrepid Release.gpg
Ign http://ppa.launchpad.net intrepid/main Translation-en_US
Ign http://dl.google.com stable/non-free Translation-en_US
Get:2 http://ppa.launchpad.net intrepid Release [27.6kB]
Hit http://se.archive.ubuntu.com hardy/main Packages
Ign http://security.ubuntu.com hardy-security/restricted Translation-en_US
Ign http://security.ubuntu.com hardy-security/universe Translation-en_US
Ign http://security.ubuntu.com hardy-security/multiverse Translation-en_US
Hit http://security.ubuntu.com hardy-security Release
Hit http://se.archive.ubuntu.com hardy/restricted Packages
Hit http://se.archive.ubuntu.com hardy/main Sources
Hit http://se.archive.ubuntu.com hardy/restricted Sources
Hit http://se.archive.ubuntu.com hardy/universe Packages
Hit http://se.archive.ubuntu.com hardy/universe Sources
Get:3 http://ppa.launchpad.net intrepid Release [27.6kB]
Hit http://se.archive.ubuntu.com hardy/multiverse Packages
Hit http://se.archive.ubuntu.com hardy/multiverse Sources
Hit http://se.archive.ubuntu.com hardy-updates/main Packages
Hit http://se.archive.ubuntu.com hardy-updates/restricted Packages
Hit http://se.archive.ubuntu.com hardy-updates/main Sources
Hit http://archive.canonical.com hardy/partner Packages
Hit http://se.archive.ubuntu.com hardy-updates/restricted Sources
Hit http://se.archive.ubuntu.com hardy-updates/universe Packages
Hit http://security.ubuntu.com hardy-security/main Packages
Hit http://se.archive.ubuntu.com hardy-updates/universe Sources
Hit http://se.archive.ubuntu.com hardy-updates/multiverse Packages
Hit http://se.archive.ubuntu.com hardy-updates/multiverse Sources
Hit http://se.archive.ubuntu.com hardy-backports/main Packages
Get:4 http://dl.google.com stable Release [1300B]
Ign http://dl.google.com stable Release
Hit http://se.archive.ubuntu.com hardy-backports/restricted Packages
Hit http://se.archive.ubuntu.com hardy-backports/universe Packages
Hit http://se.archive.ubuntu.com hardy-backports/multiverse Packages
Hit http://se.archive.ubuntu.com hardy-backports/main Sources
Hit http://archive.canonical.com hardy/partner Sources
Hit http://se.archive.ubuntu.com hardy-backports/restricted Sources
Hit http://se.archive.ubuntu.com hardy-backports/universe Sources
Hit http://se.archive.ubuntu.com hardy-backports/multiverse Sources
Hit http://security.ubuntu.com hardy-security/restricted Packages
Hit http://security.ubuntu.com hardy-security/main Sources
Hit http://security.ubuntu.com hardy-security/restricted Sources
Get:5 http://dl.google.com stable/non-free Packages [966B]
Hit http://security.ubuntu.com hardy-security/universe Packages
Hit http://security.ubuntu.com hardy-security/universe Sources
Hit http://security.ubuntu.com hardy-security/multiverse Packages
Hit http://security.ubuntu.com hardy-security/multiverse Sources
Hit http://packages.medibuntu.org intrepid Release.gpg
Ign http://ppa.launchpad.net intrepid/main Packages
Ign http://ppa.launchpad.net intrepid/main Packages
Ign http://ppa.launchpad.net intrepid/main Sources
Hit http://ppa.launchpad.net intrepid/main Packages
Ign http://packages.medibuntu.org intrepid/free Translation-en_US
Get:6 http://ppa.launchpad.net intrepid/main Packages [5161B]
Get:7 http://ppa.launchpad.net intrepid/main Sources [1237B]
Ign http://packages.medibuntu.org intrepid/non-free Translation-en_US
Hit http://packages.medibuntu.org intrepid Release
Hit http://packages.medibuntu.org intrepid/free Packages
Hit http://packages.medibuntu.org intrepid/non-free Packages
Hit http://packages.medibuntu.org intrepid/free Sources
Hit http://packages.medibuntu.org intrepid/non-free Sources
Fetched 36.5kB in 3s (11.5kB/s)
W: GPG error: http://dl.google.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A040830F7FAC5991
W: Failed to fetch cdrom:[Ubuntu 8.04.1 _Hardy Heron_ - Release amd64 (20080702.1)]/dists/hardy/main/binary-amd64/Packages.gz Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom:[Ubuntu 8.04.1 _Hardy Heron_ - Release amd64 (20080702.1)]/dists/hardy/restricted/binary-amd64/Packages.gz Please use apt-cdrom tomake this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

E: Some index files failed to download, they have been ignored, or old ones used instead.

root@halovivek-laptop:/home/halovivek# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC883 Analog [ALC883 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0


please help me

psyke83
November 26th, 2008, 04:58 PM
hi i have followed what you said. i have posted the results. till now i did not get sound.
i have posted what i follow
halovivek@halovivek-laptop:~$ sudo su
[sudo] password for halovivek:


Ouch. You shouldn't have run those commands as superuser! This guide is to be followed under the assumption that you will open a terminal under your user's credentials; only actions that required privileges are elevated when necessary.

Run this:
$ sudo rm /root/.pulse* /root/.asound*

Then, go through the entire guide again, and this time do not enter the commands in a root shell.

psyke83
November 26th, 2008, 05:05 PM
How do I keep padevchooser from switching the default sink every time it starts? I want to use onboard sound and I check the default box but every time I log in it returns to my PCI sound card. Is there a way to blacklist the card altogether? I don't need to use it for anything in Ubuntu.
Are you sure you set the default card in the PA Volume Control? Hmm, perhaps there's a bug when restoring the default sink.

Nevertheless, you can either blacklist your PCI soundcard's module, or (better), edit the PulseAudio configuratin. See this (http://ubuntuforums.org/showpost.php?p=5997459&postcount=322) post.

psyke83
November 26th, 2008, 05:15 PM
I tried the steps in this guide, but I was unable to fix my problem, which started when I upgraded WINE to 1.1.9 and the sound stopped working. At this point I thought that perhaps Pulseaudio was at fault and I tried removing it, as detailed here- http://ubuntuforums.org/showthread.php?t=973637.

After this sound stopped working altogether, including the system start up sounds. I tried reinstalling pulseaudio but now I don't know how to restore pulse audio in the System>Preferences>Sessions dialogue. Where can I find this? Trying to start pulseaudio from the terminal gives me this:

W: ltdl-bind-now.c: Failed to find original dlopen loader.
E: main.c: daemon startup failed.

The output above only indicates that you tried to run a second instance of PulseAudio.

It's very likely that you're suffering from a simple bug in Intrepid - the PCM mixer getting muted. See Part C, Step 3.

P.S. WINE needs special configuration for PulseAudio. It's explained in the guide.

psyke83
November 26th, 2008, 05:22 PM
Still no system sounds, and the terminal outputs look the same as far as I can tell. Amarok can play, but the system sound won't.

Check your PCM volume again. Part C, Step 3.

psyke83
November 26th, 2008, 05:24 PM
From a ARS Technica review of Fedora 10:

PA represents an enormous advancement for the Linux audio experience, but the transition has been challenging. The new glitch-free version of PulseAudio smooths out some of the rough edges. It is a rewrite that implements timer-based audio scheduling. This will significantly reduce the potential for dropped audio and will facilitate better handling for latency. It could also potentially boost battery life by cutting down on the number of interrupts. This effort has been championed by Red Hat's Lennart Poettering and Fedora is the first distribution in which it will be included by default.

How about Ubuntu?

Jaunty already has the latest version of PulseAudio, and it's "glitch-free" in name only. See: http://ubuntuforums.org/showthread.php?t=993590

GepettoBR
November 26th, 2008, 05:34 PM
Jaunty already has the latest version of PulseAudio, and it's "glitch-free" in name only. See: http://ubuntuforums.org/showthread.php?t=993590

Jaunty is still in alpha. Nothing is glitch-free, even if it's supposed to be.

halovivek
November 26th, 2008, 05:48 PM
Ouch. You shouldn't have run those commands as superuser! This guide is to be followed under the assumption that you will open a terminal under your user's credentials; only actions that required privileges are elevated when necessary.

Run this:
$ sudo rm /root/.pulse* /root/.asound*

Then, go through the entire guide again, and this time do not enter the commands in a root shell.

i could not remove it says it is not allowed. could you please give me the correct.
i am having this image please guide me after this. i am really hating windows. i want to use only ubuntu. please understand

Schoappied
November 26th, 2008, 06:00 PM
$ pavucontrol
Segmentation fault


On two ubuntu hardy systems :( help needed here!

psyke83
November 26th, 2008, 06:08 PM
Jaunty is still in alpha. Nothing is glitch-free, even if it's supposed to be.

In principle I agree with your statement with respect to the expected stability of a development release, but it really is PulseAudio 0.9.13 at fault in this case:


Fedora 10 (released yesterday) includes PA 0.9.13 and exhibits the same stuttering.
Luke Yelavich (TheMuso) has been testing PA 0.9.13 since the late Intrepid development cycle, and it exhibited the same stuttering.

IMHO, the Ubuntu developers made a wise decision not to push the latest release for Intrepid.

psyke83
November 26th, 2008, 06:11 PM
i could not remove it says it is not allowed. could you please give me the correct.
i am having this image please guide me after this. i am really hating windows. i want to use only ubuntu. please understand

Well, enter a superuser shell and remove the files via "sudo su".

GepettoBR
November 26th, 2008, 06:15 PM
In principle I agree with your statement with respect to the expected stability of a development release, but it really is PulseAudio 0.9.13 at fault in this case:


Fedora 10 (released yesterday) includes PA 0.9.13 and exhibits the same stuttering.
Luke Yelavich (TheMuso) has been testing PA 0.9.13 since the late Intrepid development cycle, and it exhibited the same stuttering.

IMHO, the Ubuntu developers made a wise decision not to push the latest release for Intrepid.

Well, in this case things are different. Let's hope for a fix in the next release of PulseAudio, then. Is there a chance it'll make it in time for Jaunty's release?

psyke83
November 26th, 2008, 06:18 PM
Well, in this case things are different. Let's hope for a fix in the next release of PulseAudio, then. Is there a chance it'll make it in time for Jaunty's release?

That really depends on upstream's release schedule, or at least the appropriate fix being backported from git, when it materializes. Lennart did warn for the PA 0.9.11 release that the "glitch-free" code would introduce more incompatibility with ALSA clients, so it's hard to tell what's going to happen.

psyke83
November 26th, 2008, 07:53 PM
$ pavucontrol
Segmentation fault


On two ubuntu hardy systems :( help needed here!

Give the requested output from Appendix A.

Schoappied
November 27th, 2008, 07:22 AM
thanks for your reply!

$ pavucontrol
Segmentation fault



$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: M2496 [M Audio Audiophile 24/96], device 0: ICE1712 multi [ICE1712 multi]
Subdevices: 1/1
Subdevice #0: subdevice #0


$ pkill pulseaudio; sleep 2; pulseaudio -vv
I: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
I: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
I: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
I: main.c: Note that real-time/high-priority scheduling is NOT normally required. If you experience crackling or other sound anomalies, consider one or more of the above solutions.
I: main.c: High-priority scheduling enabled in configuration but now allowed by policy. Disabling forcibly.
I: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_1412_1712_sound_card_0_a lsa_playback_0'
D: alsa-util.c: Trying front:0...
I: alsa-util.c: PCM device front:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround40:0...
I: alsa-util.c: PCM device surround40:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround41:0...
I: alsa-util.c: PCM device surround41:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround50:0...
I: alsa-util.c: PCM device surround50:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround51:0...
I: alsa-util.c: PCM device surround51:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround71:0...
ALSA lib conf.c:3952:(snd_config_expand) Unknown parameters 0
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM surround71:0
I: alsa-util.c: Couldn't open PCM device surround71:0: Invalid argument
D: alsa-util.c: Trying hw:0 as last resort...
W: alsa-util.c: Device hw:0 doesn't support 2 channels, changed to 10.
W: alsa-util.c: Device hw:0 doesn't support sample format s16le, changed to s32le.
I: module-alsa-sink.c: Successfully opened device hw:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Cannot find mixer control "Master".
W: alsa-util.c: Cannot find fallback mixer control "PCM".
D: sink.c: Assertion 'map && pa_channel_map_valid(map)' failed at pulsecore/sink.c:78, function pa_sink_new.
E: module-alsa-sink.c: Failed to create sink object
E: module.c: Failed to load module "module-alsa-sink" (argument: "device_id=0 sink_name=alsa_output.pci_1412_1712_sound_card_0_a lsa_playback_0"): initialization failed.
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1412_1712_sound_card_0_alsa_playback_0
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_1412_1712_sound_card_0_ alsa_capture_0'
D: alsa-util.c: Trying front:0...
I: alsa-util.c: PCM device front:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround40:0...
I: alsa-util.c: PCM device surround40:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround41:0...
I: alsa-util.c: PCM device surround41:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround50:0...
I: alsa-util.c: PCM device surround50:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround51:0...
I: alsa-util.c: PCM device surround51:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround71:0...
ALSA lib conf.c:3952:(snd_config_expand) Unknown parameters 0
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM surround71:0
I: alsa-util.c: Couldn't open PCM device surround71:0: Invalid argument
D: alsa-util.c: Trying hw:0 as last resort...
W: alsa-util.c: Device hw:0 doesn't support 2 channels, changed to 12.
W: alsa-util.c: Device hw:0 doesn't support sample format s16le, changed to s32le.
I: module-alsa-source.c: Successfully opened device hw:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Cannot find mixer control "Capture".
W: alsa-util.c: Cannot find fallback mixer control "Mic".
D: source.c: Assertion 'map && pa_channel_map_valid(map)' failed at pulsecore/source.c:69, function pa_source_new.
E: module-alsa-source.c: Failed to create source object
E: module.c: Failed to load module "module-alsa-source" (argument: "device_id=0 source_name=alsa_input.pci_1412_1712_sound_card_0_ alsa_capture_0"): initialization failed.
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1412_1712_sound_card_0_alsa_capture_0
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1412_1712_sound_card_0_alsa_midi_0
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1412_1712_sound_card_0_alsa_control__1
I: module-hal-detect.c: Loaded 0 modules.
I: module.c: Loaded "module-hal-detect" (index: #0; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #1; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #2; argument: "").
I: module-volume-restore.c: starting with empty ruleset.
I: module.c: Loaded "module-volume-restore" (index: #3; argument: "").
D: module-default-device-restore.c: No previous default sink setting, ignoring.
D: module-default-device-restore.c: No previous default source setting, ignoring.
I: module.c: Loaded "module-default-device-restore" (index: #4; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #5; argument: "").
I: module.c: Loaded "module-suspend-on-idle" (index: #6; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
I: module.c: Loaded "module-gconf" (index: #7; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #8; argument: "").
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired

Schoappied
November 27th, 2008, 07:01 PM
I updated my Ubuntu to 8.10 and I can launch pavucontrol now, but no devices show up there

jack@ubuntu:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: M2496 [M Audio Audiophile 24/96], device 0: ICE1712 multi [ICE1712 multi]
Subdevices: 1/1
Subdevice #0: subdevice #0
jack@ubuntu:~$ pkill pulseaudio; sleep 2; pulseaudio -vv
I: main.c: PolicyKit refuses acquire-high-priority privilige.
I: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
I: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
I: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
I: main.c: Note that real-time/high-priority scheduling is NOT normally required. If you experience crackling or other sound anomalies, consider one or more of the above solutions.
I: main.c: High-priority scheduling enabled in configuration but now allowed by policy. Disabling forcibly.
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_1412_1712_sound_card_0_a lsa_playback_0'
D: alsa-util.c: Trying front:0...
I: alsa-util.c: PCM device front:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround40:0...
I: alsa-util.c: PCM device surround40:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround41:0...
I: alsa-util.c: PCM device surround41:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround50:0...
I: alsa-util.c: PCM device surround50:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround51:0...
I: alsa-util.c: PCM device surround51:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround71:0...
ALSA lib conf.c:3952:(snd_config_expand) Unknown parameters 0
ALSA lib pcm.c:2196:(snd_pcm_open_noupdate) Unknown PCM surround71:0
I: alsa-util.c: Couldn't open PCM device surround71:0: Invalid argument
D: alsa-util.c: Trying hw:0 as last resort...
W: alsa-util.c: Device hw:0 doesn't support 2 channels, changed to 10.
W: alsa-util.c: Device hw:0 doesn't support sample format s16le, changed to s32le.
I: module-alsa-sink.c: Successfully opened device hw:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Cannot find mixer control "Master".
W: alsa-util.c: Cannot find fallback mixer control "PCM".
D: sink.c: Assertion 'map && pa_channel_map_valid(map)' failed at pulsecore/sink.c:78, function pa_sink_new.
E: module-alsa-sink.c: Failed to create sink object
E: module.c: Failed to load module "module-alsa-sink" (argument: "device_id=0 sink_name=alsa_output.pci_1412_1712_sound_card_0_a lsa_playback_0"): initialization failed.
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1412_1712_sound_card_0_alsa_playback_0
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_1412_1712_sound_card_0_ alsa_capture_0'
D: alsa-util.c: Trying front:0...
I: alsa-util.c: PCM device front:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround40:0...
I: alsa-util.c: PCM device surround40:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround41:0...
I: alsa-util.c: PCM device surround41:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround50:0...
I: alsa-util.c: PCM device surround50:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround51:0...
I: alsa-util.c: PCM device surround51:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround71:0...
ALSA lib conf.c:3952:(snd_config_expand) Unknown parameters 0
ALSA lib pcm.c:2196:(snd_pcm_open_noupdate) Unknown PCM surround71:0
I: alsa-util.c: Couldn't open PCM device surround71:0: Invalid argument
D: alsa-util.c: Trying hw:0 as last resort...
W: alsa-util.c: Device hw:0 doesn't support 2 channels, changed to 12.
W: alsa-util.c: Device hw:0 doesn't support sample format s16le, changed to s32le.
I: module-alsa-source.c: Successfully opened device hw:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Cannot find mixer control "Capture".
W: alsa-util.c: Cannot find fallback mixer control "Mic".
D: source.c: Assertion 'map && pa_channel_map_valid(map)' failed at pulsecore/source.c:69, function pa_source_new.
E: module-alsa-source.c: Failed to create source object
E: module.c: Failed to load module "module-alsa-source" (argument: "device_id=0 source_name=alsa_input.pci_1412_1712_sound_card_0_ alsa_capture_0"): initialization failed.
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1412_1712_sound_card_0_alsa_capture_0
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1412_1712_sound_card_0_alsa_midi_0
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1412_1712_sound_card_0_alsa_control__1
I: module-hal-detect.c: Loaded 0 modules.
I: module.c: Loaded "module-hal-detect" (index: #0; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #1; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #2; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
I: module.c: Loaded "module-gconf" (index: #3; argument: "").
I: module-volume-restore.c: starting with empty ruleset.
I: module.c: Loaded "module-volume-restore" (index: #4; argument: "").
D: module-default-device-restore.c: No previous default sink setting, ignoring.
D: module-default-device-restore.c: No previous default source setting, ignoring.
I: module.c: Loaded "module-default-device-restore" (index: #5; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #6; argument: "").
I: module.c: Loaded "module-suspend-on-idle" (index: #7; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #8; argument: "").
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
^CI: main.c: Got signal SIGINT.
I: main.c: Exiting.
I: main.c: Daemon shutdown initiated.
I: module.c: Unloading "module-hal-detect" (index: #0).
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus.Local, path=/org/freedesktop/DBus/Local, member=Disconnected
I: module.c: Unloaded "module-hal-detect" (index: #0).
I: module.c: Unloading "module-esound-protocol-unix" (index: #1).
I: module.c: Unloaded "module-esound-protocol-unix" (index: #1).
I: module.c: Unloading "module-native-protocol-unix" (index: #2).
I: module.c: Unloaded "module-native-protocol-unix" (index: #2).
I: module.c: Unloading "module-gconf" (index: #3).
I: module.c: Unloaded "module-gconf" (index: #3).
I: module.c: Unloading "module-volume-restore" (index: #4).
I: module.c: Unloaded "module-volume-restore" (index: #4).
I: module.c: Unloading "module-default-device-restore" (index: #5).
I: module.c: Unloaded "module-default-device-restore" (index: #5).
I: module.c: Unloading "module-rescue-streams" (index: #6).
I: module.c: Unloaded "module-rescue-streams" (index: #6).
I: module.c: Unloading "module-suspend-on-idle" (index: #7).
I: module.c: Unloaded "module-suspend-on-idle" (index: #7).
I: module.c: Unloading "module-x11-publish" (index: #8).
I: module.c: Unloaded "module-x11-publish" (index: #8).
I: main.c: Daemon terminated.
jack@ubuntustudio:~$ pkill pulseaudio; sleep 2; pulseaudio -vv
I: main.c: PolicyKit refuses acquire-high-priority privilige.
I: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
I: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
I: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
I: main.c: Note that real-time/high-priority scheduling is NOT normally required. If you experience crackling or other sound anomalies, consider one or more of the above solutions.
I: main.c: High-priority scheduling enabled in configuration but now allowed by policy. Disabling forcibly.
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_1412_1712_sound_card_0_a lsa_playback_0'
D: alsa-util.c: Trying front:0...
I: alsa-util.c: PCM device front:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround40:0...
I: alsa-util.c: PCM device surround40:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround41:0...
I: alsa-util.c: PCM device surround41:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround50:0...
I: alsa-util.c: PCM device surround50:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround51:0...
I: alsa-util.c: PCM device surround51:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround71:0...
ALSA lib conf.c:3952:(snd_config_expand) Unknown parameters 0
ALSA lib pcm.c:2196:(snd_pcm_open_noupdate) Unknown PCM surround71:0
I: alsa-util.c: Couldn't open PCM device surround71:0: Invalid argument
D: alsa-util.c: Trying hw:0 as last resort...
W: alsa-util.c: Device hw:0 doesn't support 2 channels, changed to 10.
W: alsa-util.c: Device hw:0 doesn't support sample format s16le, changed to s32le.
I: module-alsa-sink.c: Successfully opened device hw:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Cannot find mixer control "Master".
W: alsa-util.c: Cannot find fallback mixer control "PCM".
D: sink.c: Assertion 'map && pa_channel_map_valid(map)' failed at pulsecore/sink.c:78, function pa_sink_new.
E: module-alsa-sink.c: Failed to create sink object
E: module.c: Failed to load module "module-alsa-sink" (argument: "device_id=0 sink_name=alsa_output.pci_1412_1712_sound_card_0_a lsa_playback_0"): initialization failed.
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1412_1712_sound_card_0_alsa_playback_0
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_1412_1712_sound_card_0_ alsa_capture_0'
D: alsa-util.c: Trying front:0...
I: alsa-util.c: PCM device front:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround40:0...
I: alsa-util.c: PCM device surround40:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround41:0...
I: alsa-util.c: PCM device surround41:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround50:0...
I: alsa-util.c: PCM device surround50:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround51:0...
I: alsa-util.c: PCM device surround51:0 refused our hw parameters: Invalid argument
D: alsa-util.c: Trying surround71:0...
ALSA lib conf.c:3952:(snd_config_expand) Unknown parameters 0
ALSA lib pcm.c:2196:(snd_pcm_open_noupdate) Unknown PCM surround71:0
I: alsa-util.c: Couldn't open PCM device surround71:0: Invalid argument
D: alsa-util.c: Trying hw:0 as last resort...
W: alsa-util.c: Device hw:0 doesn't support 2 channels, changed to 12.
W: alsa-util.c: Device hw:0 doesn't support sample format s16le, changed to s32le.
I: module-alsa-source.c: Successfully opened device hw:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Cannot find mixer control "Capture".
W: alsa-util.c: Cannot find fallback mixer control "Mic".
D: source.c: Assertion 'map && pa_channel_map_valid(map)' failed at pulsecore/source.c:69, function pa_source_new.
E: module-alsa-source.c: Failed to create source object
E: module.c: Failed to load module "module-alsa-source" (argument: "device_id=0 source_name=alsa_input.pci_1412_1712_sound_card_0_ alsa_capture_0"): initialization failed.
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1412_1712_sound_card_0_alsa_capture_0
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1412_1712_sound_card_0_alsa_midi_0
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1412_1712_sound_card_0_alsa_control__1
I: module-hal-detect.c: Loaded 0 modules.
I: module.c: Loaded "module-hal-detect" (index: #0; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #1; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #2; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
I: module.c: Loaded "module-gconf" (index: #3; argument: "").
I: module-volume-restore.c: starting with empty ruleset.
I: module.c: Loaded "module-volume-restore" (index: #4; argument: "").
D: module-default-device-restore.c: No previous default sink setting, ignoring.
D: module-default-device-restore.c: No previous default source setting, ignoring.
I: module.c: Loaded "module-default-device-restore" (index: #5; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #6; argument: "").
I: module.c: Loaded "module-suspend-on-idle" (index: #7; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #8; argument: "").
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired

BeShrewd
November 28th, 2008, 05:50 AM
Hey, thanks for the tutorial, it great!

I'm really new to Linux, I just installed Ubuntu 8.10
I was refered to it because I couldn't get my Sound Blaster Live! Platinum 5.1 working, only the Intel on-board sound was active.
Now I can still see the SB Live! card in System->Preferences->Sound and I do get sound off it on the test (As opposed to before following the tutorial). Yet, in the PulseAudio's Volume Control->Playback(tab) the SB Live! doesn't show up as a device...

I do get sound now from the SB Live! but I think it's only through ALSA (Totem for example plays through it) yet Firefox, which does show up in the PulseAudio volume control plays sound only through the onboard device.

In addition to that, hot plugging doesn't seem to be working with the SB Live! when I plug in a headset on the front Live! drive (a front panel the card came with) the speakers on the back work simultaneous to the headset.

What can I do to fix this?

**** List of PLAYBACK Hardware Devices ****
card 0: Live [SBLive 5.1 [SB0060]], device 0: emu10k1 [ADC Capture/Standard PCM Playback]
Subdevices: 32/32
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
Subdevice #8: subdevice #8
Subdevice #9: subdevice #9
Subdevice #10: subdevice #10
Subdevice #11: subdevice #11
Subdevice #12: subdevice #12
Subdevice #13: subdevice #13
Subdevice #14: subdevice #14
Subdevice #15: subdevice #15
Subdevice #16: subdevice #16
Subdevice #17: subdevice #17
Subdevice #18: subdevice #18
Subdevice #19: subdevice #19
Subdevice #20: subdevice #20
Subdevice #21: subdevice #21
Subdevice #22: subdevice #22
Subdevice #23: subdevice #23
Subdevice #24: subdevice #24
Subdevice #25: subdevice #25
Subdevice #26: subdevice #26
Subdevice #27: subdevice #27
Subdevice #28: subdevice #28
Subdevice #29: subdevice #29
Subdevice #30: subdevice #30
Subdevice #31: subdevice #31
card 0: Live [SBLive 5.1 [SB0060]], device 2: emu10k1 efx [Multichannel Capture/PT Playback]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 0: Live [SBLive 5.1 [SB0060]], device 3: emu10k1 [Multichannel Playback]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: I82801DBICH4 [Intel 82801DB-ICH4], device 0: Intel ICH [Intel 82801DB-ICH4]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: I82801DBICH4 [Intel 82801DB-ICH4], device 4: Intel ICH - IEC958 [Intel 82801DB-ICH4 - IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0
nir@nir:~$ pkill pulseaudio; sleep 2; pulseaudio -vv
I: main.c: PolicyKit refuses acquire-high-priority privilige.
I: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
I: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
I: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
I: main.c: Note that real-time/high-priority scheduling is NOT normally required. If you experience crackling or other sound anomalies, consider one or more of the above solutions.
I: main.c: High-priority scheduling enabled in configuration but now allowed by policy. Disabling forcibly.
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
I: module-alsa-sink.c: Successfully opened device equalized.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL equalized
I: alsa-util.c: Unable to attach to mixer equalized: No such file or directory
I: alsa-util.c: Unable to attach to mixer hw:(null): No such device
I: sink.c: Created sink 0 "alsa_output.equalized" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 0 "alsa_output.equalized.monitor" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-sink.c: Using 8 fragments of size 1760 bytes.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #0; argument: "device=equalized").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_24c5_sound_card_0_alsa_playback_4
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_24c5_sound_card_0_alsa_capture_3
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_24c5_sound_card_0_alsa_capture_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_24c5_sound_card_0_alsa_capture_1
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=1 sink_name=alsa_output.pci_8086_24c5_sound_card_0_a lsa_playback_0'
D: alsa-util.c: Trying front:1...
I: module-alsa-sink.c: Successfully opened device front:1.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:1
I: alsa-util.c: Unable to attach to mixer front:1: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:1'
I: alsa-util.c: Using mixer control "Master".
I: sink.c: Created sink 1 "alsa_output.pci_8086_24c5_sound_card_0_alsa_playba ck_0" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 1 "alsa_output.pci_8086_24c5_sound_card_0_alsa_playba ck_0.monitor" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-sink.c: Using 8 fragments of size 1760 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #1; argument: "device_id=1 sink_name=alsa_output.pci_8086_24c5_sound_card_0_a lsa_playback_0").
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=1 source_name=alsa_input.pci_8086_24c5_sound_card_0_ alsa_capture_0'
D: alsa-util.c: Trying front:1...
I: module-alsa-source.c: Successfully opened device front:1.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:1
I: alsa-util.c: Unable to attach to mixer front:1: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:1'
I: alsa-util.c: Using mixer control "Capture".
I: source.c: Created source 2 "alsa_input.pci_8086_24c5_sound_card_0_alsa_capture _0" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-source.c: Using 8 fragments of size 1760 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+27
I: module.c: Loaded "module-alsa-source" (index: #2; argument: "device_id=1 source_name=alsa_input.pci_8086_24c5_sound_card_0_ alsa_capture_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_24c5_sound_card_0_alsa_control__1
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_2_sound_card_0_alsa_playback_3
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_2_sound_card_0_alsa_playback_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_2_sound_card_0_alsa_capture_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_2_sound_card_0_alsa_capture_1
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_1102_2_sound_card_0_alsa _playback_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-sink.c: Successfully opened device front:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Master".
I: sink.c: Created sink 2 "alsa_output.pci_1102_2_sound_card_0_alsa_playback_ 0" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 3 "alsa_output.pci_1102_2_sound_card_0_alsa_playback_ 0.monitor" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-sink.c: Using 8 fragments of size 1760 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+26
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #3; argument: "device_id=0 sink_name=alsa_output.pci_1102_2_sound_card_0_alsa _playback_0").
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_1102_2_sound_card_0_als a_capture_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-source.c: Successfully opened device front:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Capture".
I: source.c: Created source 4 "alsa_input.pci_1102_2_sound_card_0_alsa_capture_0" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-source.c: Using 2 fragments of size 1792 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+25
I: module.c: Loaded "module-alsa-source" (index: #4; argument: "device_id=0 source_name=alsa_input.pci_1102_2_sound_card_0_als a_capture_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_2_sound_card_0_alsa_midi_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_2_sound_card_0_alsa_midi_1
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_2_sound_card_0_alsa_midi_0
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_2_sound_card_0_alsa_hw_specific_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_2_sound_card_0_alsa_hw_specific_0
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_2_sound_card_0_alsa_control__1
I: module-hal-detect.c: Loaded 4 modules.
I: module.c: Loaded "module-hal-detect" (index: #5; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #6; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #7; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
I: module.c: Loaded "module-gconf" (index: #8; argument: "").
I: module.c: Loaded "module-volume-restore" (index: #9; argument: "").
D: module-default-device-restore.c: Restored default sink 'alsa_output.equalized'.
D: core-subscribe.c: dropped redundant event.
D: module-default-device-restore.c: Restored default source 'alsa_input.pci_8086_24c5_sound_card_0_alsa_captur e_0'.
I: module.c: Loaded "module-default-device-restore" (index: #10; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #11; argument: "").
D: module-suspend-on-idle.c: Sink alsa_output.equalized becomes idle.
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_24c5_sound_card_0_alsa_playba ck_0 becomes idle.
D: module-suspend-on-idle.c: Sink alsa_output.pci_1102_2_sound_card_0_alsa_playback_ 0 becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.equalized.monitor becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.pci_8086_24c5_sound_card_0_alsa_playba ck_0.monitor becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.pci_8086_24c5_sound_card_0_alsa_capture _0 becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.pci_1102_2_sound_card_0_alsa_playback_ 0.monitor becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.pci_1102_2_sound_card_0_alsa_capture_0 becomes idle.
I: module.c: Loaded "module-suspend-on-idle" (index: #12; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #13; argument: "").
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
I: module-suspend-on-idle.c: Source alsa_input.pci_1102_2_sound_card_0_alsa_capture_0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_output.pci_1102_2_sound_card_0_alsa_playback_ 0.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Source alsa_input.pci_8086_24c5_sound_card_0_alsa_capture _0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_output.pci_8086_24c5_sound_card_0_alsa_playba ck_0.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Source alsa_output.equalized.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Sink alsa_output.pci_1102_2_sound_card_0_alsa_playback_ 0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...
I: module-suspend-on-idle.c: Sink alsa_output.pci_8086_24c5_sound_card_0_alsa_playba ck_0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...
I: module-suspend-on-idle.c: Sink alsa_output.equalized idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...
I: client.c: Created 0 "Native client (UNIX socket client)"
I: protocol-native.c: Got credentials: uid=1000 gid=1000 success=1
I: protocol-native.c: Enabled SHM for new connection
I: client.c: Client 0 changed name from "Native client (UNIX socket client)" to "PulseAudio Volume Control"
I: client.c: Freed 0 "PulseAudio Volume Control"
I: protocol-native.c: connection died.
I: client.c: Created 1 "EsounD client (UNIX socket client)"
D: protocol-esound.c: read(): EOF
I: client.c: Freed 1 "EsounD client (UNIX socket client)"

~$ pkill pulseaudio; sleep 2; pulseaudio -vv

I: main.c: PolicyKit refuses acquire-high-priority privilige.
I: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
I: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
I: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
I: main.c: Note that real-time/high-priority scheduling is NOT normally required. If you experience crackling or other sound anomalies, consider one or more of the above solutions.
I: main.c: High-priority scheduling enabled in configuration but now allowed by policy. Disabling forcibly.
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
I: module-alsa-sink.c: Successfully opened device equalized.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL equalized
I: alsa-util.c: Unable to attach to mixer equalized: No such file or directory
I: alsa-util.c: Unable to attach to mixer hw:(null): No such device
I: sink.c: Created sink 0 "alsa_output.equalized" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 0 "alsa_output.equalized.monitor" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-sink.c: Using 8 fragments of size 1760 bytes.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #0; argument: "device=equalized").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_24c5_sound_card_0_alsa_playback_4
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_24c5_sound_card_0_alsa_capture_3
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_24c5_sound_card_0_alsa_capture_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_24c5_sound_card_0_alsa_capture_1
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=1 sink_name=alsa_output.pci_8086_24c5_sound_card_0_a lsa_playback_0'
D: alsa-util.c: Trying front:1...
I: module-alsa-sink.c: Successfully opened device front:1.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:1
I: alsa-util.c: Unable to attach to mixer front:1: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:1'
I: alsa-util.c: Using mixer control "Master".
I: sink.c: Created sink 1 "alsa_output.pci_8086_24c5_sound_card_0_alsa_playba ck_0" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 1 "alsa_output.pci_8086_24c5_sound_card_0_alsa_playba ck_0.monitor" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-sink.c: Using 8 fragments of size 1760 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #1; argument: "device_id=1 sink_name=alsa_output.pci_8086_24c5_sound_card_0_a lsa_playback_0").
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=1 source_name=alsa_input.pci_8086_24c5_sound_card_0_ alsa_capture_0'
D: alsa-util.c: Trying front:1...
I: module-alsa-source.c: Successfully opened device front:1.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:1
I: alsa-util.c: Unable to attach to mixer front:1: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:1'
I: alsa-util.c: Using mixer control "Capture".
I: source.c: Created source 2 "alsa_input.pci_8086_24c5_sound_card_0_alsa_capture _0" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-source.c: Using 8 fragments of size 1760 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+27
I: module.c: Loaded "module-alsa-source" (index: #2; argument: "device_id=1 source_name=alsa_input.pci_8086_24c5_sound_card_0_ alsa_capture_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_24c5_sound_card_0_alsa_control__1
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_2_sound_card_0_alsa_playback_3
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_2_sound_card_0_alsa_playback_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_2_sound_card_0_alsa_capture_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_2_sound_card_0_alsa_capture_1
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_1102_2_sound_card_0_alsa _playback_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-sink.c: Successfully opened device front:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Master".
I: sink.c: Created sink 2 "alsa_output.pci_1102_2_sound_card_0_alsa_playback_ 0" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 3 "alsa_output.pci_1102_2_sound_card_0_alsa_playback_ 0.monitor" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-sink.c: Using 8 fragments of size 1760 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+26
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #3; argument: "device_id=0 sink_name=alsa_output.pci_1102_2_sound_card_0_alsa _playback_0").
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_1102_2_sound_card_0_als a_capture_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-source.c: Successfully opened device front:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Capture".
I: source.c: Created source 4 "alsa_input.pci_1102_2_sound_card_0_alsa_capture_0" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-source.c: Using 2 fragments of size 1792 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+25
I: module.c: Loaded "module-alsa-source" (index: #4; argument: "device_id=0 source_name=alsa_input.pci_1102_2_sound_card_0_als a_capture_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_2_sound_card_0_alsa_midi_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_2_sound_card_0_alsa_midi_1
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_2_sound_card_0_alsa_midi_0
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_2_sound_card_0_alsa_hw_specific_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_2_sound_card_0_alsa_hw_specific_0
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_2_sound_card_0_alsa_control__1
I: module-hal-detect.c: Loaded 4 modules.
I: module.c: Loaded "module-hal-detect" (index: #5; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #6; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #7; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
I: module.c: Loaded "module-gconf" (index: #8; argument: "").
I: module.c: Loaded "module-volume-restore" (index: #9; argument: "").
D: module-default-device-restore.c: Restored default sink 'alsa_output.equalized'.
D: core-subscribe.c: dropped redundant event.
D: module-default-device-restore.c: Restored default source 'alsa_input.pci_8086_24c5_sound_card_0_alsa_captur e_0'.
I: module.c: Loaded "module-default-device-restore" (index: #10; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #11; argument: "").
D: module-suspend-on-idle.c: Sink alsa_output.equalized becomes idle.
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_24c5_sound_card_0_alsa_playba ck_0 becomes idle.
D: module-suspend-on-idle.c: Sink alsa_output.pci_1102_2_sound_card_0_alsa_playback_ 0 becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.equalized.monitor becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.pci_8086_24c5_sound_card_0_alsa_playba ck_0.monitor becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.pci_8086_24c5_sound_card_0_alsa_capture _0 becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.pci_1102_2_sound_card_0_alsa_playback_ 0.monitor becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.pci_1102_2_sound_card_0_alsa_capture_0 becomes idle.
I: module.c: Loaded "module-suspend-on-idle" (index: #12; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #13; argument: "").
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
I: module-suspend-on-idle.c: Source alsa_input.pci_1102_2_sound_card_0_alsa_capture_0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_output.pci_1102_2_sound_card_0_alsa_playback_ 0.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Source alsa_input.pci_8086_24c5_sound_card_0_alsa_capture _0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_output.pci_8086_24c5_sound_card_0_alsa_playba ck_0.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Source alsa_output.equalized.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Sink alsa_output.pci_1102_2_sound_card_0_alsa_playback_ 0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...
I: module-suspend-on-idle.c: Sink alsa_output.pci_8086_24c5_sound_card_0_alsa_playba ck_0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...
I: module-suspend-on-idle.c: Sink alsa_output.equalized idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...

buntu_hugenewbie11
November 28th, 2008, 03:34 PM
I followed these instructions (page 1) and could no longer use audacious or amarok.
I am using Hardy 64 bit. Below is the output with plenty of errors.
Am I best off by just removing pulseaudio?
Just want to hear my MP3s again.
How would I go back to removing or not using pulse?

When I run pavucontrol I get
segmentation fault

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: AD198x Digital [AD198x Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]
Subdevices: 1/1
Subdevice #0: subdevice #0


$pkill pulseaudio; sleep 2; pulseaudio -vv
pkill: 14124 - Operation not permitted
I: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
I: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
I: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
I: main.c: Note that real-time/high-priority scheduling is NOT normally required. If you experience crackling or other sound anomalies, consider one or more of the above solutions.
I: main.c: High-priority scheduling enabled in configuration but now allowed by policy. Disabling forcibly.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_27d8_sound_card_0_alsa_playback_6
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_27d8_sound_card_0_alsa_capture_6
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_27d8_sound_card_0_alsa_playback_1
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_8086_27d8_sound_card_0_a lsa_playback_0'
D: alsa-util.c: Trying front:0...
I: alsa-util.c: Couldn't open PCM device front:0: Device or resource busy
D: alsa-util.c: Trying surround40:0...
I: alsa-util.c: Couldn't open PCM device surround40:0: Device or resource busy
D: alsa-util.c: Trying surround41:0...
I: alsa-util.c: Couldn't open PCM device surround41:0: Device or resource busy
D: alsa-util.c: Trying surround50:0...
I: alsa-util.c: Couldn't open PCM device surround50:0: Device or resource busy
D: alsa-util.c: Trying surround51:0...
I: alsa-util.c: Couldn't open PCM device surround51:0: Device or resource busy
D: alsa-util.c: Trying surround71:0...
I: alsa-util.c: Couldn't open PCM device surround71:0: Device or resource busy
D: alsa-util.c: Trying hw:0 as last resort...
E: alsa-util.c: Error opening PCM device hw:0: Device or resource busy
E: module.c: Failed to load module "module-alsa-sink" (argument: "device_id=0 sink_name=alsa_output.pci_8086_27d8_sound_card_0_a lsa_playback_0"): initialization failed.
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_27d8_sound_card_0_alsa_playback_0
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_8086_27d8_sound_card_0_ alsa_capture_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-source.c: Successfully opened device front:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Capture".
I: source.c: Created source 0 "alsa_input.pci_8086_27d8_sound_card_0_alsa_capture _0" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-source.c: Using 8 fragments of size 896 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module.c: Loaded "module-alsa-source" (index: #0; argument: "device_id=0 source_name=alsa_input.pci_8086_27d8_sound_card_0_ alsa_capture_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_27d8_sound_card_0_alsa_hw_specific_1
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_27d8_sound_card_0_alsa_hw_specific_0
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_27d8_sound_card_0_alsa_control__1
I: module-hal-detect.c: Loaded 1 modules.
I: module.c: Loaded "module-hal-detect" (index: #1; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #2; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #3; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
D: module-gconf.c: Loading module 'module-zeroconf-discover' with args '' due to GConf configuration.
I: module.c: Loaded "module-zeroconf-discover" (index: #4; argument: "").
I: module.c: Loaded "module-gconf" (index: #5; argument: "").
I: module.c: Loaded "module-volume-restore" (index: #6; argument: "").
D: module-default-device-restore.c: No previous default sink setting, ignoring.
D: module-default-device-restore.c: Restored default source 'alsa_input.pci_8086_27d8_sound_card_0_alsa_captur e_0'.
I: module.c: Loaded "module-default-device-restore" (index: #7; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #8; argument: "").
D: module-suspend-on-idle.c: Source alsa_input.pci_8086_27d8_sound_card_0_alsa_capture _0 becomes idle.
I: module.c: Loaded "module-suspend-on-idle" (index: #9; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-x11-publish.so': failure
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
I: module-suspend-on-idle.c: Source alsa_input.pci_8086_27d8_sound_card_0_alsa_capture _0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: client.c: Created 0 "EsounD client (UNIX socket client)"

nexist
November 29th, 2008, 05:40 PM
Since I just quit smoking, I got really frustrated and decided to install Xubuntu. Since this had the same problems, I started checking and found that I had two sound devices, one forgotten built into the motherboard. I disabled it at the BIOS level and it started working. I've reinstalled Ubuntu and all seems to be working. I am still waiting for Songbird to finish reading in the library, but I have system sounds and everything else now.

psyke83
November 29th, 2008, 06:37 PM
Since I just quit smoking, I got really frustrated and decided to install Xubuntu. Since this had the same problems, I started checking and found that I had two sound devices, one forgotten built into the motherboard. I disabled it at the BIOS level and it started working. I've reinstalled Ubuntu and all seems to be working. I am still waiting for Songbird to finish reading in the library, but I have system sounds and everything else now.

Keep in mind that Xubuntu does not have PulseAudio integrated by default. This guide was written only with the GNOME release in mind (so following this guide may give you problems).

psyke83
November 29th, 2008, 06:40 PM
I followed these instructions (page 1) and could no longer use audacious or amarok.
I am using Hardy 64 bit. Below is the output with plenty of errors.
Am I best off by just removing pulseaudio?
Just want to hear my MP3s again.
How would I go back to removing or not using pulse?

When I run pavucontrol I get
segmentation fault


Are you running Kubuntu? This guide is only for the GNOME version (as it is the only DE configured to use PulseAudio by default).

Nevertheless, your output indicates that your sound card is being used by another application. Ensure you don't have any daemons running that may use the sound card (e.g. MPD).

psyke83
November 29th, 2008, 06:50 PM
Hey, thanks for the tutorial, it great!

I'm really new to Linux, I just installed Ubuntu 8.10
I was refered to it because I couldn't get my Sound Blaster Live! Platinum 5.1 working, only the Intel on-board sound was active.
Now I can still see the SB Live! card in System->Preferences->Sound and I do get sound off it on the test (As opposed to before following the tutorial). Yet, in the PulseAudio's Volume Control->Playback(tab) the SB Live! doesn't show up as a device...

I do get sound now from the SB Live! but I think it's only through ALSA (Totem for example plays through it) yet Firefox, which does show up in the PulseAudio volume control plays sound only through the onboard device.

In addition to that, hot plugging doesn't seem to be working with the SB Live! when I plug in a headset on the front Live! drive (a front panel the card came with) the speakers on the back work simultaneous to the headset.

What can I do to fix this?

**** List of PLAYBACK Hardware Devices ****
card 0: Live [SBLive 5.1 [SB0060]], device 0: emu10k1 [ADC Capture/Standard PCM Playback]
Subdevices: 32/32
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
Subdevice #8: subdevice #8
Subdevice #9: subdevice #9
Subdevice #10: subdevice #10
Subdevice #11: subdevice #11
Subdevice #12: subdevice #12
Subdevice #13: subdevice #13
Subdevice #14: subdevice #14
Subdevice #15: subdevice #15
Subdevice #16: subdevice #16
Subdevice #17: subdevice #17
Subdevice #18: subdevice #18
Subdevice #19: subdevice #19
Subdevice #20: subdevice #20
Subdevice #21: subdevice #21
Subdevice #22: subdevice #22
Subdevice #23: subdevice #23
Subdevice #24: subdevice #24
Subdevice #25: subdevice #25
Subdevice #26: subdevice #26
Subdevice #27: subdevice #27
Subdevice #28: subdevice #28
Subdevice #29: subdevice #29
Subdevice #30: subdevice #30
Subdevice #31: subdevice #31
card 0: Live [SBLive 5.1 [SB0060]], device 2: emu10k1 efx [Multichannel Capture/PT Playback]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 0: Live [SBLive 5.1 [SB0060]], device 3: emu10k1 [Multichannel Playback]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: I82801DBICH4 [Intel 82801DB-ICH4], device 0: Intel ICH [Intel 82801DB-ICH4]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: I82801DBICH4 [Intel 82801DB-ICH4], device 4: Intel ICH - IEC958 [Intel 82801DB-ICH4 - IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0


First, determine which device you wish to make the default for PulseAudio from the output above.

Let's imagine the device you want to use is:
card 0: Live [SBLive 5.1 [SB0060]], device 3: emu10k1 [Multichannel Playback]

Edit /etc/pulse/default.pa.

Find this line, marked in blue:
### Load audio drivers statically (it's probably better to not load
### these drivers manually, but instead use module-hal-detect --
### see below -- for doing this automatically)
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input

Change the line in blue to:

load-module module-alsa-sink device=hw:0,3

Note 1: Be sure to remove the hash symbol (#) from the beginning of this line.
Note 2: substitute "hw:0,3" for the correct device you wish to use - you can determine the proper device from your "aplay -l" output.

psyke83
November 29th, 2008, 06:54 PM
I updated my Ubuntu to 8.10 and I can launch pavucontrol now, but no devices show up there


Another application is preventing PulseAudio from gaining direct access to your sound card (e.g. a media player, MPD, JACK). PulseAudio must have exclusive access when you log in.

Tsu Dho Nimh
November 29th, 2008, 09:45 PM
I was running Ubuntu 8.04 with no audio problems ... then the mobo fried.

New mobo is an XFX Motherboard Series with Chipset/VGA NVIDIA GeForce 8200 and I am using its built-in sound output ports.

The new motherboard, even after following the steps above, has extremely poor sound quality. With the PulseAudio volume set at 100% I can faintly hear music over a buzzing, almost jack-hammering interference buzz. MP3s and WAV files I listened to before the mobo change are much worse now.

Any suggestions?

diwas
November 30th, 2008, 03:16 AM
Thank you...this works flawlessly for me...(intrepid).
And i kinda like the equalised sound. But is there any way that i cud manually change the equaliser setting?? I mean like increasing Bass...or decreasing treble...??

Thank you.

kylea
November 30th, 2008, 06:42 AM
I have Pulseaudio working fine on Interpid ibex - other than for Skype 2.0.0.72

I have to kill Pulseaudio to use Skype and then restart Pulseaudio. I have created two buttons to achieve this. Should this still be the case with version 2.0.0.72 of Skype.

I am sorry if this has been answered before, however there are so many posts on this matters its quite difficult to know whats relevant and correct.

Sometimes I can leave Pulse running and as long as all other audio sources are stopped, Skype is happy. I have all my Skype audio settings set to: HDA Intel (hw:intel,0), but even if I change them as suggested to Pulse it makes no difference and mostly I cannot make a call.

kylea@kylea-e6500:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0


kylea@kylea-e6500:~$ pkill pulseaudio; sleep 2; pulseaudio -vv
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
I: caps.c: Dropping root priviliges.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
D: main.c: Started as real root: no, suid root: yes
I: main.c: We're in the group 'pulse-rt', allowing high-priority scheduling.
I: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: core-util.c: Successfully gained nice level -11.
I: main.c: Giving up CAP_NICE
D: main.c: Can realtime: no, can high-priority: no
W: ltdl-bind-now.c: Failed to find original dlopen loader.
I: main.c: This is PulseAudio 0.9.13
D: main.c: Compilation host: x86_64-pc-linux-gnu
D: main.c: Compilation CFLAGS: -g -O2 -g -Wall -O2 -Wall -W -Wextra -pedantic -pipe -Wno-long-long -Wvla -Wno-overlength-strings -Wconversion -Wundef -Wformat -Wlogical-op -Wpacked -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wcast-align -Wwrite-strings -Wno-unused-parameter -ffast-math
D: main.c: Running on host: Linux x86_64 2.6.27-9-generic #1 SMP Thu Nov 20 22:15:32 UTC 2008
I: main.c: Page size is 4096 bytes
D: main.c: Compiled with Valgrind support: no
D: main.c: Running in valgrind mode: no
D: main.c: Optimized build: yes
I: main.c: Machine ID is 90ff5a877d1860c3cd8b44e748ed5751.
I: main.c: Using runtime directory /home/kylea/.pulse/90ff5a877d1860c3cd8b44e748ed5751:runtime.
I: main.c: Using state directory /home/kylea/.pulse.
I: main.c: Running in system mode: no
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: memblock.c: Using shared memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_8086_293e_sound_card_0_a lsa_playback_0 tsched=1'
D: alsa-util.c: Trying front:0...
D: alsa-util.c: Maximum hw buffer size is 371 ms
I: module-alsa-sink.c: Successfully opened device front:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
I: module-alsa-sink.c: Successfully enabled timer-based scheduling mode.
I: (alsa-lib)control.c: Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Master".
I: sink.c: Created sink 0 "alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: source.c: Created source 0 "alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0.monitor" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: module-alsa-sink.c: Using 2 fragments of size 32768 bytes, buffer time is 371.52ms
I: module-alsa-sink.c: Time scheduling watermark is 20.00ms
D: module-alsa-sink.c: hwbuf_unused_frames=0
D: module-alsa-sink.c: setting avail_min=62005
I: module-alsa-sink.c: Volume ranges from 0 to 127.
I: module-alsa-sink.c: Volume ranges from -95.25 dB to 0.00 dB.
I: alsa-util.c: ALSA device lacks independant volume controls for each channel.
I: module-alsa-sink.c: Using hardware volume control. Hardware dB scale supported.
D: alsa-util.c: snd_pcm_dump():
D: alsa-util.c: Soft volume PCM
D: alsa-util.c: Control: PCM Playback Volume
D: alsa-util.c: min_dB: -51
D: alsa-util.c: max_dB: 0
D: alsa-util.c: resolution: 256
D: alsa-util.c: Its setup is:
D: alsa-util.c: stream : PLAYBACK
D: alsa-util.c: access : MMAP_INTERLEAVED
D: alsa-util.c: format : S16_LE
D: alsa-util.c: subformat : STD
D: alsa-util.c: channels : 2
D: alsa-util.c: rate : 44100
D: alsa-util.c: exact rate : 44100 (44100/1)
D: alsa-util.c: msbits : 16
D: alsa-util.c: buffer_size : 16384
D: alsa-util.c: period_size : 8192
D: alsa-util.c: period_time : 185759
D: alsa-util.c: tstamp_mode : NONE
D: alsa-util.c: period_step : 1
D: alsa-util.c: avail_min : 62005
D: alsa-util.c: period_event : 0
D: alsa-util.c: start_threshold : -1
D: alsa-util.c: stop_threshold : -1
D: alsa-util.c: silence_threshold: 0
D: alsa-util.c: silence_size : 0
D: alsa-util.c: boundary : 4611686018427387904
D: alsa-util.c: Slave: Hardware PCM card 0 'HDA Intel' device 0 subdevice 0
D: alsa-util.c: Its setup is:
D: alsa-util.c: stream : PLAYBACK
D: alsa-util.c: access : MMAP_INTERLEAVED
D: alsa-util.c: format : S16_LE
D: alsa-util.c: subformat : STD
D: alsa-util.c: channels : 2
D: alsa-util.c: rate : 44100
D: alsa-util.c: exact rate : 44100 (44100/1)
D: alsa-util.c: msbits : 16
D: alsa-util.c: buffer_size : 16384
D: alsa-util.c: period_size : 8192
D: alsa-util.c: period_time : 185759
D: alsa-util.c: tstamp_mode : NONE
D: alsa-util.c: period_step : 1
D: alsa-util.c: avail_min : 62005
D: alsa-util.c: period_event : 0
D: alsa-util.c: sta
D: module-alsa-sink.c: Read hardware volume: 0: 91% 1: 91%
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #0; argument: "device_id=0 sink_name=alsa_output.pci_8086_293e_sound_card_0_a lsa_playback_0 tsched=1").
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_8086_293e_sound_card_0_ alsa_capture_0 tsched=1'
D: alsa-util.c: Trying front:0...
D: alsa-util.c: Maximum hw buffer size is 371 ms
I: module-alsa-source.c: Successfully opened device front:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
I: module-alsa-source.c: Successfully enabled timer-based scheduling mode.
I: (alsa-lib)control.c: Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Capture".
I: source.c: Created source 1 "alsa_input.pci_8086_293e_sound_card_0_alsa_capture _0" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: module-alsa-source.c: Using 2 fragments of size 32768 bytes, buffer time is 371.52ms
I: module-alsa-source.c: Time scheduling watermark is 20.00ms
D: module-alsa-source.c: hwbuf_unused_frames=0
D: module-alsa-source.c: setting avail_min=62005
I: module-alsa-source.c: Volume ranges from 0 to 15.
I: module-alsa-source.c: Volume ranges from 0.00 dB to 22.50 dB.
I: alsa-util.c: All 2 channels can be mapped to mixer channels.
I: module-alsa-source.c: Using hardware volume control. Hardware dB scale supported.
D: alsa-util.c: snd_pcm_dump():
D: alsa-util.c: Soft volume PCM
D: alsa-util.c: Control: PCM Playback Volume
D: alsa-util.c: min_dB: -51
D: alsa-util.c: max_dB: 0
D: alsa-util.c: resolution: 256
D: alsa-util.c: Its setup is:
D: alsa-util.c: stream : CAPTURE
D: alsa-util.c: access : MMAP_INTERLEAVED
D: alsa-util.c: format : S16_LE
D: alsa-util.c: subformat : STD
D: alsa-util.c: channels : 2
D: alsa-util.c: rate : 44100
D: alsa-util.c: exact rate : 44100 (44100/1)
D: alsa-util.c: msbits : 16
D: alsa-util.c: buffer_size : 16384
D: alsa-util.c: period_size : 8192
D: alsa-util.c: period_time : 185759
D: alsa-util.c: tstamp_mode : NONE
D: alsa-util.c: period_step : 1
D: alsa-util.c: avail_min : 62005
D: alsa-util.c: period_event : 0
D: alsa-util.c: start_threshold : -1
D: alsa-util.c: stop_threshold : -1
D: alsa-util.c: silence_threshold: 0
D: alsa-util.c: silence_size : 0
D: alsa-util.c: boundary : 4611686018427387904
D: alsa-util.c: Slave: Hardware PCM card 0 'HDA Intel' device 0 subdevice 0
D: alsa-util.c: Its setup is:
D: alsa-util.c: stream : CAPTURE
D: alsa-util.c: access : MMAP_INTERLEAVED
D: alsa-util.c: format : S16_LE
D: alsa-util.c: subformat : STD
D: alsa-util.c: channels : 2
D: alsa-util.c: rate : 44100
D: alsa-util.c: exact rate : 44100 (44100/1)
D: alsa-util.c: msbits : 16
D: alsa-util.c: buffer_size : 16384
D: alsa-util.c: period_size : 8192
D: alsa-util.c: period_time : 185759
D: alsa-util.c: tstamp_mode : NONE
D: alsa-util.c: period_step : 1
D: alsa-util.c: avail_min : 62005
D: alsa-util.c: period_event : 0
D: alsa-util.c: start
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28
D: module-alsa-source.c: Read hardware volume: 0: 137% 1: 137%
I: module.c: Loaded "module-alsa-source" (index: #1; argument: "device_id=0 source_name=alsa_input.pci_8086_293e_sound_card_0_ alsa_capture_0 tsched=1").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_293e_sound_card_0_alsa_control__1
I: module-hal-detect.c: Loaded 2 modules.
I: module.c: Loaded "module-hal-detect" (index: #2; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #3; argument: "").
I: module.c: Loaded "module-native-protocol-unix" (index: #4; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
I: module.c: Loaded "module-gconf" (index: #5; argument: "").
I: module-stream-restore.c: Sucessfully opened database file '/home/kylea/.pulse/90ff5a877d1860c3cd8b44e748ed5751:stream-volumes.x86_64-pc-linux-gnu.gdbm'.
I: module.c: Loaded "module-stream-restore" (index: #6; argument: "").
I: module-device-restore.c: Sucessfully opened database file '/home/kylea/.pulse/90ff5a877d1860c3cd8b44e748ed5751:device-volumes.x86_64-pc-linux-gnu.gdbm'.
I: module.c: Loaded "module-device-restore" (index: #7; argument: "").
I: module-default-device-restore.c: Restored default sink 'alsa_output.pci_8086_293e_sound_card_0_alsa_playb ack_0'.
D: core-subscribe.c: Dropped redundant event due to change event.
I: module-default-device-restore.c: Restored default source 'alsa_input.pci_8086_293e_sound_card_0_alsa_captur e_0'.
I: module.c: Loaded "module-default-device-restore" (index: #8; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #9; argument: "").
I: module.c: Loaded "module-always-sink" (index: #10; argument: "").
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0 becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0.monitor becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.pci_8086_293e_sound_card_0_alsa_capture _0 becomes idle.
I: module.c: Loaded "module-suspend-on-idle" (index: #11; argument: "").
I: client.c: Created 0 "ConsoleKit Session /org/freedesktop/ConsoleKit/Session2"
D: module-console-kit.c: Added new session /org/freedesktop/ConsoleKit/Session2
I: module.c: Loaded "module-console-kit" (index: #12; argument: "").
I: module.c: Loaded "module-position-event-sounds" (index: #13; argument: "").
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
D: module-console-kit.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
I: module-suspend-on-idle.c: Source alsa_input.pci_8086_293e_sound_card_0_alsa_capture _0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Sink alsa_output.pci_8086_293e_sound_card_0_alsa_playba ck_0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...

sirjeppe
November 30th, 2008, 11:26 AM
I have tried to follow this guide but fails on step 5 in part A... No output devices is shown in the list - so I can (obviously) not get any connection between pulseaudio and my hardware (M-Audio Delta 66)... Sound is working fine in Amarok when set to OSS, but how do I get pulseaudio to recognize my sound card?

Please help me!

I'm on Ubuntu 8.10 on i386 and this is what aplay -l says:


**** Lista över PLAYBACK hårdvaruenheter ****
kort 0: M66 [M Audio Delta 66], enhet 0: ICE1712 multi [ICE1712 multi]
Underordnade enheter: 1/1
Underordnad enhet nr. 0: subdevice #0


And output from the other command:

I: main.c: Got signal SIGTERM.
I: main.c: Exiting.
I: main.c: Daemon shutdown initiated.
I: module.c: Unloading "module-hal-detect" (index: #0).
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus.Local, path=/org/freedesktop/DBus/Local, member=Disconnected
I: module.c: Unloaded "module-hal-detect" (index: #0).
I: module.c: Unloading "module-esound-protocol-unix" (index: #1).
I: module.c: Unloaded "module-esound-protocol-unix" (index: #1).
I: module.c: Unloading "module-native-protocol-unix" (index: #2).
I: module.c: Unloaded "module-native-protocol-unix" (index: #2).
I: module.c: Unloading "module-gconf" (index: #3).
I: module.c: Unloaded "module-gconf" (index: #3).
I: module.c: Unloading "module-volume-restore" (index: #4).
I: module.c: Unloaded "module-volume-restore" (index: #4).
I: module.c: Unloading "module-default-device-restore" (index: #5).
I: module.c: Unloaded "module-default-device-restore" (index: #5).
I: module.c: Unloading "module-rescue-streams" (index: #6).
I: module.c: Unloaded "module-rescue-streams" (index: #6).
I: module.c: Unloading "module-suspend-on-idle" (index: #7).
I: module.c: Unloaded "module-suspend-on-idle" (index: #7).
I: module.c: Unloading "module-x11-publish" (index: #8).
I: module.c: Unloaded "module-x11-publish" (index: #8).
I: main.c: Daemon terminated.
[1]+ Exit 1 pulseaudio -vv
I: main.c: PolicyKit refuses acquire-high-priority privilige.
I: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
I: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
I: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
I: main.c: Note that real-time/high-priority scheduling is NOT normally required. If you experience crackling or other sound anomalies, consider one or more of the above solutions.
I: main.c: High-priority scheduling enabled in configuration but now allowed by policy. Disabling forcibly.
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operationen inte tillåten
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operationen inte tillåten
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_1412_1712_sound_card_0_a lsa_playback_0'
D: alsa-util.c: Trying front:0...
I: alsa-util.c: PCM device front:0 refused our hw parameters: Ogiltigt argument
D: alsa-util.c: Trying surround40:0...
I: alsa-util.c: PCM device surround40:0 refused our hw parameters: Ogiltigt argument
D: alsa-util.c: Trying surround41:0...
I: alsa-util.c: PCM device surround41:0 refused our hw parameters: Ogiltigt argument
D: alsa-util.c: Trying surround50:0...
I: alsa-util.c: PCM device surround50:0 refused our hw parameters: Ogiltigt argument
D: alsa-util.c: Trying surround51:0...
I: alsa-util.c: PCM device surround51:0 refused our hw parameters: Ogiltigt argument
D: alsa-util.c: Trying surround71:0...
ALSA lib conf.c:3952:(snd_config_expand) Unknown parameters 0
ALSA lib pcm.c:2196:(snd_pcm_open_noupdate) Unknown PCM surround71:0
I: alsa-util.c: Couldn't open PCM device surround71:0: Ogiltigt argument
D: alsa-util.c: Trying hw:0 as last resort...
W: alsa-util.c: Device hw:0 doesn't support 2 channels, changed to 10.
W: alsa-util.c: Device hw:0 doesn't support sample format s16le, changed to s32le.
I: module-alsa-sink.c: Successfully opened device hw:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Cannot find mixer control "Master".
W: alsa-util.c: Cannot find fallback mixer control "PCM".
D: sink.c: Assertion 'map && pa_channel_map_valid(map)' failed at pulsecore/sink.c:78, function pa_sink_new.
E: module-alsa-sink.c: Failed to create sink object
E: module.c: Failed to load module "module-alsa-sink" (argument: "device_id=0 sink_name=alsa_output.pci_1412_1712_sound_card_0_a lsa_playback_0"): initialization failed.
sirjeppe@Whiz:~$ pkill pulseaudio; sleep 2; pulseaudio -vv
I: main.c: PolicyKit refuses acquire-high-priority privilige.
I: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
I: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
I: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
I: main.c: Note that real-time/high-priority scheduling is NOT normally required. If you experience crackling or other sound anomalies, consider one or more of the above solutions.
I: main.c: High-priority scheduling enabled in configuration but now allowed by policy. Disabling forcibly.
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operationen inte tillåten
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operationen inte tillåten
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_1412_1712_sound_card_0_a lsa_playback_0'
D: alsa-util.c: Trying front:0...
I: alsa-util.c: PCM device front:0 refused our hw parameters: Ogiltigt argument
D: alsa-util.c: Trying surround40:0...
I: alsa-util.c: PCM device surround40:0 refused our hw parameters: Ogiltigt argument
D: alsa-util.c: Trying surround41:0...
I: alsa-util.c: PCM device surround41:0 refused our hw parameters: Ogiltigt argument
D: alsa-util.c: Trying surround50:0...
I: alsa-util.c: PCM device surround50:0 refused our hw parameters: Ogiltigt argument
D: alsa-util.c: Trying surround51:0...
I: alsa-util.c: PCM device surround51:0 refused our hw parameters: Ogiltigt argument
D: alsa-util.c: Trying surround71:0...
ALSA lib conf.c:3952:(snd_config_expand) Unknown parameters 0
ALSA lib pcm.c:2196:(snd_pcm_open_noupdate) Unknown PCM surround71:0
I: alsa-util.c: Couldn't open PCM device surround71:0: Ogiltigt argument
D: alsa-util.c: Trying hw:0 as last resort...
W: alsa-util.c: Device hw:0 doesn't support 2 channels, changed to 10.
W: alsa-util.c: Device hw:0 doesn't support sample format s16le, changed to s32le.
I: module-alsa-sink.c: Successfully opened device hw:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Cannot find mixer control "Master".
W: alsa-util.c: Cannot find fallback mixer control "PCM".
D: sink.c: Assertion 'map && pa_channel_map_valid(map)' failed at pulsecore/sink.c:78, function pa_sink_new.
E: module-alsa-sink.c: Failed to create sink object
E: module.c: Failed to load module "module-alsa-sink" (argument: "device_id=0 sink_name=alsa_output.pci_1412_1712_sound_card_0_a lsa_playback_0"): initialization failed.
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1412_1712_sound_card_0_alsa_playback_0
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_1412_1712_sound_card_0_ alsa_capture_0'
D: alsa-util.c: Trying front:0...
I: alsa-util.c: PCM device front:0 refused our hw parameters: Ogiltigt argument
D: alsa-util.c: Trying surround40:0...
I: alsa-util.c: PCM device surround40:0 refused our hw parameters: Ogiltigt argument
D: alsa-util.c: Trying surround41:0...
I: alsa-util.c: PCM device surround41:0 refused our hw parameters: Ogiltigt argument
D: alsa-util.c: Trying surround50:0...
I: alsa-util.c: PCM device surround50:0 refused our hw parameters: Ogiltigt argument
D: alsa-util.c: Trying surround51:0...
I: alsa-util.c: PCM device surround51:0 refused our hw parameters: Ogiltigt argument
D: alsa-util.c: Trying surround71:0...
ALSA lib conf.c:3952:(snd_config_expand) Unknown parameters 0
ALSA lib pcm.c:2196:(snd_pcm_open_noupdate) Unknown PCM surround71:0
I: alsa-util.c: Couldn't open PCM device surround71:0: Ogiltigt argument
D: alsa-util.c: Trying hw:0 as last resort...
W: alsa-util.c: Device hw:0 doesn't support 2 channels, changed to 12.
W: alsa-util.c: Device hw:0 doesn't support sample format s16le, changed to s32le.
I: module-alsa-source.c: Successfully opened device hw:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Cannot find mixer control "Capture".
W: alsa-util.c: Cannot find fallback mixer control "Mic".
D: source.c: Assertion 'map && pa_channel_map_valid(map)' failed at pulsecore/source.c:69, function pa_source_new.
E: module-alsa-source.c: Failed to create source object
E: module.c: Failed to load module "module-alsa-source" (argument: "device_id=0 source_name=alsa_input.pci_1412_1712_sound_card_0_ alsa_capture_0"): initialization failed.
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1412_1712_sound_card_0_alsa_capture_0
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1412_1712_sound_card_0_alsa_control__1
I: module-hal-detect.c: Loaded 0 modules.
I: module.c: Loaded "module-hal-detect" (index: #0; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #1; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #2; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
I: module.c: Loaded "module-gconf" (index: #3; argument: "").
I: module-volume-restore.c: starting with empty ruleset.
I: module.c: Loaded "module-volume-restore" (index: #4; argument: "").
D: module-default-device-restore.c: No previous default sink setting, ignoring.
D: module-default-device-restore.c: No previous default source setting, ignoring.
I: module.c: Loaded "module-default-device-restore" (index: #5; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #6; argument: "").
I: module.c: Loaded "module-suspend-on-idle" (index: #7; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #8; argument: "").
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired


................... Thank you!

hwinkler
November 30th, 2008, 03:33 PM
Appendix C:

Skype: Open Skype's Options, then go to Sound Devices. You need to set "Sound In" and "Ringing" to the "pulse" device, and set "Sound Out" to the hardware definition of your microphone. For example, my laptop's microphone is defined as "plughw:I82801DBICH4,0".

I think you mean to set "Sound In" to the hardware definition of your microphone?

jirwin
November 30th, 2008, 10:13 PM
Oh, I need some advice. Loving Ubuntu so far but I can't get sounds from the system, applications, flash, nothing. I followed the steps from the tutorial, still no sound.

Here's my info, if you could point me in the right direction I'd be grateful, thanks............


The applications do not play audio and do list an entry in the Playback tab of the Pulse Audio Device Chooser


jake@Blinky:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: I82801DBICH4 [Intel 82801DB-ICH4], device 0: Intel ICH [Intel 82801DB-ICH4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: I82801DBICH4 [Intel 82801DB-ICH4], device 4: Intel ICH - IEC958 [Intel 82801DB-ICH4 - IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0


jake@Blinky:~$ pkill pulseaudio; sleep 2; pulseaudio -vv
I: main.c: PolicyKit refuses acquire-high-priority privilige.
I: main.c: We're in the group 'pulse-rt', allowing real-time and high-priority scheduling.
I: core-util.c: Successfully gained nice level -11.
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_24c5_sound_card_0_alsa_playback_4
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_24c5_sound_card_0_alsa_capture_3
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_24c5_sound_card_0_alsa_capture_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_24c5_sound_card_0_alsa_capture_1
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_8086_24c5_sound_card_0_a lsa_playback_0'
D: alsa-util.c: Trying front:0...
W: alsa-util.c: Device front:0 doesn't support 44100 Hz, changed to 48000 Hz.
I: module-alsa-sink.c: Successfully opened device front:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Master".
I: sink.c: Created sink 0 "alsa_output.pci_8086_24c5_sound_card_0_alsa_playba ck_0" with sample spec "s16le 2ch 48000Hz"
I: source.c: Created source 0 "alsa_output.pci_8086_24c5_sound_card_0_alsa_playba ck_0.monitor" with sample spec "s16le 2ch 48000Hz"
I: module-alsa-sink.c: Using 8 fragments of size 1760 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #0; argument: "device_id=0 sink_name=alsa_output.pci_8086_24c5_sound_card_0_a lsa_playback_0").
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_8086_24c5_sound_card_0_ alsa_capture_0'
D: alsa-util.c: Trying front:0...
W: alsa-util.c: Device front:0 doesn't support 44100 Hz, changed to 48000 Hz.
I: module-alsa-source.c: Successfully opened device front:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Capture".
I: source.c: Created source 1 "alsa_input.pci_8086_24c5_sound_card_0_alsa_capture _0" with sample spec "s16le 2ch 48000Hz"
I: module-alsa-source.c: Using 8 fragments of size 1760 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28
I: module.c: Loaded "module-alsa-source" (index: #1; argument: "device_id=0 source_name=alsa_input.pci_8086_24c5_sound_card_0_ alsa_capture_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_24c5_sound_card_0_alsa_control__1
I: module-hal-detect.c: Loaded 2 modules.
I: module.c: Loaded "module-hal-detect" (index: #2; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #3; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #4; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
I: module.c: Loaded "module-gconf" (index: #5; argument: "").
I: module.c: Loaded "module-volume-restore" (index: #6; argument: "").
D: module-default-device-restore.c: Restored default sink 'alsa_output.pci_8086_24c5_sound_card_0_alsa_playb ack_0'.
D: core-subscribe.c: dropped redundant event.
D: module-default-device-restore.c: Restored default source 'alsa_input.pci_8086_24c5_sound_card_0_alsa_captur e_0'.
I: module.c: Loaded "module-default-device-restore" (index: #7; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #8; argument: "").
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_24c5_sound_card_0_alsa_playba ck_0 becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.pci_8086_24c5_sound_card_0_alsa_playba ck_0.monitor becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.pci_8086_24c5_sound_card_0_alsa_capture _0 becomes idle.
I: module.c: Loaded "module-suspend-on-idle" (index: #9; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #10; argument: "").
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
I: module-suspend-on-idle.c: Source alsa_input.pci_8086_24c5_sound_card_0_alsa_capture _0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_output.pci_8086_24c5_sound_card_0_alsa_playba ck_0.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Sink alsa_output.pci_8086_24c5_sound_card_0_alsa_playba ck_0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT1, member=PropertyModified
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT1, member=PropertyModified

BeShrewd
December 1st, 2008, 07:55 AM
First, determine which device you wish to make the default for PulseAudio from the output above.

Let's imagine the device you want to use is:
card 0: Live [SBLive 5.1 [SB0060]], device 3: emu10k1 [Multichannel Playback]

Edit /etc/pulse/default.pa.

Find this line, marked in blue:
### Load audio drivers statically (it's probably better to not load
### these drivers manually, but instead use module-hal-detect --
### see below -- for doing this automatically)
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input

Change the line in blue to:

load-module module-alsa-sink device=hw:0,3

Note 1: Be sure to remove the hash symbol (#) from the beginning of this line.
Note 2: substitute "hw:0,3" for the correct device you wish to use - you can determine the proper device from your "aplay -l" output.
Thanks for the help!

So now it's mostly working, Exaile, Totem, VLC... they're all playing out of the SB Live! like I configured in Pulse.

Two things are still amiss:
1. For some reason Firefox (streaming sound and such) is still working out of the on-board card
2. The front panel and the card at the PCI work simultaneously instead of the former taking over once a headset is connected to it.

Note:
The line you marked in blue was a bit different from what it should have shown
load-module module-alsa-sink device=equalizer
With no Hash symbol at the begining...

halovivek
December 1st, 2008, 08:01 AM
hi
Thanks for the pulse audio help.
As i said i have followed and installed the pulse audio in my system. I got new problem. I can hear only the sound from the inbuilt computer system. i cant hear from the head phone as well as the mic. could you please help me in this part?
thanks

GepettoBR
December 1st, 2008, 10:03 AM
Note:
The line you marked in blue was a bit different from what it should have shown
load-module module-alsa-sink device=equalizer
With no Hash symbol at the begining...

The has symbol is a way to tell the programs to ignore that line (or if put in the middle of a line, to ignore everything that comes after it). It isn't necessarily there, but if we don't tell people to remove it in case it is, the fix won't work since the changed line will still be ignored.

Emanuele_Z
December 2nd, 2008, 03:24 AM
Hi all,

Simple as a cake, the default Pulseaudio does not only properly work with Ubuntu, but even slows down the system.
Look here for my thoughts: http://ubuntuforums.org/showthread.php?t=998781 .
Imho Pulseaudio inclusion has been the worst planning since Ubuntu 6.10.
You can't leave your users with pants down because you want to inroduce another layer of useless abstraction. Real time application (like games, see my post) require the direct access to hardware sometime.
I don't want to be rude, but this release really has upset me.

Regards,

happytechie
December 2nd, 2008, 09:43 AM
OK I'm not geting any sound following an upgrade from hardy to intrepid. I'll I get is static clicking noises when sound is playing.

I've followed the instructions in the opening post of this thread and everything seems the same.

my application appears in the playback tab of the volume control as below:

ALSA plug-in [firefox]: ALSA Playback

Debug output from appendix A below:

paul@paul-laptop:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC880 Analog [ALC880 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC880 Digital [ALC880 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]
Subdevices: 1/1
Subdevice #0: subdevice #0
paul@paul-laptop:~$

and the output from the second command (I ran it in a sudo wrapper due to no permission errors when running it in user mode)

paul@paul-laptop:~$ sudo pkill pulseaudio; sleep 2; pulseaudio -vv
I: main.c: PolicyKit refuses acquire-high-priority privilige.
I: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
I: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
I: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
I: main.c: Note that real-time/high-priority scheduling is NOT normally required. If you experience crackling or other sound anomalies, consider one or more of the above solutions.
I: main.c: High-priority scheduling enabled in configuration but now allowed by policy. Disabling forcibly.
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_27d8_sound_card_0_alsa_playback_6
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_27d8_sound_card_0_alsa_capture_6
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_27d8_sound_card_0_alsa_capture_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_27d8_sound_card_0_alsa_playback_1
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_8086_27d8_sound_card_0_a lsa_playback_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-sink.c: Successfully opened device front:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Master".
I: sink.c: Created sink 0 "alsa_output.pci_8086_27d8_sound_card_0_alsa_playba ck_0" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 0 "alsa_output.pci_8086_27d8_sound_card_0_alsa_playba ck_0.monitor" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-sink.c: Using 8 fragments of size 1792 bytes.
I: alsa-util.c: ALSA device lacks independant volume controls for each channel, falling back to software volume control.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #0; argument: "device_id=0 sink_name=alsa_output.pci_8086_27d8_sound_card_0_a lsa_playback_0").
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_8086_27d8_sound_card_0_ alsa_capture_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-source.c: Successfully opened device front:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Capture".
I: source.c: Created source 1 "alsa_input.pci_8086_27d8_sound_card_0_alsa_capture _0" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-source.c: Using 8 fragments of size 1792 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28
I: module.c: Loaded "module-alsa-source" (index: #1; argument: "device_id=0 source_name=alsa_input.pci_8086_27d8_sound_card_0_ alsa_capture_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_27d8_sound_card_0_alsa_control__1
I: module-hal-detect.c: Loaded 2 modules.
I: module.c: Loaded "module-hal-detect" (index: #2; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #3; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #4; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
I: module.c: Loaded "module-gconf" (index: #5; argument: "").
I: module.c: Loaded "module-volume-restore" (index: #6; argument: "").
D: module-default-device-restore.c: Restored default sink 'alsa_output.pci_8086_27d8_sound_card_0_alsa_playb ack_0'.
D: core-subscribe.c: dropped redundant event.
D: module-default-device-restore.c: Restored default source 'alsa_input.pci_8086_27d8_sound_card_0_alsa_captur e_0'.
I: module.c: Loaded "module-default-device-restore" (index: #7; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #8; argument: "").
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_27d8_sound_card_0_alsa_playba ck_0 becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.pci_8086_27d8_sound_card_0_alsa_playba ck_0.monitor becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.pci_8086_27d8_sound_card_0_alsa_capture _0 becomes idle.
I: module.c: Loaded "module-suspend-on-idle" (index: #9; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #10; argument: "").
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
I: module-suspend-on-idle.c: Source alsa_input.pci_8086_27d8_sound_card_0_alsa_capture _0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_output.pci_8086_27d8_sound_card_0_alsa_playba ck_0.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Sink alsa_output.pci_8086_27d8_sound_card_0_alsa_playba ck_0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0, member=PropertyModified
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0, member=PropertyModified
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0, member=PropertyModified
D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/computer_power_supply_battery_BAT0, member=PropertyModified


it seems to just hang at this point, should I let it finish?

Thanks in advance for anyone's help :D

psyke83
December 2nd, 2008, 11:54 AM
OK I'm not geting any sound following an upgrade from hardy to intrepid. I'll I get is static clicking noises when sound is playing.

I've followed the instructions in the opening post of this thread and everything seems the same.

Your PCM volume is muted/set to 0%. It's covered by Part C, Step 3.

psyke83
December 2nd, 2008, 12:00 PM
Thanks for the help!

So now it's mostly working, Exaile, Totem, VLC... they're all playing out of the SB Live! like I configured in Pulse.

Two things are still amiss:
1. For some reason Firefox (streaming sound and such) is still working out of the on-board card
2. The front panel and the card at the PCI work simultaneously instead of the former taking over once a headset is connected to it.

Note:
The line you marked in blue was a bit different from what it should have shown
load-module module-alsa-sink device=equalizer
With no Hash symbol at the begining...

1. Delete ~/.pulse/volume-restore.table and restart PulseAudio.
2. Are you sure that's a PulseAudio problem? You may need to change a kernel option for the ALSA driver, or else you chose the wrong output device.

If you enabled the equalizer, you must change the default sound device in a different way. You shouldn't edit /etc/pulse/default.pa (the line still say "device=equalized"); instead, edit ~/.asoundrc and amend the text I marked in blue in the guide, and determine the proper device in the same way I mentioned in my earlier post.

psyke83
December 2nd, 2008, 12:02 PM
Oh, I need some advice. Loving Ubuntu so far but I can't get sounds from the system, applications, flash, nothing. I followed the steps from the tutorial, still no sound.

Here's my info, if you could point me in the right direction I'd be grateful, thanks............


The applications do not play audio and do list an entry in the Playback tab of the Pulse Audio Device Chooser

Part C, Step 3.

psyke83
December 2nd, 2008, 12:09 PM
Thank you...this works flawlessly for me...(intrepid).
And i kinda like the equalised sound. But is there any way that i cud manually change the equaliser setting?? I mean like increasing Bass...or decreasing treble...??

Thank you.

Yes it's possible, but consider it a DIY job.

Read the text contained within ~/.asoundrc, and pay attention to the "controls".

Now, look at the output for the equalizer plugin that's used by this guide:
analyseplugin /usr/lib/ladspa/mbeq_1197.so

Note that changes don't take effect immediately; you'll need to restart PulseAudio.

Alternatively, disable the equalizer in PulseAudio (simply comment the line in /etc/pulse/default.pa), and using Audacious (with the extra plugins installed), enable the same LADSPA plugin, play some music and tweak the equalizer to your taste.

When you're finished, make a note of the LADSPA controls, input them into ~/.asoundrc, and re-enable the equalizer via /etc/pulse/default.pa.

happytechie
December 2nd, 2008, 01:27 PM
Your PCM volume is muted/set to 0%. It's covered by Part C, Step 3.

so it was, all working now, thanks for your time ;D

shanker
December 2nd, 2008, 02:16 PM
i am also working with the same with this type of audio system. testing enable me to find out the faults and wrong connection.

===========
shanker

Link Building (http://www.widecircles.com)

imretokyo
December 2nd, 2008, 05:18 PM
Hello there!

ubuntu intrepid i386 laptop.
everything working fine exept a game called warzone. I have audio, but it is chopping(is it the correct word?) w-e-ll, so-und-s li-ke th-i-s. Refering the Part C appendix A troubleshooting part.
in the playback tab is warzone appearing and dissapearing every milisecound syncron with the m-u-sic o-r vo-i-ce what came out frome the game. The video is great. so i can play if i dont need the sound, but i need.
So i didnt see any suggestion for this kind of problem in your list so i wondering if you have any idea.

aplay -l

card 0: I82801DBICH4 [Intel 82801DB-ICH4], device 0: Intel ICH [Intel 82801DB-ICH4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: I82801DBICH4 [Intel 82801DB-ICH4], device 4: Intel ICH - IEC958 [Intel 82801DB-ICH4 - IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0

pkill pulseaudio; sleep 2; pulseaudio -vv

I: main.c: PolicyKit refuses acquire-high-priority privilige.
I: main.c: Called SUID root and real-time/high-priority scheduling was requested in the configuration. However, we lack the necessary priviliges:
I: main.c: We are not in group 'pulse-rt' and PolicyKit refuse to grant us priviliges. Dropping SUID again.
I: main.c: For enabling real-time scheduling please acquire the appropriate PolicyKit priviliges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
I: main.c: Note that real-time/high-priority scheduling is NOT normally required. If you experience crackling or other sound anomalies, consider one or more of the above solutions.
I: main.c: High-priority scheduling enabled in configuration but now allowed by policy. Disabling forcibly.
W: ltdl-bind-now.c: Failed to find original dlopen loader.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: main.c: This is PulseAudio 0.9.10
I: main.c: Page size is 4096 bytes
I: main.c: Fresh high-resolution timers available! Bon appetit!
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-hal-detect.so': success
I: module-hal-detect.c: Trying capability alsa
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_24c5_sound_card_0_alsa_playback_4
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_24c5_sound_card_0_alsa_capture_3
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_24c5_sound_card_0_alsa_capture_2
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_24c5_sound_card_0_alsa_capture_1
D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device_id=0 sink_name=alsa_output.pci_8086_24c5_sound_card_0_a lsa_playback_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-sink.c: Successfully opened device front:0.
I: module-alsa-sink.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Master".
I: sink.c: Created sink 0 "alsa_output.pci_8086_24c5_sound_card_0_alsa_playba ck_0" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 0 "alsa_output.pci_8086_24c5_sound_card_0_alsa_playba ck_0.monitor" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-sink.c: Using 8 fragments of size 1760 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-sink.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
I: module-alsa-sink.c: Starting playback.
I: module.c: Loaded "module-alsa-sink" (index: #0; argument: "device_id=0 sink_name=alsa_output.pci_8086_24c5_sound_card_0_a lsa_playback_0").
D: module-hal-detect.c: Loading module-alsa-source with arguments 'device_id=0 source_name=alsa_input.pci_8086_24c5_sound_card_0_ alsa_capture_0'
D: alsa-util.c: Trying front:0...
I: module-alsa-source.c: Successfully opened device front:0.
I: module-alsa-source.c: Successfully enabled mmap() mode.
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0
I: alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: alsa-util.c: Successfully attached to mixer 'hw:0'
I: alsa-util.c: Using mixer control "Capture".
I: source.c: Created source 1 "alsa_input.pci_8086_24c5_sound_card_0_alsa_capture _0" with sample spec "s16le 2ch 44100Hz"
I: module-alsa-source.c: Using 8 fragments of size 1760 bytes.
I: alsa-util.c: All 2 channels can be mapped to mixer channels. Using hardware volume control.
D: module-alsa-source.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28
I: module.c: Loaded "module-alsa-source" (index: #1; argument: "device_id=0 source_name=alsa_input.pci_8086_24c5_sound_card_0_ alsa_capture_0").
D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_8086_24c5_sound_card_0_alsa_control__1
I: module-hal-detect.c: Loaded 2 modules.
I: module.c: Loaded "module-hal-detect" (index: #2; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #3; argument: "").
I: protocol-native.c: loading cookie from disk.
I: module.c: Loaded "module-native-protocol-unix" (index: #4; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-gconf.so': success
I: module.c: Loaded "module-gconf" (index: #5; argument: "").
I: module.c: Loaded "module-volume-restore" (index: #6; argument: "").
D: module-default-device-restore.c: Restored default sink 'alsa_output.pci_8086_24c5_sound_card_0_alsa_playb ack_0'.
D: core-subscribe.c: dropped redundant event.
D: module-default-device-restore.c: Restored default source 'alsa_input.pci_8086_24c5_sound_card_0_alsa_captur e_0'.
I: module.c: Loaded "module-default-device-restore" (index: #7; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #8; argument: "").
D: module-suspend-on-idle.c: Sink alsa_output.pci_8086_24c5_sound_card_0_alsa_playba ck_0 becomes idle.
D: module-suspend-on-idle.c: Source alsa_output.pci_8086_24c5_sound_card_0_alsa_playba ck_0.monitor becomes idle.
D: module-suspend-on-idle.c: Source alsa_input.pci_8086_24c5_sound_card_0_alsa_capture _0 becomes idle.
I: module.c: Loaded "module-suspend-on-idle" (index: #9; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9/modules/module-x11-publish.so': success
D: module-x11-publish.c: using already loaded auth cookie.
I: module.c: Loaded "module-x11-publish" (index: #10; argument: "").
I: main.c: Daemon startup complete.
D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
I: module-suspend-on-idle.c: Source alsa_input.pci_8086_24c5_sound_card_0_alsa_capture _0 idle for too long, suspending ...
I: module-alsa-source.c: Device suspended...
I: module-suspend-on-idle.c: Source alsa_output.pci_8086_24c5_sound_card_0_alsa_playba ck_0.monitor idle for too long, suspending ...
I: module-suspend-on-idle.c: Sink alsa_output.pci_8086_24c5_sound_card_0_alsa_playba ck_0 idle for too long, suspending ...
I: module-alsa-sink.c: Device suspended...


thanks

GepettoBR
December 2nd, 2008, 05:27 PM
Hello there!

ubuntu intrepid i386 laptop.
everything working fine exept a game called warzone. I have audio, but it is chopping(is it the correct word?) w-e-ll, so-und-s li-ke th-i-s. Refering the Part C appendix A troubleshooting part.
in the playback tab is warzone appearing and dissapearing every milisecound syncron with the m-u-sic o-r vo-i-ce what came out frome the game. The video is great. so i can play if i dont need the sound, but i need.
So i didnt see any suggestion for this kind of problem in your list so i wondering if you have any idea.

Have you tried finding the audio settings in the game options and changing them around? Most games that run natively will default to ALSA for some reason and you have to change them to PulseAudio yourself. If the game is running under WINE, make sure WINE is either set to use ALSA or OSS. In the later case, be sure to launch WINE with the "padsp" wrapper, to allow it to be caught by PulseAudio.

imretokyo
December 2nd, 2008, 05:49 PM
The game let me to change only the volume of the audio. and i dont use wine for it.

Entwine
D