-
Notifications
You must be signed in to change notification settings - Fork 58
Vsync SDL GL
For SW display (SDL/OpenGL) users:
To prevent tearing, you may need to enable waiting for vertical synchronization for your card. UltraGrid OpenGL driver enables sync on VBlank by default. However, driver may refuse to set this setting, in this case, try to use compositing manager (below).
This can be done using your graphic card's configuration utility (nvidia-settings
for NVidia amdcccle
for AMD):
OpenGL X Screen 0 -> OpenGL Settings -> Sync to VBlank -> on
SDL X Screen 0 -> X Server XVideo Settings -> Sync to VBlank -> on
Note: If you have the option switched on but you can still see tearing, try to switch it on and then off.
OpenGL 3D -> More Settings -> Wait for vertical refresh -> Always On
SDL Display Options -> Tear Free -> Enable Tear Free Desktop to reduce tearing
If tearing still remains, this (or here) may also help - simply run compton composition manager + openbox with this parameters:
compton -b --backend glx --vsync opengl-swc
If you have any technical or non-technical question or suggestion please feel free to contact us at