DEBIAN + LIQUORIX LOW LATENCY KERNEL

Optimize your system for ultimate performance.

Moderators: MattKingUSA, khz

Post Reply
User avatar
lilith
Established Member
Posts: 1698
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Has thanked: 117 times
Been thanked: 57 times
Contact:

DEBIAN + LIQUORIX LOW LATENCY KERNEL

Post 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
?
User avatar
khz
Established Member
Posts: 1648
Joined: Thu Apr 17, 2008 6:29 am
Location: German
Has thanked: 42 times
Been thanked: 92 times

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Post 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?
. . . FZ - Does humor belongs in Music?
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
  • I don't care about the freedom of speech because I have nothing to say.
User avatar
sysrqer
Established Member
Posts: 2519
Joined: Thu Nov 14, 2013 11:47 pm
Has thanked: 319 times
Been thanked: 148 times
Contact:

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Post 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.
User avatar
lilith
Established Member
Posts: 1698
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Has thanked: 117 times
Been thanked: 57 times
Contact:

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Post 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.
folderol
Established Member
Posts: 2069
Joined: Mon Sep 28, 2015 8:06 pm
Location: Here, of course!
Has thanked: 224 times
Been thanked: 400 times
Contact:

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Post 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.
The Yoshimi guy {apparently now an 'elderly'}
User avatar
khz
Established Member
Posts: 1648
Joined: Thu Apr 17, 2008 6:29 am
Location: German
Has thanked: 42 times
Been thanked: 92 times

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Post 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.
. . . FZ - Does humor belongs in Music?
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
  • I don't care about the freedom of speech because I have nothing to say.
User avatar
lilith
Established Member
Posts: 1698
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Has thanked: 117 times
Been thanked: 57 times
Contact:

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Post 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
User avatar
English Guy
Established Member
Posts: 525
Joined: Wed Oct 17, 2012 7:28 pm
Location: England
Has thanked: 8 times
Been thanked: 7 times

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Post 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.
User avatar
khz
Established Member
Posts: 1648
Joined: Thu Apr 17, 2008 6:29 am
Location: German
Has thanked: 42 times
Been thanked: 92 times

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Post 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.
. . . FZ - Does humor belongs in Music?
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
  • I don't care about the freedom of speech because I have nothing to say.
User avatar
lilith
Established Member
Posts: 1698
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Has thanked: 117 times
Been thanked: 57 times
Contact:

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Post 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?
User avatar
khz
Established Member
Posts: 1648
Joined: Thu Apr 17, 2008 6:29 am
Location: German
Has thanked: 42 times
Been thanked: 92 times

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Post 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.
:-)
. . . FZ - Does humor belongs in Music?
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
  • I don't care about the freedom of speech because I have nothing to say.
User avatar
khz
Established Member
Posts: 1648
Joined: Thu Apr 17, 2008 6:29 am
Location: German
Has thanked: 42 times
Been thanked: 92 times

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Post 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?
. . . FZ - Does humor belongs in Music?
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
  • I don't care about the freedom of speech because I have nothing to say.
User avatar
protozone
Established Member
Posts: 181
Joined: Tue May 08, 2018 9:02 pm
Contact:

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Post 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.
Post Reply