Re: [Ardour-users] Problem exporting session

From: Michiel Broek (mbse_at_mbse.dds.nl)
Date: 01/12/04 15:26 EST


From: Michiel Broek <mbse@mbse.dds.nl>
Subject: Re: [Ardour-users] Problem exporting session
Message-Id: <200401122126.43937.mbse@mbse.dds.nl>
Date: Mon, 12 Jan 2004 21:26:43 +0100

Jesse,

Op maandag 12 januari 2004 02:55, schreef Jesse Chappell:
> rob fell wrote on Sun, 11-Jan-2004:
>  > I have JACK 0.91.1, Ardour/GTK 0.430.2 running with libardour 0.714.0. 
>  > Export works for me (albeit limited testing) UNLESS I attempt
>  > downsampling from 48K to 44K1 - in which case Ardour generally freezes
>  > but on one occasion the playhead would not stop "playing" despite
>  > getting kicked from JACK.
>
> Hmm.  I just tested with JACK 0.93.11  and the same version of
> Ardour, and just had success downsampling an export from a 48k session
> to a 44.1k wave.  If you could get latest cvs of JACK and try
> it again, then we can start narrowing down possible causes.

I just upgraded to jack 0.93.11 and one of the latest ardour versions (see 
below), export doesn't work. I get it to work on a slow machine (400 Mhz), 
but not on a P4 1,8Ghz. I think this has to do with the speed of export (CPU) 
relative against disk speed. The last time I did exports was about 2 months 
ago, then it worked fine. Now I don't know the inner workings of ardour, but 
it looks strange to me that the disk read buffers need to go to zero and give 
the error. The older version did read also as fast as was possible without 
errors. If it's important that during export the audio is streaming, then the 
speed should be lowered to a safe level. Here are some details:

Jack from qjackctl:

20:53:23.420 Statistics reset.
20:53:23.588 Startup script...
20:53:23.589 [artsshell -q terminate]
JACK compiled with POSIX SHM support
20:53:23.634 MIDI connection graph change.
20:53:24.925 Startup script terminated with exit status=256.
20:53:24.926 JACK is starting...
20:53:24.926 [jackd -R -P 2 -t 500 -d alsa -d hw:0 -r 44100 -p 1024 -n 2]
20:53:24.936 JACK was started with PID=2303 (0x8ff).
jackd 0.93.11
Copyright 2001-2003 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details

loading driver ..
apparent rate = 44100
creating alsa driver ... hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|rt|16bit
control device hw:0
configuring for 44100Hz, period = 1024 frames, buffer = 2 periods
20:53:26.968 Statistics reset.
20:53:27.565 Client activated.
20:53:27.566 Post-startup script...
20:53:27.567 [/etc/rc.d/init.d/ladccad start]
20:53:27.569 Audio connection graph change.
Starting ladccad Daemon: ladccad
20:53:27.797 MIDI connection graph change.
20:53:27.801 Audio connection graph change.
20:53:28.094 Post-startup script terminated successfully.


The error log from ardour:

[ERROR]: Audio 2: disk stream error at frame 458752 (-1)
[ERROR]: Session: error for Audio 2 at frame 458752 (-1)


Ardour started from the commandline:

Ardour/GTK 0.430.2 running with libardour 0.714.0
Loading UI configuration file /etc/ardour/ardour_ui.rc
Loading system configuration file /etc/ardour/ardour_system.rc
Loading user configuration file /root/.ardour/ardour.rc
MIDI: MTC on port hw:0 MMC on port hw:0
ardour: [WARNING]: MMC MIDI port "hw:0" not available: no MMC control possible
0 2 0 0 0 0
0 2 0 0 0 0
0 697 0 348 696 0
0 697 0 348 696 0
Loading session /mnt/data/audio/nb_1/ using snapshot nb_1

Gtk-CRITICAL **: file gtkcontainer.c: line 730 (gtk_container_remove): 
assertion `widget->parent == GTK_WIDGET (container)' failed.

Gtk-CRITICAL **: file gtkcontainer.c: line 730 (gtk_container_remove): 
assertion `widget->parent == GTK_WIDGET (container)' failed.

Gtk-CRITICAL **: file gtkcontainer.c: line 730 (gtk_container_remove): 
assertion `widget->parent == GTK_WIDGET (container)' failed.

Gtk-CRITICAL **: file gtkcontainer.c: line 730 (gtk_container_remove): 
assertion `widget->parent == GTK_WIDGET (container)' failed.

Gtk-CRITICAL **: file gtkcontainer.c: line 730 (gtk_container_remove): 
assertion `widget->parent == GTK_WIDGET (container)' failed.

Gtk-CRITICAL **: file gtkcontainer.c: line 730 (gtk_container_remove): 
assertion `widget->parent == GTK_WIDGET (container)' failed.
DiskStream Audio 2:0: playback underrun (called with 1024 samples but only 0 
available; other half: 0) [speed=1]
stopping disk butler thread
stopping transport thread
stopping peak file builder thread
stopping signal thread
Ardour is done. Come again. Have a nice day. Etc.



Btw, running jack with or without realtime doesn't make any difference.


-- 
  Michiel Broek
  Internet: mbse@mbse.dds.nl
  Fidonet:  2:280/2802@fidonet.org



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Ardour-users mailing list
Ardour-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ardour-users

This archive was generated by hypermail 2.1.7 : 01/12/04 15:31 EST