Installing a Liquorix Kernel
Moderators: MattKingUSA, khz
- 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: Installing a Liquorix Kernel
No single xrun in almost 4 hours now! This would be too good to be true! Never would have believed that a different kernel would help. But let's wait and hope...
- khz
- Established Member
- Posts: 1648
- Joined: Thu Apr 17, 2008 6:29 am
- Location: German
- Has thanked: 42 times
- Been thanked: 92 times
Re: Installing a Liquorix Kernel
The instructions on their HP are correct. Thanks for the test and the feedback!
(So I made a mistake back then.)
(So I made a mistake back then.)
. . . FZ - Does humor belongs in Music?
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
. . 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.
Re: Installing a Liquorix Kernel
It also installs 'irqbalance'. Never came across that package before afaik.
Re: Installing a Liquorix Kernel
something
Last edited by studio32 on Mon Jul 27, 2020 4:23 am, edited 1 time in total.
- khz
- Established Member
- Posts: 1648
- Joined: Thu Apr 17, 2008 6:29 am
- Location: German
- Has thanked: 42 times
- Been thanked: 92 times
Re: Installing a Liquorix Kernel
Hmm - irqbalance 2019
. . . FZ - Does humor belongs in Music?
. . GNU/LINUX@AUDIO ~ /Wiki $ Howto.Info && GNU/Linux Debian installing >> Linux Audio Workstation LAW
. . 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.
- 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: Installing a Liquorix Kernel
I also read that it's not necessary to set the CPU governor to performance and that it even becomes worse.
https://techpatterns.com/forums/about2786.html
@studio32 Was it better with the Liquorix kernel or did you get the xruns with it?
https://techpatterns.com/forums/about2786.html
@studio32 Was it better with the Liquorix kernel or did you get the xruns with it?
Re: Installing a Liquorix Kernel
something
Last edited by studio32 on Mon Jul 27, 2020 4:23 am, edited 1 time in total.
- 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: Installing a Liquorix Kernel
You are right, I thought he had it send to performance.studio32 wrote: ↑Sat Jun 13, 2020 11:46 amThe problem is probably the LV2 plugin of Zynaddsubfx.lilith wrote: ↑Sat Jun 13, 2020 11:09 am I also read that it's not necessary to set the CPU governor to performance and that it even becomes worse.
https://techpatterns.com/forums/about2786.html
@studio32 Was it better with the Liquorix kernel or did you get the xruns with it?
I didn't find significant differences between the kernels. The rt debian kernel has little left to wish for I think.
Are you sure you got that right? I read something else. Liquorix uses performance by default, so don't put your governer on something else. That's how I read it.
@khz After your post, I disabled irqbalance.
edit: Also got a xrun again. Sometimes something has happening in the background causing it. Maybe when Debian is looking for updates, cause it happens only sporadically.
That's the xrun reported by Jack in verbose mode
Code: Select all
Sat Jun 13 19:16:39 2020: Jack: **** alsa_pcm: xrun of at least -362921.600 msecs
Sat Jun 13 19:16:39 2020: Jack: ALSA XRun wait_status = 0
The number is quite large.
- milo
- Established Member
- Posts: 1242
- Joined: Wed Sep 06, 2017 2:55 am
- Location: Southern Utah, USA
- Has thanked: 275 times
- Been thanked: 218 times
- Contact:
Re: Installing a Liquorix Kernel
I got it working on Linux Mint, through the damentz ppa (deb http://ppa.launchpad.net/damentz/liquorix/ubuntu bionic main). I had to disable secure boot in the BIOS, though, because the system complained that it was an unsigned kernel. Should I be worried about this?
So far the kernel seems to be running well, but I haven't put it under stress. I'll let you know if it starts spitting out xruns when I record layered vocals. That's usually when it happens.
So far the kernel seems to be running well, but I haven't put it under stress. I'll let you know if it starts spitting out xruns when I record layered vocals. That's usually when it happens.
- 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: Installing a Liquorix Kernel
Hi Milo,milo wrote: ↑Sun Jun 14, 2020 3:47 am I got it working on Linux Mint, through the damentz ppa (deb http://ppa.launchpad.net/damentz/liquorix/ubuntu bionic main). I had to disable secure boot in the BIOS, though, because the system complained that it was an unsigned kernel. Should I be worried about this?
So far the kernel seems to be running well, but I haven't put it under stress. I'll let you know if it starts spitting out xruns when I record layered vocals. That's usually when it happens.
the strange thing in Bitwig is that it does not depend on the DSP load and I even get occasional xruns when the transport is stopped. Maybe a plugin? I have to do more test to be sure.
- 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: Installing a Liquorix Kernel
I deinstalled it again as it was using a lot more of CPU compared to the Debian stock kernel. 10-15% more when running Bitwig.
- milo
- Established Member
- Posts: 1242
- Joined: Wed Sep 06, 2017 2:55 am
- Location: Southern Utah, USA
- Has thanked: 275 times
- Been thanked: 218 times
- Contact:
Re: Installing a Liquorix Kernel
I've been recording vocals in Ardour this afternoon with Liquorix enabled, 26 layers of voices, with active reverb and compressors on various tracks, and have had no xruns.
But I notice a similar thing with DSP and CPU load. Compared to the lowlatency kernel, Liquorix uses about 1-2% more DSP load. According to top the CPU load drops from 48-56% with Liquorix to 42-48% with lowlatency.
As an aside, I also noticed that the linux-lowlatency dummy package that depends on the latest version of the lowlatency kernel won't trigger the install of anything higher than the 4.15-lowlatency kernel (at least in Mint 19.3). I manually marked the 5.4-lowlatency kernel for installation, and I think it does a bit better then the 4.15. CPU usage ranges maybe 2-3% lower with the 5.4-lowlatency kernel compared to 4.15. All of this was playing the same song in Ardour. Not a scientific benchmark study, though.
I think I will also drop Liquorix for now, but may return in the future.
But I notice a similar thing with DSP and CPU load. Compared to the lowlatency kernel, Liquorix uses about 1-2% more DSP load. According to top the CPU load drops from 48-56% with Liquorix to 42-48% with lowlatency.
As an aside, I also noticed that the linux-lowlatency dummy package that depends on the latest version of the lowlatency kernel won't trigger the install of anything higher than the 4.15-lowlatency kernel (at least in Mint 19.3). I manually marked the 5.4-lowlatency kernel for installation, and I think it does a bit better then the 4.15. CPU usage ranges maybe 2-3% lower with the 5.4-lowlatency kernel compared to 4.15. All of this was playing the same song in Ardour. Not a scientific benchmark study, though.
I think I will also drop Liquorix for now, but may return in the future.
- sysrqer
- Established Member
- Posts: 2523
- Joined: Thu Nov 14, 2013 11:47 pm
- Has thanked: 320 times
- Been thanked: 152 times
- Contact:
Re: Installing a Liquorix Kernel
I believe the CPU scheduler it uses is more hungry but is meant to be more responsive overall...or something like that.
- GMaq
- Established Member
- Posts: 2806
- Joined: Fri Sep 25, 2009 1:42 pm
- Has thanked: 525 times
- Been thanked: 563 times
Re: Installing a Liquorix Kernel
Hi,
Liquorix is a very tuned kernel but it doesn't really seem to translate into a terrific kernel for Audio work in many cases, Years ago in AV Linux I tried making Liquorix the default because it solved a lot of problems with installing 3rd party Video Drivers (Liquorix and SGFXI Video driver scripts work closely together). But I just couldn't get consistency in Audio performance so had to go back to rolling our own Kernels.
Liquorix is a very tuned kernel but it doesn't really seem to translate into a terrific kernel for Audio work in many cases, Years ago in AV Linux I tried making Liquorix the default because it solved a lot of problems with installing 3rd party Video Drivers (Liquorix and SGFXI Video driver scripts work closely together). But I just couldn't get consistency in Audio performance so had to go back to rolling our own Kernels.
Re: Installing a Liquorix Kernel
something
Last edited by studio32 on Mon Jul 27, 2020 4:23 am, edited 1 time in total.