Audacity 2.x.x takes 1 min to start, Audacity < 1.3.0 2 sec

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
grkn
Posts: 6
Joined: Tue Mar 08, 2016 4:17 am
Operating System: Windows 7

Audacity 2.x.x takes 1 min to start, Audacity < 1.3.0 2 sec

Post by grkn » Tue Mar 08, 2016 4:21 am

Unfortunately I need to use WASAPI loopback recording which was introduced in 2.0.5 so this is a real issue. I have a 3 ghz I7 Windows 7 64 bit computer which usually loads everything in milliseconds.

What I've tried that didn't make a difference:
1. Disabling all plugins
2. Deleting all plugins
3. Resetting settings

Ideas?

kozikowski
Forum Staff
Posts: 69374
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: Audacity 2.x.x takes 1 min to start, Audacity < 1.3.0 2

Post by kozikowski » Tue Mar 08, 2016 6:01 am

Is your hard-drive light going nuts while Audacity is trying to start?

How full is the drive?

Absent any known problems, I would remove Audacity and Restart.

Install a fresh download from here.

http://www.audacityteam.org/download/windows/

Part way through, it will ask you if you want to save any of your old settings. Say no.

Koz

grkn
Posts: 6
Joined: Tue Mar 08, 2016 4:17 am
Operating System: Windows 7

Re: Audacity 2.x.x takes 1 min to start, Audacity < 1.3.0 2

Post by grkn » Tue Mar 08, 2016 6:15 am

I found a solution

Installed 2.1.2 rc3, then made a shortcut to audacity to start minimized and put it in the startup folder as an intended workaround.

Rebooted windows, audacity starts at startup but faster than it used to.

Removed audacity from startup folder, now it starts in a few seconds anyways. weird, but works for me!

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity 2.x.x takes 1 min to start, Audacity < 1.3.0 2

Post by steve » Tue Mar 08, 2016 10:36 am

grkn wrote:weird, but works for me!
My guess is that your anti-virus was scanning Audacity before launching it - perhaps because it was installed by directly running the downloaded exe. Then by moving around different versions of Audacity, your anti-virus has now worked out that Audacity is a known application. This is only conjecture, but it could account for the mystery ;)
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Audacity 2.x.x takes 1 min to start, Audacity < 1.3.0 2

Post by Gale Andrews » Tue Mar 08, 2016 4:08 pm

There are probably multiple reasons 2.x is slower. A lot goes on when Audacity launches, such as querying audio devices and looking for LAME and FFmpeg.

1.3.0 did not support FFmpeg, and only used one audio host (MME). 2.x.x has to query audio devices for supported sample rates and other features separately through three hosts (MME, Windows DirectSound and Windows WASAPI). The Windows DirectSound queries are known to cause a slowdown.

1.2.x and 1.3.0 read and wrote a small number of settings directly in the Windows Registry. 2.x.x has lots more settings stored in an audacity.cfg text file.

Do you have a Solid State Drive, grkn? On my Hard Disk Drive system, excluding Audacity from Windows Defender and MalwareBytes Anti-Exploit only saves a few seconds off the 30 seconds to 45 seconds Audacity normally takes to launch.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

kozikowski
Forum Staff
Posts: 69374
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: Audacity 2.x.x takes 1 min to start, Audacity < 1.3.0 2

Post by kozikowski » Tue Mar 08, 2016 4:33 pm

Is your hard drive constantly pounding during startup?
Do you have a Solid State Drive, grkn?
Audacity 2.1.2 startup on an SSD system.

1.5 seconds.

Koz

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Audacity 2.x.x takes 1 min to start, Audacity < 1.3.0 2

Post by Gale Andrews » Tue Mar 08, 2016 5:04 pm

kozikowski wrote:Is your hard drive constantly pounding during startup?
My CPU use goes up from a typical 15% to 35% while Audacity is launching on Windows.
kozikowski wrote:Audacity 2.1.2 startup on an SSD system. 1.5 seconds.
I get about 10 seconds launch time of 2.1.2 on El Capitan, Mac Mini with an HDD.

So much quicker than on Windows.

We know how to make Audacity 2.x.x launch near immediate on Windows, anyway. Don't do the audio device queries.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

grkn
Posts: 6
Joined: Tue Mar 08, 2016 4:17 am
Operating System: Windows 7

Re: Audacity 2.x.x takes 1 min to start, Audacity < 1.3.0 2

Post by grkn » Tue Mar 08, 2016 5:12 pm

Yes I have a ssd, and no I don't have any running antivirus.

Robert2
Posts: 434
Joined: Wed Feb 22, 2012 6:54 pm
Operating System: Windows 10

Re: Audacity 2.x.x takes 1 min to start, Audacity < 1.3.0 2

Post by Robert2 » Tue Mar 08, 2016 5:50 pm

kozikowski wrote:Audacity 2.1.2 startup on an SSD system.

1.5 seconds.

Koz
Same here. Windows 10 x64
Robert

kozikowski
Forum Staff
Posts: 69374
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: Audacity 2.x.x takes 1 min to start, Audacity < 1.3.0 2

Post by kozikowski » Tue Mar 08, 2016 5:54 pm

Yes I have a ssd, and no I don't have any running antivirus.
And over a minute for normal Audacity 2.1.2 startup on an SSD system? That is very wrong.

Time to abandon conventional troubleshooting.

Do you or have you ever edited your Registry?

Koz

Post Reply