kmatheussen / radium

A graphical music editor. A next generation tracker.
http://users.notam02.no/~kjetism/radium/
GNU General Public License v2.0
835 stars 36 forks source link

Official linux build should be build on newer linux distro (maybe latest Ubuntu LTS) #1356

Closed akimaze closed 2 years ago

akimaze commented 2 years ago

I noticed that a lot of VST plugins (Vital, Vital VST3, all u-he plugins like Podolski, latest carla rack) don't work with official build (6.9.96). They work when I build Radium myself on my machine (Mint 20.2 - distro based on ubuntu 20.4 LTS). So maybe it's something c++ libs related. Default yabridge build also needs 20.4 LTS (https://github.com/robbert-vdh/yabridge/releases/tag/3.6.0). So I think official builds should be build on newer linux distro.

kmatheussen commented 2 years ago

Ouch, I just upgraded the build system a year ago because of this. The build system now runs on ubuntu 18, which I think is too new, but I chose it anyway for other reasons.

I checked Podolsi though, and the problem there seems to be caused by mixing different versions of libg* libraries. Radium only includes libglib-2.0, but maybe it shouldn't. At least it should provide all or nothing I guess.

So an easy fix is simply to delete the file lib/libglib-2.0.so.0 and it should work.

akimaze commented 2 years ago

After removing glib-2.0 vital and u-he plugins starts working. Thank you!

Unfortunately Carla Rack UI (from kx studio repository) shows only black window (my own build works) maybe another lib?

kmatheussen commented 2 years ago

Carla has problems with conflicting python libraries, but I think that problem may not be there in the latest version, if that is the reason. Maybe you find some info on this ticket: https://github.com/kmatheussen/radium/issues/1351

On Sat, Dec 11, 2021 at 3:17 PM akimaze @.***> wrote:

After removing glib-2.0 vital and u-he plugins starts working. Thank you!

Unfortunately Carla Rack UI (from kx studio repository) shows only black window (my own build works) maybe another lib?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kmatheussen/radium/issues/1356#issuecomment-991659093, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIX3J3GDIQGX353QHLXP73UQNMPNANCNFSM5GJY24JQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

akimaze commented 2 years ago

After reading #1351 I think the problem is that new carla (I use git version build from kxstudio repository) tries to run python3 but radium changes PYTHONHOME, and PYTHONPATH to it's own python 2.7 libraries. That's why simple copy or link encodings folder to radium/bin/python2.7/lib not working (python3 can't use that libraries).

In my custom build I don't have radium/bin/python2.7/lib. I think carla uses python3 (or system default - python3) and radium uses python2.7. And that's why my custom build works ok.