[pulseaudio-tickets] [PulseAudio] #460: Pulseaudio problems with OSS 4.1 and/or libcanberra 0.10
PulseAudio
trac-noreply at tango.0pointer.de
Tue Jan 13 19:21:49 PST 2009
#460: Pulseaudio problems with OSS 4.1 and/or libcanberra 0.10
--------------------------+-------------------------------------------------
Reporter: jlibster | Owner: lennart
Type: defect | Status: new
Priority: normal | Milestone:
Component: module-oss-* | Severity: normal
Keywords: |
--------------------------+-------------------------------------------------
Folks, know you are busy and have been working hard to get people like
Ubuntu to use your creation. Mixed thoughts on this. First off Ubuntu used
old versions that wouldn't even play OGG files which was a mistake on
their part. I know there is a OSS modules but I'm getting reports that
Pulseaudio doesn't work with OSS (at least 4.1 which is the latest stable
version). you apparently tell people building their own packages about
issues with OSS. I'm trying to get canberra-gtk-play to function. Here is
my verbose console debug of my session:
sudo pulseaudio -vv
I: core-util.c: Successfully gained nice level -11.
W: ltdl-bind-now.c: Failed to find original dlopen loader.
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: oss-util.c: capabilities: BATCH DUPLEX MMAP MULTI REALTIME TRIGGER
I: module-oss.c: Hardware name is 'M Audio Revolution 7.1 front out
(OUTPUT)'.
I: module-oss.c: Device opened in O_RDWR mode.
I: module-oss.c: Input -- 32 fragments of size 2048.
I: module-oss.c: Output -- 8 fragments of size 2048.
D: module-oss.c: Successfully mmap()ed input buffer.
I: source.c: Created source 0 "input" with sample spec "s16le 2ch 44100Hz"
D: module-oss.c: Successfully mmap()ed output buffer.
I: sink.c: Created sink 0 "output" with sample spec "s16le 2ch 44100Hz"
I: source.c: Created source 1 "output.monitor" with sample spec "s16le 2ch
44100Hz"
W: module-oss.c: SOUND_MIXER_READ_DEVMASK failed: Invalid argument
D: module-oss.c: Thread starting up
D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29
D: module-oss.c: trigger
D: module-oss.c: trigger: 2
D: module-oss.c: trigger
D: module-oss.c: trigger: 3
I: module.c: Loaded "module-oss" (index: #0; argument: "device="/dev/dsp"
sink_name=output source_name=input").
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.c: Loaded "module-volume-restore" (index: #4; argument: "").
D: module-default-device-restore.c: Restored default sink 'output'.
D: core-subscribe.c: dropped redundant event.
D: module-default-device-restore.c: Restored default source 'input'.
I: module.c: Loaded "module-default-device-restore" (index: #5; argument:
"").
I: module.c: Loaded "module-rescue-streams" (index: #6; argument: "").
D: module-suspend-on-idle.c: Sink output becomes idle.
D: module-suspend-on-idle.c: Source input becomes idle.
D: module-suspend-on-idle.c: Source output.monitor becomes idle.
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.
I: module-suspend-on-idle.c: Source output.monitor idle for too long,
suspending ...
I: module-suspend-on-idle.c: Source input idle for too long, suspending
...
D: module-oss.c: trigger
D: module-oss.c: trigger: 2
I: module-suspend-on-idle.c: Sink output idle for too long, suspending ...
I: module-oss.c: Suspending...
I: module-oss.c: Device suspended...
I: client.c: Created 0 "Native client (UNIX socket client)"
I: client.c: Freed 0 "Native client (UNIX socket client)"
I: protocol-native.c: connection died.
I: client.c: Created 1 "Native client (UNIX socket client)"
I: protocol-native.c: Got credentials: uid=0 gid=0 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 "ALSA plug-in [canberra-gtk-play]"
I: module-volume-restore.c: Restoring sink for <pulsecore/protocol-
native.c$ALSA plug-in [canberra-gtk-play]>
I: module-oss.c: Trying resume...
D: oss-util.c: capabilities: BATCH DUPLEX MMAP MULTI REALTIME TRIGGER
Note although this is on ubuntu I've installed version 0.10 so it could
recognized the ogg formatted files. I am confused that the native client
is using an ALSA plugin. Ive set ALL defaults to OSS, running OSS 4.1. all
my basic audio/video applications work perfectly with OSS, but Ubuntu is
integrating everything with Pulseaudio so I'm trying to play nice. also,
Pulseaudio freezes solid after I get this information from my attempt to
play a sound using canberra-gtk-play and I have to kill the gterminal.
Pulseaudio also appears to cause lockups in the sound dialog in Ubunutu
and slow startups. It clears up if I disable the Pulseaudio instances. The
only thing that kills a frozen pulseaudio instance is killall -9 command.
Now this could be an implementation specific problem with Ubuntu but my
feeling is its at least a combination of Pulseaudio configuration with
libcanberra or usability issues with OSS. in any case, can you put me on
the right path or at least tell me if a required fix will be in. I've
check every pulseaudio seutp guide available and tweaking every related
config file I know how. Am getting ready to kill pulseaudio completely and
hack my ubuntu OS (trying to create a media center) but before I do that
would like some input. Thanks. Sorry this is so long.
PS: It appears one of your developers is telling everyone that OSS is
horrible. Please let me assure all of you that this is not the case and
until I was looking at Ubuntu 8+ never had issues and ALSA doesn't work
properly with many high-end sound cards.
--
Ticket URL: <http://pulseaudio.org/ticket/460>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server
More information about the pulseaudio-bugs
mailing list