Linus Torvalds announced the release of Linux Kernel 5.12 last night. He wrote on lkml:
Thanks to everybody who made last week very calm indeed, which just makes me feel much happier about the final 5.12 release.
New Features in Kernel 5.12 include:
- Intel VRR / Adaptive-Sync for Intel Xe.
- Radeon RX 6800/6900 series OverDrive overclocking support.
- Mainline support for the Nintendo 64
- Sony PlayStation 5 DualSense controller driver.
- CXL 2.0 Type-3 memory device support
- Lenovo Laptop Platform Profile support.
- Better Microsoft Surface device support.
- And much more.
How to Install Linux Kernel 5.12:
The Ubuntu Mainline Kernel Archive provides the new kernel packages via DEB files.
For those prefer using a graphical tool, see this tool to install the latest Kernel.
To manually download the mainline kernel packages for Linux 5.12, go to the link button:
Select generic
for common system, and lowlatency
for a low latency system (e.g. for recording audio):
- linux-headers-5.12.0-xxxxxx_all.deb
- linux-headers-5.12.0-xxx-generic(/lowlatency)_xxx_amd64.deb
- linux-modules-5.12.0-xxx-generic(/lowlatency)_xxx_amd64.deb
- linux-image-xxx-5.12.0-xxx-generic(/lowlatency)_xxx_amd64.deb
Alternatively you can download and install the kernel binaries via terminal commands ( open terminal via Ctrl+Alt+T):
cd /tmp/ wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.12/amd64/linux-headers-5.12.0-051200_5.12.0-051200.202104252130_all.deb wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.12/amd64/linux-headers-5.12.0-051200-generic_5.12.0-051200.202104252130_amd64.deb wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.12/amd64/linux-image-unsigned-5.12.0-051200-generic_5.12.0-051200.202104252130_amd64.deb wget -c https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.12/amd64/linux-modules-5.12.0-051200-generic_5.12.0-051200.202104252130_amd64.deb sudo dpkg -i *.deb
Once installed, restart your computer and enjoy!
Uninstall Linux Kernel 5.12:
Restart your machine and select boot with the previous kernel in boot menu ‘Grub2 -> Advanced Option for Ubuntu’. Then run command to remove Linux Kernel 5.12:
sudo dpkg --purge linux-image-unsigned-5.12.0-051200-generic
this doesn’t work on Ubuntu 20.04, there’s a libc dependency issue which is not easily resolvable, unless upgrading to 21.04
Found initrd image: /boot/initrd.img-5.11.0-25-generic
Found linux image: /boot/vmlinuz-5.8.0-63-generic
Found initrd image: /boot/initrd.img-5.8.0-63-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
done
Errors were encountered while processing:
linux-headers-5.14.0-051400rc5-generic