PDA

View Full Version : nv4_disp.inf Quality (less shimmering) mod...


Pages : [1] 2

iyos
11-08-04, 10:22 AM
These modifications reduce shimmering in CS:S for me by a considerable amount, I have not tried any other games. I hope they work for you too...

I have used settings from both NGO and Starstorm releases, so credits to the respective authors.

*Copy and RELPACE the [nv_SoftwareDeviceSettings] section that is already there.*

(They also enable coolbits!)

; begin copy

[nv_SoftwareDeviceSettings]
HKR,, UMAFastFrameBuffer, %REG_BINARY%,01,00,00,00
HKR,, UseCompressedModeFormat, %REG_DWORD%,1
HKR,, D3D_DXVAEnable, %REG_BINARY%,04,00,00,00
HKR,, OGL_EnableTripleBuffer, %REG_BINARY%,01,00,00,00
HKR,, Ogl_TexSharpen, %REG_BINARY%,01,00,00,00
HKR,, Ogl_TextureDirectLoad, %REG_BINARY%,01,00,00,00
HKR,, OGL_TexturePrecache, %REG_BINARY%,01,00,00,00
HKR,, OGL_MaxFramesAllowed, %REG_BINARY%,03,00,00,00
HKR,, OGL_ForceMultitexture, %REG_BINARY%,01,00,00,00
HKR,, Ogl_TexLODBias, %REG_BINARY%,f4,ff,ff,ff
HKR,, Ogl_NVEmulate, %REG_BINARY%,28,00,00,00
HKR,, InstalledDisplayDrivers, %REG_MULTI_SZ%, nv4_disp
HKR,, VgaCompatible, %REG_DWORD%, 0
HKR,, MultiFunctionSupported, %REG_DWORD%, 1
HKR,, RotateFlag, %REG_DWORD%, 4
HKR,, NV_R&T, %REG_MULTI_SZ%, "R&T0000=*,*,*,*,*,IBM251F.VSC2F0C.VSC3411.VSC3E19,HD LK"
HKR,, NV_R&T, %REG_SZ_APPEND%,"R&T0001=1920,1080,*,30,*,CRTX,OEM,7425,2200,48,56,56 2,2,5,++I"
HKR,, D3D_46205529, %REG_BINARY%,55,49,20,88
HKR,, D3D_92521178, %REG_BINARY%,00,00,02,55
HKR,, D3D_54082152, %REG_BINARY%,00,10,3c,3c
HKR,, D3D_42935363, %REG_BINARY%,58,04,22,57
HKR,, D3D_52971801, %REG_BINARY%,00,10,3c,3c
HKR,, D3D_44013233, %REG_BINARY%,71,13,53,91
HKR,, D3D_42935363, %REG_BINARY%,58,04,22,57
HKR,, D3d_59954021, %REG_BINARY%,00,02,ff,ff
HKR,, D3d_59954023, %REG_BINARY%,00,02,fe,ff
HKR,, D3d_88481200, %REG_BINARY%,fa,ff,ff,ff
HKLM,"Software\NVIDIA Corporation\Global\NvSvc\OemConfigurations",LoadLimitedSID,%REG_SZ%,"S-1-5-11"
HKR,, "DefaultSettings.XResolution",%REG_DWORD%,800
HKR,, "DefaultSettings.YResolution",%REG_DWORD%,600

