PDA

View Full Version : editing own drivers, seeking help and advices


trodas
10-03-09, 07:38 AM
Hi guys. I wonder if I can get some help when tweaking an old drivers for maximum performance and custom tweaks :) I already managed some tweaks that I describe bellow, yet still there is a pretty good deal of things that I simply don't know what to do with them, so a little help is need :)

The drivers in question are oldie Forceware 45.28 ( http://rapidshare.com/files/290383806/Forceware_45.28.zip ) because they are VERY fast on the oldie computer (FX5600XT) and hence preffered.

What I did accomplish

nv4_disp.inf:

%NVIDIA_NV31.DEV_0314.1% = nv4_NV3x, PCI\VEN_10DE&DEV_0314
NVIDIA_NV31.DEV_0314.1 = "NVIDIA GeForce FX 5600XT"

(added these to make the drivers support FX 5600 XT card, otherwise no go)


nv4_disp.inf :

[nv4.Services]
AddService = nv, 0x00000002, nv4_Generic_Service_Inst, nv4_EventLog_Inst
;AddService = NVSvc, 0x00000000, nv_NVSVC_Inst

(that disable the nVidia help service adding, it slow things down, lots of unnecessary HDD actions too...)


nv4_disp.inf :

HKR,, "DefaultSettings.XResolution",%REG_DWORD%,1280
HKR,, "DefaultSettings.YResolution",%REG_DWORD%,1024

(that give default resolution 1280x1024)


setup.iss:

[File Transfer]
OverwrittenReadOnly=NoToAll
to:
OverwrittenReadOnly=YesToAll

(no questions on reinstall, I hope :D)


What I wonder about
nv4_EventLog - kill? It is not unnecessary?

Could cleaning out this stop creating other resolutions that are in the modes.txt ...?
HKR,, NV_R&T - ???
HKR,, NV_Modes, %REG_MULTI_SZ% - ???
HKR,, NV_Modes, %REG_SZ_APPEND% - ???

modes.txt - added 0314 - NVIDIA GeForce FX 5600XT and edited the resolutions bellow
---------
320 x 200 32 60 70 72 75
320 x 240 32 60 70 72 75
512 x 384 32 60 70 72 75
576 x 432 32 60 70 72 75
640 x 480 32 60 70 72 75 85 100
720 x 540 32 60 70 72 75 85 100
768 x 576 32 60 70 72 75 85 100
800 x 600 32 60 70 72 75 85 100
1024 x 768 32 60 70 72 75 85 100
1280 x 1024 32 60 70 72 75 85 100

Yet still I see after clean install these resolutions I did NOT want to see:
720x480
720x576
848x480
1280x720
1280x768
1280x960

Also, what to do with the "Horizontal Spanning Modes" and "Vertical Spanning Modes" when I did not want ANY. Delete these sections entirely?

...help?

trodas
10-03-09, 04:18 PM
Small little progress :D

nv4_EventLog - can be killed, hehe, no problemo. I knew that if I was not a developer, I did not need it at all...

To stop creating the resolutions I not want - there are mixed results. I managed to clean most of the crazy resolutions by reducing these lines in the [nv_SoftwareDeviceSettings] section:
HKR,, NV_Modes, %REG_MULTI_SZ%, ...
HKR,, NV_Modes, %REG_SZ_APPEND%, ...
HKR,, NV_Modes, %REG_SZ_APPEND%, ...
HKR,, NV_Modes, %REG_SZ_APPEND%, ...
HKR,, NV_Modes, %REG_SZ_APPEND%, ...

...to only this one with few default resolutions:
HKR,, NV_Modes, %REG_MULTI_SZ%, "{*}S 320x200 320x240 640x480 800x600 1024x768 1280x1024"

However there are still created resolutions 720x480 and 720x576 ...

Change in [nv4.SoftwareSettings] from AddReg = Default16BPP_AddReg to AddReg = Default32BPP_AddReg made the default starting resolution 32bit.

Also is possible to clean out and comment out many help, localized help files and the nv media tray as well - example can be viewed in my modification of the nv4_disp.inf file:
http://rapidshare.com/files/288314277/nv4_disp.zip

PS. some good explaining of the nVidia compressed way to write resolutions is there: ftp://download.nvidia.com/Windows/43.45/NV_Compress_Modes_Users_Guide_2.1.pdf