Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo Multimedia on iBook/PPC
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
BennyP
Guru
Guru


Joined: 09 May 2003
Posts: 503
Location: Jerusalem, Israel

PostPosted: Thu Jul 22, 2004 8:42 pm    Post subject: Gentoo Multimedia on iBook/PPC Reply with quote

hey Gentoots!

Apple makes some great Multimedia hardware, Let's use Free Software to get the most out of it! I want this thread to be a hub for Multimedia issues with PPC hardware.

The #1 reason I'm getting an iBook is so I can have a portable Sound Studio for live performances, etc. What I want from you, the community is to know how many sound programs you all have gotten working on the PPC platform either with Gentoo-PPC OR Gentoo-OSX. W. can make this Thread into a Troubleshooter for all these myriad APPS.

The proggies I'm most interested in running are:
Audacity
runs natively on OS X

JACK Audio Connection Kit
without jack, what's the point?

ZynAddSubFX
possibly the best softsynth I've ever seen

Hydrogen
Boom Boom Tick B-Boom B-Boom Tick

Freebirth
This one has a special place in my heart

Ardour
for Heavyduty stuff

Sweep
Swwiiicca ricca /rrrowwwwwwwww

Rezound
for sound effects

Jack-Rack
mmm ladspa

Spiral Synth Modular
crazy sound-alchemist goodness

ecamegapedal
awesome processor

and ANY OTHERS we can think of/get working
_________________
Could it be?
Back to top
View user's profile Send private message
KuroRyu
Tux's lil' helper
Tux's lil' helper


Joined: 11 Mar 2004
Posts: 95
Location: Phoenix, AZ, USA

PostPosted: Wed Dec 22, 2004 5:34 am    Post subject: Reply with quote

i guess i'll start this off, then :)

the only 2 you can't emerge are zynaddsubfx and ecamegapedal(missing keyword for both) but the rest are available thru package.keywords... here's to lazy people(cause there are a lot of masked deps)

Code:
media-sound/hydrogen
media-sound/freebirth
media-sound/ecasound
media-sound/rezound
media-libs/ladspa-cmt
x11-libs/fox
media-sound/audacity
media-libs/libsamplerate
dev-libs/fftw
media-sound/ardour
media-sound/jack-audio-connection-kit
media-libs/liblrdf
media-libs/raptor
media-sound/sweep
media-sound/jack-rack
media-sound/spiralmodular


i'm emerging them all now, will update when i run into anything, which hopefully won't happen :evil:

edit: btw, i'm using gentoo-ppc
_________________
I'm ready to rock out with my Glock out!
Back to top
View user's profile Send private message
spitzwegerich
l33t
l33t


Joined: 04 Mar 2003
Posts: 697
Location: Lower Bavaria, Central Europe

PostPosted: Sun Jan 02, 2005 11:46 am    Post subject: Reply with quote

For me sound was always a headache topic on my G3 iBook. Running the newest kernel (2.6.10) most of the problems seem to have disappeared, but two still subsist:

I tried hydrogen on my iBook G3. Unfortunately, all of the sound output of hydrogen I get is noise. In xmms (with alsa output), all 44.1 kHz mp3 files run a bit too fast (probably at 48 kHz), and there are many pops in the music output. Using the aRTS output-plugin of xmms, the music plays at the correct speed and sounds clear. Trying the jack-output-plugin, jackd reports:
"sample rate in use (44100 Hz) does not match requested rate (48000 Hz)"
Why does xmms want 48 kHz?

I would be interested in hydrogen / xmms reports of other PPC users. Does it run ok somewhere, or is anyone getting the same problem as I?
_________________
"Work is the curse of the drinking classes."
-Oskar Wilde
Back to top
View user's profile Send private message
gordin
Guru
Guru


Joined: 11 Oct 2002
Posts: 300
Location: Germany/WI

PostPosted: Tue Jan 04, 2005 11:07 am    Post subject: Reply with quote

