View Issue Details

IDProjectCategoryView StatusLast Update
0008497ardourbugspublic2020-12-20 23:06
ReporterHans Flikkema Assigned Tox42  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformMicrosoftOSWindowsOS Version10
Product Version6.5 
Summary0008497: Plugin settings saving - LV Compressor and LV EQ setting names disappear after project re-opened
DescriptionImportant! This happens only using version 6.5 and is becomming a dealbreaker for using Ardour anymour, or at least v6.5.
I use the LV2 compressors an Eq pluggins a lot on tracks, so I noticed directly that something was wrong in Ardour 6.5. What happens is that when I opened a project, for some tracks the name of the presetting is of teh lv2 EQs and compressors whre set to -none- and in the list of presettings the name I gave the setting just earlier is gone. The settings are still oké but the preset name is gone.
I tested this very intensively also with complete new projects, so now I m certain this is a structural failure. To make things complicated, incidentaly this problenm does not occur, I cannot put a finger on that. There for I tested is thoroughly on a clean new project and than it happens all the time.
Important is that the specific Eq or compressor settings still appear as last time saved, but you have to give it a preset name again and that new name will vanish in the end.
For now I reinstalled 6.3 again, for my productions cannot wait for this to be repaired.

 
Steps To ReproduceCreate a new recording session.
Create a view recording tracks (mono)
Select LV ACE compressor or the LV ACE EQ
Do some settings and then save setting under a new Name using +.
Save project and close the project.
Re-open te project.
Select an open the pluggin you set
You'll see the settings are still oke but
see what name the preset has got, it will be -none-
Tagslv2 saving settings plugins 6.5

Activities

Hans Flikkema

2020-12-13 17:02

reporter   ~0025305

Extra info I just discovered, that might help tracing the issue. The vanished settings are stil to be found in the file folder ....\Users\Username\AppData\Roaming\LV2
Which suggets that after refreshing Ardoutr 6.5 seems to read only older setting and not the newly made.
Second important discovery I made, it must have to do with the "writing" of the new setting to this folder, when making the setting, because a certain setting that went lost but still exists in the mentioned file folder, so not completely lost, but those are not seen by Ardour 6.3 as well!! And that makes is it extra interesting. Does 6.5 make a certain write error with LV2 mono comperssor and Lv2 eQ
The other way around: making a new specific setting in Ardour 6.3, (o the same track and the same plugin, in this test the LV2 a-EQ), will make it re-appear when opening Ardour 6.5.
Hope this is helping the search.
Kind regards Hans

x42

2020-12-14 20:35

administrator   ~0025306

Sadly I cannot reproduce this with the steps you described using Windows 7 and Ardour 6.5.0. So we need more information.

in step (4) you have "save setting under a new Name using +". After a session-reload is that preset available from the dropdown?
Could you check file permissions in <code>%appdata%\lv2\</code> or a user mismatch in case you once launched Ardour as administrator?


Even more mysterious is that there has been no change to Ardour regarding LV2 plugin presets between Ardour 6.3 and 6.5. Also the plugins themselves did not change (except for displayed "title/name").
However the library dealing with LV2 plugins (liblilv) was updated and it became more picky about refusing invalid files. It also fixes an issue with older versions saving invalid presets.

Does removing the %appdata%\lv2\ folder and starting over fix the issue?
Just temporarily move the folder out of the way (e.g. to your Desktop) so that you don't loose your old presets.
If that helps the problem may be one or more invalid presets.

Hans Flikkema

2020-12-14 23:32

reporter   ~0025307

