I'm using mpv on Ubuntu 20.04 LTS. I was facing screen tearing when playing videos, therefore to fix this I enabled the "TearFree" option by adding the following line to the configuration file: /etc/X11/xorg.conf.d/20-intel.conf
Section "Device" Identifier "Intel Graphics" Driver "intel" Option "TearFree" "true" EndSection
But after doing so the videos wouldn't play at all. mpv crashes everytime with 'Segmentation fault'. If I revert the changes it would play again but the screen tearing reappears.
Output of lspci -nn | egrep -i "3d|display|vga"
00:02.0 VGA compatible controller : Intel Corporation HD Graphics 5500 [8086:1616] (rev 09) 04:00.0 Display controller : Advanced Micro Devices, Inc. [AMD/ATI] Venus XTX [Radeon HD 8890M / R9 M275X/M375X] [1002:6820] (rev 81)