Try setting the buffer size (ms) to "1" in the konfiguration dialog for alsa in xmms. This solves the problem for me...
But alsa seems to consume a lot of cpu, definitively more than oss (which is confusing because it is just the oss-emu based on alsa)
Back to top
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Tue Jan 04, 2005 11:09 am    Post subject: Reply with quote

To use hydrogen on my powerbook the only soluton was use jackd sound server USE="jack"
_________________
Musica che ascolto: http://www.last.fm/user/silian87/

Silian87 FAQs: http://marentax.homelinux.org/~silian87/silian87-faq.txt

GTalk: silian87@gmail.com
Back to top
View user's profile Send private message
spitzwegerich
l33t
l33t


Joined: 04 Mar 2003
Posts: 697
Location: Lower Bavaria, Central Europe

PostPosted: Tue Jan 04, 2005 1:18 pm    Post subject: Reply with quote

I cannot set buffer size below 200 ms in xmms (the default value is 500). With 200, nothing changes, I still get too fast and choppy sound.

I solved my jack problem (see here).
Hydrogen + jack works now. But the jack output of xmms only produces white noise (the same holds for the ALSA output of hydrogen and the ALSA output of alsaplayer (jack output of alsaplayer works fine)). My suspicion is that this a typical PPC-endian problem). Could anyone check the behaviour of these three programs on his PPC machine?
_________________
"Work is the curse of the drinking classes."
-Oskar Wilde
Back to top
View user's profile Send private message
gordin
Guru
Guru


Joined: 11 Oct 2002
Posts: 300
Location: Germany/WI

PostPosted: Tue Jan 04, 2005 1:39 pm    Post subject: Reply with quote

spitzwegerich wrote:
I cannot set buffer size below 200 ms in xmms (the default value is 500). With 200, nothing changes, I still get too fast and choppy sound.


Hmm, might be a Translation problem... there are two changeable values in the dialog. Both are named "Puffer-Größe" in german wihch means "Buffer Size". So I mean the second value, this can be set to 1.

[EDIT]: I just set the locale to "en" and it is named "Period Time"
Back to top
View user's profile Send private message
spitzwegerich
l33t
l33t


Joined: 04 Mar 2003
Posts: 697
Location: Lower Bavaria, Central Europe

PostPosted: Tue Jan 04, 2005 2:44 pm    Post subject: Reply with quote

I played a bit with the "Period time" setting. And found out:
For values 1-5 ms the sound seems to be clear
Beginning at 6 ms, the sound gets choppy
xmms gets stuck in an infinite loop for values between 62ms and 92 ms. On killing xmms I get the message
Code:
Message: alsa mixer timed out

Segmentation fault

You've probably found a bug in XMMS, please visit
http://bugs.xmms.org and fill out a bug report.

For values of 93ms or above, the sound is clear again.

For really bad sound (without infinite loop) set Period time to 61ms.

This is quite mysterious. Does anyone have a x86 machine to find out if this behaviour is PPC-specific?
_________________
"Work is the curse of the drinking classes."
-Oskar Wilde
Back to top
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Tue Jan 04, 2005 9:40 pm    Post subject: Reply with quote

I use oss emulation on all programs, by selcting oss by output, alsa make noisy to mi powerbook too.
_________________
Musica che ascolto: http://www.last.fm/user/silian87/

Silian87 FAQs: http://marentax.homelinux.org/~silian87/silian87-faq.txt

GTalk: silian87@gmail.com
Back to top
View user's profile Send private message
spitzwegerich
l33t
l33t


Joined: 04 Mar 2003
Posts: 697
Location: Lower Bavaria, Central Europe

PostPosted: Wed Jan 05, 2005 1:19 pm    Post subject: Reply with quote

But ALSA is the much better driver architecture and ALSA (as well as ALSA-based sound servers like JACK) will be the future.
For this reason some newer programs do not deliver OSS output anymore. OSS will be deprecated soon.
So we really should get our PPC-programs ALSA-ready.


