Game Development Community

Vsync flag not working?

by Merlin Avery · in Torque Game Engine · 01/21/2010 (8:48 am) · 4 replies

I'm getting 310 fps in my project right now. Graphics are tearing all over the place.

I use the setVerticalSync and pass true in script. Debugging in C++ shows it's hitting: dwglSwapIntervalEXT( on ? 1 : 0 ) with on set to 1 as one would expect. Still no effect. Fullscreen, windowed, etc etc. Doesn't matter. I checked my nvidia control panel, everything is set to let the application decide.

I've tried screwing with device mode setting with changing resolution and set a vhz on it as suggested in another thread. This did nothing. It just seems no matter what I do vsync just will not enable. Anyone run into this and have a suggestion.

About the author

Developer extraordinaire.

Recent Threads


#1
01/21/2010 (12:59 pm)
This seems to be nvidia's driver. I did a smaller opengl program just to check and I have absolutely no way of getting vsync enabled.

And the code works on another box with older Forceware. Looooovely.
#2
01/22/2010 (11:20 am)
What version of the nVidia drivers are you using? Also, what version of Windows?

VSync seems to be working on Windows 7 Ultimate 32bit, nVidia driver 196.21 with a GeForce 9300. I'll check it out on some more setups to see if they have any issues.
#3
01/22/2010 (1:52 pm)
I'm using 196.21 as well. I've tried many driver versions dating back to 187. Same issue. No method to force Vsync in opengl for me. I have an 8700m, however, which has had other Forceware issues in the past. I'm fairly certain nobody else is likely to experience this issue but me :)
#4
01/23/2010 (8:18 pm)
Just a quick update. Tried it with all the nVidia cards that I have.

On my main gaming rig: GTX295, GTX285 SLI, GTX260 SLI, 9600GS, 8800GT, 8400GT, 7200GS
On my old AGP test-bed: 7600GT, 6600GT, 5200FX, Ti4200 AGP8x
On my laptop: 6100M
On my mini-ITX PC: 9300GT (onboard), GTS240

I used 196.21 with Windows 7 64-bit for all but the AGP cards, for which I uses a modded 96.85 on Windows XP. Windows was re-installed for each card on both systems. The laptop used a modded 195.62 mobile driver to add the 6000M series.

Out of all of those, the only card that did not allow me to set the VSync was the 6100M on my laptop. I'm guessing it's a problem with either the mobile chips or the mobile drivers.