Jump to content
Compatible Support Forums
Sign in to follow this  
latkey

TNT2 Opengl Refresh Rate

Recommended Posts

I can't seem to control my TNT2 opengl refresh rates, specifically in q3. Regardless of what I set the desktop refresh to, in 1024 for example, q3 will run at 60hz. any suggestions?

 

Oh, and a big shout-out to chameleon for making it possible for me to get this far in the first place.

Share this post


Link to post

try Powerstrip, it allows you to assign different refresh rates to certain games!

Or you could edit the .inf file that belongs to the tnt2 driver and remove all refresh rates that you dont want for certain resolutions! Then reinstall the driver!

Share this post


Link to post

yeah, tried powerstip but I was looking for a less 3rd-party type of solution...

 

what I ended up doing was using the r_displayRefresh cvar in my q3 cmdline to set the refresh rate to 85. Obviously this only solves the problem for q3 and not opengl across the board, but it's really all I wanted to fix anyway.

Share this post


Link to post

You can do it this way:

 

Edit the .INF file of your TNT/TNT2/GeForce drivers (AFAIK it only works with the NVidia reference drivers (this includes all the misc Win2k drivers from NVidia themselves, Asus, AOpen, etc.), it might not work with any Creative or Diamond custom drivers).

 

Look at the end of the file, all the different card types supported by that driver are listed there under the section "[strings]". What you need to know is the codename of the card, i.e. "NV4" for TNT1, "NV5" for TNT2, "NV10" for "GeForce" and so on.

 

Assuming you have a TNT2 (="NV5"), search for a rather large block of lines looking like this (note the "NV5_Modes" string which indicates that these settings are for the NV5 cards):

 

Code:
HKR,, NV5_Modes,                   %REG_SZ_APPEND%, "16   640  480   60 70 72 75 85 100 120  0"HKR,, NV5_Modes,                   %REG_SZ_APPEND%, "16   320  200   60 70 72 75             0"HKR,, NV5_Modes,                   %REG_SZ_APPEND%, "16   320  240   60 70 72 75             0"HKR,, NV5_Modes,                   %REG_SZ_APPEND%, "16   400  300   60 70 72 75             0"HKR,, NV5_Modes,                   %REG_SZ_APPEND%, "16   480  360   60 70 72 75             0"HKR,, NV5_Modes,                   %REG_SZ_APPEND%, "16   512  384   60 70 72 75             0"HKR,, NV5_Modes,                   %REG_SZ_APPEND%, "16   640  400                  100 120  0"HKR,, NV5_Modes,                   %REG_SZ_APPEND%, "16   800  600                  100 120  0"HKR,, NV5_Modes,                   %REG_SZ_APPEND%, "16  1024  768                  100 120  0"HKR,, NV5_Modes,                   %REG_SZ_APPEND%, "16  1152  864                  100 120  0"HKR,, NV5_Modes,                   %REG_SZ_APPEND%, "16  1280  960               85 100 120  0"HKR,, NV5_Modes,                   %REG_SZ_APPEND%, "16  1280 1024   60 70 72 75 85 100 120  0"HKR,, NV5_Modes,                   %REG_SZ_APPEND%, "16  1600 1200   60 70 72 75 85 100      0"HKR,, NV5_Modes,                   %REG_SZ_APPEND%, "16  1920 1080   60 70 72 75 85 100      0"HKR,, NV5_Modes,                   %REG_SZ_APPEND%, "16  1920 1200   60 70 72 75 85          0"HKR,, NV5_Modes,                   %REG_SZ_APPEND%, "16  1920 1440   60 70 72 75             0"HKR,, NV5_Modes,                   %REG_SZ_APPEND%, "16  2048 1536   60                      0"

 

This has already been edited by me. As you can see, you need to overwrite the undesired refresh rates ("60 70 72 75 85" in my case) with spaces, so the desired refresh rate at a specific screen resolution is the lowest refresh rate number in the according line.

 

Here, I've deleted all rates below 100Hz for 640x400, 800x600, 1024x768 and 1152x864, and all rates below 85Hz for 1280x1024.

 

Note: there are multiple blocks of lines for different color depths: 8, 16 and 32. Listed above are only the 16bpp modes. You should do this for all three color depths.

 

Then reinstall the driver with the new .INF file. This should solve the OpenGL refresh rate problem.

 

If you need higher refresh rates for DirectDraw/Direct3D games, run the DirectX Diagnostic Tool (DXDIAG.EXE) and switch to the last tab ("More Help"), click the "Override..." button and enter the desired refresh rate. I'm using 100 here, too.

 

This should solve the DirectDraw/Direct3D refresh rate problem.

 

nova.

 

[This message has been edited by nova (edited 27 November 1999).]

Share this post


Link to post

You don't have to reinstall the drivers.

If you check out your registry under HKEY_LOCAL_MACHINE - System - Current Control set - Services - NV4 - Device0 , you'll see the same refresh rate table under the Keys NV5_Modes and etc, and you can just change it there.

 

I did so under NV5Ultra_Modes since I have a TNT2 Ultra, rebooted and there you go.

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×