For intel:
I found out a workaround to be able to enjoy dri3 and get away with tears in movies. I tested and it seems to work, tears dissapears once i disable dri3 with environment option.
I think Tearfree is only available in "sna" method, so we set:
/usr/share/X11/xorg.conf.d/20-intel.conf
Code: Select all
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "sna"
Option "DRI" "3"
Option "TearFree" "true"
EndSection
Examples:
LIBGL_DRI3_DISABLE=1 kodi
LIBGL_DRI3_DISABLE=1 mpv myvideo.mp4
youplay.sh youtubeurl
Code: Select all
export LIBGL_DRI3_DISABLE=1
gnome-mpv $(youtube-dl -g -f best $1) &
LIBGL_DEBUG=verbose <<command>>
-----------------------------------------
by the way i also found out, that to enjoy DRI3 acceleration in chrome based on we must use theses flags: (--ignore-gpu-blacklist --disable-gpu-sandbox):
test:
LIBGL_DEBUG=verbose chrome/chromium --ignore-gpu-blacklist --disable-gpu-sandbox