Screen Flickering in KDE Manjaro

Hi, I’m I’m using manjaro kde on my acer laptop, sometimes i randomly get black screen flickering. Here are my system info and my display settings.

  Host: overlord Kernel: 5.10.56-1-MANJARO x86_64 bits: 64 compiler: gcc 
  v: 11.1.0 Desktop: KDE Plasma 5.22.4 Distro: Manjaro Linux base: Arch Linux 
  Type: Laptop System: Acer product: Aspire A315-51 v: V1.03 
  serial: <superuser required> 
  Mobo: SKL model: Venusaur_KL v: V1.03 serial: <superuser required> UEFI: Insyde 
  v: 1.03 date: 05/23/2017 
  ID-1: BAT1 charge: 20.1 Wh (58.8%) condition: 34.2/37.0 Wh (92.4%) volts: 8.4 
  min: 7.7 model: PANASONIC AP16M5J status: Charging 
  Info: Dual Core model: Intel Core i3-6006U bits: 64 type: MT MCP arch: Skylake 
  rev: 3 cache: L2: 3 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 16006 
  Speed: 500 MHz min/max: 400/2000 MHz Core speeds (MHz): 1: 500 2: 500 3: 500 
  4: 500 
  Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Acer Incorporated ALI 
  driver: i915 v: kernel bus-ID: 00:02.0 
  Device-2: Quanta VGA WebCam type: USB driver: uvcvideo bus-ID: 1-7:3 
  Display: x11 server: X.Org 1.20.13 driver: loaded: intel unloaded: modesetting 
  resolution: 1366x768~60Hz 
  OpenGL: renderer: Mesa Intel HD Graphics 520 (SKL GT2) v: 4.6 Mesa 21.1.6 
  direct render: Yes 
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Acer Incorporated ALI 
  driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 
  Sound Server-1: ALSA v: k5.10.56-1-MANJARO running: yes 
  Sound Server-2: JACK v: 1.9.19 running: no 
  Sound Server-3: PulseAudio v: 15.0 running: yes 
  Sound Server-4: PipeWire v: 0.3.33 running: yes 
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Acer Incorporated ALI driver: r8169 v: kernel port: 3000 
  bus-ID: 02:00.1 
  IF: enp2s0f1 state: down mac: a8:1e:84:ae:86:c9 
  Device-2: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter 
  vendor: Lite-On driver: ath10k_pci v: kernel port: 3000 bus-ID: 03:00.0 
  IF: wlp3s0 state: up mac: 3c:95:09:e8:b2:e1 
  IF-ID-1: br10 state: down mac: 52:54:00:84:93:cb 
  IF-ID-2: virbr0 state: down mac: 52:54:00:3a:02:a6 
  IF-ID-3: vmnet1 state: unknown speed: N/A duplex: N/A mac: 00:50:56:c0:00:01 
  IF-ID-4: vmnet8 state: unknown speed: N/A duplex: N/A mac: 00:50:56:c0:00:08 
  Device-1: Lite-On Qualcomm Atheros QCA9377 Bluetooth type: USB driver: btusb 
  v: 0.8 bus-ID: 1-5:2 
  Report: rfkill ID: hci0 rfk-id: 4 state: down bt-service: enabled,running 
  rfk-block: hardware: no software: yes address: see --recommends 
  Local Storage: total: 465.76 GiB used: 31.92 GiB (6.9%) 
  ID-1: /dev/sda vendor: Seagate model: ST500LT012-1DG142 size: 465.76 GiB 
  ID-1: / size: 449.03 GiB used: 31.24 GiB (7.0%) fs: ext4 dev: /dev/sda2 
  ID-2: /boot/efi size: 299.4 MiB used: 296 KiB (0.1%) fs: vfat dev: /dev/sda1 
  ID-1: swap-1 type: partition size: 8.18 GiB used: 693.9 MiB (8.3%) 
  dev: /dev/sda3 
  System Temperatures: cpu: 44.5 C mobo: N/A 
  Fan Speeds (RPM): N/A 
  Processes: 219 Uptime: 20h 49m Memory: 3.72 GiB used: 3.22 GiB (86.6%) 
  Init: systemd Compilers: gcc: 11.1.0 Packages: 1354 Shell: Bash v: 5.1.8 
  inxi: 3.3.06

Display Settings:
Resolution: 1366x768
Refresh Rate: 60hz
Global Scale: 100%

Compositor settings:
Enable compositor on startup checked.
Scale Method: Crisp
Rendering Backend: OpenGL 3.1
Latency: Balance of latency and smoothness
Tearing prevention: Full screen repaints
Keep window thumbnails: Only for shown windows
Allow applications to block compositing checked.

Install xf86-video-intel if you do not have it installed and create the file:
with this lines in it

Section "Device"
  Identifier "Intel Graphics"
  Driver "intel"
  Option "TearFree" "true"

More on Intel graphics - ArchWiki

didn’t work.

Check wayland if it works.