How is it possible that a new version of the kernel from the mainline is less stable than the one installed?

On my Huaweii X Mate pro 2021 edition, I have installed Ubuntu 21.10, with the kernel v. 5.13 (infact the one shipped with Ubuntu).

From time to time, I experience some flickers, then the screen goes off. The only way I have to see things again, is to close the lid and reopen.

I thought to install a new version of the kernel, v.5.14.15, but the system hangs up for a while during the boot, and I don't have confidence it might go on.

How is it possible that a new version is not stable/compatible with my hardware, but an "old version" works fine? Any chance to make this happening and solve my flickering (I'm not even sure it will tbh).

Thanks


You are backwards with your expectations for new software as it pertains to the majority of open source projects, including Ubuntu. You expect new software to have more stability, but generally the opposite is true. Older software (that is still maintained) is generally a lot more stable.

The newer the software, the less testing it has undergone. Typically, the newest versions of software are still in development, beta, or pre-release. Even when new versions of software are fully released, in many cases they are still called "bleeding edge", called such because you might get cut.

In terms of the Linux kernel, Ubuntu publishes its own version of the Linux kernel that is tested to work with Ubuntu. For LTS releases, there are two choices for kernels: the GA kernel which is an older kernel version with more testing and stability and a HWE kernel, which is a newer kernel, aimed at supporting newer hardware and features, at the risk of slightly less stability.

But when you decide to go away from the Ubuntu kernel completely, you are adding even more risk of instability, because these kernels are not tested to work with Ubuntu, nor does the Ubuntu development team have any ability to solve issues that might be specific to Ubuntu.

In short, the latest is not the greatest in terms of stability.

If you'd like to read about this further, check out:

  • Why don't the Ubuntu repositories have the latest versions of software?

  • Should I upgrade to the "mainline" kernels?

  • What are the differences between the Ubuntu shipped kernel and the upstream kernel?