I am using Ubuntu GNOME 16.04 and I would like to know if there is a way to get amdgpu-pro driver to properly vsync. I have tried modifying the xorg file to look like:
Section "OutputClass" Identifier "amdgpu-pro" MatchDriver "amdgpu" Driver "amdgpu" Option "TearFree" "on"
EndSectionbut all that managed to do is break the graphics part all together (gdm crashed or was stuck during next boot).
12 Answers
Create a file named /usr/share/X11/xorg.conf.d/99-tearfree.conf and containing Code:
Section "Device"
Identifier "Card0"
Driver "amdgpu"
BusID "PCI:1:0:0"
Option "DRI3" "1"
Option "TearFree" "on"
EndSectionYou have the same option in the open source driver too: Use the command man amdgpu to see them all. In Xfce you use the desktop compositor to prevent window tearing.
Hope it helps
4I feel very dumb, didn't notice that the default generated file is for Section "OutputClass", what was needed is Section "Device". It's all good now.