Ubuntu Audio doesn't work on snowball

Bug #932076 reported by Lee Jones
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Lee Jones
Linaro Ubuntu
Fix Released
Ricardo Salveti

Bug Description

It is currently not possible to play sound files on Snowball.

Revision history for this message
Lee Jones (lag) wrote :

This is a retro-bug report.

Status to date:

Changed in igloocommunity:
milestone: none → 2012.02
importance: Undecided → High
assignee: nobody → Lee Jones (lag)
status: New → In Progress
Revision history for this message
Lee Jones (lag) wrote :

 * Sound can be achieved by playing a native 48000Hz file directly through ALSA:
    * aplay -Dhw:0,1 48khz.wav

 * Gstreamer can also be used to play MP3s:
    * gst-launch-0.10 playbin audiosink="alsasink device=hw:0,1" uri=file://filename

 * Once /etc/asound.conf has been set up in the following way:
    pcm.!default {
        type hw
        card 0
        device 1
    * Then we can drop the device specification

 * With the correct UDEV and Pulse profiles Ubuntu plays sound natively
   * The final piece of the puzzle is to push these changes into a suitable repo

Lee Jones (lag)
Changed in igloocommunity:
status: In Progress → Fix Committed
Changed in linaro-ubuntu:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Ricardo Salveti (rsalveti)
milestone: none → 12.02
Revision history for this message
Riku Voipio (riku-voipio) wrote :

As tested with the 12.02 RC2 images, audio works from command line:

 aplay -Dhw:0,1 /usr/share/sounds/alsa/Side_Left.wav

but is heavily distorted in pulseaudio. For example try speaker tests in gnome sound settings.

Switching pulseaudio from timer based scheduling to interrupt based fixed the choppiness for me:

17:35 < suihkulokki> in /etc/pulse/default.pa:
17:35 < suihkulokki> -load-module module-udev-detect
17:35 < suihkulokki> +load-module module-udev-detect tsched=0

 it is apparently considered a bug in the alsa driver if pulseaudio cannot use timer scheduling, and we probably shouldn't change the default for all boards.

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Moving to 12.03 until this is properly fixed on Ubuntu (as I'd prefer to fix the issue properly instead of enabling the work around that would also affect the other boards).

Changed in linaro-ubuntu:
milestone: 12.02 → 12.03
Revision history for this message
Thomas Espersson (espersson) wrote :

New bug created to track the problem with choppy playback:

"Choppy playback on Snowball through pulseaudio"

Anmar Oueja (anmar)
Changed in igloocommunity:
status: Fix Committed → Fix Released
Revision history for this message
Anmar Oueja (anmar) wrote :

Ricardo: Can you please mark this as fixed releaesd and use bug https://bugs.launchpad.net/linaro-ubuntu/+bug/939593 instead.

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Closing and tracking the other issue on bug #939593.

Changed in linaro-ubuntu:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.