HKR,, NV_Modes, %REG_MULTI_SZ%, "{*}S 720x480 720x576=1;320x200 320x240 400x300 480x360 512x384 640x400=F;SHV 1920x1200x32=1;1600x1200x8,16=1D;640x480 800x600 1024x768 1280x1024=3D;1920x1080=C01E;1600x1200x32 1920x1200x8,16=D;{20-18B,1F0-34E}SHV 800x600=1DC2;1600x1024x8,16 1920x1080x8,16=1F;640x480=1FC2;1280x1024x32 1600x1200 1920x1200x8,16=2;1152x864x8,16=3FF;1280x1024x8,16= 42;1920x1080x32=7;1024x768=7C2;1600x1024x32=F;1152 x864x32=FF;{28-29,2D-34E}SHV 1920x1440x32 2048x1536x8,16=1;"
HKR,, NV_Modes, %REG_SZ_APPEND%, "1600x1200x32 1920x1200x8,16=10;1600x900x32=1D;1600x1200x8,16=20 ;1280x768 1600x900x8,16=3D;1920x1440x8,16=D;{28-29,2D-18B,1F0-34E}SHV 1600x1024x32=10;1600x900x32 1920x1200x32 1920x1440x8,16=2;1600x1024x8,16 1920x1080x8,16=20;1152x864x32=200;1280x1024x8,16=3 80;1280x768x8,16=3C2;1280x720x8,16 1280x960x8,16=3FF;1280x1024x32=40;1152x864x8,16=40 0;1280x768x32 1600x900x8,16=42;1280x720x32 1280x960x32=7F;1920x1080x32=8;1024x768x8,16=800;"
HKR,, NV_Modes, %REG_SZ_APPEND%, "{1A0}S 1920x1200x32 1920x1440x8,16 2048x1536x8,16=20;800x480=3D;{40-4E,C1-34E}SHV 2048x1536x32=1;1920x1440x8,16=10;1920x1200x32=1C;1 600x900x32 1600x1200x32 1920x1200x8,16=20;1920x1440x32=8;2048x1536x8,16=C; {40-4E,C1-18B,1F0-34E}SHV 1920x1080x32=10;1024x768x8,16=1000;848x480=1DFF;19 20x1440x32 2048x1536x8,16=2;1600x1024x32=20;1280x720x32 1280x768x32 1280x960x32 1280x1024x32=280;1360x768x32=2FF;1600x900x8,16=380 ;1600x900x32 1600x1024x8,16 1600x1200x8,16=40;"
HKR,, NV_Modes, %REG_SZ_APPEND%, "1152x864x32 1280x720x8,16 1280x768x8,16 1280x960x8,16 1280x1024x8,16=400;1360x768x8,16=7FF;1024x768x32 1152x864x8,16=800;{40-4E,C1-CE,110-14F,170-18B,1F0,210-34E}SHV 1280x800x32=2FF;1280x800x8,16=7FF;960x600=DFF;{40-4E,C1-CE,140-14F,1A0,210-21E,301-34E}SHV 2048x1536x8,16=10;1920x1440x32 2048x1536x32=4;{40-4E,C1-CE,140-14F,210-21E,258-25B,288-34E}SHV 960x600=1000;{40-4E,C1-CE,140-14F,210-21E,301-34E}SHV 1920x1440x32=10;"
HKR,, NV_Modes, %REG_SZ_APPEND%, "1152x864x32 1280x720x32 1280x768x32 1280x800x32 1280x960x32 1280x1024x32 1360x768x32=100;2048x1536x32=1A;1088x612x8,16=1FFF ;800x600 848x480 960x600=200;1088x612x32=FFF;{4E,CE,14E,258-25B,288-289,308-30A,32A-32B,338-33F,34E}SH 960x1200=803D;{4E,CE,14E,338,33F}SHV 800x600 1024x768 1280x1024 1600x1200 1920x1154 1920x1200=8032;"

