← Back to team overview

scratch team mailing list archive

Re: miry approved by amos-scratch

 

I've just tested Miriam's excellent scratch package on 64 bit Maverick.

https://launchpad.net/~miry/+archive/scratch

Install goes very smoothly! However, sound playback and recording show the
same errors we had been seeing over the past few years when using OSS / or
ALSA on Ubuntu. I also tried using the pulse plugin, and it gives me a
segmentation fault when playing a sound:

Executing: /usr/lib/squeak/4.0.3-2202/squeakvm -encoding UTF-8
-vm-display-x11 -xshm -plugins
/usr/lib/scratch/Plugins/:/usr/lib/squeak/4.0.3-2202/ -vm-sound-pulse
/usr/share/scratch/Scratch.image

Segmentation fault

10280100 [] in SoundPlayer class>playLoop
10268900 Semaphore>critical:
10268808 SoundPlayer class>playLoop
10279796 [] in SoundPlayer class>startPlayerProcessBufferSize:rate:stereo:
10279888 [] in BlockContext>newProcess
Aborted

I'm not sure if this is because of the issues that John has mentioned
earlier (current version of Scratch.image depends on old Squeak sound
primitives), or a different issue with the pulse plugin code. I recall that
we'd had some trouble with the version of the pulse plugin that was included
with Squeak, and instead had been including a binary that Derek O'Connell
had given us some time ago.

Another question to anyone out there (I apologize in advance for my
noobishness when it comes to packaging). If we incorporate Miriam's changes
into the official scratch package, will it be possible to create a single
binary install package for 32 and 64 bit systems that includes the separate
scratch-plugins package?  I suspect many end users don't know how to add a
repository or resolve dependencies. So I wonder if there is some method of
creating a single one-size-fits-all package  for us to put on our download
page (trusting that the package manager will manage to find the Squeak-vm,
since that's already available in the repositories).


-Amos

On Thu, Mar 17, 2011 at 6:39 PM, Derek O'Connell <doc@xxxxxxxxxxxxxxxxx>wrote:

> On 17/03/11 21:12, Miriam Ruiz wrote:
>
>> 2011/3/16 Derek O'Connell<doc@xxxxxxxxxxxxxxxxx>:
>>
>>> Hi Miriam,
>>>
>>> just out of interest, how is audio recording (via Scratch) working for
>>> you
>>> on your 64bit platform? Do you have PulseAudio installed or is your
>>> system
>>> ALSA only?
>>>
>> I'm only using ALSA. I gave Pulse a try some time ago in my system,
>> and wasn't convinced by the result. It gave me too many problems with
>> many programs. Do you have Pulse available in your system? Does it
>> work properly?
>>
>> Greetings,
>> Miry
>>
>
> Yes, I have Pulse. It works fine but I'm on a 32 bit distro. I plan on
> trying 64 bit sometime and just wondered if ALSA works since it had problems
> in the past. The various combo's of audio API's (eg, ALSA on top of PA)
> sometimes makes it difficult to keep track of problems and if they have been
> solved :-) Thanks for the info.
>
> -D
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~scratch
> Post to     : scratch@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~scratch
> More help   : https://help.launchpad.net/ListHelp
>



-- 
_____
Amos

Follow ups

References