Ticket #465 (closed defect: worksforme)

Opened 3 years ago

Last modified 3 years ago

PulseAudio exits complaining about ALSA error

Reported by: jimhap Owned by: lennart
Milestone: Component: daemon
Keywords: Cc:

Description

PulseAudio doesn't work. When I tried playing an MP3 using MPlayer's pulse driver, choppy sound is heard.

PulseAudio's output:

W: main.c: This program is not intended to be run as root (unless --system is specified).

N: module-alsa-sink.c: Disabling timer-based scheduling because high-resolution timers are not available from the kernel.

N: module-alsa-source.c: Disabling timer-based scheduling because high-resolution timers are not available from the kernel.

W: alsa-util.c: Device hw:0 doesn't support sample format s16le, changed to u8.

E: module-alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write! Most likely this is an ALSA driver bug. Please report this issue to the PulseAudio developers.

E: module-alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write! Most likely this is an ALSA driver bug. Please report this issue to the PulseAudio developers.

(repeats more, lines trimmed)

E: module-alsa-sink.c: snd_pcm_mmap_commit: Device or resource busy

Bus error

It might be caused by a ALSA driver and library mismatch.

Some more info: (bold is what was typed and what outputed) # uname -a

Linux puppypc 2.6.25.16 #1 Tue Aug 26 10:45:53 GMT-8 2008 i686 GNU/Linux

# cat /proc/asound/version

Advanced Linux Sound Architecture Driver Version 1.0.16rc2 (Thu Jan 31 16:40:16 2008 UTC).

# grep VERSION_STR /usr/include/alsa/version.h

#define SND_LIB_VERSION_STR "1.0.18"

#

Loaded kernel modules: snd_pcm_oss 40992 0

snd_mixer_oss 16640 1 snd_pcm_oss

snd_als100 8484 0

snd_opl3_lib 11264 1 snd_als100

snd_hwdep 9220 1 snd_opl3_lib

snd_sb16_dsp 10112 1 snd_als100

snd_sb_common 16384 2 snd_als100,snd_sb16_dsp

snd_pcm 73736 3 snd_pcm_oss,snd_als100,snd_sb16_dsp

snd_timer 22276 2 snd_opl3_lib,snd_pcm

snd_page_alloc 10376 1 snd_pcm

snd_mpu401_uart 8064 1 snd_als100

snd_rawmidi 23456 1 snd_mpu401_uart

snd_seq_device 8204 2 snd_opl3_lib,snd_rawmidi

snd 52772 12

snd_pcm_oss,snd_mixer_oss,snd_als100,snd_opl3_lib,snd_hwdep,snd_sb16_dsp,snd_sb_common,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device

soundcore 7520 1 snd

(Note: als100 is the driver)

The driver perfectly works, but probably due to kernel driver and library mismatch, the library doesn't get the apropriate response from the kernel.

My ALSA driver works perfectly. I can play anything with any program. (xine, mplayer, etc.)

I haven't installed the latest drivers - yet.

More and more info:

OS: Puppy Linux 4.1 Module used: als100, details at http://www.alsa-project.org/main/index.php/Matrix:Module-als100

Change History

Changed 3 years ago by lennart

  • status changed from new to closed
  • resolution set to worksforme

If snd_pcm_mmap_commit() fails, then you have a driver error of some kind. Please report to the ALSA folks.

PA uses a lot more functionality of ALSA than music/movie players do. If those applications work it does not mean that the driver has no bugs.

Note: See TracTickets for help on using tickets.