[opensuse] Setting up JACK?
Hello, I would like to set up my Leap 15.1 system so that one program (GrandOrgue) uses the JACK audio server. For Web browsers etc, I'd rather have PulseAudio working through JACK, so that volume control is available for them; but before I get to that I need to run JACK. And for now there is no PulseAudio on the system and no sound in browsers. There is ALSA, and aplay works. hw:1,0 is the proper output so I had to create /etc/asound.conf. However, by default JACK is off. I had to install QJackCtl. If I just strat JACK, it fails. But if I go to setup, select the card, then start JACK, it succeeds, and then GrandOrgue works with it. So, question one: how can I make JACK start by default, ideally even before user login, and with the right card (hw:1,0) selected? And also, GrandOrgue, when configured for JACK, complains that it cannot use real-rime scheduling (RR/5) (1: Operation not permitted). So question 2: how do I fix this? (In Fedora this one gets fixed if you add the user to the jack group, but I see no jack group in OpenSUSE). -- Yours, Mikhail Ramendik Unless explicitly stated, all opinions in my mail are my own and do not reflect the views of any organization -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 17/06/2019 09:19, Mikhail Ramendik wrote:
Hello,
I would like to set up my Leap 15.1 system so that one program (GrandOrgue) uses the JACK audio server.
For Web browsers etc, I'd rather have PulseAudio working through JACK, so that volume control is available for them; but before I get to that I need to run JACK. And for now there is no PulseAudio on the system and no sound in browsers. There is ALSA, and aplay works. hw:1,0 is the proper output so I had to create /etc/asound.conf.
However, by default JACK is off. I had to install QJackCtl. If I just strat JACK, it fails. But if I go to setup, select the card, then start JACK, it succeeds, and then GrandOrgue works with it.
So, question one: how can I make JACK start by default, ideally even before user login, and with the right card (hw:1,0) selected?
And also, GrandOrgue, when configured for JACK, complains that it cannot use real-rime scheduling (RR/5) (1: Operation not permitted). So question 2: how do I fix this? (In Fedora this one gets fixed if you add the user to the jack group, but I see no jack group in OpenSUSE).
Hi, Normally I don't encourage using home repo's but this is mine[1], I find cadence far better for setting up jack, you'll need to add the repo there's a couple of other libs in there you'll need. For real time, add 99-audio.conf to /etc/security/limits.d/ containing the following 2 lines, then make sure your in the audio group @audio - rtprio 99 @audio - memlock unlimited https://build.opensuse.org/package/show/home:simotek:multimedia/Cadence I haven't spent alot of time working on getting it to start at boot, I have it configured so pulse runs normally on my internal card and then when I want to use it I power up my audio interface start cadence and redirect pulse output there. -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello, On Mon, 17 Jun 2019, Mikhail Ramendik wrote:
For Web browsers etc, I'd rather have PulseAudio working through JACK, so that volume control is available for them; but before I get to that I need to run JACK. And for now there is no PulseAudio on the system and no sound in browsers.
Try this: https://software.opensuse.org/package/apulse along with a wrapper around e.g. firefox: ==== #!/bin/sh pgrep firefox && arg="-new-tab" exec apulse /opt/firefox/firefox -P default $arg "$@" ==== Adjust the firefox path to /usr/bin/firefox if you're running a suse-packaged version. Put the wrapper either into ~/bin/ (and check that that's in your $PATH) or into /usr/local/bin for all users. HTH, -dnh -- There is a green, multi-legged creature crawling on your shoulder. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
David Haller
-
Mikhail Ramendik
-
Simon Lees