For Intel Graphics and AMD / ATI Open Source Graphics Drivers
Locate the "Device" section /etc/X11/xorg.conf , which contains one of the following directives:
Driver "intel"Driver "radeon"Driver "fglrx"
And add the following line to this section:
Option "SwapbuffersWait" "false"
And run the application with the environment variable vblank_mode set to 0 :
$ vblank_mode=0 glxgears
For Nvidia Graphics with the Nvidia Proprietary Driver
$ echo "0/SyncToVBlank=0" >> ~/.nvidia-settings-rc
The same change can be made in the nvidia-settings GUI by nvidia-settings option in X Screen 0 / OpenGL Settings / Sync to VBlank . Or, if you just want to test the parameter without changing your ~/.nvidia-settings-rc file, you can do something like:
$ nvidia-settings --load-config-only --assign="SyncToVBlank=0"
nocnokneo Aug 05 '13 at 15:53 2013-08-05 15:53
source share