Ardour takes 2 minutes to start

23 replies [Last post]
audiodef
User offline. Last seen 4 days 18 hours ago. Offline
Joined: 2009-08-29
Posts:

That says it all. Ardour takes two minutes to start. I recompiled it again and it still happens. No errors appear when I start it from a terminal. It just takes two minutes to start.

I have no clue about this one. I'd appreciate any help. I don't even know what information to provide. I can't think of anything relevant. I updated my Wine and system in general recently, but everything else that I do with audio works, including JACK.

audiodef
User offline. Last seen 4 days 18 hours ago. Offline
Joined: 2009-08-29
Posts:

I see in my JACK messages "ERROR: cannot find client 2"

That's it for messages.

Ardour also has stopped working. It hasn't played the last several times I tried to simply play an existing project. I click on the play button and... nothing. It's not silent, it just doesn't move.

audiodef
User offline. Last seen 4 days 18 hours ago. Offline
Joined: 2009-08-29
Posts:

Along with all this, Ardour freezes when I try to quit. I have to open a terminal and kill Ardour and several wine processes.

audiodef
User offline. Last seen 4 days 18 hours ago. Offline
Joined: 2009-08-29
Posts:

I do have some output, after all:

This is the entire output from the terminal from starting Ardour, opening a project, playing it (which worked fine at that point), and opening Rosegarden, at which point Ardour goes psycho and sticks its head in the sand as I described earlier.

I didn't have this problem a few days ago.


audiodef@Tchaikovsky ~ $ ardour2 &
[1] 2939
audiodef@Tchaikovsky ~ $ fixme:advapi:SetEntriesInAclA 1 0x33f72c (nil) 0x33f764
fixme:advapi:SetSecurityInfo stub
fixme:advapi:SetEntriesInAclA 1 0x33f71c (nil) 0x33f764
fixme:advapi:SetSecurityInfo stub
fixme:advapi:SetEntriesInAclA 1 0x33f73c (nil) 0x33f784
fixme:advapi:SetSecurityInfo stub
fixme:system:SetProcessDPIAware stub!
fixme:iphlpapi:NotifyAddrChange (Handle 0x73e914, overlapped 0x73e918): stub
audiodef@Tchaikovsky ~ $ err:process:__wine_kernel_init boot event wait timed out
Ardour 2.8.11
(built using 8136 and GCC version 4.4.5)
Copyright (C) 1999-2008 Paul Davis
Some portions Copyright (C) Steve Harris, Ari Johnson, Brett Viren, Joel Baker

Ardour comes with ABSOLUTELY NO WARRANTY
not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This is free software, and you are welcome to redistribute it
under certain conditions; see the source for copying conditions.
Cannot install SIGPIPE error handler
/usr/share/themes/NOX/gtk-2.0/gtkrc:233: Murrine configuration option "gradients" is no longer supported and will be ignored.
/usr/share/themes/NOX/gtk-2.0/gtkrc:233: Murrine configuration option "gradients" is no longer supported and will be ignored.
loading default ui configuration file /etc/ardour2/ardour2_ui_default.conf
loading user ui configuration file /home/audiodef/.ardour2/ardour2_ui.conf
Loading ui configuration file /etc/ardour2/ardour2_ui_dark.rc
theme_init() called from internal clearlooks engine
ardour: [INFO]: Ardour will be limited to 1024 open files
loading system configuration file /etc/ardour2/ardour_system.rc
loading user configuration file /home/audiodef/.ardour2/ardour.rc
Startup win32 GUI thread