I did as you asked me to do (in -0025306)
Renamed appdata%\Lv2.
Reinstalled 6.5, staring with a fresh folder Lv2
I made new recording project, filled it with audio tracks and started inserting plugg-ins ACE Compressor and ACE EQ and tried naming the preset with option +
Then after a lot of trying I discovered that it depends on the name you choose for the preset and the use of capitals in it whether it ill be saved properly.
(it is sometimes saved in the appdata folder (see send file), when using a "forbiden"name. So it seems that Ardour will ignore it depending on its name. It is strange that the ignored name does remain visable in the pull down menu in the plug-in, but doe nloyt pop up in the "Favourite Plugins window".
For the EQ when i choose for the name "Bass SUMMER" it 'll get lost. If I choose "Bass SUmmer" or "Bass Winter" then its no problem, (this is no joke)
In the ACE Compressor (mono) it is the same different I cannot use the preset name "Snare SUMMER" nor "Bass summer", nor Bass SUMMER, but I can use Bass SUmmer, or Bas summer (bass with one s).
The ACE Compressor stereo, is not sensitive for preset naming, Bass Summer or Snare Summer, are properly saved.
Using ACE Delay then I can use any name as well; the names like Bass SUMMER are no problem at all.
Interseting is that the problem does not occur using the Stereo COMP or the Delay, or any other third party plug-ins, just these 2, that I tend to use a lot.
So I can live with Ardour 6.5 , as long as I prevent using some names. The name Bass007 or any other number seems to work all times.
(6.3 has none of these problems)
But it is a bug for sure, a very strange one.
Map roaming LV2 .JPG (36,288 bytes)   
Map roaming LV2 .JPG (36,288 bytes)   

x42

2020-12-14 23:54

administrator   ~0025308

Strange indeed.

Could you zip up one the presets that does not work (e.g. "Bass SUMMER") and attach it to this bug report?

Hans Flikkema

2020-12-15 10:15

reporter   ~0025311

IMPORTANT !!!!!!
Unfortunatly I had to reinstall 6.3 again, for almost all Plugin settings ACE EQ and ACE Comperssor in my test setup had been named -none- when staring upo this morning.
Next thing i discovered was that when I change a setting a in the EQ for a bit and than click save, then the setting name disappears from the pull down list. So changing and than saving seems to create problems as well.
Secondly Ardour 6.5 keeps on making this kind of error reports, constantly:
2020-12-15T10:53:42 [WARNING]: Plugin "urn:ardour:a-eq" preset "file:///C:/Users/flikk/AppData/Roaming/LV2/a-EQ_Snare.lv2/Snare.ttl" is missing a label

This is all happening since Lv2 a- has been renamed in Lv2 ACE in version 6.5.

I could try once more with a fully CLEAN install of Ardour, but I cannot find a workaround how to do that (backing up the presets, remove Ardour fully from the computer and than install 6.5)
Up till now working

Hans Flikkema

2020-12-15 10:36

reporter   ~0025312

follow up: just discoverd (in 6.5 againa) that I loose them all (really all, any preset name) after I change the stetting for a bit and then save, select an other preset and then want to come back tot the one I just changed, vanished! but still visible in the roaming/LV2 folder, still in the pull down but not selectable and after restart not in the pull down, not in the favorites, but still in the roaming folder. Looks as if they still get saved as "-a" in stead of "ACE"

For you asked to send a setting that disappears (but still is in the roaming folder), see attachment, although I think it has to do with saving after changing, were the trouble starts

Hans Flikkema

2020-12-15 19:08

reporter   ~0025319

follow up searching for clues: I discovered that in the appdata/LV2 folder in most the ACE folders the manifst.ttl file is empty, I could only find 1 with an manifest.ttl file with content like all the older "a-" folders have.
So I selected that one and selected one with empty manifest.ttl, see zipfile below. I hope this will help finding
Two preset files.zip (2,070 bytes)

Hans Flikkema

2020-12-16 13:03

reporter   ~0025321

Narrowing the isseu further, or found the cause: First the problem only occurs with LV2 plugins. Second it happens (disapearing) only when "saving" preset ofter a change in setting. So creating preset wit "+" works fine, but after changing setting and click save, the preset cannot be used again and its file "manifest.ttl" is emptied. So the problem seems to be the saving after changing and not the creating "+"

So the reproducing instruction on top of this item is wrong en should be:
- open or create project in Ardour 6.5.0
- select LV2 pluging ACE-EQ
- make settings and create preset using "+" give a new name e.g. John
- change setting a bit and save the preset using button "save the current preset"
- open preset box and select another preset
- again open presetbox and try to select "John" again
Althouhg it is still visable you cannot select it again
After fresh start up of this project John is also vanished from the pull down list.

x42

2020-12-16 16:11

administrator   ~0025324

Thanks for the thorough investigation. That is helpful.

> but after changing setting and click save, the preset cannot be used again and its file "manifest.ttl" is emptied. So the problem seems to be the saving after changing and not the creating "+"

Aha. Yes, that is a somewhat known issue and work in progress.

Ardour 6.3 used to delete and re-create presets. That changed due to recent work on https://github.com/lv2/lilv/issues/37
Ardour 6.3 -> 6.5 binaries updating liblilv 0.24.9 to 0.24.10 which was supposed to address this issue but apparently does not.

Hans Flikkema

2020-12-16 19:59

reporter   ~0025325

Thanks for explaining. I'm glad to hear you recognize this issue.
Unfortunately I use LV2 plugins really a lot (Compressor and EQ wordt very very fine and don't eat too much processor, compared with some other plugins, very nice).
The way it worked in 6.3 was good for me.
Can you keep me informed if or when there is a (nightly build) version available in which this is solved?
For now I switched back to 6.3 a version that works nice and is very stable.

x42

2020-12-18 15:11

administrator   ~0025329

The issue was understood and fixed in https://gitlab.com/lv2/lilv/-/commit/3ed25ad0cc8dac9d431b591f3bd9c1a848ab2b39

We've updated the libraries and tomorrow's (December/19) nightly build (Ardour 6.5.50 or later) will fix this issue.

Hans Flikkema

2020-12-20 22:27

reporter   ~0025337

Hi, installed 6.5.51 (optimized version) today and tested intensively. All works fine now. Thanks for repairing this so fast!

Issue History

Date Modified Username Field Change
2020-12-13 16:27 Hans Flikkema New Issue
2020-12-13 16:27 Hans Flikkema Tag Attached: lv2 saving settings plugins 6.5
2020-12-13 17:02 Hans Flikkema Note Added: 0025305
2020-12-14 20:35 x42 Note Added: 0025306
2020-12-14 23:32 Hans Flikkema File Added: Map roaming LV2 .JPG
2020-12-14 23:32 Hans Flikkema Note Added: 0025307
2020-12-14 23:54 x42 Note Added: 0025308
2020-12-15 10:15 Hans Flikkema Note Added: 0025311
2020-12-15 10:36 Hans Flikkema File Added: ACE_Compressor_Bass_SUMMER.zip
2020-12-15 10:36 Hans Flikkema Note Added: 0025312
2020-12-15 19:08 Hans Flikkema File Added: Two preset files.zip
2020-12-15 19:08 Hans Flikkema Note Added: 0025319
2020-12-16 13:03 Hans Flikkema Note Added: 0025321
2020-12-16 16:11 x42 Note Added: 0025324
2020-12-16 19:59 Hans Flikkema Note Added: 0025325
2020-12-18 15:11 x42 Note Added: 0025329
2020-12-19 16:04 x42 Assigned To => x42
2020-12-19 16:04 x42 Status new => resolved
2020-12-19 16:04 x42 Resolution open => fixed
2020-12-20 22:27 Hans Flikkema Note Added: 0025337
2020-12-20 23:06 x42 Status resolved => closed