Linux Kernel 5.17 came loaded with support for next-gen hardware, including improvements for the Steam Deck.
Not to forget, every Linux Kernel release is technically exciting, and Linux Kernel 5.18 is no exception.
Linux Kernel 5.18: What’s New?
This time around, we get to see improved support for Razer hardware, Apple Magic keyboard, AMD graphics, and numerous networking, core, and security changes.
Here, I shall mention the key highlights of the release.
A New Razer Driver
When it comes to gaming gears, the hardware support in Linux needs serious upgrades.
Yes, there are useful workarounds with open-source drivers. But, that’s not always the solution for every user.
As spotted by Phoronix, a new Razer HID driver comes with Linux Kernel 5.18, which focuses on Razer BlackWidow keyboards fixing the macro key handling.
Furthermore, this driver should be useful to address issues with other Razer hardware.
AMDGPU FreeSync Video Mode Enabled by Default
While the support for FreeSync video was good enough, it was a temporary solution to improve the user experience with FreeSync monitors.
Now, with Linux Kernel 5.18, the FreeSync video mode is enabled by default (changelog). You do not have to do anything from your side to enable it with supported monitors.
Graphics Driver Updates
In addition to the improvements to the AMDGPU driver, you also get updates preparing for future hardware.
Not to forget, the work to support Intel Arch graphics processors and Intel Alder Lake N has made some progress as well.
There have been changes to support higher DisplayPort rates as well.
Switch from C89 to C11 (GNU11)
The C programming used for the Linux Kernel was limited to the old C89 standard, which lacked certain features for the current requirements.
So, C11 was decided to replace it considering the current compiler version requirement i.e. GCC 5.1 sounds perfectly fine with it.
Linux Kernel 5.18 adds support for new wireless hardware, including MediaTek MT7916, MT7921U, and Broadcom BCM43454/6.
When it comes to mobile solutions, support for Intel M.2 WWAN card has also been added.
The Realtek W89 driver now supports AP mode, 6 GHz band, and adds a hardware scan feature.
Several other improvements have been made to configure IPv6, and handle various protocols, including performance optimizations.
You can learn all about it (including improvements to driver API, protocols, and some core functionality) in the commit for networking changes in Linux Kernel 5.18.
Xen USB driver is being hardened against malicious hosts, and the USB DWC3 driver received improvements to support more hardware types.
You can find various other refinements in the commit log.
Enhanced Apple Keyboard and Tablet Support
Advancements were made to improve the experience with Apple Magic Keyboards, including the first-generation models.
Some of the fixes included correcting function-key mapping, keyboard backlight events, and the ability to report the battery level for the 2021 Magic Keyboard model when connected via USB.
Linux Kernel 5.18 improves input handling and makes things reliable when it comes to tablets.
You can find changes for new hardware, touchscreens, and other stuff in the related commit.
New ARM Chip Support (Tesla FSD, Raspberry Pi Zero 2 W)
Tesla’s full self-driving SoC is now supported with Linux Kernel 5.18. Samsung engineers made it possible to upstream into the Linux Kernel.
Other interesting chip additions include Qualcomm Snapdragon 625/632, and Samsung Exynos 850/7885.
You also find the support for Raspberry Pi Zero 2 W with Linux Kernel 5.18. In addition to the new entrants, old hardware/boards were removed as well. You can explore the commit log to know more.
You can refer to the official changelog and Linus Torvald’s announcement to explore more details.
How to Install Linux Kernel 5.18?
If you are using Arch Linux or Fedora, you can easily upgrade shortly. But, if you are using other Linux distributions (Pop!_OS can be an exception to some extent), you may not receive an upgrade.
However, we recommend waiting for your Linux distribution to push an update if you do not want to take any chances. It is best to stick to what’s being offered for your Linux distribution by default.