• Processor - Intel® Core™ i3-3220 CPU @ 3.30GHz × 4
  • Graphics - Intel® Ivybridge Desktop


I updated to Ubuntu 18.04, and I'm facing tremendous screen flickering/shaking/distorting at random times for random duration. The display is working fine on another Monitor that I have.

5 Answers 5


I was observing screen flickering but not shaking. I had to edit my monitor config and change the framerate. By default mine was set to 60.169086456298828.

open terminal and run the following:

gedit ~/.config/monitors.xml

edit this line:


set it to be lower than 60 as mentioned by 4levels, I used 59.96.

  • 3
    You do not need to use sudo when edit a file within your home directory ~...
    – pa4080
    Aug 29, 2018 at 6:58
  • 2
    Actually this helped to get rid of the flickering screen on my T570 with switchable graphics in Intel mode. The refresh rate is accessible as a drop-down option via system settings -> devices -> displays -> refresh rate. Thank you for pointing out the refresh rate as a possible solution!
    – byteborg
    Sep 1, 2019 at 15:23
  • 1
    I had to disconnect the monitor and connect it again after editing the file to make it work. Mar 11, 2021 at 9:37

I just deactivate the compositor from settings/GUI. I'm new to Linux and stuff but this work for me, I'm using Kubuntu on a very old system/pc.

as seen in the picture


I faced the same problem when I updated my Ubuntu 16.04 to 18.04 LTS. The 18.04 is running by default on linux kernel v4.15 while new kernel version v5.0 and above are available. Try to change the kernel version using: https://kernel.ubuntu.com/~kernel-ppa/mainline/

Download packages according to your requirements, i.e., generic/low latency and install.

This solved my problem. Hope this helps!


I was having the same problem, and disabling my compositor worked too. compton was glitching text on my screen. Disabled it and all is well.

  • I don't understand the problem, my answer is in a similar vein to the highest voted answer here, except I name the troublemaking compositor. I've reworded it to be clearer.
    – 0atman
    May 17, 2020 at 4:16

I had this problem with Ubuntu 20.04 and Virtualbox 6.1.

I reinstalled it, this time by selecting the correct type of OS in Virtualbox in the first step. It works well now.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.