I recently upgraded from Ubuntu 18.04 to 20.04 LTS on my laptop (Lenovo Ideapad FLEX 6-14IKB). After a while the screen would start flickering (similar to the video in this post here). I notice that sometimes it would flicker a lot an then stop for a while - it would usually happen more often when I'm actively browsing Chrome/Firefox. The issue does not exist on an external monitor that I connect to the laptop (flicker only happens on laptop built in screen). The issue also did not happen in 18.04.
I've tried to adjust the refresh rate of the screen to less than 60hz and also tried other solutions from similar posts such as switching to Ubuntu Wayland, modifying Grub settings by adding "i915.enable_psr=0", and creating xorg config. However the issue still persists.
System info:
Kernel version: 5.4.0-80-generic
Output of "lshw -c video":
description: VGA compatible controller
product: UHD Graphics 620
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 07
width: 64 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:137 memory:a0000000-a0ffffff memory:90000000-9fffffff ioport:4000(size=64) memory:c0000-dffff