Page 1 of 1

devuan linux desctop install and Liquorix Kernel

Posted: Mon Oct 07, 2024 4:31 pm
by david

Code: Select all

git clone https://github.com/zen-kernel/zen-kernel.git
or
git clone https://github.com/damentz/liquorix-package.git

Code: Select all

sudo apt-get update
sudo apt-get install build-essential libncurses-dev bison flex libssl-dev libelf-dev devscripts 

Code: Select all

cd liquorix-package
cd zen-kernel  # or liquorix-package if you cloned Liquorix

Code: Select all

cp debian/config/amd64/config .config
or
make defconfig

make menuconfig

In the menuconfig interface, do the following:

===================================================================================================

Processor type and features:

Navigate to Processor type and features → Processor family.
Select AMD Zen 3 (or Zen 2, if Zen 3 is not listed).
Zen 3 optimizations will target the architecture of your Ryzen 5800H.
Enable Performance Tuning:

Power management and ACPI options: Enable AMD ACPI to take advantage of AMD's power management features.
CPU frequency scaling: Ensure AMD P-state driver is enabled, which is more efficient on Ryzen CPUs.
Enable CPPC (Collaborative Processor Performance Control) to help the kernel manage power levels for better efficiency on Zen 3 processors.
Optimize for Desktop Performance (optional):

Go to General Setup → Preemption Model.
Set it to Preemptible Kernel (Low-Latency Desktop) for desktop use (improves responsiveness).
Other Ryzen-Specific Settings:

In Power management and ACPI options, ensure SMP (Symmetric Multi-Processing) is enabled to make use of all your CPU cores.
Under Processor type and features, make sure SMT (Simultaneous Multi-Threading) is enabled. This will let you use your Ryzen's threads fully.
Once you've configured the kernel for Ryzen, exit the menu and save the configuration.


=========================================================================================================

Code: Select all

make -j$(nproc) 

sudo make modules_install

sudo make install

or 

make -j8 deb-pkg

sudo update-grub


Which One to Choose?
If you’re on Debian/Devuan/Ubuntu and want an optimized kernel for desktop use, Liquorix is the easiest choice since it’s pre-built and ready to install. You get similar optimizations as the Zen Kernel but with additional tweaks for desktop responsiveness, thanks to the MuQSS scheduler and other patches.

If you’re on Arch (or willing to compile the kernel yourself) and want to fine-tune your system even further, Zen Kernel is a great option. It offers a more flexible and customizable approach for advanced users who prefer to tweak kernel configurations manually.

Both kernels aim to enhance performance for desktop users and gamers, but Liquorix offers a more out-of-the-box experience for Debian-based users, while Zen Kernel provides a customizable and flexible option for those on Arch or other distributions where manual compilation is common.