Carla on Arch: not loading project in headless mode

Unofficial support for the KXStudio Linux distribution and applications.
More info at http://kxstudio.linuxaudio.org/

Moderators: khz, MattKingUSA

Post Reply
robin
Established Member
Posts: 26
Joined: Wed Nov 04, 2020 10:56 am

Carla on Arch: not loading project in headless mode

Post by robin »

Hi! It seems carla is not loading the supplied projects file when used with the '-n' flag for headless operation. It starts up, I can connect via Carla-Control, but no plugins are loaded. I'm pretty sure this worked before because I had an old launch script lying around that sets OSC-Ports and launches in headless mode, but that doesn't seem to work anymore. GUI-Operation works fine, by the way. This is the console output:

Code: Select all

Carla 2.2.0 started, status:
  Python version: 3.8.6
  Qt version:     5.15.1
  PyQt version:   5.15.1
  Binary dir:     /usr/lib/carla
  Resources dir:  /usr/share/carla/resources
Carla assertion failure: "value <= 0 || value >= 1024" in file CarlaStandalone.cpp, line 732
Carla assertion failure: "value <= 0 || value >= 1024" in file CarlaStandalone.cpp, line 737
libjack.so.0 loaded successfully!
Carla ready!
I'm using carla 2.2.0-2 on Arch, tried on a fresh install as well as my production machine, same results. Can anyone confirm this is a bug or am I missing something?

robin
Established Member
Posts: 26
Joined: Wed Nov 04, 2020 10:56 am

Re: Carla on Arch: not loading project in headless mode

Post by robin »

I didn't dig really deep into this problem because I found a workaround which suits my usecase (starting as systemd-service) even better than running headless. In case anyone needs a similar solution: I'm using Xvnc now to redirect carlas GUI to a single-purpose VNC display, thus avoiding the need for a user session with a window manager and all that stuff in X, and having network acees to the GUI as a bonus if needed.

I still think this is a relatively bit bug because it makes real headless operation almost impossible, I'm surprised nobody stumbled upon it yet...

Post Reply