[etoys-notify] [JIRA] Commented: (SQ-214) [Etoys-Sugar-0.84-OLPC] No sound .using either -vm-sound-OSS or vm-sound-ALSA

tracker at squeakland.org tracker at squeakland.org
Tue Aug 4 14:16:48 EDT 2009


     [ http://tracker.immuexa.com/browse/SQ-214?page=comments#action_36027 ]
     
Bert Freudenberg commented on SQ-214:
-------------------------------------

The problem is that SoaS uses PulseAudio, which emulates ALSA, but not fully. Hence our ALSA driver fails:
http://bugs.squeak.org/view.php?id=7328

The real fix is to rewrite the Squeak VMs ALSA plugin to only use the "safe subset" of ALSA.

A workaround is to fall back to OSS. For this, you must run squeak using the "padsp" wrapper which unfortunately is not pre-installed in SoaS. So install "pulseaudio-utils" first, then add the wrapper invocation to the last line of the etoys script, and the -vm-sound-oss parameter to VMOPTIONS.

Until the VM is fixed properly I propose to add this workaround to the etoys script:

# if pulseaudio is running, fall back to OSS
if pulseaudio --check 2>/dev/null ; then
    VMOPTIONS="$VMOPTIONS -vm-sound-oss"
    if padsp true 2>/dev/null ; then
        WRAPPER=padsp
    fi
fi

This not only affects Sugar but all newer Linux distributions. That means we need to add the workaround to all versions of Etoys.

> [Etoys-Sugar-0.84-OLPC] No sound .using either -vm-sound-OSS or vm-sound-ALSA
> -----------------------------------------------------------------------------
>
>          Key: SQ-214
>          URL: http://tracker.immuexa.com/browse/SQ-214
>      Project: squeakland
>         Type: Bug
>   Components: etoys-sugar
>     Reporter: Milan Zimmerman
>     Priority: Eventual
>      Fix For: sugar 2009 release - possible

>
>
> [Etoys-Sugar-0.84-OLPC] Soas-2009040110. Played on OLPC from a stick. No sound .using either -vm-sound-OSS or vm-sound-ALSA in /usr/bin/etoys. This seems problem with Sugar, not Etoys. The driver is loaded, yet I do not hear any sound in any Sugar activities.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://tracker.immuexa.com/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



More information about the etoys-notify mailing list