ardour: [INFO]: Using SSE optimized routines
ardour: [ERROR]: LADSPA: cannot load module "/usr/lib/ladspa/dahdsr_hexp.so" (/usr/lib/ladspa/dahdsr_hexp.so: undefined symbol: log)
ardour: [ERROR]: LADSPA: cannot load module "/usr/lib/ladspa/dahdsr_fexp.so" (/usr/lib/ladspa/dahdsr_fexp.so: undefined symbol: log)
ardour: [ERROR]: LADSPA: cannot load module "/usr/lib/ladspa/foo_limiter_v2.so" (/usr/lib/ladspa/foo_limiter_v2.so: undefined symbol: powf)
ardour: [ERROR]: LADSPA: cannot load module "/usr/lib/ladspa/wasp-noisifier.so" (/usr/lib/ladspa/wasp-noisifier.so: undefined symbol: pow)
ardour: [ERROR]: LADSPA: cannot load module "/usr/lib/ladspa/t00b_limiter.so" (/usr/lib/ladspa/t00b_limiter.so: undefined symbol: powf)
ardour: [ERROR]: LADSPA: cannot load module "/usr/lib/ladspa/foo_driver.so" (/usr/lib/ladspa/foo_driver.so: undefined symbol: powf)
ardour: [ERROR]: LADSPA: cannot load module "/usr/lib/ladspa/foo_saturator.so" (/usr/lib/ladspa/foo_saturator.so: undefined symbol: powf)
ardour: [ERROR]: LADSPA: cannot load module "/usr/lib/ladspa/foo_limiter.so" (/usr/lib/ladspa/foo_limiter.so: undefined symbol: powf)
ardour: [ERROR]: LADSPA: cannot load module "/usr/lib/ladspa/power_4400.so" (/usr/lib/ladspa/power_4400.so: undefined symbol: powf)
ardour: [ERROR]: LADSPA: cannot load module "/usr/lib/ladspa/vocoder.so" (/usr/lib/ladspa/vocoder.so: undefined symbol: pow)
ardour: [ERROR]: LADSPA: cannot load module "/usr/lib/ladspa/wasp-booster.so" (/usr/lib/ladspa/wasp-booster.so: undefined symbol: powf)
ardour: [ERROR]: LADSPA: cannot load module "/usr/lib/ladspa/wasp-noise_variable.so" (/usr/lib/ladspa/wasp-noise_variable.so: undefined symbol: pow)
VST_PATH not set, defaulting to /home/audiodef/vst:/usr/local/lib/vst:/usr/lib/vst
RemoteVSTClient: all cache files are up-to-date, not running scanner
ardour: [ERROR]: LADSPA: cannot load module "/usr/lib/ladspa/adenv_lvl.so" (/usr/lib/ladspa/adenv_lvl.so: undefined symbol: log)
ardour: [ERROR]: LADSPA: cannot load module "/usr/lib/ladspa/hz_voct_4200.so" (/usr/lib/ladspa/hz_voct_4200.so: undefined symbol: logf)
ardour: [ERROR]: LADSPA: cannot load module "/usr/lib/ladspa/foo_transients_mono.so" (/usr/lib/ladspa/foo_transients_mono.so: undefined symbol: powf)
ardour: [ERROR]: LADSPA: cannot load module "/usr/lib/ladspa/foo_transients.so" (/usr/lib/ladspa/foo_transients.so: undefined symbol: powf)
ardour: [ERROR]: LADSPA: cannot load module "/usr/lib/ladspa/wasp-x-shaper.so" (/usr/lib/ladspa/wasp-x-shaper.so: undefined symbol: sin)
ardour: [INFO]: detecting VST plugins along /usr/local/lib/vst:/usr/lib/vst
discovering /usr/local/lib/vst/Polysix.dll
discovering /usr/local/lib/vst/mixer1.dll
ardour: [WARNING]: Cannot get VST information from /usr/local/lib/vst/mixer1.dll
discovering /usr/local/lib/vst/MS-20FX.dll
discovering /usr/local/lib/vst/Classic Flanger.dll
discovering /usr/local/lib/vst/Classic Reverb.dll
discovering /usr/local/lib/vst/mixer3.dll
ardour: [WARNING]: Cannot get VST information from /usr/local/lib/vst/mixer3.dll
discovering /usr/local/lib/vst/Classic Auto-Filter.dll
discovering /usr/local/lib/vst/Classic Phaser.dll
discovering /usr/local/lib/vst/MS-20.dll
discovering /usr/local/lib/vst/SPAN.dll
discovering /usr/local/lib/vst/mixer2.dll
ardour: [WARNING]: Cannot get VST information from /usr/local/lib/vst/mixer2.dll
discovering /usr/local/lib/vst/WAVESTATION.dll
discovering /usr/local/lib/vst/Triangle II.dll
discovering /usr/local/lib/vst/MidiFilter.dll
ardour: [WARNING]: Cannot get VST information from /usr/local/lib/vst/MidiFilter.dll
discovering /usr/local/lib/vst/Crystal.dll
discovering /usr/local/lib/vst/RoughRider.dll
discovering /usr/local/lib/vst/gemma.dll
ardour: [WARNING]: Cannot get VST information from /usr/local/lib/vst/gemma.dll
discovering /usr/local/lib/vst/Classic Master Limiter.dll
discovering /usr/local/lib/vst/HarmoniEQ.dll
ardour: [WARNING]: Cannot get VST information from /usr/local/lib/vst/HarmoniEQ.dll
discovering /usr/local/lib/vst/Classic Chorus.dll
discovering /usr/local/lib/vst/intermod.dll
ardour: [WARNING]: Cannot get VST information from /usr/local/lib/vst/intermod.dll
discovering /usr/local/lib/vst/MDE-X.dll
discovering /usr/local/lib/vst/erida.dll
ardour: [WARNING]: Cannot get VST information from /usr/local/lib/vst/erida.dll
discovering /usr/local/lib/vst/Classic Delay.dll
discovering /usr/local/lib/vst/Classic EQ.dll
discovering /usr/local/lib/vst/GalactiX.dll
discovering /usr/local/lib/vst/Classic Compressor.dll
discovering /usr/local/lib/vst/Deft Compressor.dll
ardour: [INFO]: looking for control protocols in /home/audiodef/.ardour2/surfaces/:/usr/lib/ardour2/surfaces/
powermate: Opening of powermate failed - No such file or directory
ardour: [INFO]: Control protocol powermate not usable
ardour: [INFO]: Control surface protocol discovered: "Generic MIDI"
ardour: [INFO]: Control protocol Tranzport not usable
ardour: [INFO]: Control surface protocol discovered: "Mackie"
loading bindings from /home/audiodef/.ardour2/ardour.bindings

