Using the Latest Linux Kernel in Ubuntu

Use Mainline to install the latest kernels

apt install mainline

mainline/focal,now 1.0.15-0~202110201909~ubuntu20.04.1 amd64 [installed]

  Kernel Update Utility for Ubuntu-based distributions

Create an alias to download and install the latest linux-firmware.

 alias updatemodules = 'rm -rm ~/Downloads/linux-firmware || cd ~/Downloads && git clone https://kernel.googlesource.com/pub/scm/linux/kernel/git/firmware/linux-firmware.git && sudo cp ~/Downloads/linux-firmware/amdgpu/* /lib/firmware/amdgpu && sudo update-initramfs -k all -u -v'

From there you can use the latest kernel with the latest firmware installed.



Note On Lenovo Ideapad 14

 Running Ubuntu on the Lenovo Ideapad 14 (AMD) has been solid over the past year. There are a few issues I have and somethings that just won't work for a more long term solution.

1) Lenovo Ideapad does not support display over USB C port, only power delivery.

2) Ubuntu kernels are old and have outdated support for the touchscreen and other features.

To solve the first issue, a second cable connected to the HDMI port solves that quickly. It would be nice to use 1 USB C connection for the Power, HDMI output, and data transfers. I wonder if the new version using 5500 CPUs addresses the lack of hdmi over USB C.

Solution for the second issue is simple. Install Mainline.

sudo apt install mainline
Once installed you can change the kernels installed and purge which you don't need. Great way to test the kernel support for all the hardware on the laptop.