Hi, my laptop has a built-in Intel graphic chip:
Device-1: Intel Core Processor Integrated Graphics vendor: Samsung Co R730 Laptop driver: i915 v: kernel bus ID: 00:02.0 Display: x11 server: X.Org 1.20.5 driver: intel tty: N/A OpenGL: renderer: Mesa DRI Intel Ironlake Mobile v: 2.1 Mesa 19.1.2 direct render: Yes
with which I had a lot of screen tearing and lagging for a long time. So long, that I almost got used to it. The tearing mostly happened when watching videos in a browser, but also using a video-player the picture was not completely tear-free.
What was also annoying was the lagging. One frame was as long as 2-3 frames which made the video terrible to watch. Audio and video were never in sync and it felt as if I was watching a slide show instead of a smooth moving picture.
You noticed of course I am speaking in the paste tense, meaning it is resolved with the help of a Archwiki page.
Last night I started searching and found this Arch wiki page: Intel graphics - Archwiki
What was interesting for me was the chapter: ** Troubleshooting**
I deleted my /etc/X11/xorg.conf.d/20-intel.conf file and made a new one with these lines:
Section "Device" Identifier "Intel Graphics" Driver "intel" Option "TearFree" "true" EndSection
Plus, I did something else, something I never heard of. Also in the Archwiki page, chapter Disable Vertical Synchronization (VSYNC), it says to create a hidden file in your home directory called .drirc. In this file I copied the text:
<device screen="0" driver="dri2"> <application name="Default"> <option name="vblank_mode" value="0"/> </application> </device>
which took care of the lagging. Now the pictures are smooth again, great to watch, plus the CPU is no longer stressed out at 95-100% (which sometimes stopped the video) but it's used at around 50%.
Maybe others can benefit from this as well. Just try it. To make sure you can return to your original setup, copy your files before changing them.