Fix screen tearing on Debian 12 Xorg and i3

note, Jul 10, 2023, on Mitja Felicijan's blog

I have been experiencing some issues with IntelĀ® Integrated HD Graphics 3000 under Debian 12 with Xorg and i3. Using picom compositor didn't help. To fix this issue create new file /etc/X11/xorg.conf.d/20-intel.conf as root and put the following in the file.

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

Reboot the system and that should be it.

Other notes

DateTitle
Sending signals to C programsc
Cronjobs on Github with Github Actions
Using ffmpeg to combine videos side by side
Use option key as meta in Alacritty under macOS
Online radio streaming with MPV from terminal
10/GUI 10 Finger Multitouch User Interface
Simple presentations with Markdown
Take a screenshot in Plan9plan9
Mount Plan9 over networkplan9
Compile drawterm on Fedora 38plan9
Convert all MKV files into other formats
Sane defaults for tmux with more visible statusbar
Make DCSS playable on 4k displaysdcss
Sane default for Dungeon Crawl Stone Soup Online editiondcss
Cache busting in Hugo