(F:\usr\lib\ardour2\ardour_vst.exe.so:2939): Gtk-WARNING **: EnableTranslation: missing action EnableTranslation
Session writable based on /home/audiodef/ArdourMasters/LovelyMadhouse/I Want To Believe/
REDISPLAY diskstream
Layering call for Audio 2-4.1
Layering call for Audio 2-3.2
Layering call for Audio 2-2.6
Layering call for Audio 2-2.3
Layering call for Audio 2-1.12
Layering call for Audio 2-1.11
Layering call for Audio 2-1.10
Layering call for Audio 2-1.9
Layering call for Audio 2-1.7
REDISPLAY diskstream
Layering call for Audio 3-1.17
Layering call for Audio 3-1.16
Layering call for Audio 3-1.14
Layering call for Audio 3-1.13
Layering call for Audio 3-1.12
Layering call for Audio 3-1.10
Layering call for Audio 3-1.9
Layering call for Audio 3-1.8
Layering call for Audio 3-1.6
REDISPLAY diskstream
Layering call for Audio 4-6.5
Layering call for Audio 4-6.4
Layering call for Audio 4-4.6
Layering call for Audio 4-4.5
Layering call for Audio 4-1.7
Layering call for Audio 4-1.17
Layering call for Audio 4-1.16
Layering call for Audio 4-1.14
Layering call for Audio 4-1.13
Layering call for Audio 4-1.12
Layering call for Audio 4-1.8
REDISPLAY diskstream
Layering call for Audio 5-1.17
Layering call for Audio 5-1.16
Layering call for Audio 5-1.14
Layering call for Audio 5-1.13
Layering call for Audio 5-1.12
Layering call for Audio 5-1.10
Layering call for Audio 5-1.9
Layering call for Audio 5-1.8
Layering call for Audio 5-1.6
REDISPLAY diskstream
Layering call for Audio 6-3.5
Layering call for Audio 6-3.4
Layering call for Audio 6-2.7
Layering call for Audio 6-2.13
Layering call for Audio 6-2.12
Layering call for Audio 6-2.10
Layering call for Audio 6-2.8
Layering call for Audio 6-1.16
Layering call for Audio 6-1.15
Layering call for Audio 6-1.13
Layering call for Audio 6-1.11
Layering call for Audio 6-1.20
Layering call for Audio 6-1.19
Layering call for Audio 6-1.17
REDISPLAY diskstream
Layering call for Audio 7-4.3
Layering call for Audio 7-3.6
Layering call for Audio 7-3.5
Layering call for Audio 7-2.21
Layering call for Audio 7-2.20
Layering call for Audio 7-2.16
Layering call for Audio 7-2.14
Layering call for Audio 7-2.10
Layering call for Audio 7-2.8
Layering call for Audio 7-1.4
Layering call for Audio 7-1.3
REDISPLAY diskstream
Layering call for KB_ Inchworm-3.1
Layering call for KB_ Inchworm-1.1
REDISPLAY diskstream
Layering call for KB, Inchworm 2-1.7
Layering call for KB, Inchworm 2-1.6
Layering call for KB, Inchworm 2-1.5
Layering call for KB, Inchworm 2-1.4
REDISPLAY diskstream
Layering call for KB_ Inchworm 3-2.1
REDISPLAY diskstream
Layering call for KB_ WormARP-1.2
REDISPLAY diskstream
Layering call for KB, PolyNox-1.4
REDISPLAY diskstream
Layering call for AX, A8-1.1
REDISPLAY diskstream
Layering call for BD1-1.1
REDISPLAY diskstream
Layering call for Audio 1-2.1
REDISPLAY diskstream
Layering call for BD2-1.1
REDISPLAY diskstream
Layering call for EX, Snare-1.11
Layering call for EX, Snare-1.10
Layering call for EX, Snare-1.8
Layering call for EX, Snare-1.6
Layering call for EX, Snare-1.4
Layering call for EX, Snare-1.2
REDISPLAY diskstream
Layering call for Snare 2-1.1
REDISPLAY diskstream
Layering call for EX_ Hat-9.1
REDISPLAY diskstream
Layering call for IO:IWantToTick-1.1
REDISPLAY diskstream
Layering call for EX_ Reason Bbass-2.1
REDISPLAY diskstream
Layering call for Reason Modulator-1.1
REDISPLAY diskstream
Layering call for Reasonbass-1.1
REDISPLAY diskstream
Layering call for Wantadef-1.2
REDISPLAY diskstream
REDISPLAY diskstream

