devuan linux desctop install and zen-kernel
- david
- Site Admin
- Posts: 394
- Joined: Sat May 21, 2016 7:50 pm
devuan linux desctop install and zen-kernel
Code: Select all
git clone https://github.com/zen-kernel/zen-kernel.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
Code: Select all
cp /boot/config-$(uname -r) .config
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 -j8 deb-pkg
sudo update-grub
- david
- Site Admin
- Posts: 394
- Joined: Sat May 21, 2016 7:50 pm
Re: devuan linux desctop install and zen-kernel
To create a compressed disk image of a partition on Devuan Linux that is compatible with restoring using GNOME Disks:
Code: Select all
sudo dd if=/dev/sdXn bs=4M status=progress | xz -T0 > devuan-partition.img.xz
- david
- Site Admin
- Posts: 394
- Joined: Sat May 21, 2016 7:50 pm
Re: devuan linux desctop install and zen-kernel
Enable and Mate-desctop autologin
Code: Select all
sudo nano /etc/lightdm/lightdm.conf
autologin-user=your_username
autologin-session=mate
autologin-user-timeout=0