Good to hear it's fixed. Seems the vchiq channel between ARM and GPU was locking up.FrumiousB wrote:I can confirm the updated kernel (#371 PREEMPT) does the trick. I am now able to play sound after sound in scratch without any hangs or other problems.
There is a separate issue now easier to experience that several of the sounds in the scratch media directory don't play and give an "unrecognized format" error when imported.
Dom -- what'dja fix?
In any case thanks and way to go.
Code: Select all
file /usr/share/scratch/Media/Sounds/Animal/Meow.wav /usr/share/scratch/Media/Sounds/Animal/Meow.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 11025 Hz
I believe it is fixed. Either use the latest (Feburary) wheezy image from http://www.raspberrypi.org/downloads.Bruder Jacob wrote:I have been having this issue recently and it does seem to be sound related.
I have no/very little computer experience but at the age of 30 bought a Pi as a New Year's resolution to learn more about computers, I was the target audience, big phone/Xbox/computer user with no actual knowledge!
I have been working through the 'The Rasperberry Pi: Education Manual' and following the tutorials in Scratch. All was going well, no freezes at all, until the tutorial 'The Level Crossing'. During this particular tutorial Scratch began freezing on a regular basis as described by other users, and I became so frustrated I stopped using my Pi and only today have jumped back on. Searching the forums for an answer and came across this thread.
I opened Scratch and loaded my level crossing file. After a few clicks it froze as usual. I restarted my Pi, opened Scratch, took out the script 'when t pressed play sound level crossing a' and hey-presto, over an hour of freeze-free Scratch-ing... and counting!
When I had completed earlier tutorials I hadn't fitted speakers to my Pi set-up, so hadn't bothered to use sounds in them, if I had I'm guessing I would have stumbled across this problem earlier.
I don't have any knowledge to fix/expand on this issue, but as previously stated I'm hoping it does get fixed.
Code: Select all
sudo apt-get update && sudo apt-get upgrade
Can you try this:rajivnair wrote:I am running into the same issue - everything locks up when playing audio and I have to hard reboot.
I have updated firmware and also upgraded to the latest release with no luck.
What version of kernel?simplesi wrote:I just tried a simple llop
when green falg
wait 1 secs
and my RPi locks up too