I opened some bug reports:
xmms ALSA output plugin
xmms JACK output plugin
hydrogen OSS output
alsaplayer ALSA output
_________________
"Work is the curse of the drinking classes."
-Oskar Wilde
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed Feb 16, 2005 8:38 pm    Post subject: Reply with quote

spitzwegerich wrote:
I played a bit with the "Period time" setting. And found out:
For values 1-5 ms the sound seems to be clear
Beginning at 6 ms, the sound gets choppy
xmms gets stuck in an infinite loop for values between 62ms and 92 ms. On killing xmms I get the message
Code:
Message: alsa mixer timed out

Segmentation fault

You've probably found a bug in XMMS, please visit
http://bugs.xmms.org and fill out a bug report.

For values of 93ms or above, the sound is clear again.

For really bad sound (without infinite loop) set Period time to 61ms.

This is quite mysterious. Does anyone have a x86 machine to find out if this behaviour is PPC-specific?

Ha, just what I was looking for to get smooth non-stuttering sound on my mac mini. Thank you very much for your testing!
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
seebs
n00b
n00b


Joined: 21 Mar 2005
Posts: 1

PostPosted: Mon Mar 21, 2005 5:56 am    Post subject: Reply with quote

FWIW, NetBSD's "snapper" driver worked for me on the Mini; I commented out the check for the text "snapper" in the compat string, because I was getting "AOAKeyLargo", and the Snapper driver worked... Although only with /dev/sound, not /dev/audio, suggesting a limited set of supported playback modes.
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1759
Location: PB, Germany

PostPosted: Sun May 08, 2005 8:11 pm    Post subject: Reply with quote

spitzwegerich wrote:
In xmms (with alsa output), all 44.1 kHz mp3 files run a bit too fast (probably at 48 kHz), and there are many pops in the music output.
I solved this problem by switching the MPEG Layer 1/2/3 input plugin to 22khz (which just produces noise), and back to 44khz.
Right now I have the settings: Audio device; hw:0,0 (instead of default), Buffer time 500ms, Perdiod time 5ms.
Compared to mplayer which plays fine, the output sounds the same speed and isn't choppy anymore.
Pao.
Back to top
View user's profile Send private message
kulture
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2005
Posts: 82

PostPosted: Thu Dec 01, 2005 7:56 pm    Post subject: Reply with quote

there is a nice gtk1 application called trommler, its a drum machine like hydrogen..
Back to top
View user's profile Send private message
jedsen
Apprentice
Apprentice


Joined: 15 Oct 2004
Posts: 276
Location: Sacramento, California, USA

PostPosted: Mon Dec 12, 2005 4:55 am    Post subject: Reply with quote

Does anyone have freebirth working? I can't figure out how to change the default audio output device. It uses alsa automatically, and the sound is staticky, like in hydrogen using alsa.

Also when loading spiralsynthmodular, it can't load any plugins:
Code:
WARNING: File /usr/lib/SpiralPlugins/DelayPlugin.so could not be examined
dlerror() output:
/usr/lib/SpiralPlugins/DelayPlugin.so: undefined symbol: _ZN10SpiralInfo6LOCALEE
WARNING: File /usr/lib/SpiralPlugins/LFOPlugin.so could not be examined
dlerror() output:

etc.

The audio in ZynAddSubFX is also not working for me, although it registers the jack daemon running and starts up fine. Curious.

Oh, by the way, Benny, you might want to get an ibook soon if you want it to be a ppc based system:
http://www.theregister.co.uk/2005/12/12/intel_ibook_rumour_latest/
It might also be cool to have an x86 laptop, but in that area you have a lot of choices.
Back to top
View user's profile Send private message
jedsen
Apprentice
Apprentice


Joined: 15 Oct 2004
Posts: 276
Location: Sacramento, California, USA

PostPosted: Wed Dec 14, 2005 11:13 pm    Post subject: Reply with quote

Anybody have ZynAddSubFX working? I get no errors, but also no sound when using jack output. When using oss, I get very staticky, distorted output.

Also, it errors while recording, which renders it useless.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum