Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux Manjaro / REAPER v6.76 / SWS 2.13.2.0 : ReaLearn 2.14.3 Vsti won't open #829

Open
SoliDeoGloria2 opened this issue Mar 1, 2023 · 17 comments
Labels
need more info Further information is requested realearn Related to ReaLearn

Comments

@SoliDeoGloria2
Copy link

Hi! The title says it all. I have to revert to Realearn 2.13.1 to have the ReaLearn plugin available. With 2.14.3, it simply doesn't appear. I reverted directly to the last known working version, since I have to work tomorrow with REAPER and don't have much time to test other versions.

If you need any other feedback, I'm at your disposal.

Thanks in advance!

@SoliDeoGloria2
Copy link
Author

SoliDeoGloria2 commented Mar 27, 2023

Hi! With Realearn v15 pre1, I still have the same problem : ReaLearn does not appear, as if it were not installed... And now, with the current REAPER pre cycle, I get this when I load a project with ReaLearn v 2.13.1 (the last one working):

===== ATTENTION =====

Sorry, an unknown error occurred in REAPER plug-in ReaLearn. REAPER should continue to work but ReaLearn might show unexpected behavior until restarting REAPER. If you feel like saving your project file at this point, better save it as a new file because this error could have messed up the plug-in state.

In any case, please report this error:

  1. Prepare an e-mail containing:
    • The error information further below (IMPORTANT)
    • Some instructions on how to reproduce the error (IMPORTANT)
  2. If possible, attach the following files:
    • Your REAPER project file (.rpp)
    • Your REAPER configuration file (reaper.ini)
  3. Send it to info@helgoboss.org

Thank you for your support!

--- cut ---
REAPER version: 6.78+dev0325/linux-x86_64
Module name: ReaLearn
Module version: v2.13.1/x86_64 rev bf74f7 (2022-07-09 14:32:54 UTC)
Module base address: -
Module size: -

Message: MIDI input device IDs must be <= 62, got 63

0: 0x7f0d789d6947 -
1: 0x7f0d789d89b5 -
2: 0x7f0d788b5a57 -
3: 0x7f0d78a20e00 -
4: 0x7f0d78a20c37 -
5: 0x7f0d78a1eff4 -
6: 0x7f0d78a20969 -
7: 0x7f0d77b7d793 -
8: 0x7f0d7891055f -
9: 0x7f0d78451f00 -
10: 0x7f0d783a2dcd -
11: 0x7f0d782b6309 -
12: 0x7f0d78074599 -
13: 0x7f0d77b7cb4a -
14: 0x7f0d782cb8d9 -
15: 0x7f0d78036db1 -
16: 0x7f0d789fbaf2 -
17: 0x999b23 -
18: 0x7ebce7 -
19: 0x7c6183 -
20: 0x7c9922 -
21: 0x4c36b3 -
22: 0x904c76 -
23: 0x908ae4 -
24: 0x9096fa -
25: 0x50dac8 -
26: 0x541765 -
27: 0x550096 -
28: 0x56c780 -
29: 0x8039e0 -
30: 0x80d8ec -
31: 0x819e52 -
32: 0x7f0db14311c6 -
33: 0x7f0db1424c77 -
34: 0x7f0db143f4dd -
35: 0x7f0db14213ae -
36: 0x7f0db142894c -
37: 0x7f0db14311e8 -
38: 0x7f0db1449747 -
39: 0x7f0db144c61d -
40: 0x7f0db0b97cc3 -
41: 0x7f0db0be6058 -
42: 0x7f0db0d6687b - g_main_context_dispatch
43: 0x7f0db0dbd279 -
44: 0x7f0db0d65132 - g_main_context_iteration
45: 0x7f0db144f07a -
46: 0x7f0db1431532 -
47: 0x40cf06 -
48: 0x7f0db1713290 -
49: 0x7f0db171334a - __libc_start_main
50: 0x41a50a - _start
51: 0x0 -
--- cut ---

I hope this can be easily fixed...

Thanks in advance.

@helgoboss
Copy link
Owner

The latter issue is known and I will fix it around end of next week.

The former issue:
Did you install libxdo-dev? See installation instructions on GitHub.

If this doesn't help, try this and tell me about the result: #503 (comment)

Might be an older libc.

@SoliDeoGloria2
Copy link
Author

Hi Helgoboss,

As I'm on Manjaro, I can´t find that libxdo-dev library neither in the repositories nor anywhere. There are only .deb files available elsewhere for Debian/Ubuntu distros. Am I supposed to install the .deb via debtap or anything like that?

Regarding the other issue, thanks so much! I'll wait until the fix.

@helgoboss
Copy link
Owner

I don't have Manjaro experience, sorry. Maybe it's named differently in Manjaro. You could search for "xdo" in its package manager.

@SoliDeoGloria2
Copy link
Author

Well, xdo didn't work, but the procedure in your link shows this :

#include<stdio.h>
#include <dlfcn.h>

int main() {
printf("Test\n");
dlopen("./realearn.so", RTLD_NOW);
printf("%s", dlerror());
return 0;
}

I hope it shows the cause of the issue...

@helgoboss
Copy link
Owner

Hi, you posted the code, not the result.

@SoliDeoGloria2
Copy link
Author

Ooops! Sorry, here it is :

libxdo.so.3: cannot open shared object file: No such file or directory

But "xdo" (which I have already installed) didn't seem to work here. Strange...

@helgoboss helgoboss added the need more info Further information is requested label Apr 7, 2023
@helgoboss
Copy link
Owner

So it can't find the XDO library even it's installed. Maybe under a different name. To be honest, I don't know for sure how to deal with this or how this library binding is supposed to work.

I don't really like to depend on libxdo anyway, I hope to get rid of this dependency in some way. But it will take a while, I don't see any quick solution now.

@SoliDeoGloria2
Copy link
Author

Well, I don't have any problem if I have to pin the 2.13.1 version and wait to upgrade. It works fine here. And yes, it will be better if you find the way to get rid of that annoying library. Take your time, for now I can go on using ReaLearn...

@alienbee
Copy link

alienbee commented Apr 22, 2023

Manjaro latest : Reaper v6.78 - Same problem. Realearn not firing up with projects that use it , shows its installed inside in ReaPack, but wont make an appearance in the plugin list. errors out for projects using it on load.

installed the 2.13, its back to working

@helgoboss
Copy link
Owner

Are you sure it's because of libxdo? Or is it libc version? Did you do the check?

I'm thinking about removing the mouse control feature from the Linux versions in general, then the rest would work at least (if your issue is related to libxdo).

@helgoboss
Copy link
Owner

Mmh, removing the mouse control feature is not so nice, if I think about it. It would remove the possibility to change the param under the mouse cursor.

One thing I can do very quickly for the next release is to make the issue less intense. By building the official release on a slightly older version of Ubuntu (20 instead of 22) ... which hopefully makes a little difference when it comes to the required libc and libxdo versions.

helgoboss added a commit that referenced this issue Apr 25, 2023
…f 22.04

so the resulting builds don't require the latest libc and libxdo versions
@alienbee
Copy link

_> Are you sure it's because of libxdo? Or is it libc version? Did you do the check?

I'm thinking about removing the mouse control feature from the Linux versions in general, then the rest would work at least (if your issue is related to libxdo)._

Im not a programmer, but i use the program, I just checked in package manager to see if the "libxdo" is installed..is this what you need? - it is not installed on my Manjaro, im on the latest version. I use Relearn extensively on all my projects, VERY usfull, much appreciated =)

@SoliDeoGloria2
Copy link
Author

SoliDeoGloria2 commented Apr 26, 2023

Mmh, removing the mouse control feature is not so nice, if I think about it. It would remove the possibility to change the param under the mouse cursor.

One thing I can do very quickly for the next release is to make the issue less intense. By building the official release on a slightly older version of Ubuntu (20 instead of 22) ... which hopefully makes a little difference when it comes to the required libc and libxdo versions.

Well, as I see the fix released I'll try it out and tell you how it goes here.

Thanks so much in advance!

helgoboss added a commit that referenced this issue Apr 30, 2023
Reason: glib too old

```
Warning: `PKG_CONFIG_ALLOW_SYSTEM_CFLAGS="1" PKG_CONFIG_PATH="/usr/lib/arm-linux-gnueabihf/pkgconfig/:" "pkg-config" "--libs" "--cflags" "glib-2.0" "glib-2.0 >= 2.56"` did not exit successfully: exit status: 1
```
@helgoboss
Copy link
Owner

Upcoming release 2.15.0-pre.3 Linux builds are built using Ubuntu 20 instead of 22. Hopefully improves compatibility with older libc versions.

@SoliDeoGloria2
Copy link
Author

Hi Helgoboss! For now, REAPER V6.80 with Realearn 2.15 won't work. I'm sticking to 2.13.1 for now, the last seemingly working version...

@helgoboss
Copy link
Owner

Okay, thanks for the report. I will not be able to focus on non-Ubuntu Linux distributions for quite a while. Let's hope that a future Manjaro update fixes it (as it seems to be related to the XDO version) before I get the time.

@helgoboss helgoboss added the realearn Related to ReaLearn label Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need more info Further information is requested realearn Related to ReaLearn
Projects
None yet
Development

No branches or pull requests

3 participants