audiodef
User offline. Last seen 4 days 18 hours ago. Offline
Joined: 2009-08-29
Posts:

Maybe it's JACK and not Ardour. This is from JACK messages:

Never mind. I couldn't copy the messages and now it's no longer in the scroll. But there was bunch of JACK errors that weren't a problem as of a few days ago.

joegiampaoli
joegiampaoli's picture
User offline. Last seen 23 weeks 2 days ago. Offline
Joined: 2008-02-27
Posts:

in qjackctl there is an option to log all output to a file text.

audiodef
User offline. Last seen 4 days 18 hours ago. Offline
Joined: 2009-08-29
Posts:

I use LADI.

paul
paul's picture
User offline. Last seen 15 hours 47 min ago. Offline
Joined: 2006-03-16
Posts:

@audiodef: the output on stderr or stdout is almost never useful for debugging. Its not possible to debug your issue without you running a debug build of Ardour, which its unlikely you have unless you built it yourself.

audiodef
User offline. Last seen 4 days 18 hours ago. Offline
Joined: 2009-08-29
Posts:

What can I do about this, then? My work is at a complete standstill.

audiodef
User offline. Last seen 4 days 18 hours ago. Offline
Joined: 2009-08-29
Posts:

I'm compiling Ardour with debug. Once that's done, then what?

seablade
User offline. Last seen 9 hours 16 min ago. Offline
Joined: 2007-01-22
Posts:

@audiodef

The major problem in your case is that you are using the Wine-VST build, which is downright difficult to debug. I would suggest getting on IRC and seeing if there is anyone to help you there, but I wouldn't hold my breath as I can probably count on one hand the amount of people with experience debugging the VST builds of Ardour, and I am not one of them sad to say;)

Seablade

