Qsynth setup confusion with latest Salix OS.

General talk about packaging procedures and packages.
Post Reply
User avatar
globetrotterdk
Posts: 435
Joined: 26. Oct 2010, 13:57
Location: Denmark

Qsynth setup confusion with latest Salix OS.

Post by globetrotterdk »

I am very confused about setting up Qsynth, but maybe I am over thinking? I am getting the following messages from Qsynth:

Code: Select all

fluidsynth: error: Unknown string setting 'audio.jack.id'
fluidsynth: error: Unknown integer parameter 'audio.jack.autoconnect'
fluidsynth: error: Unknown integer parameter 'audio.jack.multi'
fluidsynth: error: Unknown integer parameter 'synth.dump'
fluidsynth: warning: Requested 2 periods, got 3 instead
fluidsynth: warning: Failed to set thread to high priority
fluidsynth: warning: Failed to set thread to high priority
Both jack, jack2, pipewire and pipewire-native-jack were installed on my system. Some as default and some as dependencies (?) QjackCtl reports the following at startup:

Code: Select all

23:29:56.963 JACK was started with PID=5730.
23:29:56.965 JACK was stopped
23:29:59.131 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.
Is the system using jack or pipewire? Why am I getting the error messages that I am? How do I get this sorted out?
Military justice is to justice what military music is to music. - Groucho Marx
User avatar
globetrotterdk
Posts: 435
Joined: 26. Oct 2010, 13:57
Location: Denmark

Re: Qsynth setup confusion with latest Salix OS.

Post by globetrotterdk »

I did a reinstall to check how the dependencies come in. In my case, both the jack and pipewire dependencies are installed with LMMS.
I tried the following:

Code: Select all

$ sudo nano /etc/default/cpufreq
I changed the text to read:

Code: Select all

SCALING_GOVERNOR=performance
This apparently was not enough, as I am still getting the following:

Code: Select all

fluidsynth: error: Unknown string setting 'audio.jack.id'
fluidsynth: error: Unknown integer parameter 'audio.jack.autoconnect'
fluidsynth: error: Unknown integer parameter 'audio.jack.multi'
fluidsynth: error: Unknown integer parameter 'synth.dump'
fluidsynth: warning: Requested 2 periods, got 3 instead
fluidsynth: warning: Failed to set thread to high priority
fluidsynth: warning: Failed to set thread to high priority
This time, I got the following from QjackCtl:

Code: Select all

16:16:00.844 JACK was started with PID=2473.
16:16:00.850 JACK was stopped
16:16:02.996 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info.
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 738, resource id: 18896501, major code: 40 (TranslateCoords), minor code: 0
Still as confused...
Military justice is to justice what military music is to music. - Groucho Marx
User avatar
globetrotterdk
Posts: 435
Joined: 26. Oct 2010, 13:57
Location: Denmark

Re: Qsynth setup confusion with latest Salix OS.

Post by globetrotterdk »

OK, I created a new file and added the following:

Code: Select all

$ sudo nano /etc/security/limits.d/rt_audio.conf
# Added following:
@audio - memlock 840
@audio - rtprio 95
Qsynth has quit complaining. I have set MIDI (alsa_seq) and Audio drivers (alsa), but I don't get any sound. Still getting the same errors when I try to start jackd with QjackCtl. I still don't know if I should be trying to get jackd to start, but assume so, as /usr/sbin/pipewire-enable.sh seems to need to be run, and I am guessing that wireplumber and JDSP4Linux need to be installed for pipewire to work...
Military justice is to justice what military music is to music. - Groucho Marx
User avatar
globetrotterdk
Posts: 435
Joined: 26. Oct 2010, 13:57
Location: Denmark

Jack broken?

Post by globetrotterdk »

Getting some interesting output. Not sure, but it looks like jack is broken:

Code: Select all

$ jackd -d alsa -r 44100
jackdmp 1.9.20
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2021 Filipe Coelho.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
[W][00062.450802] default      | [       control.c:   87 jackctl_server_create2()] not implemented (nil) (nil) (nil)
[W][00062.450809] default      | [       control.c:  174 jackctl_server_get_parameters()] 0x22a90e0: not implemented
[W][00062.450816] default      | [       control.c:  162 jackctl_server_get_drivers_list()] 0x22a90e0: not implemented
[W][00062.450820] default      | [       control.c:  245 jackctl_driver_get_name()] 0x22a9100: not implemented
Unknown driver "alsa"
[W][00062.450823] default      | [       control.c:  114 jackctl_server_destroy()] 0x22a90e0: not implemented

---

$ jackd -d alsa -R 44100
jackdmp 1.9.20
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2021 Filipe Coelho.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
[W][00342.129396] default      | [       control.c:   87 jackctl_server_create2()] not implemented (nil) (nil) (nil)
[W][00342.129428] default      | [       control.c:  174 jackctl_server_get_parameters()] 0xa750e0: not implemented
[W][00342.129441] default      | [       control.c:  162 jackctl_server_get_drivers_list()] 0xa750e0: not implemented
[W][00342.129451] default      | [       control.c:  245 jackctl_driver_get_name()] 0xa75100: not implemented
Unknown driver "alsa"
[W][00342.129463] default      | [       control.c:  114 jackctl_server_destroy()] 0xa750e0: not implemented

---

$ jackd -d alsa -P 44100
jackdmp 1.9.20
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2021 Filipe Coelho.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
[W][00486.969684] default      | [       control.c:   87 jackctl_server_create2()] not implemented (nil) (nil) (nil)
[W][00486.969707] default      | [       control.c:  174 jackctl_server_get_parameters()] 0x22310e0: not implemented
[W][00486.969721] default      | [       control.c:  162 jackctl_server_get_drivers_list()] 0x22310e0: not implemented
[W][00486.969728] default      | [       control.c:  245 jackctl_driver_get_name()] 0x2231100: not implemented
Unknown driver "alsa"
[W][00486.969738] default      | [       control.c:  114 jackctl_server_destroy()] 0x22310e0: not implemented
Yes, my user is in the audio group...
Military justice is to justice what military music is to music. - Groucho Marx
Post Reply