HKLM, "SOFTWARE\NVIDIA Corporation\Global\NVTweak", NvCplEnableAGPSettingsPage, %REG_DWORD%,1
HKLM, "SOFTWARE\NVIDIA Corporation\Global\NVTweak", NvCplEnableAdditionalInfoPage, %REG_DWORD%,1
HKLM, "SOFTWARE\NVIDIA Corporation\Global\NVTweak", NvCplEnableClearViewPage, %REG_DWORD%,1
HKLM, "SOFTWARE\NVIDIA Corporation\Global\NVTweak", NvCplEnableHardwarePage, %REG_DWORD%,1
HKLM, "SOFTWARE\NVIDIA Corporation\Global\NVTweak", NvCplEnableFrameSyncPage, %REG_DWORD%,1
HKLM, "SOFTWARE\NVIDIA Corporation\Global\NVTweak", NvCplNvThermPage, %REG_DWORD%,1
HKLM, "SOFTWARE\NVIDIA Corporation\Global\NVTweak", NvCplEnablenForcePage, %REG_DWORD%,1
HKLM, "SOFTWARE\NVIDIA Corporation\Global\NVTweak", NvCplEnableRotatePage, %REG_DWORD%,1
HKLM, "SOFTWARE\NVIDIA Corporation\Global\NVTweak", NvCplEnableTroubleshootingPage, %REG_DWORD%,1
HKLM, "SOFTWARE\NVIDIA Corporation\Global\NVTweak", NvCplEnableFanControl, %REG_DWORD%,3
HKLM, "SOFTWARE\NVIDIA Corporation\Global\NVTweak", NvCplDisableRefreshRatePage, %REG_DWORD%,0
HKLM, "SOFTWARE\NVIDIA Corporation\Global\NVTweak", NvCplDisableRotateAngles, %REG_DWORD%,0
HKLM, "SOFTWARE\NVIDIA Corporation\Global\NVTweak", PowermizerPreferences, %REG_DWORD%,0
HKLM, "SOFTWARE\NVIDIA Corporation\Global\NVTweak", QTwkEnableModeChangeWarning, %REG_DWORD%,1
HKLM, "SOFTWARE\NVIDIA Corporation\Global\NVTweak", NoPages, %REG_DWORD%,0
HKLM, "SOFTWARE\NVIDIA Corporation\Global\NVTweak", CoolBits, %REG_DWORD%, 0xffffffff

; end copy

Blitting is enabled in 66.81's by default (afaik), I benched with these drivers before and after setting blitting with RivaRuner and found no differences. By all means set blitting still if you must though for peace of mind more than anything.

These settings increase the IQ with a very marginal fps loss (1 or 2 fps, not even worth worrying about).

They can be used with other driver releases also, I'm now going to add them to the 66.93 set and see what happens. Will let you know.

Update:

This had no effect with the 66.93 drivers, still a lot of shimmering. Back to 66.81!

CaptNKILL
11-08-04, 10:58 AM
Sooo... how exactly does it reduce the shimmering? Whats the secret?

superklye
11-08-04, 11:10 AM
I still don't quite understand what shimmering is.

iyos
11-08-04, 11:37 AM
Sooo... how exactly does it reduce the shimmering? Whats the secret?

I have no idea, I just found these settings to work incredibly well for me with the 66.81 driver set.

Shimmering is hard to explain. An example is CS:S, de_chateu, the grass texture is pixelated and appears to 'shimmer' (sparkle?) when you move around. Very annoying.

mobilenvidia
11-08-04, 11:37 AM
The above won't work as when you paste this into the INF you will have 2 sections called : [nv_SoftwareDeviceSettings]
It will probably just run the first (original) section, or give an install error.

Copy and RELPACE the [nv_SoftwareDeviceSettings] section that is already there.
Then you will have more luck.

Hope this helps.

iyos
11-08-04, 11:38 AM
The above won't work as when you paste this into the INF you will have 2 sections called : [nv_SoftwareDeviceSettings]
It will probably just run the first (original) section, or give an install error.

Copy and RELPACE the [nv_SoftwareDeviceSettings] section that is already there.
Then you will have more luck.

Hope this helps.

Very good point, I'll add that to the first post, thanks.

CaptNKILL
11-08-04, 11:50 AM
Well if this is just a LOD Bias adjustment then it isnt really a fix. Anyone who has installed this, open aTuner or Riva Tuner (if you have them) and check the LOD Bias settings for D3D and OpenGL. If they are set higher than 0 by default with these drivers, then that is what they used to "fix" the shimmering. All this does is make everything blurrier, which covers up the shimmering (mostly) but also lowers the image quality of everything else.

