Compton not working and can't find the config


I installed compton via terminal and i created a dir and a config file to “.config/compton/compton.conf”
When the .conf file is there i have this error:

[ 02/11/2022 14:56:17.186 open_config_file_at WARN ] This compositor has been renamed to "picom", the old config file paths is deprecated. Please replace the "compton"s in the path with "picom"
[ 02/11/2022 14:56:17.187 parse_config_libconfig WARN ] vsync option will take a boolean from now on. "opengl-swc" is interpreted as "true" for compatibility, but this will stop working soon
[ 02/11/2022 14:56:17.187 parse_config_libconfig ERROR ] "paint-on-overlay" has been removed as an option, and the feature is enabled whenever possible
[ 02/11/2022 14:56:17.187 main FATAL ERROR ] Failed to create new session.
[2]+  Exit 1                  compton

If I remove the .conf it is working, but my screen is tearing as alwasy and i cant find the .conf file to edit. **
What can i do?
I only need compton to solve my screen taring problem.

inxi --full --verbosity=7 --filter --no-host
[i3hunor@HunorT480 ~]$ inxi --full --verbosity=7 --filter --no-host
  Kernel: 5.15.19-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
    Desktop: Xfce 4.16.0 tk: Gtk 3.24.29 info: xfce4-panel wm: i3 4.20.1 vt: 7
    dm: LightDM 1.30.0 Distro: Manjaro Linux base: Arch Linux
  Type: Laptop System: LENOVO product: 20L6S1LV2F v: ThinkPad T480
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 20L6S1LV2F v: SDK0J40697 WIN
    serial: <superuser required> UEFI: LENOVO v: N24ET67W (1.42 )
    date: 11/17/2021
  ID-1: BAT0 charge: 14.4 Wh (77.4%) condition: 18.6/23.9 Wh (77.6%)
    volts: 11.9 min: 11.4 model: LGC 01AV489 type: Li-poly serial: <filter>
    status: Not charging cycles: 75
  ID-2: BAT1 charge: 19.0 Wh (84.4%) condition: 22.5/24.0 Wh (93.9%)
    volts: 12.4 min: 11.5 model: SMP 01AV452 type: Li-poly serial: <filter>
    status: Not charging cycles: 186
  RAM: total: 7.51 GiB used: 2.92 GiB (38.9%)
  RAM Report:
    permissions: Unable to run dmidecode. Root privileges required.
  Info: quad core model: Intel Core i5-8350U bits: 64 type: MT MCP
    smt: enabled arch: Coffee Lake rev: A cache: L1: 256 KiB L2: 1024 KiB
    L3: 6 MiB
  Speed (MHz): avg: 1686 high: 1700 min/max: 400/3600 cores: 1: 1700
    2: 1693 3: 1700 4: 1696 5: 1700 6: 1613 7: 1692 8: 1700 bogomips: 30409
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
    clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
    fsgsbase fxsr ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs ida
    intel_pt invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor
    movbe mpx msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm
    pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand rdseed rdtscp
    rep_good sdbg sep sgx smap smep smx ss ssbd sse sse2 sse4_1 sse4_2 ssse3
    stibp syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx
    vnmi vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
  Device-1: Intel UHD Graphics 620 vendor: Lenovo driver: i915 v: kernel
    bus-ID: 00:02.0 chip-ID: 8086:5917 class-ID: 0300
  Device-2: Chicony Integrated Camera (1280x720@30) type: USB
    driver: uvcvideo bus-ID: 1-8:3 chip-ID: 04f2:b604 class-ID: 0e02
    serial: <filter>
  Display: x11 server: X.Org driver: loaded: modesetting
    alternate: fbdev,vesa resolution: 1920x1080~60Hz s-dpi: 96
  Message: Unable to show advanced data. Required tool glxinfo missing.
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo ThinkPad T480
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:9d71
    class-ID: 0403
  Sound Server-1: ALSA v: k5.15.19-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.45 running: no
  Device-1: Intel Ethernet I219-LM vendor: Lenovo driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15d7 class-ID: 0200
  IF: enp0s31f6 state: down mac: <filter>
  Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel
    bus-ID: 03:00.0 chip-ID: 8086:24fd class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
    bus-ID: 1-7:2 chip-ID: 8087:0a2b class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 4 state: down bt-service: disabled
    rfk-block: hardware: no software: no address: see --recommends
  Message: No logical block device data found.
  Message: No RAID data found.
  Local Storage: total: 238.47 GiB used: 75.45 GiB (31.6%)
  ID-1: /dev/nvme0n1 vendor: Intel model: SSDPEKKF256G8L size: 238.47 GiB
    speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: L15P temp: 31.9 C
    scheme: GPT
  Message: No optical or floppy data found.
  ID-1: / size: 116.5 GiB used: 75.42 GiB (64.7%) fs: ext4
    dev: /dev/nvme0n1p5 label: N/A uuid: cc7be21e-d9d4-4881-841a-b047d2a1253a
  ID-2: /boot/efi size: 96 MiB used: 25.3 MiB (26.3%) fs: vfat
    dev: /dev/nvme0n1p1 label: N/A uuid: 2EAD-1B08
  ID-1: swap-1 type: file size: 8 GiB used: 0 KiB (0.0%) priority: -2
    file: /swapfile
  ID-1: /dev/nvme0n1p2 size: 16 MiB fs: <superuser required> label: N/A
    uuid: N/A
  ID-2: /dev/nvme0n1p3 size: 118.93 GiB fs: ntfs label: N/A
    uuid: 3648B0CC48B08C5D
  ID-3: /dev/nvme0n1p4 size: 509 MiB fs: ntfs label: N/A
    uuid: 1804C52004C5022C
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 12 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-7:2 info: Intel Bluetooth wireless interface type: Bluetooth
    driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA
    chip-ID: 8087:0a2b class-ID: e001
  Device-2: 1-8:3 info: Chicony Integrated Camera (1280x720@30) type: Video
    driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA
    chip-ID: 04f2:b604 class-ID: 0e02 serial: <filter>
  Device-3: 1-9:6 info: Synaptics Metallica MIS Touch Fingerprint Reader
    type: <vendor specific> driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s
    power: 100mA chip-ID: 06cb:009a class-ID: ff00 serial: <filter>
  Hub-2: 2-0:1 info: Super-speed hub ports: 6 rev: 3.0 speed: 5 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-4: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  System Temperatures: cpu: 48.0 C pch: 43.5 C mobo: N/A
  Fan Speeds (RPM): N/A
  Processes: 261 Uptime: 6h 14m wakeups: 112 Init: systemd v: 250 Compilers:
  gcc: 11.1.0 clang: 13.0.0 Packages: pacman: 1185 Shell: Bash v: 5.1.16
  running-in: xfce4-terminal inxi: 3.3.12

Did you do this?

Now it starts “/.config/picom/compton.conf”
I only have this error, but i think that not important.

[ 02/11/2022 15:08:02.640 session_init WARN ] This compositor has been renamed to "picom", the "compton" binary will not be installed in the future.

But it looks like screen is taring…

I suggest you use picom instead of compton as compton is no longer maintained. Uninstall compton and it’s configs and start from scratch:


picom - ArchWiki

Screen Tearing Problem in i3wm - #4 by mithrial