help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Jack audio server


From: Louis Pearson
Subject: Jack audio server
Date: Sat, 10 Aug 2019 20:39:55 -0600

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))
)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]