Has anyone figured out the new Nvidia PDF for the 40.41?

Mike89

Newcomer
Does anyone still modify the driver inf anymore?

I have been modifying my own driver inf for my refresh rates for awhile now. Nvidia had put out a PDF awhile back on how to do this. I really liked doing it this way, put in my own refresh rates-install the driver and everything was all set.

Now Nvidia changed the code big time on the 40.41 and the old way of editing the inf no longer works. Nvidia just put out a new PDF on how to do this but I can't understand it.

Has anyone checked this out? I sure would like to know how to use it.


If anyone is interested (I sure hope so), here is where it is

http://download.nvidia.com/Windows/40.41/NVCompMode_UG_20.pdf
 
The only part that looks like it might be confusing to me is the refresh rate part.

First of all, the refresh rates are specified by hexidecimal numbers. The standard refresh rates go by:

15: X
14: X
13: X
12: 240

11: 200
10: 170
9: 150
8: 144

7: 140
6: 120
5: 100
4: 85

3: 75
2: 72
1: 70
0: 60

The numbers on the left represent the binary position, while the numbers on the right are the refresh rate.

Notice how the numbers are separated into groups of four. Each group of four represents one hexidecimal value.

Here's a table on how to convert from binary to hexidecimal:

0000: 0
0001: 1
0010: 2
0011: 3
0100: 4
0101: 5
0110: 6
0111: 7
1000: 8
1001: 9
1010: A
1011: B
1100: C
1101: D
1110: E
1111: F

How does this all add up? A binary value of 1 turns a refresh rate on, while a binary value of 0 turns it off.

For example, let's say you wanted to enable the refresh rates 150, 120, 85, and 75. Here's the binary representation of those:

0000 0010 0101 1000

Since the first hex will just be zero, we can omit it. The hex representation becomes:

258

Now, for the example given:

HKR,, NV5_Modes_Delta, %REG_SZ%, "S 1024x768=1; 1280x1024x16,32=2B; 1280x1024
1600x1200=8050;SH 1920x2400x32=8014;SHV 800x600=39;"

Just examining the first part, "S 1024x768=1;" represents standard (No span) 1024x768 resolution, all color depths, will use refresh rate 60Hz.

Second part: "1280x1024x16,32=2B;" Here the mode type is again S, as no new mode type was specified. This setting only applies to 16-bit and 32-bit color, not 8-bit. The refresh rate setting of 2B allows settings 100, 75, 70, 60. And so on.

Oh, yeah, and the refresh rate values that start with an 8 are custom refresh rates, represented in hex. Convert back to decimal for the actual value.

For example, 8050 represents 80Hz, while 8014 represents 20Hz (Don't know how that's gonna work...).
 
Man doode! (btw, thanks for responding, I have been posting everywhere I can think of trying to figure this out. You are the first one who has responded. Seems not many are interested in the 'doing it yourself' approach anymore)

I am having to take an aspirin and re-read your post over and over. I guess I'm just a dumb ass.

Yeah the refresh rate was the one that is getting me.
Please bear with me here.

You say number 5 is 100Hz which translates to 0101? But in your example you have 0101 there but no 100hz.

What am I missing?

Here is how I had my previous infs modified.

These settings are all I use or want to use.
640x480 @ 100hz (16 & 32 bit)
800x600 @ 100hz (16 & 32 bit)
1024x768 @100hz (16 & 32 bit)
1152x864 @85hz (16 & 32 bit)
1280x960 @ 85hz (16 & 32bit)
1280x1024 @ 85hz (16 & 32 bit)
1600x1200 @ 72hz (16 & 32 bit)

Maybe if you set this up I can understand the connection better. Or at least give me examples again. Thanks
 
No, 100Hz isn't represented by the number five, but the position 5 in the binary field, that is:

0000 0000 0010 0000

....represents only enabling 100Hz refresh. In hex, this corresponds to:

20

As the first two digits can be dropped entirely.

Procedure:
1. Figure out which refresh(s) you want, set those to "1" in the binary field.
2. Convert binary field to hex.
 
Why do it yourself when programs do it? :)

Does anyone know if MS ever plan to fix this? It's pretty irritating.
 
Well I just like knowing how to do it and doing it. It's just me, I would rather take a minute to set it up it in inf, install it and forget about it, knowing everything's to my preference. Instead of installing, having to find a program that works, and then have to set it up anyway. I kinda got a kick out of doing it this way, that is until these new drivers came along.

I agree about the refresh rate thing. I had heard that the XP service pack was going to fix this once and for all but have not heard anything whatsoever on this from Microsoft itself. So I will not hold my breath. Between Microsoft and Nvidia, this should be able to be worked out. Beats me why it's not.
 
Chalnoth, I'm stuck. My brain is just not getting this.

I'm still not understanding how you are getting the hexidecimal value.

For 100 hz you are showing 0000 0000 0010 0000
For 150hz, 120hz, 85hz, 75hz you are showing 0000 0010 0101 1000

I'm not getting how you are coming up with those. One refresh rate is 4 groups and 4 refresh rates are also 4 groups. I can't figure out why that is or how you get each group number.
 
0001 0000 0000 0000 => 240
0000 1000 0000 0000 => 200
0000 0100 0000 0000 => 170
0000 0010 0000 0000 => 150
0000 0001 0000 0000 => 144
0000 0000 1000 0000 => 140
0000 0000 0100 0000 => 120
0000 0000 0010 0000 => 100
0000 0000 0001 0000 => 85
0000 0000 0000 1000 => 75
0000 0000 0000 0100 => 72
0000 0000 0000 0010 => 70
0000 0000 0000 0001 => 60

So add the vectors for 150Hz, 120Hz, 85Hz and 75Hz.
0000 0010 0101 1000 => 150/120/85/75 Hz

0000 0010 0101 1000 (bin) = 0258(hex) = 258(hex)


The line for the settings you said above would be (untested though):
HKR,, NV5_Modes_Delta, %REG_SZ%, "S 640x480x16,32=20; 800x600x16,32=20; 024x768x16,32=20; 1152x864x16,32=10; 1280x960x16,32=10; 1280x1024x16,32=10; 1600x1200x16,32=4;"
 
Well I used Basic's settings there (I did add the 1 to make it 1024 down there) and it worked perfectly. Thanks

Thanks guys for trying to help. With me looking at both your posts (I even printed it for future use) and the PDF, I'm finally getting it. It just takes awhile longer for us brain atrophy types.
 
Back
Top