Public bug reported: Architecture: armel DistroRelease: Ubuntu 9.10 (Karmic Koala) Kernel: 2.6.31-105-imx51 SourcePackage: linux-fsl-imx51 Uname: Linux 2.6.31-105-imx51 armv7l HW: Babbage3.0 board.
Installed from formal release image on MX51: http://cdimage.ubuntu.com/ports/releases/9.10/release/ubuntu-9.10 -desktop-armel+imx51.img Phenomenon: 1. Default Ubuntu 9.10 image and rootfs. * In Gnome Terminal, playing a 44.1kHz WAV by "$ aplay audio_44k.wav" is good. But no sound when playing a non-44.1kHz WAV file, such as 32kHz, 48kHz, even with root privilege. * And same in Totem player. 2. With fsl own kernel image and Ubuntu 9.10 rootfs, here is some phenomenon and analysis: About the audio issue in Ubuntu 9.10, we found that the pluseaudio can not work correctly with non-44.1Khz sample rate by non-root user. With the root user, aplay command will call hardware device directly. I am not familiar with pulseaudio, what's the difference between the 44KHz and 32KHz? case 1: aplay test_44kHz_stereo.wav by non-root user, it is Okay with PulseAudio, the following are the detail information: Playing WAVE '/mnt/nfshomes/dexter/test_vectors/test_44kHz_stereo.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo ALSA <-> PulseAudio PCM I/O Plugin Its setup is: stream : PLAYBACK access : RW_INTERLEAVED format : S16_LE subformat : STD channels : 2 rate : 44100 exact rate : 44100 (44100/1) msbits : 16 buffer_size : 22050 period_size : 5512 period_time : 125000 tstamp_mode : NONE period_step : 1 avail_min : 5512 period_event : 0 start_threshold : 22050 stop_threshold : 22050 silence_threshold: 0 silence_size : 0 boundary : 1445068800 case 2: aplay test_32kHz_stereo.wav by non-root user, there is no auido output with PulseAudio, the following are the detail information: Playing WAVE '/mnt/nfshomes/dexter/test_vectors/test_32kHz_stereo.wav' : Signed 16 bit Little Endian, Rate 32000 Hz, Stereo ALSA <-> PulseAudio PCM I/O Plugin Its setup is: stream : PLAYBACK access : RW_INTERLEAVED format : S16_LE subformat : STD channels : 2 rate : 32000 exact rate : 32000 (32000/1) msbits : 16 buffer_size : 16000 period_size : 4000 period_time : 125000 tstamp_mode : NONE period_step : 1 avail_min : 4000 period_event : 0 start_threshold : 16000 stop_threshold : 16000 silence_threshold: 0 silence_size : 0 boundary : 2097152000 case 3: aplay test_32kHz_stereo.wav by root user, it will use Hardware device instead of Pluseaudio and it is Okay, the following is the detail information: Playing WAVE '/mnt/nfshomes/dexter/test_vectors/test_32kHz_stereo.wav' : Signed 16 bit Little Endian, Rate 32000 Hz, Stereo Plug PCM: Hardware PCM card 0 'imx-3stack' device 0 subdevice 0 Its setup is: stream : PLAYBACK access : RW_INTERLEAVED format : S16_LE subformat : STD channels : 2 rate : 32000 exact rate : 32000 (32000/1) msbits : 16 buffer_size : 6144 period_size : 1536 period_time : 48000 tstamp_mode : NONE period_step : 1 avail_min : 1536 period_event : 0 start_threshold : 6144 stop_threshold : 6144 silence_threshold: 0 silence_size : 0 boundary : 1610612736 appl_ptr : 0 hw_ptr : 0 I also found some information from pulseaudio logfile, hope it could be useful to debug this issue. Dec 4 19:01:10 ubuntu-desktop pulseaudio[7196]: alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write! Dec 4 19:01:10 ubuntu-desktop pulseaudio[7196]: alsa-sink.c: Most likely this is a bug in the ALSA driver '(null)'. Please report this issue to the ALSA developers. Dec 4 19:01:10 ubuntu-desktop pulseaudio[7196]: alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail. ** Affects: linux-fsl-imx51 (Ubuntu) Importance: Undecided Status: New ** Tags: pulseaudio -- pulseaudio: No sound when playing non-44kHz WAV files on i.MX51 with 2.6.31-105-imx51 https://bugs.launchpad.net/bugs/494986 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