Kahju
11-08-04, 12:24 PM
For me the "shimmering" looks bit like texture-moiré effect. It's horrible on my 6800U and bf1942 & mods. Specially terrain textures.

After brief testing I saw performance drop of about -10% in High Quality mode without optimizations and no significant change in "shimmering".

iyos
11-08-04, 12:28 PM
Well if this is just a LOD Bias adjustment then it isnt really a fix. Anyone who has installed this, open aTuner or Riva Tuner (if you have them) and check the LOD Bias settings for D3D and OpenGL. If they are set higher than 0 by default with these drivers, then that is what they used to "fix" the shimmering. All this does is make everything blurrier, which covers up the shimmering (mostly) but also lowers the image quality of everything else.

Thats not the case, at all. These are IQ enhanching tweaks, so why on earth would a LOD Bias be applied?

FYI: The LOD Bias is set LOWER than default to give a sharper image, -0.08 to be precise.

CaptNKILL
11-08-04, 01:28 PM
Thats not the case, at all. These are IQ enhanching tweaks, so why on earth would a LOD Bias be applied?

FYI: The LOD Bias is set LOWER than default to give a sharper image, -0.08 to be precise.
Thats what I was asking about, you didnt say what the tweak did so I mentioned that it was possible that it raised the mip bias.

Can anyone else comment on the shimmering using this tweak?

Apple
11-08-04, 01:59 PM
I still don't quite understand what shimmering is.

Texture crawling/aliased textures while in motion:

http://www.gaeugf.ch/ted/ut2003.avi
http://www.gaeugf.ch/ted/pain.avi

Worst case scenario (BF1942):
http://www.abu-el-mot.de/rs/bf.avi

Same vid but rendered by X800:
http://www.henno.dutchweb.nl/bf1942atix800xt.avi

DJB
11-08-04, 04:16 PM
In what games, with what card, and what driver have you NOT seen texture shimmering in the distance?

I have seen that in any game that has long view distances with every card from a Riva128 through my current 6800GT with every driver revision. Some may have been a bit worse due to differences in LOD and anisotropic filtering methods, but if you look for it, you will see it.

I have pretty much gotten used to it, though I have recently changed my LOD from -0.8 to 0.0 to reduce it a bit. (though I miss the sharper textures).

I did run 8xs FSAA and 16xAF with 0.0 LOD just to see if that would cure the shimmering, and, well, it reduced it to a bare minimum; but if I did nothing but look for shimmer I could still find it. Also, most modern games are not giving an acceptable framerate at 8xS and 16X.

DJB

CaptNKILL
11-08-04, 06:15 PM
In what games, with what card, and what driver have you NOT seen texture shimmering in the distance?

I have seen that in any game that has long view distances with every card from a Riva128 through my current 6800GT with every driver revision. Some may have been a bit worse due to differences in LOD and anisotropic filtering methods, but if you look for it, you will see it.


Well for one, it isnt off in the distance, its just an area about 20 feet in front of the view, and it stops after a short distance (at least in BF1942). That X800 video shows no shimmering. My 9600 Pro showed no shimmering in BF1942.

Its some sort of Nvidia driver bug, we are way past questioning if its a real problem or not.

I still havent seen enough feedback to try this driver fix yet though... has anyone tried it?

-=DVS=-
11-08-04, 07:19 PM
Yeah image textures are abit different compareing Nvidia and ATI cards in that BattleField short movie , could be several things ,

NV Optimizations couseing trouble
ATI Got LOD adjusted differently
Game engine doesn't like Nvidia
Cards itself hadle rendering differently.

Personaly i think it must be Driver software problem, Nvidia should investigate this futher.

iyos
11-08-04, 09:05 PM
Well, I followed some advice in the (massive) shimmering thread on this forum and its practically completely gone (99%). Set system performance to High Quality, 4xAA, VSync and diabled texture clamping.

I would make vids, but I'm too busy.

