Audacity runs fairly good, work environment acts up

Help for Audacity on GNU/Linux.
Forum rules
ImageThis forum is for Audacity on GNU/Linux.
Please state:
  • which version of Linux you are using,
  • the exact three-section version number of Audacity from Help menu > About Audacity,
  • whether you installed your distribution's release, PPA version, or compiled Audacity from source code.

Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see 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.
Dr. Killjoy
Posts: 46
Joined: Tue Jul 02, 2013 5:04 pm
Operating System: Please select

Audacity runs fairly good, work environment acts up

Post by Dr. Killjoy » Tue Jul 02, 2013 5:53 pm

Hey there,

Here's another happy Audacity user. Thanks for all the brilliant work.

Since my fresh installation of Linux Mint 15 (Olivia) Cinnamon 64 bit, I've come across some strange error while working with Audacity 2.0.3. I can't make out anything from the computer logs (it might just stop logging because of the following error, perhaps).

I use Audacity for working on editing long interviews (mostly 2 hours in length). On my desktop, everything works fast and smoothly. But now, when I start working on any file, I notice that at a certain point I can still work in Audacity, but the rest of the Linux Mint environment stops responding. It DOES give mouse tips on items at the panel, switching workspaces using ctrl+alt+left also works, but I can't use ALT+TAB or select different windows, for example a web browser or text editor.

Apart from some glitches (sometimes Audacity doesn't respond, either) I can work on my audio file. If I wanna shut down Audacity, I have to do that by shortkey ALT+F4, using the mouse on the window does not work.

I considered it to be a kernel error, or something with the X-server, or imported settings in my hidden folders from an earlier install, but removing all hidden folders/settings did not help.

Perhaps someone does recognise this kind of behaviour?

Thanks in advance, Lucien aka Dr. Killjoy

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

Re: Audacity runs fairly good, work environment acts up

Post by steve » Tue Jul 02, 2013 6:01 pm

Have a look in "Edit > Preferences > Directories"
Which of these does it look more like?
What is the address in the "location" box?
Image
Image
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Dr. Killjoy
Posts: 46
Joined: Tue Jul 02, 2013 5:04 pm
Operating System: Please select

Re: Audacity runs fairly good, work environment acts up

Post by Dr. Killjoy » Tue Jul 02, 2013 6:04 pm

I must say that this behaviour acts up at some points. After 10 minutes or so, most of the times, I can suddenly interact with other windows as well. Until it ceases to function again and the above described behaviour is back again. So it almost feels like waiting for a buffer to restore.

Dr. Killjoy
Posts: 46
Joined: Tue Jul 02, 2013 5:04 pm
Operating System: Please select

Re: Audacity runs fairly good, work environment acts up

Post by Dr. Killjoy » Tue Jul 02, 2013 6:07 pm

Aha, I see! So it might just be the fact that Audacity was in my case writing temporary files to var/tmp/audacity-temporary (or something like that)?

I will try to change it to /home/Audacity now.

By the way, my view looks a bit more like the first one.

Dr. Killjoy
Posts: 46
Joined: Tue Jul 02, 2013 5:04 pm
Operating System: Please select

Re: Audacity runs fairly good, work environment acts up

Post by Dr. Killjoy » Tue Jul 02, 2013 6:54 pm

I don't know where my posts have gone, but here I go again.

The above shown tab from the Settings screen shows the linux map /var/tmp/audacity-temporary (something like that)
I don't have an option for changing buffers or so.

I changed the above mentioned folder to a new folder in my Home folder: /home/Audacity/. I considered maybe I did not have the rights as user to
put temporary files there, and I am pretty sure I can do that in my Home folder.

Alas, I just noticed that to problem continues to exist. I have trouble thinking what I could be. Still having the idea that it could be something like a buffer problem, for the problem does not occur continuously, but is 'interrupted' by a few minutes of time in which I CAN access other screens.

Is there any Audacity buffer I should know of?

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

Re: Audacity runs fairly good, work environment acts up

Post by steve » Tue Jul 02, 2013 6:57 pm

Dr. Killjoy wrote:By the way, my view looks a bit more like the first one.
Good, that's what it should look like, and so rules out one possibility.
Dr. Killjoy wrote: Aha, I see! So it might just be the fact that Audacity was in my case writing temporary files to var/tmp/audacity-temporary (or something like that)?

I will try to change it to /home/Audacity now.
For testing purposes you don't need to do that. Just Save the open Audacity project somewhere that you have write permission, plenty of free space, and fast disk access (NOT a network or external drive).

Until a project has been saved Audacity will use the temp directory (as defined in that preference screen) to store temporary data (including any recording data and "Undo" data). Working with audio produces a lot of data.

If the project has been saved somewhere, Audacity uses the saved "_data" folder to store this data instead of the temp directory.
If there is some problem with reading/writing from/to the temp folder, then the problem should disappear if you save the project to a local hard drive where you have read/write access and plenty of space.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

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

Re: Audacity runs fairly good, work environment acts up

Post by steve » Tue Jul 02, 2013 6:59 pm

Dr. Killjoy wrote:I don't know where my posts have gone
In order to combat the huge amount of spam that was being posted to the forum we have regrettably had to implement a "moderation queue". This means there will be a delay before your posts appear on the forum. We aim to approve all legitimate posts within 24 hours (usually much quicker).
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

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

Re: Audacity runs fairly good, work environment acts up

Post by steve » Tue Jul 02, 2013 7:03 pm

Dr. Killjoy wrote:Is there any Audacity buffer I should know of?
There are audio in/out buffers, but they are tiny (typically holding about 0.1 seconds of audio).
Disk write occur in blocks of 1 MB by default (still too small to account for the behaviour).
Dr. Killjoy wrote: Still having the idea that it could be something like a buffer problem, for the problem does not occur continuously, but is 'interrupted' by a few minutes of time in which I CAN access other screens.
Tell us about your system specification - there may be some clues there.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Dr. Killjoy
Posts: 46
Joined: Tue Jul 02, 2013 5:04 pm
Operating System: Please select

Re: Audacity runs fairly good, work environment acts up

Post by Dr. Killjoy » Tue Jul 02, 2013 7:48 pm

Thanks for your assistance so far, Steve!

Well here are my systems specifications:

Linux Mint 15: olivia (x86-64)
Kernel / build: 3.8.0-19-generic / #29-Ubuntu SMP Wed Apr 17 2013
Processor: AMD Athlon 64 X2 Dual Core Processor 4200+ x2 (month ago I cleaned it)
RAM: 2.4 GB
Disk size: 434.9 GB
Graphics card: AMD ATI Redwood XT [Radeon HD 5670]

Maybe the files are too big (3GB) But I have plenty of swap memory and I never had any trouble before and I had comparable file sizes to deal with...

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

Re: Audacity runs fairly good, work environment acts up

Post by steve » Wed Jul 03, 2013 9:51 am

Dr. Killjoy wrote:Maybe the files are too big (3GB) But I have plenty of swap memory and I never had any trouble before and I had comparable file sizes to deal with...
The audio data is saved in "blocks". By default, each block is a 1 MB file with a .AU extension.

I've noticed (while "extreme testing") that Audacity has a serious problem with Swap. IF Audacity is trying to use Swap, then that could explain why the problem is occurring, but normally Audacity should have no need to use Swap at all. Could you try running Audacity while also running a system monitoring application (you may have "System Monitor" available as a "System Tool"). Look to see if Swap is being actively used while running Audacity - if it is, then we need to find out why and whether it is Audacity that is accessing Swap.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply