Page 1 of 1

DEBIAN + LIQUORIX LOW LATENCY KERNEL

Posted: Sat Dec 01, 2018 1:48 pm
by lilith
I'm on Debian stretch and I'm using the Debian 4.9.0-8-amd64 kernel. Sometimes I get some xruns and I wonder if maybe the LIQUORIX low latency kernel works better.

Is there anything to consider when installing it or do I have just follow the description on the website?

https://liquorix.net/

I.e.:

Code: Select all

sudo apt-get update && sudo apt-get install apt-transport-https && echo -e 'deb http://liquorix.net/debian sid main\ndeb-src http://liquorix.net/debian sid main\n\n# Mirrors:\n#\n# Unit193 - France\n# deb http://mirror.unit193.net/liquorix sid main\n# deb-src http://mirror.unit193.net/liquorix sid main' | sudo tee /etc/apt/sources.list.d/liquorix.list && curl https://liquorix.net/linux-liquorix.pub | sudo apt-key add - && sudo apt-get update

Code: Select all

sudo apt-get install linux-image-liquorix-amd64 linux-headers-liquorix-amd64
Does uninstalling work with:

Code: Select all

sudo apt-get remove linux-image-liquorix-amd64 linux-headers-liquorix-amd64
?

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Posted: Sat Dec 01, 2018 2:44 pm
by khz
If you mix "stable" with "sid", it could lead to problems in the long run. The description on the website should be correct.
Have you tested with linux-image-4.9.0-8-rt-amd64 or with linux-image-4.18.0-0.bpo.1-rt-amd64?

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Posted: Sat Dec 01, 2018 2:49 pm
by sysrqer
Should be fine, it's only the kernel that you're changing really. I have used it on neon/ubuntu 16.04 and 18.04 without any problems. Yes, uninstalling is just that, unless debian is fundamentally different somehow.

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Posted: Sat Dec 01, 2018 2:52 pm
by lilith
Ups, thanks!

I have testet linux-image-4.9.0-8-rt-amd64 a while ago, but it made more problems (mainly more xruns compared to the non RT kernel and maybe stability problems). I could give it another try though ...

Where can I find linux-image-4.18.0-0.bpo.1-rt-amd64? It's not found by synaptic.

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Posted: Sat Dec 01, 2018 2:55 pm
by folderol
That's fine for kernels as the older one is not deleted, but trying it with any other program can be fraught - especially if it 'upgrades' libraries at the same time. It can fail badly, and effectively trash the system.

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Posted: Sat Dec 01, 2018 2:57 pm
by khz
lilith wrote:Where can I find linux-image-4.18.0-0.bpo.1-rt-amd64? It's not found by synaptic.
khz wrote:For Backports if you want them installed later: https://wiki.debian.org/Backports.

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Posted: Sat Dec 01, 2018 3:06 pm
by lilith
Looks like that I did not added the backports. If I do, is there anything automatically installed from there when the system updates?
Maybe I should try linux-image-4.9.0-8-rt-amd64 again and see what problems I get.

Code: Select all

 
# deb cdrom:[Official Debian GNU/Linux Live 9.4.0 xfce 2018-03-10T11:37]/ stretch main

#deb cdrom:[Official Debian GNU/Linux Live 9.4.0 xfce 2018-03-10T11:37]/ stretch main

deb http://ftp.de.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.de.debian.org/debian/ stretch main contrib non-free

deb http://security.debian.org/debian-security stretch/updates main contrib non-free
deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free

# stretch-updates, previously known as 'volatile'
deb http://ftp.de.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://ftp.de.debian.org/debian/ stretch-updates main contrib non-free

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Posted: Sat Dec 01, 2018 4:46 pm
by English Guy
I have used Debian stable with the liquorix kernel for years with no problems. Add in the KXStudio repositories and it is a winning combination. I just added Liquorix as per the instructions on their site.

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Posted: Sat Dec 01, 2018 5:00 pm
by khz
You must explicitly install the desired package from the backports. Only the installed packages will be updated from the backports.
Only before a dist-upgrade would I reinstall the packages from the stable branch and uninstall all backports packages. With the backports packages there could be dependency problems with a dist-upgrade. This is especially true for a package like the kernel. See Debian Wiki.

Testing various optimizations/settings is advisable.

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Posted: Sat Dec 01, 2018 5:01 pm
by lilith
English Guy wrote:I have used Debian stable with the liquorix kernel for years with no problems. Add in the KXStudio repositories and it is a winning combination. I just added Liquorix as per the instructions on their site.
I also thought that it's used in AVLinux as an alternative and as AVLinux bases on Debian stable I wonder if there's a problem.

@khz: I mean, isn't only the kernel installed from the LIQUORIX Repo? If something fails can't I just boot a debian kernel?

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Posted: Sat Dec 01, 2018 5:07 pm
by khz
lilith wrote:I mean, isn't only the kernel installed from the LIQUORIX Repo? If something fails can't I just boot a debian kernel?
Yes. Repo ~similar to backports.
English Guy wrote:I have used Debian stable with the liquorix kernel for years with no problems.
:-)

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Posted: Sat Dec 01, 2018 7:09 pm
by khz
1/2 OT: If you use jack2 you have in qjackctl "Setup >> Options >> [X] Run script after startup"

Code: Select all

sleep 5 && a2j -e &

?
Use 'a2j -e' instead of 'a2jmidid -e'.
The 1st option enables dbus.
Possibly important for MIDI?

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Posted: Wed Dec 05, 2018 2:09 am
by protozone
Back when I was running MX Linux, I tried the Liquorix LL kernel and it didn't work for me.
I exactly followed the instructions and the system requirements, but it required me to install some instable components and it took a lot of effort compared to other adjustments that I'm used to. Ultimately it didn't improve audio playback at all. I ended up removing it and it's dependencies and went back to the AVLINUX RT kernels which have been a source of relief and stability for me.

I acknowledge that Liquorix has worked for some, they tend to remind of that fact also. Yet, it really didn't work for me at all, and I really did follow the precise instructions for both Liquorix and MX Linux.

So again, I'd advise to jump ship and try out the AVLINUX RT kernel varieties. They are already linked to this forum somewhat.
I feel pretty good about those. They helped me to get past a lot of problems and aren't too difficult to install and/or remove.