View Full Version : NVidia OpenGL "sync to vblank" not sticking with UT2004
cjl2301
April 2nd, 2007, 12:07 AM
Ok I'm having a wierd problem.
I want vsync on for UT2004. I have the setting set in my nvidia-settings. However, when I boot up and run the game, it doesn't use vsync. But then if I exit the game, lauch the nvidia settings app and just exit and run the game again - it does use vsync.
Any ideas how I can have this set permanently?
buttons
April 2nd, 2007, 04:22 PM
Ok I'm having a wierd problem.
I want vsync on for UT2004. I have the setting set in my nvidia-settings. However, when I boot up and run the game, it doesn't use vsync. But then if I exit the game, lauch the nvidia settings app and just exit and run the game again - it does use vsync.
Any ideas how I can have this set permanently?
You have to run the nvidia-settings app before ANY settings take effect, ever. In order to make this run on startup of X you'll need to stick the following in whatever sessions startup you happen to use (in GNOME, System->Preferences->Sessions):
nvidia-settings --load-config-only
Which will load everything saved in your config without actually launching the program. If you don't want to do that for some reason, and would instead like to simply add VSYNC, use the following command:
nvidia-settings --assign="SyncToVBlank=1"
Hope that helps!
cjl2301
April 3rd, 2007, 12:39 AM
Ah perfect, thanks a lot!
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.