Intel VSync problems

kryz
  8 years ago
  0

HOW TO FIX VSYNC ISSUE IN INTEL DRIVERS.

Hi, this is a small tutorial to fix the  issue in intel graphics when you are watching a movie or playing some games.

This issue is very common and an eternal problem in linux video drivers, each driver has its own solution, and for Intel is very easy to fix.

The common name to this issue is "vsync" and usually each program has to enable vsync to avoid this problem, but VLC has no  option, so lets force the driver to do it and we will fix for all the software.

-Modify xorg.conf

You have to add some lines to xorg.conf, but this file is no longer in the system, because now Xorg is autoconfigured in its boot.

But we have a option to configure without creating a new xorg.conf file.

We have to create one folder:

/etc/X11/xorg.conf.d

And in this folder create this file:

20-intel.conf

with these contents:

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

The magic line here is:

Option      "TearFree"    "true"

But to enable TearFree we should enable SNA acceleration as well.

That's all, enjoy your movies again with Linux and intel driver ;)

Comments
overkill22 7 years ago

with linux mint 18.2 cinnamon, I've done: "sudo xed /etc/X11/xorg.conf.d/20-intel.conf"

then insert the content suggested.


overkill22 8 years ago

it solved my issue with the tearing problem in VLC.
The guide should be edited and insert that this will solve the "tearing" problem, and how to create the file in the xorg.conf.d folder.


Hammer459 8 years ago

This is not really a tutorial. It is however good information that is best suited in the Hardware section of the Forums. The Forums is the place to search for help with problems or as in this case present a soulution to a problem