Hi,
I'm trying to start aqualung in reatime mode but it refuses to do so.
in terminal i type:
aqualung -o jack --auto=system:plackback_1,system:_playback_2 -D
it returns something like this:
jack_client_new: deprecated
Cannot use real time scheduling (RR/-4) (22:Invalid argument)
AcquireRealTime error
Thx!
Unable to start aqualung in real time
Moderators: MattKingUSA, khz
- raboof
- Established Member
- Posts: 1855
- Joined: Tue Apr 08, 2008 11:58 am
- Location: Deventer, NL
- Has thanked: 50 times
- Been thanked: 74 times
- Contact:
Re: Unable to start aqualung in real time
Last time I saw the RT-scheduling return 'Invalid argument', the 'interface' parameter was not set correctly - I made note of it at http://trac.jackaudio.org/wiki/Troubleshooting . I guess that's "device" ('-d') on the commandline.solo16 wrote:aqualung -o jack --auto=system:plackback_1,system:_playback_2 -D
jack_client_new: deprecated
Cannot use real time scheduling (RR/-4) (22:Invalid argument)
AcquireRealTime error
Re: Unable to start aqualung in real time
Hi,
-D option in aqualung means (man aqualung):
aqualung -o jack --auto
would be enough. In fact "aqualung" is enough:
And it autoconnects to the two first system : playbacks.
To check realtime priorities, you can do a:
ps H -eo rtprio,cmd,cls --sort rtprio
In my case, if I start jackd and aqualung normally (i.e., default settings) I see two jackd threads and one aqualung thread which are cls:FF. Then there are 3 jackd threads and four aqualung threads which are cls:TS. FF stands for SCHED FIFO and TS stands for SCHED OTHER. Afaik, a thread running in SCHED FIFO means it is running in realtime.
If I start aqualung with the -D option (which I have never heard of before), then there is another thread in FF, as expected.
Anyway, what is the jack command you use ("cat .jackdrc" or look at qjackctl message window) and what happens if you simply run "aqualung"?
What is the output of "ulimit -r -l"?
Cheers, Pablo
-D option in aqualung means (man aqualung):
However, I think that:-D, --disk-realtime
Try to use realtime (SCHED_FIFO) scheduling for disk thread, a
background worker thread doing file decoding and sample rate
conversion. Try this (and optionally -Y) if you experience short
audio dropouts caused by other programs (e.g. web browser load‐
ing a complex page).
aqualung -o jack --auto
would be enough. In fact "aqualung" is enough:
Code: Select all
$ aqualung
No output driver specified, probing for a usable driver.
Probing JACK driver... OK
To check realtime priorities, you can do a:
ps H -eo rtprio,cmd,cls --sort rtprio
In my case, if I start jackd and aqualung normally (i.e., default settings) I see two jackd threads and one aqualung thread which are cls:FF. Then there are 3 jackd threads and four aqualung threads which are cls:TS. FF stands for SCHED FIFO and TS stands for SCHED OTHER. Afaik, a thread running in SCHED FIFO means it is running in realtime.
If I start aqualung with the -D option (which I have never heard of before), then there is another thread in FF, as expected.
Anyway, what is the jack command you use ("cat .jackdrc" or look at qjackctl message window) and what happens if you simply run "aqualung"?
What is the output of "ulimit -r -l"?
Cheers, Pablo
Re: Unable to start aqualung in real time
problem solved for me. just set the priority in jack to 70 fixed.
Thx!!!
Thx!!!
Re: Unable to start aqualung in real time
Good to see some Aqualung love. It's easily the best music player for Linux (especially with the dark theme installed)!