audiodef
User offline. Last seen 4 days 18 hours ago. Offline
Joined: 2009-08-29
Posts:

I don't know if this has anything to do with why Paul is fed up with Gentoo, at least as far as Ardour goes, but I now have to agree with him. Gentoo is still my main OS, but I'm seeing if setting up Ubuntu for my audio work makes things more stable. I seriously do not need shit blowing up when I need to work. Or rather, I don't mind if it does as long as it's a problem that has a chance of being fixed while I learn something. ;-)

rpatros
rpatros's picture
User offline. Last seen 1 year 10 weeks ago. Offline
Joined: 2008-05-30
Posts:

I would suggest to use AVLINUX 4.1 which has the most of the latest version and the distro is based on Debian and ardour is build with VST support. Here is the link to the ISO:

http://www.bandshed.net/iso/avlinux4.1-lxde-i386-en.iso

macinnisrr
macinnisrr's picture
User offline. Last seen 4 days 9 hours ago. Offline
Joined: 2008-01-14
Posts:

Dream Studio (dream.dickmacinnis.com) is Ubuntu based (hence compatible, in fact is mostly identical), and comes with both up-to-date versions of ardour and ardourvst.

joegiampaoli
joegiampaoli's picture
User offline. Last seen 23 weeks 2 days ago. Offline
Joined: 2008-02-27
Posts:

@ audiodef:

You can give ubuntu a shot or Fedora too. My advice is to stay away from ubuntu studio, in my experience I have had quite some issues in the past with it, using plain ubuntu and self compiling evrything is and will always be better than ubuntu studio.

If compiling and configuring is just too much then go for DreamStudio like macinnisrr says or try gmaq's A/V linux. These are two 100% Ardour users just like us, who rolled their own linuxes for this purposes, there can be no more guarantee that things will perform and work better than other distros.

Cheers!

audiodef
User offline. Last seen 4 days 18 hours ago. Offline
Joined: 2009-08-29
Posts:

After spending an entire day effing around with Gentoo, I'm about ready to go to bed in tears. Ardour still craps out when I open the programs I need to go along with it, namely Rosegarden and Patchage. This happens with ardour2, not ardourvst. I don't even want to bother checking ardourvst on this setup again.

Ubuntu Studio and regular Ubuntu crapped out on nvidia drivers, of all things.

FFS!

I'm going to try the above-mentioned distros. If those don't work, please send the men in the white coats, for I shall have gone stark raving mad.

...

OK, more so than usual.

Compiling and configuring, well I love doing it, but when things consistently don't work, it drives one a bit buggy - pun intended.

GMaq
GMaq's picture
User offline. Last seen 2 days 21 hours ago. Offline
Joined: 2007-12-11
Posts:

Audiodef,

One peculiar thing about ArdourVST is that it will choke and puke on processing too many new VST .dll's at the same time. It needs to write a small '.fsi' file to use the VST.dlls properly. I see in the log you posted that it failed to get the VST information from some of your plugins. It could conceivably take several starts of ArdourVST to work through processing the large number of plugins during which it will try for several minutes and then just horribly die on you.

The secret is to add one Windows VST .dll at a time, launch Ardour from the terminal and see if it successfully integrated the VST. It is important to mention that some VST's will not be compatible at all by fst (the vst enabling library) within Ardour and will never work, this is repetitive and time consuming but the only way to ensure a smooth start with ArdourVST.

For the record since it was mentioned earlier in this thread, AV Linux ships with several free Windows VST's included with their accompanying fsi files so you can even launch and use ArdourVST from the LiveDVD with no hiccups. In my personal experience ArdourVST 2.8.11 with a carefully selected set of VST's is rock solid. YMMV based on which dlls are used and which version WINE you are using as well.

macinnisrr
macinnisrr's picture
User offline. Last seen 4 days 9 hours ago. Offline
Joined: 2008-01-14
Posts:

I should mention that because Dream Studio is Ubuntu based, you'll probably have the same Nvidia issues, although I suspect it's because you're using Ubuntu 10.10 (or UbuntuStudio 10.10, or Dream Studio 10.10 for that matter) and the nvidia-96 drivers, which is a known bug. If you want to give Dream Studio a shot (or Ubuntu, or UbuntuStudio) and those drivers are the problem, I recommend using 10.04 LTS instead. Or just use AVLinux ;-)

