audicle-1.0.0.3 linux audio broken (jack & alsa)
Hi, I get the following errors below when trying to run audilcle on Gentoo Linux. The audilce wil run if I start it like so: audicle --silent ...but not otherwise. - schwaahed schwaabook src # audicle [chuck]:(2:SYSTEM): setting log level to: 5 (INFORM)... [chuck]:(2:SYSTEM): audicle version: 1.0.0.3 (quintesson) [chuck]:(2:SYSTEM): (audicle) initializing... [chuck]:(2:SYSTEM): (audicle) initializing graphics engine... [chuck]:(2:SYSTEM): | (audicle) cursor state: ON [chuck]:(2:SYSTEM): | (audicle) initializing opengl/glut... [chuck]:(2:SYSTEM): (audicle) initializing windowing system... [chuck]:(2:SYSTEM): | (audicle) window size: 1024 x 768 [chuck]:(2:SYSTEM): | (audicle) window position: 0, 0 freeglut (audicle): Unable to create direct context rendering for window 'audicle' This may hurt performance. [chuck]:(2:SYSTEM): | fullscreen mode: OFF [chuck]:(2:SYSTEM): | initializing chuck shell... [chuck]:(2:SYSTEM): | [chuck]: shell started... [chuck]:(2:SYSTEM): initializing chuck... [chuck]:(2:SYSTEM): chuck version: 1.2.0.6 (dracula) [chuck]:(2:SYSTEM): initializing virtual machine... [chuck]:(2:SYSTEM): | behavior: LOOP [chuck]:(2:SYSTEM): | allocating shreduler... [chuck]:(2:SYSTEM): | allocating messaging buffers... [chuck]:(2:SYSTEM): | real-time audio: YES [chuck]:(2:SYSTEM): | mode: CALLBACK [chuck]:(2:SYSTEM): | sample rate: 48000 [chuck]:(2:SYSTEM): | buffer size: 1024 [chuck]:(2:SYSTEM): | num buffers: 8 [chuck]:(2:SYSTEM): | devices adc: 0 dac: 0 (default 0) [chuck]:(2:SYSTEM): | channels in: 2 out: 2 [chuck]:(2:SYSTEM): initializing compiler... [chuck]:(3:SEVERE): | initializing type checker... [chuck]:(3:SEVERE): | | adding base classes... [chuck]:(3:SEVERE): | | | class 'object' [chuck]:(3:SEVERE): | | | class 'array' [chuck]:(3:SEVERE): | | | class 'string' [chuck]:(3:SEVERE): | | | class 'ugen' [chuck]:(3:SEVERE): | | | class 'shred' [chuck]:(3:SEVERE): | | | class 'event' [chuck]:(3:SEVERE): | | | class 'class' [chuck]:(3:SEVERE): | initializing emitter... [chuck]:(3:SEVERE): | loading built-in modules... [chuck]:(3:SEVERE): | | module osc... [chuck]:(3:SEVERE): | | module xxx... [chuck]:(3:SEVERE): | | module filter... [chuck]:(3:SEVERE): | | module STK... [chuck]:(3:SEVERE): | | class 'machine'... [chuck]:(3:SEVERE): | | class 'std'... [chuck]:(5:INFORM): | | initializing KBHitManager... [chuck]:(3:SEVERE): | | class 'math'... [chuck]:(3:SEVERE): | | class 'opsc'... [chuck]:(2:SYSTEM): type dependency resolution: MANUAL [chuck]:(2:SYSTEM): initializing synthesis engine... [chuck]:(3:SEVERE): | initializing 'dac'... [chuck]:(3:SEVERE): | initializing 'adc'... [chuck]:(3:SEVERE): | initializing 'blackhole'... [chuck]:(2:SYSTEM): | initializing 'real-time' audio... [chuck]: (via rtaudio): no devices found for compiled audio APIs! [chuck]: cannot initialize audio device (try using --silent/-s) schwaabook src #
Hi!
audicle --silent
You shouldn't need to use this flag (which under the audicle is probably not a good idea). which audio API did you compile for? alsa? jack? or oss?
freeglut (audicle): Unable to create direct context rendering for window 'audicle' This may hurt performance.
looks like you don't have direct rendering enabled for your system, which would probably result in much software rendering of the OpenGL graphics. It won't help the audio issue, but it would very likely free up much cpu for audio and give you much better framerates. for the audio, we can look at the following: what does it say when you print "audicle --version"? what about "chuck --version" (assuming you have the command line chuck) does chuck run okay on your system? finally, what does "chuck --probe" output? Let's get to the bottom of this. Best, Ge!
Doh,
was trying to run audicle and chuck from the root account. This
is set up not to work on my system so I'm not tempted to be a
bad boy. Everything works fine when I run from a proper account.
so for any that are interested audicle works on my machine:
version:
|=> audicle: 1.0.0.3 (quintesson)
|=> chuck: 1.2.0.6 (dracula)
exe target: linux (jack)
http://audicle.cs.princeton.edu/
Gentoo Linux:
Linux schwaabook 2.6.17-gentoo-r5 #1 SMP PREEMPT Mon Aug 14 18:05:03
EDT 2006 i686 Genuine Intel(R) CPU T2600 @ 2.16GHz
GenuineIntel GNU/Linux
jack cvs from proaudio overlay
On 8/16/06, Ge Wang
Hi!
audicle --silent
You shouldn't need to use this flag (which under the audicle is probably not a good idea). which audio API did you compile for? alsa? jack? or oss?
freeglut (audicle): Unable to create direct context rendering for window 'audicle' This may hurt performance.
looks like you don't have direct rendering enabled for your system, which would probably result in much software rendering of the OpenGL graphics. It won't help the audio issue, but it would very likely free up much cpu for audio and give you much better framerates.
I was hoping that the newer X.org server would support nvidia drivers by the time audicle was ported to linux. I have to check whether this is possible on Gentoo. If it isn't I will have to down grade my Xserver inorder to get the support for direct rendering. The audicle is the only program that was going to compel me to downgrade. I think that it was a matter of nvidia upgrading the drivers. Any way... Really nice work.!Thanks for inviting us to the dress up part of the show. schwaahed
Let's get to the bottom of this.
Best, Ge! _______________________________________________ chuck-dev mailing list chuck-dev@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-dev
so for any that are interested audicle works on my machine:
Hmm... Audiclicious.
version: |=> audicle: 1.0.0.3 (quintesson) |=> chuck: 1.2.0.6 (dracula) exe target: linux (jack) http://audicle.cs.princeton.edu/
Gentoo Linux:
Linux schwaabook 2.6.17-gentoo-r5 #1 SMP PREEMPT Mon Aug 14 18:05:03 EDT 2006 i686 Genuine Intel(R) CPU T2600 @ 2.16GHz GenuineIntel GNU/Linux
Thanks again! Let us know if more weirdness presents itself. Best, Ge!
Hi again! Doh, I missed that you write it was compiled for jack & alsa. So you compiled using both 'make linux-alsa' and 'make linux-jack' separately and neither worked? The error you are getting is commonly the result of chuck not finding the jack server. If you haven't tried alsa yet, might want to 'make clean' and 'make linux-alsa' and run again. Sorry for the confusion! Best, Ge! On Wed, 16 Aug 2006, schwaahed wrote:
Hi,
I get the following errors below when trying to run audilcle on Gentoo Linux. The audilce wil run if I start it like so:
audicle --silent
...but not otherwise.
- schwaahed
schwaabook src # audicle [chuck]:(2:SYSTEM): setting log level to: 5 (INFORM)... [chuck]:(2:SYSTEM): audicle version: 1.0.0.3 (quintesson) [chuck]:(2:SYSTEM): (audicle) initializing... [chuck]:(2:SYSTEM): (audicle) initializing graphics engine... [chuck]:(2:SYSTEM): | (audicle) cursor state: ON [chuck]:(2:SYSTEM): | (audicle) initializing opengl/glut... [chuck]:(2:SYSTEM): (audicle) initializing windowing system... [chuck]:(2:SYSTEM): | (audicle) window size: 1024 x 768 [chuck]:(2:SYSTEM): | (audicle) window position: 0, 0 freeglut (audicle): Unable to create direct context rendering for window 'audicle' This may hurt performance. [chuck]:(2:SYSTEM): | fullscreen mode: OFF [chuck]:(2:SYSTEM): | initializing chuck shell... [chuck]:(2:SYSTEM): | [chuck]: shell started... [chuck]:(2:SYSTEM): initializing chuck... [chuck]:(2:SYSTEM): chuck version: 1.2.0.6 (dracula) [chuck]:(2:SYSTEM): initializing virtual machine... [chuck]:(2:SYSTEM): | behavior: LOOP [chuck]:(2:SYSTEM): | allocating shreduler... [chuck]:(2:SYSTEM): | allocating messaging buffers... [chuck]:(2:SYSTEM): | real-time audio: YES [chuck]:(2:SYSTEM): | mode: CALLBACK [chuck]:(2:SYSTEM): | sample rate: 48000 [chuck]:(2:SYSTEM): | buffer size: 1024 [chuck]:(2:SYSTEM): | num buffers: 8 [chuck]:(2:SYSTEM): | devices adc: 0 dac: 0 (default 0) [chuck]:(2:SYSTEM): | channels in: 2 out: 2 [chuck]:(2:SYSTEM): initializing compiler... [chuck]:(3:SEVERE): | initializing type checker... [chuck]:(3:SEVERE): | | adding base classes... [chuck]:(3:SEVERE): | | | class 'object' [chuck]:(3:SEVERE): | | | class 'array' [chuck]:(3:SEVERE): | | | class 'string' [chuck]:(3:SEVERE): | | | class 'ugen' [chuck]:(3:SEVERE): | | | class 'shred' [chuck]:(3:SEVERE): | | | class 'event' [chuck]:(3:SEVERE): | | | class 'class' [chuck]:(3:SEVERE): | initializing emitter... [chuck]:(3:SEVERE): | loading built-in modules... [chuck]:(3:SEVERE): | | module osc... [chuck]:(3:SEVERE): | | module xxx... [chuck]:(3:SEVERE): | | module filter... [chuck]:(3:SEVERE): | | module STK... [chuck]:(3:SEVERE): | | class 'machine'... [chuck]:(3:SEVERE): | | class 'std'... [chuck]:(5:INFORM): | | initializing KBHitManager... [chuck]:(3:SEVERE): | | class 'math'... [chuck]:(3:SEVERE): | | class 'opsc'... [chuck]:(2:SYSTEM): type dependency resolution: MANUAL [chuck]:(2:SYSTEM): initializing synthesis engine... [chuck]:(3:SEVERE): | initializing 'dac'... [chuck]:(3:SEVERE): | initializing 'adc'... [chuck]:(3:SEVERE): | initializing 'blackhole'... [chuck]:(2:SYSTEM): | initializing 'real-time' audio... [chuck]: (via rtaudio): no devices found for compiled audio APIs! [chuck]: cannot initialize audio device (try using --silent/-s) schwaabook src # _______________________________________________ chuck-dev mailing list chuck-dev@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-dev
participants (2)
-
Ge Wang
-
schwaahed