From: Louis Pearson <louispearson@librem.one>
To: help-guix@gnu.org
Subject: Jack audio server
Date: Sat, 10 Aug 2019 20:39:55 -0600 [thread overview]
Message-ID: <20190810203955.0e48d2cc@librem.one> (raw)
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))
)
next reply other threads:[~2019-08-11 2:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-11 2:39 Louis Pearson [this message]
2019-08-13 10:23 ` Jack audio server Ricardo Wurmus
-- strict thread matches above, loose matches on Subject: below --
2019-08-13 10:53 Louis Pearson
2019-08-13 13:27 ` Ricardo Wurmus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190810203955.0e48d2cc@librem.one \
--to=louispearson@librem.one \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).