Questions tagged [vsync]

Vsync (short for Vertical Synchronization) is a rendering option for video cards. This option prevents the video card from changing the display memory until the monitor is done with its current refresh cycle.

Vsync (short for Vertical Synchronization) is a rendering option for video cards. This option prevents the video card from changing the display memory until the monitor is done with its current refresh cycle.

When vsync is applied, the rendering engine would match the maximum refresh rate of the monitor if the frame rate being produced is higher than the refresh rate of the monitor. This effectively throttles the maximum generated frames per second of the graphics card.

Turning vsync on can improve rendering quality when applied to applications that have frame rates significantly higher than the monitor's refresh rate as this relieves tearing of the image and results in smooth playback. On the other hand if the graphics card is outputting significantly lower frame rates than the monitor's refresh rate, this can result to the video output having judder as the graphics card may miss the monitor's refresh deadlines.

155 questions
0
votes
1 answer

Assembly x86 (16-bit) VSync (screen tearing)

I'm working in TASM 16-bit Assembly as an education course, and I'm making a game engine. I'm using VGA 13h (320x200 256-colors) with DOSBox, and I can sometimes see the screen tearing, meaning my video memory is updating while my screen (which is…
0
votes
0 answers

how to use Choreographer to synch animation with VSync?

When I use Choreographer I was thinking that it's will fire the doFrame every 16 ms to synch with the vSynch. But seam it's not the case when I look the log : 04-04 01:02:13.430: I/doFrame(5348): 83955391747085 04-04 01:02:13.443: I/doFrame(5348):…
zeus
  • 12,173
  • 9
  • 63
  • 184
0
votes
0 answers

How to properly sync frames in freeglut?

How to enable something like v-sync in the freeglut program, is there a way to reduce screen tearing such as possibly properly syncing up the monitor refresh rate with the frames pushed out of the program? is there possibly a library that I could…
0
votes
0 answers

How to obtain the VSync Display refresh pulse in Linux?

I'm programming some routines on a Linux NASM x86-64 asm code. How can I obtain the pulse of the display refresh, VSync? I guess maybe via syscall I can reach the pulse, but I accept other suggestions, don't ask me why, i really need the pulse to…
0
votes
1 answer

Get Vsync status on GPU C#

I am developing a .net core application where I need to retrieve as much information about the system as possible. I have managed to retrieve already a lot, however, I am struggling to find out whether the GPU has Vsync turned on or not. I have…
Chookees
  • 33
  • 1
  • 7
0
votes
0 answers

gstreamer-1.0's ximagesrc vsync

I am using gstreamer-1.0 with ximagesrc for capturing the screen of my Linux box... Unfortunately I see some "tearing" on the captured images, and I guess it is due to the lack of v-sync while grabbing the desktop... Is v-sync supported somehow by…
Morix Dev
  • 2,700
  • 1
  • 28
  • 49
0
votes
0 answers

Is it possible to programmatically delay a monitor's vertical retrace?

Given FreeSync and GSync it is now possible that graphics card and monitor work together to support variable frame rates and control when a monitor refreshes. My question is if with a fixed framerate monitor there is any way to do something similar…
Christopher Oezbek
  • 23,994
  • 6
  • 61
  • 85
0
votes
0 answers

FPS limit (inaccurate)

I am trying to figure out why this FPS limit doesn't works properly on some computers.. for example when I limit the fps to 333 it will show 250 and on some computers the FPS limitation will work just fine (when limit 333 it will limit 333 and not…
IDev
  • 1
  • 4
0
votes
1 answer

V-Sync in MFC and GDI+

hi I'm using MFC SDI application for my mid term project. but every time i draw scene (with GDI) and "invalidate()" it flicking occur. I use DWM for double buffering and removing flicking but it rarely occur. i think problem is in the vertical…
user335870
  • 588
  • 2
  • 11
  • 22
0
votes
1 answer

OpenGL ES: frametime 16.72 NOT 16.67

I am curious about why the frametime follows a cyclic pattern and almost all time after every three or four frames is 16.94 ms and not 16.666. ? And sometimes a framtime is 16.39 and almost always are followed by 16.94. Even if I comment out the…
java
  • 1,165
  • 1
  • 25
  • 50
0
votes
0 answers

LibGDX - 60FPS - drop frame rate and stuttering

I have a big problem with frame rate. When I draw only 1 sprite and try to move it when FPS is below 400 without VSync I have lags. It isn't smooth movement. When I use VSync it works almost good, but every second instead 60 fps, frame rate jump to…
Havix
  • 13
  • 4
0
votes
1 answer

Vsync event callback or listener in Android sdk

Is there Vsync event callback or listener in Android SDK? I Need to do some sync in app to make sure there only 1 operation in every 1 Vsync
Wang
  • 11
  • 4
0
votes
2 answers

Keep in-memory data structures of two processes in sync

How do I keep the in-memory data structures in sync between two processes. Both processes are the same process(server) - one is active and the other one is a stand-by. The stand-by needs to take over in case of crash/or similar of the active. For…
s_s
  • 101
  • 9
0
votes
1 answer

Display image with qt & opengl, timing accuracy and vsync issues, c++

I'm building a module that is supposed to display images at a certain rate (not pre defined, but not very high - 10Hz max for the swapping of images). From my research I got to the conclusion that QGLWidget is the right tool for this task, after…
JLev
  • 705
  • 1
  • 9
  • 30
0
votes
0 answers

Switch v-sync on runtime, using HaxeFlixel c++ target

Is it possible to switch vsync on/off for my HaxeFlixel project, on runtime? Or do I have to create different executable files (one with vsync enabled, and another one with vsync disable) After dealing with an IntelHD bug, I had to disable vsync for…
yannicuLar
  • 3,083
  • 3
  • 32
  • 50