From mboxrd@z Thu Jan 1 00:00:00 1970 From: Louis Pearson Subject: Jack audio server Date: Sat, 10 Aug 2019 20:39:55 -0600 Message-ID: <20190810203955.0e48d2cc@librem.one> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:60698) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hwdm7-0005dJ-18 for help-guix@gnu.org; Sat, 10 Aug 2019 22:40:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hwdm5-0004C1-Ti for help-guix@gnu.org; Sat, 10 Aug 2019 22:40:02 -0400 Received: from mx1.librem.one ([192.241.223.110]:50210) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hwdm5-0004B8-0W for help-guix@gnu.org; Sat, 10 Aug 2019 22:40:01 -0400 Received: from smtp.librem.one (unknown [192.241.214.14]) by mx1.librem.one (Postfix) with ESMTPS id 4758E7FCF7 for ; Sat, 10 Aug 2019 19:39:58 -0700 (PDT) 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: help-guix@gnu.org I cannot seem to get the jack audio server to run on my guix setup. At this point, every time I try to start jack with QJackCtl, I get the message at the bottom of this email. It looks like it's about realtime permissions, but I have added myself to the realtime group. Check my config at the bottom of this email for details. Does anyone have a working jack configuration that I could reference? ----------------------------------------------------------------------- 20:30:08.841 Statistics reset. 20:30:08.843 ALSA connection change. 20:30:08.883 D-BUS: Service is available (org.jackaudio.service aka jackdbus). 20:30:08.996 D-BUS: JACK server is starting... 20:30:09.002 ALSA connection graph change. 20:30:09.003 D-BUS: JACK server was started (org.jackaudio.service aka jackdbus). Sat Aug 10 20:30:08 2019: Starting jack server... Sat Aug 10 20:30:08 2019: JACK server starting in realtime mode with priority 10 Sat Aug 10 20:30:08 2019: self-connect-mode is "Don't restrict self connect requests" Sat Aug 10 20:30:08 2019: ERROR: Cannot lock down 82280346 byte memory area (Cannot allocate memory) Sat Aug 10 20:30:08 2019: Acquired audio card Audio0 Sat Aug 10 20:30:08 2019: creating alsa driver ... hw:0|hw:0|128|2|48000|0|0|nomon|swmeter|-|32bit Sat Aug 10 20:30:08 2019: configuring for 48000Hz, period = 128 frames (2.7 ms), buffer = 2 periods Sat Aug 10 20:30:08 2019: ALSA: final selected sample format for capture: 32bit integer little-endian Sat Aug 10 20:30:08 2019: ALSA: use 2 periods for capture Sat Aug 10 20:30:08 2019: ALSA: final selected sample format for playback: 32bit integer little-endian Sat Aug 10 20:30:08 2019: ALSA: use 2 periods for playback Sat Aug 10 20:30:08 2019: ERROR: Cannot use real-time scheduling (RR/10)(1: Operation not permitted) Sat Aug 10 20:30:08 2019: ERROR: AcquireSelfRealTime error Sat Aug 10 20:30:08 2019: graph reorder: new port 'system:capture_1' Sat Aug 10 20:30:08 2019: New client 'system' with PID 0 Sat Aug 10 20:30:08 2019: graph reorder: new port 'system:capture_2' Sat Aug 10 20:30:08 2019: graph reorder: new port 'system:playback_1' Sat Aug 10 20:30:08 2019: graph reorder: new port 'system:playback_2' Sat Aug 10 20:30:08 2019: graph reorder: new port 'system:playback_3' Sat Aug 10 20:30:08 2019: graph reorder: new port 'system:playback_4' 20:30:11.208 Could not connect to JACK server as client. - Overall operation failed. Please check the messages window for more info. 20:30:11.241 D-BUS: JACK server is stopping... 20:30:11.243 D-BUS: JACK server was stopped (org.jackaudio.service aka jackdbus). Sat Aug 10 20:30:10 2019: Saving settings to "/home/desttinghim/.config/jack/conf.xml" ... Sat Aug 10 20:30:11 2019: Stopping jack server... Sat Aug 10 20:30:11 2019: Client 'system' with PID 0 is out Sat Aug 10 20:30:11 2019: Released audio card Audio0 ----------------------------------------------------------------------- ;; This is an operating system configuration generated ;; by the graphical installer. (use-modules (gnu) (gnu packages) (gnu system pam)) (use-service-modules desktop networking ssh xorg pm sysctl audio ) (operating-system ;; ... removed unnescessary info (groups (cons* (user-group (name "realtime")) %base-groups)) (users (cons* (user-account (name "desttinghim") (comment "Louis Pearson") (group "users") (home-directory "/home/desttinghim") (supplementary-groups '("wheel" "netdev" "audio" "video" "realtime"))) %base-user-accounts)) (packages (append (map specification->package '( ;; ... "jack2" "qjackctl" ;; ... )) %base-packages)) (services (append (list (service xfce-desktop-service-type) (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout))) ;; tlp is for power management (service tlp-service-type) (service sysctl-service-type (sysctl-configuration (settings '(("acpi_backlight" . "vendor"))))) (service mpd-service-type (mpd-configuration (user "desttinghim") (port "6666"))) (pam-limits-service (list (pam-limits-entry "@realtime" 'both 'rtprio 99) (pam-limits-entry "@realtime" 'both 'memlock 'unlimited))) ) %desktop-services)) )