After compiled standalone version will only run with sudo with no sound

Official support for: zynaddsubfx.sourceforge.net
Post Reply New Topic
RELATED
PRODUCTS

Post

This is what I get at the terminal:

Code: Select all

sudo zynaddsubfx
[sudo] password for XXXX: 

ZynAddSubFX - Copyright (c) 2002-2013 Nasca Octavian Paul and others
                Copyright (c) 2009-2017 Mark McCurry [active maintainer]
This program is free software (GNU GPL v2 or later) and 
it comes with ABSOLUTELY NO WARRANTY.

Try 'zynaddsubfx --help' for command-line options.
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock

Sample Rate =           48000
Sound Buffer Size =     256 samples
Internal latency =      5.3 ms
ADsynth Oscil.Size =    256 samples
lo server running on 14943
[INFO] Nio::start()
Starting Audio: JACK
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot read socket fd = 9 err = Connection reset by peer
CheckRes error
Could not read result type = 22
Client name = zynaddsubfx conflits with another running client
Cannot connect to the server
JackShmReadWritePtr1::~JackShmReadWritePtr1 - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Error, failed to open jack client on server:  status 33
Error, NULL jackClient through Start()
ERROR: The default audio output failed to open!
Starting MIDI: ALSA
MIDI Started
[INFO] exec-after-init
[INFO] startup OSC
[INFO] UI calbacks
[INFO] OSC replay
[INFO] auto_save setup
[INFO] NSM Stuff
[INFO] LASH Stuff
Connected to session bus, unique name is ":1.4"
[INFO] Launching Zyn-Fusion...
[INFO] Main Loop...
[INFO:Zyn] setup_pugl()
[INFO:Zyn] zest_tick()
[INFO:Zyn] zest_open()
[INFO:Zyn] Found Assets at /opt/zyn-fusion/
[INFO:Zyn] Starting Zyn-Fusion
[INFO:Zyn] Thanks for supporting the developement of this project
[INFO:Zyn] Creating MRuby Interpreter...
[debug] parsing json file
[debug] json parsed succesfully
Time for a fast load is 3.995ms load(0.01) class(0.001) spawn(3.984)...
making reverse graph[1091]<2.015 ms>
[INFO:Zyn] zest_setup()
[DEBUG:Zyn] setting up animation fps

Post

I was using jackd2-firewire when I noticed the problem. Installed jackd1-firewire and zynaddsubfx is working well now. No need to start the program with sudo, and it connects to jack without problems. If I install jackd2-firewire again the problems come back, so I decided to stick to jackd1-firewire for now. Too bad because my audio interface seems to like jackd2-firewire the most. It throws less xruns with jackd2-firewire.

Post

For the record, zynaddsubfx should not be run with sudo under normal conditions.
One of the developers on the ZynAddSubFX open source synth
The author of the Zyn-Fusion UI for ZynAddSubFX

Post

Thank your for the answer. I know, but I run it with sudo just to check if it was something somehow related to file ownership. As of now with jackd1-firewire installed the program runs fine, no need for sudo.

Post Reply

Return to “ZynAddSubFX”