What is the XanMod Kernel?
XanMod is a general-purpose Linux kernel distribution that provides custom settings, patches, and optimizations designed to deliver a stable, smooth, and responsive system experience. It is primarily built for 64-bit (amd64) Debian-based distributions (including Ubuntu and its derivatives) but can be compiled for other platforms.
Key Characteristics of XanMod
- Performance Optimization: The kernel is optimized for heavy workloads, featuring tuned Core and Process Scheduling, Load Balancing, Caching, Virtual Memory Manager, and CPUFreq Governor settings.
- I/O Throughput: It utilizes a full multi-core block layer runqueue to handle high I/O operations efficiently.
- Modern Technologies: Recent builds (as of 2026) include LLVM ThinLTO, Software Pipelining, Polyhedral optimizations, and Google's Multigenerational LRU framework for better memory management.
- Network Enhancements: It integrates Google's BBRv3 TCP congestion control and Cloudflare's TCP collapse processing for high throughput and low latency.
- Specialized Patches: XanMod includes third-party patchsets such as AMD's 3D V-Cache optimizer, Valve's Steam Deck sensor support, PCIe ACS Override, and WineSync for improved gaming and compatibility.
- Real-Time Support: A PREEMPT_RT (real-time) variant is available, recommended for critical applications like eSports servers, streaming, and ultra-low latency requirements.
Installation and Compatibility
Users can install XanMod via the official APT repository on Debian and Ubuntu systems. The project provides multiple package variants (e.g., linux-xanmod-x64v3) tailored to different CPU architectures.
IMPORTANT: While XanMod offers significant performance benefits, proprietary DKMS modules such as NVIDIA drivers, OpenZFS, VirtualBox, and VMware may not immediately support the latest kernel versions, potentially causing compatibility issues until updates are released.
Is XanMod better than Linux Mint default kernel?
XanMod is better than the Linux Mint default kernel specifically for performance-oriented tasks like gaming, multimedia production, and high-performance workstations, whereas the default kernel is superior for general stability and broad hardware support.
The choice depends on your specific use case and tolerance for risk:
- Performance vs. Stability: XanMod prioritizes low latency, faster I/O, and scheduler tuning to improve frame pacing and responsiveness. In contrast, the default Mint kernel focuses on conservative updates and broad hardware compatibility, making it the safer choice for production systems or users prioritizing reliability over raw speed.
- Hardware Compatibility: XanMod offers CPU-specific builds (x86-64-v1 through v4) to optimize for your processor's instruction sets, while the default kernel uses a more generic configuration. However, XanMod does not support Secure Boot, requiring you to disable it in your BIOS/UEFI, whereas the default kernel works out-of-the-box with Secure Boot enabled.
- Stability and Support: Community feedback indicates that while XanMod can offer noticeable improvements in GUI responsiveness and gaming, it involves aggressive optimizations that sacrifice exhaustive testing, potentially leading to edge-case instability. Furthermore, XanMod is not officially supported by Linux Mint; if issues arise, the official Mint forums may not provide assistance for non-sanctioned kernels.
Feature
Linux Mint Default Kernel
XanMod Kernel
Primary Focus
Stability & Broad Hardware Support Performance & Low LatencyBest For
General use, servers, reliability Gaming, multimedia, high-performance workstationsUpdates
Conservative, thoroughly tested Aggressive, less exhaustive testingSecure Boot
Supported Not Supported (Must be disabled)Official Support
Fully supported by Mint Not supported; use at own riskThe decision between XanMod and the Linux Mint default kernel hinges on a trade-off between performance gains and system stability, particularly concerning hardware drivers.
- Performance Gains with XanMod: XanMod kernels incorporate patches like the multigenerational LRU (mglru) for smarter memory management and BBRv3 for improved network performance, which users report as a "snappier" desktop and faster file operations on SSDs. Benchmarks and user experiences on platforms like Reddit suggest noticeably smoother performance in gaming, especially with Proton and Wine, and significantly reduced boot times measured with systemd-analyze.
- Stability and Compatibility Issues: The primary drawback of XanMod is its potential for instability with proprietary drivers and virtualization software. The search results highlight repeated issues with NVIDIA's proprietary drivers, which can cause kernel panics and boot failures (e.g., with driver version 560.28 on XanMod 6.19.3). Similar problems are common with VirtualBox, VMware, and OpenZFS, as their kernel modules often lag behind new kernel releases and require manual reinstallation or downgrading. A user on the Linux Mint forums reported an unbootable system after installing XanMod, primarily due to Secure Boot and driver conflicts.
- Linux Mint Default Kernel's Role: The default kernel prioritizes stability, broad hardware compatibility, and seamless integration with the distribution. It is thoroughly tested by the Mint team and receives long-term support. While it may not offer the same performance optimizations as XanMod, it is the "safest" choice, especially for users who rely on proprietary software or do not want to troubleshoot potential driver issues.
In essence, XanMod can offer a tangible performance boost for specific workloads, but this comes with the responsibility of managing potential driver incompatibilities. The default kernel provides a reliable and hassle-free experience out of the box.
Install the XanMod Kernel on Linux Mint
Installing the XanMod Kernel on Linux Mint can significantly improve system performance, especially for desktop responsiveness, gaming, and I/O-intensive tasks. It offers a preemptive kernel with optimized CPU scheduling and enhanced I/O throughput, making it ideal for users seeking lower latency and smoother performance compared to the default kernel. However, it does not support Secure Boot, and some hardware (like NVIDIA GPUs or VirtualBox) may require additional setup.
IMPORTANT: XanMod does not support Secure Boot. Proprietary drivers (NVIDIA, VirtualBox, VMware) may require manual recompilation after kernel updates.
Prerequisites
- Linux Mint 20, 21, or 22 (64-bit only)
- Active internet connection
- Terminal access with
sudoprivileges - Secure Boot disabled in UEFI/BIOS
Before You Begin
- Check your current kernel:
uname -r - Save it for rollback purposes:
uname -r > ~/kernel-original.txt - Ensure Timeshift is configured before running this command and create a restore point (recommended):
sudo timeshift --create --comments "before-xanmod"
Installation Steps
-
Update the system
sudo apt update && sudo apt upgrade -y
sudo reboot -
Install required tools
sudo apt install dirmngr lsb-release ca-certificates software-properties-common apt-transport-https curl gnupg -y -
Import the XanMod GPG key
wget -qO - https://dl.xanmod.org/archive.key | sudo gpg --dearmor -vo /etc/apt/keyrings/xanmod-archive-keyring.gpg -
Add the XanMod repository
echo "deb [signed-by=/etc/apt/keyrings/xanmod-archive-keyring.gpg] http://deb.xanmod.org $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/xanmod-release.list -
Update the package list
sudo apt update -
Check CPU compatibility level
wget https://dl.xanmod.org/check_x86-64_psabi.sh && chmod +x check_x86-64_psabi.sh && ./check_x86-64_psabi.sh -
Install the appropriate kernel version
- x64v1:
sudo apt install linux-xanmod-x64v1 - x64v2:
sudo apt install linux-xanmod-x64v2 - x64v3:
sudo apt install linux-xanmod-x64v3 - x64v4:
sudo apt install linux-xanmod-x64v4
- x64v1:
-
Install microcode updates (recommended)
- AMD:
sudo apt install amd64-microcode - Intel:
sudo apt install intel-microcode
- AMD:
-
Update GRUB and reboot
sudo update-grub
sudo reboot -
Verify installation
uname -r(output should contain "xanmod")
Once installed, you’ll likely notice faster application launches, reduced input lag, and improved gaming performance, especially with Wine/Proton. For specialized needs, consider installing linux-xanmod-rt (real-time) for ultra-low latency in audio production or competitive gaming.
Uninstall XanMod and Revert to the Default Linux Mint Kernel
-
Boot via GRUB
Hold Shift during boot → "Advanced options for Linux Mint" → Select a kernel without "xanmod" in the name to boot into. -
Remove XanMod packages
sudo apt remove --purge linux-image-*xanmod* linux-headers-*xanmod* linux-xanmod*
sudo apt autoremove
sudo update-grub -
(Optional) Remove the repository
sudo rm /etc/apt/sources.list.d/xanmod-release.list
sudo apt update