DEBIAN + LIQUORIX LOW LATENCY KERNEL

Optimize your system for ultimate performance.

Moderators: khz, MattKingUSA

User avatar
lilith
Established Member
Posts: 1027
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Contact:

DEBIAN + LIQUORIX LOW LATENCY KERNEL

Postby lilith » Sat Dec 01, 2018 1:48 pm

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


?
https://soundcloud.com/lilith_93

_____________________________
Debian 9 (XFCE) & KXStudio repos

User avatar
khz
Established Member
Posts: 1154
Joined: Thu Apr 17, 2008 6:29 am
Location: German

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Postby khz » Sat Dec 01, 2018 2:44 pm

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: 1821
Joined: Thu Nov 14, 2013 11:47 pm
Contact:

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Postby sysrqer » Sat Dec 01, 2018 2:49 pm

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: 1027
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Contact:

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Postby lilith » Sat Dec 01, 2018 2:52 pm

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.
https://soundcloud.com/lilith_93

_____________________________
Debian 9 (XFCE) & KXStudio repos

folderol
Established Member
Posts: 924
Joined: Mon Sep 28, 2015 8:06 pm
Location: Here, of course!
Contact:

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Postby folderol » Sat Dec 01, 2018 2:55 pm

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.

User avatar
khz
Established Member
Posts: 1154
Joined: Thu Apr 17, 2008 6:29 am
Location: German

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Postby khz » Sat Dec 01, 2018 2:57 pm

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: 1027
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Contact:

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Postby lilith » Sat Dec 01, 2018 3:06 pm

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
https://soundcloud.com/lilith_93

_____________________________
Debian 9 (XFCE) & KXStudio repos

User avatar
English Guy
Established Member
Posts: 469
Joined: Wed Oct 17, 2012 7:28 pm
Location: England

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Postby English Guy » Sat Dec 01, 2018 4:46 pm

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: 1154
Joined: Thu Apr 17, 2008 6:29 am
Location: German

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Postby khz » Sat Dec 01, 2018 5:00 pm

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: 1027
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Contact:

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Postby lilith » Sat Dec 01, 2018 5:01 pm

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?
https://soundcloud.com/lilith_93

_____________________________
Debian 9 (XFCE) & KXStudio repos

User avatar
khz
Established Member
Posts: 1154
Joined: Thu Apr 17, 2008 6:29 am
Location: German

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Postby khz » Sat Dec 01, 2018 5:07 pm

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: 1154
Joined: Thu Apr 17, 2008 6:29 am
Location: German

Re: DEBIAN + LIQUORIX LOW LATENCY KERNEL

Postby khz » Sat Dec 01, 2018 7:09 pm

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

Postby protozone » Wed Dec 05, 2018 2:09 am

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.


Return to “System Tuning and Configuration”

Who is online

Users browsing this forum: No registered users and 1 guest