[SOLVED] audio.conf.disabled?

Optimize your system for ultimate performance.

Moderators: MattKingUSA, khz

Post Reply
User avatar
LinMusGuy
Established Member
Posts: 551
Joined: Wed Feb 27, 2019 9:33 pm
Has thanked: 22 times
Been thanked: 2 times

[SOLVED] audio.conf.disabled?

Post by LinMusGuy »

Wanting to ensure that realtime priority for audio is enabled I took a look at the appropriate files but found this:

disabled.png
disabled.png (41.93 KiB) Viewed 1766 times
What does that mean? Shouldn't that file simply be called audio.conf?
Last edited by LinMusGuy on Mon Apr 11, 2022 6:06 pm, edited 1 time in total.
User avatar
sunrat
Established Member
Posts: 915
Joined: Wed Jul 22, 2020 2:08 pm
Has thanked: 151 times
Been thanked: 242 times

Re: audio.conf.disabled?

Post by sunrat »

Presumably the settings will not be applied if the file does not end in ".conf". How it became disabled I have no idea. It is now just a backup file.
User avatar
LinMusGuy
Established Member
Posts: 551
Joined: Wed Feb 27, 2019 9:33 pm
Has thanked: 22 times
Been thanked: 2 times

Re: audio.conf.disabled?

Post by LinMusGuy »

Should I rename it to audio.conf?
User avatar
LinMusGuy
Established Member
Posts: 551
Joined: Wed Feb 27, 2019 9:33 pm
Has thanked: 22 times
Been thanked: 2 times

Re: audio.conf.disabled?

Post by LinMusGuy »

QjackCtl says in the messages:

Code: Select all

Mon Apr 11 08:06:18 2022: ERROR: Cannot use real-time scheduling (RR/10)(1: Operation not permitted)
Mon Apr 11 08:06:18 2022: ERROR: AcquireSelfRealTime error
User avatar
LinMusGuy
Established Member
Posts: 551
Joined: Wed Feb 27, 2019 9:33 pm
Has thanked: 22 times
Been thanked: 2 times

Re: audio.conf.disabled?

Post by LinMusGuy »

I renamed audio.conf.disabled to audio.conf and then followed the following instructions: https://jackaudio.org/faq/linux_rt_config.html

The error about real-time scheduling in the messages of QjackCtl now no longer appears.
User avatar
sunrat
Established Member
Posts: 915
Joined: Wed Jul 22, 2020 2:08 pm
Has thanked: 151 times
Been thanked: 242 times

Re: audio.conf.disabled?

Post by sunrat »

LinMusGuy wrote: Mon Apr 11, 2022 4:58 am Should I rename it to audio.conf?
Try it and see.
It may depend on which kernel you are using too. Usually a low-latency kernel or one with PREEMPT is required for realtime scheduling afaik. Check with uname -a . Mine is Liquorix which is a very good kernel for audio:

Code: Select all

$ uname -a
Linux bullseye-brain 5.16.0-18.2-liquorix-amd64 #1 ZEN SMP PREEMPT liquorix 5.16-27.1~bullseye (2022-03-31) x86_64 GNU/Linux
User avatar
LinMusGuy
Established Member
Posts: 551
Joined: Wed Feb 27, 2019 9:33 pm
Has thanked: 22 times
Been thanked: 2 times

Re: audio.conf.disabled?

Post by LinMusGuy »

I have:

Code: Select all

Linux Synth 5.4.0-107-generic #121~18.04.1-Ubuntu SMP Thu Mar 24 17:21:33 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
User avatar
sunrat
Established Member
Posts: 915
Joined: Wed Jul 22, 2020 2:08 pm
Has thanked: 151 times
Been thanked: 242 times

Re: audio.conf.disabled?

Post by sunrat »

On Ubuntu you should install the low-latency kernel.
User avatar
LinMusGuy
Established Member
Posts: 551
Joined: Wed Feb 27, 2019 9:33 pm
Has thanked: 22 times
Been thanked: 2 times

Re: audio.conf.disabled?

Post by LinMusGuy »

I'm using Linux Mint.
j_e_f_f_g
Established Member
Posts: 2032
Joined: Fri Aug 10, 2012 10:48 pm
Been thanked: 357 times

Re: audio.conf.disabled?

Post by j_e_f_f_g »

LinMusGuy wrote: I'm using Linux Mint.
Unless you're using the "Debian Edition", you're still effectively using ubuntu.

Author of BackupBand at https://sourceforge.net/projects/backupband/files/
My fans show their support by mentioning my name in their signature.

User avatar
bluzee
Established Member
Posts: 338
Joined: Mon Nov 30, 2020 11:43 pm
Has thanked: 18 times
Been thanked: 88 times

Re: audio.conf.disabled?

Post by bluzee »

I've had no issues installing Liquorix kernel into Linux Mint.
User avatar
LinMusGuy
Established Member
Posts: 551
Joined: Wed Feb 27, 2019 9:33 pm
Has thanked: 22 times
Been thanked: 2 times

Re: audio.conf.disabled?

Post by LinMusGuy »

Thank you all, but my problem in this topic was establishing realtime priority for audio and it looks like that problem is solved. For me Linux is only a tool, and as soon as something works I like to leave it at that and move on to actually using the software for making some sounds and eventually music. There is no end to the steps one can conceivably take to improve ones computer system, but for me good is good enough.
User avatar
sunrat
Established Member
Posts: 915
Joined: Wed Jul 22, 2020 2:08 pm
Has thanked: 151 times
Been thanked: 242 times

Re: [SOLVED] audio.conf.disabled?

Post by sunrat »

You may find your current setup is adequate for basic use, but when you want to run lower latency for tasks like adding a MIDI track played on a keyboard to a current session or realtime monitoring, it will be advantageous to optimise your system some more. At minimum I recommend to install a low-latency kernel, Mint likely has one in software store application thingy.
Further improvements can be made be running and implementing suggestions in the RealtimeConfigQuickScan from https://github.com/raboof/realtimeconfigquickscan or it's newer Python version at https://codeberg.org/rtcqs/rtcqs
There is also a great wiki article for further consideration at https://wiki.linuxaudio.org/wiki/system_configuration from which many of the RTCQS recommendations are derived. Ignore the bit about realtime kernel though, low-latency kernels are more than adequate for most systems these days.

If your current setup performs acceptably for you, that's fine, but be aware much improvement can be made with tiny effort.
Post Reply