I am currently experiencing some random screen flickering after a fresh install. I have a Lenovo laptop with Mesa Intel® UHD Graphics 620 (KBL GT2). It was working fine on 21.10.

  • 2
    smae issue here. This has been reported here too: bugs.launchpad.net/ubuntu/+bug/1970426
    – dimisjim
    Apr 29, 2022 at 6:54
  • 1
    This workaround worked for me: In file /etc/default/grub I added to parameter GRUB_CMDLINE_LINUX_DEFAULT the value "i915.enable_dc=0 intel_idle.max_cstate=2". Then updated grub and now I'm flicker free for a few days. May 10, 2022 at 18:17
  • @EstebanKnöbl My line in that file now has GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.enable_dc=0 intel_idle.max_cstate=2" and I ran sudo update-grub but I still see the flickers. Any ideas? May 11, 2022 at 19:31
  • 1
    I don't have "quiet splash" there, but I don't think that's going to make any difference. And I'm guessing you reboot your system. Maybe you can check the bug report above to see if there's anyone else in your situation. May 12, 2022 at 10:22
  • Thank you, this workaround fixed this issue for me in elementary OS 6.1.
    – Andy White
    Aug 17, 2022 at 14:40

8 Answers 8


A bug has been reported at Launchpad. If you're experiencing this issue, you can report it too.

Until it's fixed, this workaround worked for me:

sudo nano /etc/default/grub

In the grub file, I added to parameter GRUB_CMDLINE_LINUX_DEFAULT the value "i915.enable_dc=0 intel_idle.max_cstate=2". Then saved the file and run:

sudo update-grub

... to update grub. I did a reboot. I'm now flicker-free for ten days.

  • For me it was not the issue with Ubuntu 22.04, I had "Visual Alerts" ON. Turn it OFF and see if it helps. (This may sound stupid, but I didn't realize this and wasted so much time figuring out a solution)
    – Rajan
    Feb 10 at 19:58

Had the same issue and tried solutions in this thread. Updating the Grub file only reduce the frequency of flickering on my machine, but not stop the flickering.

As Esteban mentioned in the bug report. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1958191

Updating Linux kernel to 5.17.7 or later seems solve this problem.

uname -mrs # Demonstrate your kernel version
sudo add-apt-repository ppa:cappelikan/ppa -y # Add mainline apt repo
sudo apt install mainline -y 

Open Ubuntu Mainline Kernel Installer from the applications, select a kernel after 5.17.7 and update the kernel.

Then, you only need

sudo reboot

And it fixed my flickering problem. (intel NUC i5)

!!![ Be aware ] Make sure you have your backup before updating the kernel.


Had the same issue right after installing Ubuntu 22.04 on ASUS Zenbook also running the Mesa Intel® UHD Graphics 620 (KBL GT2) integrated graphics.

After searching for a couple of hours, I came across a thread suggesting adding the intel_idle.max_cstate=4 kernel boot parameter in /etc/default/grub as a workaround.

So far it seems to have solved the flickering issue.

  • Thank you, I'll give it a try. Apr 26, 2022 at 21:11
  • Sadly, this didn't fix it. Apr 28, 2022 at 17:55
  • 2
    After giving this a go for a couple of days, I can now also confirm my self that this workaround only makes the flickering less apparent and a but more scarce but doesn't completely eradicate the issue. Furthermore, everything fills a bit laggy. Apps sometimes freeze for a second, even when I'm only doing lite work on my Laptop. At this point, it kind of feels broken all around, I, actually considering a fresh installation. Apr 28, 2022 at 19:04

For me the fix was:

sudo nano /etc/default/grub

In the file set GRUB_CMDLINE_LINUX_DEFAULT="i915.enable_psr=0".

sudo update-grub
  • This worked on Lenovo X1 Carbon with Linux 5.19.0-46-generic x86_64
    – Pagol
    Jul 2 at 9:41

Had the same issue with my dell inspiron-15-3567 got the fix by using acpi=off in /etc/default/grub but a new issue cropped up when shutting down system reaches shutdown target systemd-shutdown process-udevd is waiting so have to press down the power button . so have to choose between either screen flicker randomly or a shutdown issue


Buggy kernel in my case was 5.15.x Flicker-free image appears as crisp and good as ever. 5.19.x seems to be the last 5.x kernel, so am using this one before migrating to 6.1.x once that becomes mainline (I won't use 6.0.x), aka an actual mainline kernel. So I concur: Upgrading kernel (via mainline kernel app, as described above) worked nicely.

Another tip you might find useful:

if you can hardly do anything because of strong FLICKER ... ... do the kernel package management on a remote shell from another machine! Just via SSH ... if you have ssh installed on the target machine, package is openssh-server.

SSH -Y allows you to open gui apps from remote as well. -Y and -X are flags that specify carrying xwindow (linux graphics) capabilities over an ssh connection. If remote xwindow does not work, you can do almost everything from a commandline. After installing mainline (see other comment) you can run it from a commandline typing


... (for a gui app), or typing

  • possibly as sudo - to work commandline-only (and have fewer issues with root privilege authorization, which you will need for kernel install). The command line version is pretty self-explanatory. Good luck

For Ubuntu setup here 22.04 LTS with all updates applied, which is in operation since release 16.04, or so - means Ubuntu machine of long history and multiple measures of problem hacking so far - desktop flickering problem interestingly started to occur not until one week ago. Workaround grub config file was not applied as numerous users report it to not really help. What was tried is 5.19.x kernel by installing linux-generic-hwe-22.04 package which also doesn't help.

What helps is Esc key strike while display flickers.

It operates on virtual machine powered by VirtualBox. Wayland in use.

Yet another issue graphical environment this Ubuntu machine suffers from for multiple years is screen resolution setting is not stored permanently. Every new boot results GNOME shell to use low resolution and user to need to switch to desired one manually. No idea if it has common points with flickering.

Among GNOME extensions following are installed: (user) V-Shell vertical spaces (system) Desktop Icons ING DING, Ubuntu AppIndicators, Ubuntu Dock. As next I will try with user extension disabled. In the past have had few times graphical environment stability problems due to installed extension.

UPDATE Ubuntu with GNOME extension V-Shell vertical spaces disabled under test since -up to- 5 reboots ago. So far graphical environment is back to its previous stability - flickering no more occurring. If it keeps to be this way problem is resolved this particular case. However I need V-Shell vertical spaces extensions back - without it low productivity.


This is caused by the buggy 5.15.* kernel.


  1. Download all the *.deb files for a newer kernel from https://kernel.ubuntu.com/~kernel-ppa/mainline/. I am using 6.0.

  2. Goto the folder containing the *.deb files. Run sudo dpkg -i *.deb

  3. Run sudo reboot

  4. If you fail to boot and see error "Bad shim signature". Disable the Secure Boot.

  5. Boot. And use uname -mrs to check the kernel is updated.

The flickering should be gone by now.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .