Technical problems >> FORUM
Forums

Forums



SearchSearch   Users   Registration   Entrance
Today: 18.01.2026 - 14:40:58
Pages:  1  

Technical problems

MessageAuthor

Hi. this is Vojtech from MeldaProduction. Recently I discovered a few minor problems with Reaper so: 1) Reaper seems to let the plugin store the state very often, basically after any change. I guess for some Undo thingy. Unfortunately this is hardly acceptable, because our plugins must use the global lock to protect some more advanced data such as envelopes. which results in sometimes a few seconds long lag (usually in GUI). It cannot be done a different way, because another editing thread may be just changing it, so the storing could crash. How can this be disabled? At least I need something to tell users. 2) I have 2 reports of a case, when somebody updated our plugins and the GUI disappeared. The only solution was to reinstall them or RUN ANOTHER HOST :). In fact Reaper is the only host doing this. So my question is, does Reaper do some kind of caching or something like that, which could cause it and how to prevent it? Unfortunately I was unable to simulate it yet, so our choices are rather limited.




Seedster

users main


Statistics:
Messages: 96
Registration: 02.26.2001
29.03.23 - 23:44:29
Message # 1
RE: Technical problems

Hope, a dev will come along here soon to answer your questions. In the meantime an idea to check for 1) would be if Preferences->Plugins->VST: "Avoid restoring VST state on undo/redo if possible" brings some quick relief.




Mickey

users main


Statistics:
Messages: 804
Registration: 11.11.2001
29.03.23 - 23:50:28
Message # 2
RE: Technical problems

I suppose you contact Cockos support via e-mail.


---------------------------------------------
braaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaap

TooTall424

users main


Statistics:
Messages: 774
Registration: 04.18.2003
29.03.23 - 23:53:57
Message # 3
RE: Technical problems

Hello, Maybe similar problem affects also "shortcircuit v1.1.2", where (in SC1 settings YES to "Store all samples in project directory" option) "shortcircuitdata" subfolder is created (that's OK), but samples aren't copied to that folder only when SAVE project is performed in Reaper, but they are copied immediately when adding samples to keyzones in SC1 and touching any editing parameter, which is BAD, since that way ALL samples that you only try to add to multi setup are copied to destination folder even if you remove them from keyzone right after adding. It has to do with new v3 UNDO functionality somehow. 1) This phenomenon DOESN'T occur in v2.206, v2.53, v2.58 when UNDO is enabled 2) This phenomenon DOESN'T occur in v2.206, v2.53, v2.58 when UNDO is disabled (=UNDO memory set to 0MB) 3) This phenomenon DOES occur in v3.x (v3.13, v3.68) when UNDO is enabled 4) This phenomenon DOESN'T occur in v3.x (v3.13, v3.68) when UNDO is disabled (=UNDO memory set to 0MB) Common settings for all tests, accross all tested versions: Maximum undo memory use = 30 megabytes Create undo points for item/track selection = YES Create undo points for time selection = YES -and- Save full VST plug-in state if supported (recommended) = YES Save as bank (larger config data, required by some plug-ins) = YES Avoid restoring VST state on undo/redo if possible = NO (not checked) Additional setting (Save full VST ..., Save as bank ..., Avoid restoring VST state ..., Create undo points for item/track/time selection) don't affect the problem in any way. Would be fine if it gets fixed. akademie Note: Due to known bug in SC1, to test properly, you must first save project (even empty) then close project/reload project to internaly set actual path for storing samples (SC1 doesn't check for project path on save, but only on project load :-( (= keeps previous project path if project was loaded from folder A and then resaved to new folder B path (similarly if new project hasn't defined path ...)




edggyman007

users main


Statistics:
Messages: 22
Registration: 06.15.2003
30.03.23 - 00:03:12
Message # 4
RE: Technical problems

Sorry for the delay in responding, we've been discussing possible ways to handle this on our side. On the state saving issue: Of course the best solution would be for the plugin to support reporting its state without needing to lock up the GUI. There are a few strategies that could be used to accomplish this, such as caching the last reported state and only recalculating it if a parameter has changed, or only recalculating costly data if the relevant parameters have changed. There are many plugins that have massive state, but do not need to lock up the GUI in order to report that state. We may be able to add a per-plugin flag to disable undo, but there are potential side effects we need to think about. On the GUI issue: Is this an x64 specific problem? I recall reports of some other plugin GUI vanishing when the plugin is instantiated on x64 when more than 2GB of RAM is already in use. This could be a simple matter of the plugin using something like SetWindowLong instead of SetWindowLongPtr.




4tech

users main


Statistics:
Messages: 11
Registration: 10.06.2001
30.03.23 - 00:09:06
Message # 5
RE: Technical problems

Great, thanks! Please drop us a line at support at cockos if you would like an NFR license of REAPER, and of course please let us know if you come across anything that you think REAPER is doing wrong.


---------------------------------------------
Stancing is for drivers trapped in an abusive relationship of their own lives.

Manny G.

users main


Statistics:
Messages: 2,474
Registration: 09.06.2001
30.03.23 - 00:14:57
Message # 6
RE: Technical problems

OK, well the generic way to improve this in your plug-in is to reduce your locking granularity. For example, you could have a shared/exclusive lock for "envelope data" or whatnot, and have this locked exclusively during writes, and shared during reads -- and only exclusively locked for the duration of the writes. This way, you could read very quickly, except when writing, but when writing that would only be locked for a short time (and if writing is rare, then it's even less of an issue). I know this takes work on your end, but presumably it could have other payoffs...


---------------------------------------------
In Chicago? www.euroteknik.com

J///MR

users main


Statistics:
Messages: 196
Registration: 02.26.2001
30.03.23 - 00:22:30
Message # 7
RE: Technical problems

Well, I know that of course, it's not that simple though. Well, we'll see how much of a problem it is (actually I posted this, because I notified, no customer or something, and it was in debug mode :), but still... ).




punknamedjimmy

users main


Statistics:
Messages: 6,545
Registration: 09.24.2002
30.03.23 - 00:31:29
Message # 8
RE: Technical problems
Can somenoe check my VIN? : Previous topicNext topic: Little primal tap crashing reaper
Pages:  1  

The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants