You are not logged in.
Guide: http://wiki.archlinux.org/index.php/PulseAudio
Apparantly, Pulse doesn't work. ALSA works just fine but hell, I can use only 1 stream at a time. What could be wrong ?
Feb 10 01:45:06 arch pulseaudio[1663]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
Feb 10 01:45:06 arch pulseaudio[1663]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
Any ideas ?
Last edited by SemiBz (2010-02-11 18:33:29)
Offline
Guide: http://wiki.archlinux.org/index.php/PulseAudio
Apparantly, Pulse doesn't work. ALSA works just fine but hell, I can use only 1 stream at a time. What could be wrong ?
Feb 10 01:45:06 arch pulseaudio[1663]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy Feb 10 01:45:06 arch pulseaudio[1663]: alsa-sink.c: Error opening PCM device front:0: Device or resource busy
http://img535.imageshack.us/img535/4020 … ibz.th.png
Any ideas ?
Someone/something is using your sound device before pulseaudio can grab it.
Run pulseaudio -vvvv from the terminal and post the output.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
I: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
D: core-rtclock.c: Timer slack is set to 50 us.
D: core-util.c: setpriority() worked.
D: core-util.c: setpriority() worked.
D: core-util.c: setpriority() worked.
D: core-util.c: setpriority() worked.
D: core-util.c: setpriority() worked.
D: core-util.c: setpriority() worked.
D: core-util.c: setpriority() worked.
D: core-util.c: setpriority() worked.
D: core-util.c: setpriority() worked.
D: core-util.c: setpriority() worked.
I: core-util.c: Failed to acquire high-priority scheduling: No such file or directory
I: main.c: This is PulseAudio 0.9.21
D: main.c: Compilation host: x86_64-unknown-linux-gnu
D: main.c: Compilation CFLAGS: -march=i686 -mtune=generic -O2 -pipe -fno-strict-aliasing -Wall -W -Wextra -pipe -Wno-long-long -Winline -Wvla -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing=2 -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option
D: main.c: Running on host: Linux i686 2.6.32-ARCH #1 SMP PREEMPT Fri Jan 29 08:50:05 UTC 2010
D: main.c: Found 1 CPUs.
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: Running in VM: no
D: main.c: Optimized build: yes
D: main.c: All asserts enabled.
I: main.c: Machine ID is 050834530cfcf280e10df5044b71c2c3.
I: main.c: Session ID is 050834530cfcf280e10df5044b71c2c3-1265791662.919269-1311264322.
I: main.c: Using runtime directory /home/dainis/.pulse/050834530cfcf280e10df5044b71c2c3-runtime.
I: main.c: Using state directory /home/dainis/.pulse.
I: main.c: Using modules directory /usr/lib/pulse-0.9.21/modules.
I: main.c: Running in system mode: no
I: main.c: Fresh high-resolution timers available! Bon appetit!
I: cpu-x86.c: CPU flags: MMX SSE SSE2 SSE3 MMXEXT 3DNOW 3DNOWEXT
I: svolume_mmx.c: Initialising MMX optimized functions.
I: remap_mmx.c: Initialising MMX optimized remappers.
I: svolume_sse.c: Initialising SSE2 optimized functions.
I: remap_sse.c: Initialising SSE2 optimized remappers.
I: sconv_sse.c: Initialising SSE2 optimized conversions.
D: memblock.c: Using shared memory pool with 1024 slots of size 64.0 KiB each, total size is 64.0 MiB, maximum usable slot size is 65496
D: database-tdb.c: Opened TDB database '/home/dainis/.pulse/050834530cfcf280e10df5044b71c2c3-device-volumes.tdb'
I: module-device-restore.c: Sucessfully opened database file '/home/dainis/.pulse/050834530cfcf280e10df5044b71c2c3-device-volumes'.
I: module.c: Loaded "module-device-restore" (index: #0; argument: "").
D: database-tdb.c: Opened TDB database '/home/dainis/.pulse/050834530cfcf280e10df5044b71c2c3-stream-volumes.tdb'
I: module-stream-restore.c: Sucessfully opened database file '/home/dainis/.pulse/050834530cfcf280e10df5044b71c2c3-stream-volumes'.
I: module.c: Loaded "module-stream-restore" (index: #1; argument: "").
D: database-tdb.c: Opened TDB database '/home/dainis/.pulse/050834530cfcf280e10df5044b71c2c3-card-database.tdb'
I: module-card-restore.c: Sucessfully opened database file '/home/dainis/.pulse/050834530cfcf280e10df5044b71c2c3-card-database'.
I: module.c: Loaded "module-card-restore" (index: #2; argument: "").
I: module.c: Loaded "module-augment-properties" (index: #3; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9.21/modules/module-udev-detect.so': success
D: module-udev-detect.c: /dev/snd/controlC0 is accessible: yes
D: module-udev-detect.c: /devices/pci0000:00/0000:00:06.0/sound/card0 is busy: yes
I: module-udev-detect.c: Found 1 cards.
I: module.c: Loaded "module-udev-detect" (index: #4; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9.21/modules/module-bluetooth-discover.so': success
D: dbus-util.c: Successfully connected to D-Bus system bus 69f73ac8d33a39d0bd6263d34b72727f as :1.14
D: bluetooth-util.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired
D: bluetooth-util.c: Bluetooth daemon is apparently not available.
I: module.c: Loaded "module-bluetooth-discover" (index: #5; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9.21/modules/module-esound-protocol-unix.so': success
I: module.c: Loaded "module-esound-protocol-unix" (index: #6; argument: "").
I: module.c: Loaded "module-native-protocol-unix" (index: #7; argument: "").
D: cli-command.c: Checking for existance of '/usr/lib/pulse-0.9.21/modules/module-gconf.so': success
I: module.c: Loaded "module-gconf" (index: #8; argument: "").
I: module-default-device-restore.c: Saved default sink 'alsa_output.pci-0000_00_06.0.analog-stereo' not existant, not restoring default sink setting.
I: module-default-device-restore.c: Saved default source 'alsa_input.pci-0000_00_06.0.analog-stereo' not existant, not restoring default source setting.
I: module.c: Loaded "module-default-device-restore" (index: #9; argument: "").
I: module.c: Loaded "module-rescue-streams" (index: #10; argument: "").
D: module-always-sink.c: Autoloading null-sink as no other sinks detected.
I: module-device-restore.c: Restoring volume for sink auto_null.
I: module-device-restore.c: Restoring mute state for sink auto_null.
I: sink.c: Created sink 0 "auto_null" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: sink.c: device.description = "Dummy Output"
I: sink.c: device.class = "abstract"
I: sink.c: device.icon_name = "audio-card"
D: core-subscribe.c: Dropped redundant event due to change event.
I: source.c: Created source 0 "auto_null.monitor" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: source.c: device.description = "Monitor of Dummy Output"
I: source.c: device.class = "monitor"
I: source.c: device.icon_name = "audio-input-microphone"
D: module-null-sink.c: Thread starting up
I: module.c: Loaded "module-null-sink" (index: #11; argument: "sink_name=auto_null sink_properties='device.description="Dummy Output"'").
I: module.c: Loaded "module-always-sink" (index: #12; argument: "").
I: module.c: Loaded "module-intended-roles" (index: #13; argument: "").
D: module-suspend-on-idle.c: Sink auto_null becomes idle, timeout in 5 seconds.
I: module.c: Loaded "module-suspend-on-idle" (index: #14; argument: "").
I: client.c: Created 0 "ConsoleKit Session /org/freedesktop/ConsoleKit/Session1"
D: module-console-kit.c: Added new session /org/freedesktop/ConsoleKit/Session1
I: module.c: Loaded "module-console-kit" (index: #15; argument: "").
I: module.c: Loaded "module-position-event-sounds" (index: #16; argument: "").
I: module.c: Loaded "module-cork-music-on-phone" (index: #17; argument: "").
D: dbus-util.c: Successfully connected to D-Bus session bus 61f5c4e26fe4f66fa5beb6314b7272c8 as :1.3
D: main.c: Got org.pulseaudio.Server!
I: main.c: Daemon startup complete.
I: module-suspend-on-idle.c: Sink auto_null idle for too long, suspending ...
D: sink.c: Suspend cause of sink auto_null is 0x0004, suspending
D: core-subscribe.c: Dropped redundant event due to change event.
Offline
Did you make any changes to any config files? Do you have OSS installed? Or any app using your sound device?
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Did you make any changes to any config files? Do you have OSS installed? Or any app using your sound device?
OSS is installed and as far as I know, there are no applications running which could lock my sound card. Speaking of config files .. no, it's a clean install and the only changes I've made are the ones represented in the tutorial I posted earlier.
Update: rc.conf daemon list contains mpd .. could it be that it locks the sound card before .xinitrc launches Pulse ?
Last edited by SemiBz (2010-02-11 06:44:59)
Offline
I would suggest not using pulseaudio and replacing alsa with oss4,http://wiki.archlinux.org/index.php/OSS . Combined with jack that should give you what you want and is easy to configure.
Offline
Forgot to update the thread - removing mpd from rc.conf solved the problem so not sure whether it's worth switching to OSS .. I'll better ditch mpd.
Offline
If you want to keep using mpd, you can recompile it with pulseaudio support (or grab mpd-pulse from AUR) and enable pulseaudio output in your mpd configuration.
Last edited by Teoulas (2010-02-11 21:59:02)
Offline
Don't ditch mpd, I'm using it with pulse. You can use mpd-pulse or simply set your .asoundrc to default output to pulse.
MPD is just a symptom of the bigger problem, your .asoundrc does not redirect apps using ALSA to use pulse instead.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
Someone/something is using your sound device before pulseaudio can grab it.
Good advice.
Run pulseaudio -vvvv from the terminal and post the output.
Bad advice. Run this:
fuser -v /dev/snd/* /dev/dsp*
/dev/dsp* is OSS.
I suppose I should put this in a wiki. It plainly causes lots of confusion.
Edit: I've put the fuser command in the ALSA wiki
Last edited by brebs (2010-02-12 11:01:42)
Offline