From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Gibbons Subject: Re: Help setting up ardour Date: Sat, 31 Aug 2019 09:35:08 -0600 Message-ID: <034468ded7635c71737c6bea2cadb9e304f93901.camel@gmail.com> References: <7ccec36fde6b49ae4057b9aa12e0f98e78c6e73d.camel@gmail.com> <87d0glfs10.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:48697) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i45PG-0001nS-Ba for help-guix@gnu.org; Sat, 31 Aug 2019 11:35:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i45PE-0005fW-PK for help-guix@gnu.org; Sat, 31 Aug 2019 11:35:14 -0400 Received: from mail-pg1-x52a.google.com ([2607:f8b0:4864:20::52a]:44386) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i45PE-0005dt-H5 for help-guix@gnu.org; Sat, 31 Aug 2019 11:35:12 -0400 Received: by mail-pg1-x52a.google.com with SMTP id i18so5043064pgl.11 for ; Sat, 31 Aug 2019 08:35:12 -0700 (PDT) In-Reply-To: <87d0glfs10.fsf@elephly.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Ricardo Wurmus Cc: help-guix@gnu.org On Sat, 2019-08-31 at 14:17 +0200, Ricardo Wurmus wrote: > Hi Jesse, > > > under certain conditions; see the file COPYING for details > > JACK is running in realtime mode, but you are not allowed to use > > realtime scheduling. > > grep: /etc/security/limits.conf: No such file or directory > > Please check your /etc/security/limits.conf for the following line > > and correct/add it if necessary: > > @audio - rtprio 99 > > Why doesn’t /etc/security/limits.conf exist? Have you reconfigured > your > system with the limits service that is suggested in the manual? > I added the pam-limits-service, reconfigured, and restarted but the issue persists. In my configuration (chopping out a lot to save space) users: (user-account (name "jesse") ... (supplementary-groups '("wheel" "netdev" "audio" "video" "kvm")) (home-directory "/home/jesse") ... packages: (specification->package "jack") services: (pam-limits-service (list (pam-limits-entry "@audio" 'both 'rtprio 99))) ---------------------------------------------- My /etc/security/limits.conf: @audio - rtprio 99 ---------------------------------------------- When I try to make an ardour project: connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) attempt to connect to server failed JACK command line will be: /gnu/store/p1x76ixjd590ww3zpqf710i3xwsdpfmx- profile/bin/jackd -t 200 -p 2048 -R -T -d alsa -n 2 -r 44100 -p 1024 -d hw:PCH,0 -X raw connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) jackd 0.125.0 Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others. jackd 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 JACK is running in realtime mode, but you are not allowed to use realtime scheduling. Please check your /etc/security/limits.conf for the following line and correct/add it if necessary: @audio - rtprio 99 After applying these changes, please re-login in order for them to take effect. You don't appear to have a sane system configuration. It is very likely that you encounter xruns. Please apply all the above mentioned changes and start jack again! connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) attempt to connect to server failed connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) attempt to connect to server failed Butler drops pool trash Here are the errors associated with this failed session: Errors/Messages: INFO: Loading 88 MIDI patches from /gnu/store/m96ivdbcmhhw0f6dmdq374g9qg8crhmy-ardour- 5.12/share/ardour5/patchfiles ---------------------------------------------- when I try to connect to jack with qjackctl: 09:29:03.002 /home/jesse/.guix-profile/bin/jackd -dalsa -dhw:0 -r48000 -p1024 -n2 connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) attempt to connect to server failed jackd 0.125.0 Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others. jackd 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 JACK is running in realtime mode, but you are not allowed to use realtime scheduling. 09:29:03.005 JACK was started with PID=2454. Please check your /etc/security/limits.conf for the following line and correct/add it if necessary: @audio - rtprio 99 After applying these changes, please re-login in order for them to take effect. You don't appear to have a sane system configuration. It is very likely that you encounter xruns. Please apply all the above mentioned changes and start jack again! 09:29:03.009 JACK was stopped 09:29:05.018 Could not connect to JACK server as client. - Overall operation failed. - Unable to connect to server. Please check the messages window for more info. connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory) attempt to connect to server failed ---------------------------------------------- Any help is appreciated.