joegiampaoli
joegiampaoli's picture
User offline. Last seen 23 weeks 2 days ago. Offline
Joined: 2008-02-27
Posts:

Again, I dont rely in Nvidia from repos, I download the official installer and latest from Nvidia website, and build additional kernel modules for it if necessary, which with repos its just too much of a hassle. That way I also make sure I am running latest Nvidia drivers.

What I'm trying to get to is that I install ubuntu just as a base and then compile as I go along, more stable, no dependency crap and if something is broken I know it's my fault.

audiodef
User offline. Last seen 4 days 18 hours ago. Offline
Joined: 2009-08-29
Posts:

GMaq, the problem is, Ardourvst has been working with that number of VSTs for a while, so while I will follow your advice from now on, I don't think that was the problem.

I've successfully installed AV Linux. Now I'm waiting to see if the nvidia drivers FUBAR on me like they did in Ubuntu. If not, we have a winner.

Joe, thanks for the insight on nvidia and Ubuntu 10.10. I was going to try 10.04 next, but hopefully AV Linux uses a stable version of nvidia drivers.

audiodef
User offline. Last seen 4 days 18 hours ago. Offline
Joined: 2009-08-29
Posts:

I have a suggestion for AVLinux. My regular user was unable to start jackd (via qjackctl) until I followed the instructions I wrote for Gentoo at http://audiodef.com/gentoo/proaudio/ProAudioForGentoo.php under the sections "System Settings For Audio" and "Testing Your System". I think these instructions should be added to a file that gets placed on the desktop of a fresh install - or better yet, have a little script run during the install to set this up.

I'll repost my suggestion in the appropriate place if someone can tell me where that place is.

audiodef
User offline. Last seen 4 days 18 hours ago. Offline
Joined: 2009-08-29
Posts:

Having a problem with Ardour on AVLinux now. When I open an existing project, there's no output. When I connect Ardour's master outs to my system's main inputs (an Onyx mixer), the master meter in Ardour shows a continuous warbling signal in the meter bars whether the project is playing or not, but there is still no audio.

On another project, I get wild distortion in the red (and there IS audio. Terrible, terrible distortion), but the signal fades when I hit stop.

Looks like a feedback loop, but where? In the first project I tried to open, I cut ALL connections and then reconnected ONE track. No effects, plugins or VSTs. This still happens.

GMaq
GMaq's picture
User offline. Last seen 2 days 21 hours ago. Offline
Joined: 2007-12-11
Posts:

OK, one thing at a time.

You should not be having trouble running jack and having to change anything, if it worked correctly on the LiveDVD/USB it should work correctly on the install, If it's not working OOTB with realtime permissions something is definitely wrong from the get go. AV Linux is not perfect by any stretch but OOTB JACK permissions support is normally not an issue. The problem you are having with the arrangement that loads and maxxes out the meters is almost certainly a plugin problem. I have seen this with Calf LV2's in particular where an arrangement with older Calf versions was opened with newer Calf plugins on the system, if not Calf it is almost certainly a plugin causing this.

By Onyx do you mean a Mackie Onyx? In AV Linux you must add your user to the 'disk' group in order for firewire devices to work properly. I suggest you come on over to the AV Linux forum and we'll help you get this straightened out, In the meantime you may want to update Wine from here: http://www.bandshed.net/checkinstall/wine_1.3.7avlinux-1_i386.deb. In my experience this new version is a little better behaved than the 1.3.2 that comes on the AV Linux ISO. Did you try JACK with your onboard soundcard first? That would be an indicator if JACK or ffado are causing trouble with the Onyx. There is pretty detailed firewire HowTo here which may help as well: http://www.remastersys.com/forums/index.php?topic=516.0

Pop over to the AV Linux forum, take a deep breath and we'll help if we can...:-)

audiodef
User offline. Last seen 4 days 18 hours ago. Offline
Joined: 2009-08-29
Posts:

I'll swing on by, then!

Thanks for all the tips and help in this particular thread. :-)