Comments (6)
NOTE: I haven't actually tested whether ssr really launches jackd
(as I have switched to pipewire on everyday work machines, and there jackd is virtually always running). just forwarding what i gathered in the other bugreport.
from ssr.
AFAIK, the SSR uses the default behavior of the JACK library.
I guess we could implement an option to enable JackNoStartServer
, see:
Is there a general recommendation or something to not use the default behavior?
But if jackd
is started even though PipeWire is already running, doesn't this sound like a bug somewhere?
from ssr.
But if
jackd
is started even though PipeWire is already running, doesn't this sound like a bug somewhere?
no, not really.
pipewire can act as a JACK replacement, but it doesn't need to.
specifically, you have to explicitly either use pw-jack
or setup your ld.so.conf
(so the system uses pipewire's replacement libjack). if you haven't done so (and #340 (comment) makes it obvious that the poster there did not), then the two worlds do not mingle.
in my case (as opposed to the OP of #340), I have pipewire running in full jackd emulation mode, and therefore jackd is always running and ssr does not attempt to launch a jackd server on its own (that's why I wrote that "I haven't actually tested")
from ssr.
Is there a general recommendation or something to not use the default behavior?
so here's a transcript of a short conversation that took place on #jack on libera last night (I've slightly amended the text, merging multiple lines, fixing spelling mistakes, replacing names,...; i don't think i've changed the meaning of anything)
19:16 @umlaeute moin. i recently suggested to somebody that they should make sure that there jack client does not auto-start jack (so they should add
JackNoStartServer
), because "in the past this has led to all kinds of trouble (due to process-ownership and inheritance), and usually is considered bad practice." now they've asked me to backup this claim, and it seems i cannot come up with any references :-) so what would you suggest? should clients attempt to start jack-server if it is not running? or is this really deprecated behaviour (as i have claimed)? (iirc, the troubles usually showed when closing the application that started jackd and other apps where still attached to the daemon.) ftr the actual discussion takes place at #341 (so if somebody with an authoritative saying would chime in there, that would even be better than answering here :-)
19:23 @falkTX this ought to be obvious. if jack is not running yet, it is very unlikely it will be started up correctly. either
- the user has setup jack before and thus knows how to do it again so this is not a big problem, or
- user didn't set up anything yet and jack likely will fail to start.
with pulseaudio so common on desktop distros, the likelihood of jack being able to start with 0 user action is almost none. plus being started with the correct/wanted details, which is just guess work without user input
19:41 @umlaeute but the default is to start jackd (i presume: this is the default for historical reasons), and yet the header files document this option just as any other option. also, it is not really the concern of the authors of a jack client, whether jackd is smart enough to start up correctly without any configuration. (so i think it's valid for the authors to assume that the defaults are doing something sane)
19:48 @falkTX IMO we should make non-start the default; the landscape has changed from when jack was initially developed, alsa became quite complex. and with pipewire there is always a "jack" available
20:02 @umlaeute totally.
from ssr.
I have created AudioProcessingFramework/apf#21 in the APF submodule, we can include that change in the next SSR release.
from ssr.
This is now part of the master
branch, and will soon be released.
from ssr.
Related Issues (20)
- --fudi-server is not recognized by ssr HOT 2
- Problems on 0.5.0 HOT 2
- SSR on Apple M1 HOT 27
- Browser GUI: Add 404 page
- Pd externals: use relative file paths HOT 8
- Mac OS Big Sur, Jack 1.9.19, dyld Library not loaded HOT 5
- SSR, ARM and Arch Linux HOT 2
- print renderer in the boilerplate HOT 3
- Test packages, release 0.6.1 HOT 14
- Sampling Rate Issue on Ubuntu 22.04 LTS HOT 5
- Saved ASD file via GUI is invalid HOT 8
- WFS: reference offset is not correctly applied for calculating WFS reference point
- Pd external does not understand "quat" message
- spatialaudio homepage unavailable
- copyright info out of date HOT 1
- SSR-BRS crashes after varying amount of time HOT 2
- Pd externals are built with `-mmacosx-version-min=10.15` instead of `10.9` HOT 3
- CI: Update macOS and Xcode versions ... once again HOT 5
- Unable to upgrade package to 0.6.1 due to issues with asdf-rust HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ssr.