CaptNKILL
11-08-04, 09:11 PM
Well, I followed some advice in the (massive) shimmering thread on this forum and its practically completely gone (99%). Set system performance to High Quality, 4xAA, VSync and diabled texture clamping.

I would make vids, but I'm too busy.
In what game? I have run High-Quality + 4xAA and had a lot of shimmering. Texture clamping is OpenGL only as far as I know, and Vsync does not effect textures at all, let alone shimmering.

Are you sure you were experiencing the same shimmering that was shown in those videos?

DJB
11-08-04, 10:35 PM
All I can say is that if it is an Nvidia driver bug, it has existed in all driver revisions since 1.0. Seriously, I have never been able to get rid of 100% of the shimmer, though as others have pointed out, the higher the quality, and the less performance enhancements you use, the less the shimmer.

I think personally that the "sudden" increase in shimmer has to do with Nvidia adopting an "ATIish" method of AF which enhances performance, but increases issues like shimmer. Why this supposedly doesn't show up using ATI hardware I don't know, except that ATI has been using this different AF method for a couple of generations of cards, while Nvidia only started it with the 6XXX series, so perhaps they are going through some growing pains.

DJB

SigmaOrionis
11-08-04, 11:21 PM
Well, I followed some advice in the (massive) shimmering thread on this forum and its practically completely gone (99%). Set system performance to High Quality, 4xAA, VSync and diabled texture clamping.

I would make vids, but I'm too busy.

What has me interested in your statement is the disabled texture clamping. If you reenable this does the shimmering return. I know I have mine set to the default which is on. If this fixes it I will do a backflip I'll be so happy. I'm working so I cant test this out for myself until tomorrow. So if you get a chance can you try toggling back and forth and tell me what happens.

Thanks

rewt
11-08-04, 11:27 PM
I would turn texture clamp off. Because older drivers which were far more stable (i.e. 53.03) had it off by default. Anyone know why 6 series turns it on?

bmg
11-09-04, 12:30 AM
I would turn texture clamp off. Because older drivers which were far more stable (i.e. 53.03) had it off by default. Anyone know why 6 series turns it on?
Actually if you check the nvapps.xml file where the profiles are stored you'll find that all the Q3 based games listed have it off. It's not limited to the Q3 engine only though, as I had bad shimmering in the old Unreal game using the ogl driver until I made an Unreal profile and turned the texture clamp off, and that magically solved the shimmering problem. That's the reason I mentioned the clamp issue some time ago in the main "shimmering" thread.

iyos
11-09-04, 06:32 AM
I've not tried it being off yet (texture clamping), but if it is OGL related it won't make a different since I'm playing CS:S and Tribes Vengeance atm, which are both D3D...

Captnkill, I do know what shimmering is. I had it worse in CS:S (on de_chateau) than in the BF vids posted. Now its completely gone.

CaptNKILL
11-10-04, 01:59 PM
So does this work? And what versions is it compatible with?

iyos
11-10-04, 04:33 PM
So does this work? And what versions is it compatible with?

The 66.93's have achieved the same extent of reduced shimmering for me as the initial tweaks, using 4xAA and VSync. Image quality is set to Quality.

rewt
11-10-04, 04:37 PM
Actually if you check the nvapps.xml file where the profiles are stored you'll find that all the Q3 based games listed have it off. It's not limited to the Q3 engine only though, as I had bad shimmering in the old Unreal game using the ogl driver until I made an Unreal profile and turned the texture clamp off, and that magically solved the shimmering problem. That's the reason I mentioned the clamp issue some time ago in the main "shimmering" thread.

I see your point. But still and again, the control panel has it On by default. Whereas in older drivers texture clamp was Off by default.

particleman
11-10-04, 04:51 PM
Texture clamping isn't what causes the shimmering as someone mentioned earlier the games that exhibit the most shimmering Unreal 2 Engine games, BF1942, Painkiller, City of Heroes, etc are all Direct3D and texture clamping a setting for OpenGL. Infact I don't have a single OpenGL game where the texture shimmering is noticeable, that's why I think it might be a Direct3D thing.