f

August 6, 2015

How to Modify NVIDIA Notebook Driver .INF Files


When installing a new NVIDIA MxM GPU module into a notebook often times the NVIDIA driver will not have that GPU + notebook combination specified in their driver's .inf files. To get the newer GPU to work you will need to modify the .INF files of your NVIDIA drivers before installing them to add support for your specific notebook and GPU combination. This tutorial will work with a wide variety of notebook and GPU configurations, I will be showing how to modify a driver for a Clevo P150SM with an aftermarket GTX 980M but the process is exactly the same for any other notebook and GPU just with different device IDs.

Go to the link below to download .inf files I have already modified:
Modified NVIDIA Norebook Driver .INF Files


Please do your research first to make sure that you will be able to get your specific GPU and notebook combination working together.

For Linux users you don't have to modify drivers to use upgraded GPU's in notebooks, everything just works as you would expect.


[1] Download Un-Modified NVIDIA Driver
First you will need to download the latest NVIDIA driver from their website, make sure to select the driver that corresponds with the GPU and Operating System you are using.

The link below will take you directly to the download page:
NVIDIA Driver Downloads



[2] Extract Driver
Run the file you have downloaded (take note of the directory it will extract to) and wait for it to extract. After extracting the installer will attempt to install but will fail, this is ok, just close the installer.


[3] Identify Hardware ID
Open 'Device Manager' and right click on 'Microsoft Basic Display Renderer' or something similar and click the 'Properties' option and navigate to the 'Details' tab.
 (If there is no 'Microsoft Basic Display Renderer' or similar device you either have something wrong with your Windows installation or BIOS settings preventing Windows from detecting or powering on the GPU. Its also possible have a defective GPU or the notebook is electrically not capable of working with your GPU.) 
Click the 'Property' drop down and select the 'Hardware Ids' option. Copy the first value in the list of IDs and paste it into a blank notepad for later.


[4] Finding The Correct .INF
Navigate to the directory which the Nvidia driver was extracted to (The default directory is 'C:\NVIDIA\DisplayDriver\*driver version*\*operating system*\*language*' and open the 'Display.Driver' folder which is inside this directory.


Open the .inf file inside the 'Display.Driver' folder which corresponds with the manufacturer of your laptop, There is a list of which .inf corresponds to which manufacturer below for reference. (mine is nvcvi.inf because I have a Clevo laptop) 

Acer & Gateway = nvaci.inf
Asus = nvami.inf
Apple = nvaoi.inf
Compal = nvcti.inf
Clevo (Sager & other re-brands) = nvcvi.inf
Dell & Alienware = nvdmi.inf
Fujitsu = nvfmi.inf
HP = nvbli.inf
HP = nvhmi.inf
LG = nvloi.inf
Lenovo = nvlti.inf
MSI = nvmii.inf
NEC = nvqni.inf Siemens = nvfui.inf
Sony = nvszci.inf
Toshiba Qosmio = nvtdi.inf
Toshiba = nvtsi.inf

[5] Finding Device ID Group
 Hit 'CTRL+F' and search for 'NVIDIA_SetA_Devices' There will be one of these groups for every operating system supported by the driver, make sure you are modifying the group specific to your operating system, if your not sure you can do all of them. If you can not find it try searching for "NVIDIA_Devices" or something similar instead, user 4108317206 in the comments pointed out that NVIDIA may have changed it.  The group should look something like this. 


[6] Formatting Hardware ID
You will now need to correctly format the Hardware ID that you copied to notepad earlier and add it to the group of text. Here is a color coded example of how to correctly format the IDs to add to the list. Make sure that the 'Section###' part of the formatted IDs marked in green is the same as an already existing Device ID inside the .inf with a GPU Model Code that is the same as in your Hardware ID

[7]
Paste your formatted Device ID into the group of IDs (it shouldn't matter where in the list) You may also want to paste the IDs into the new notepad document created earlier for future reference.




In the same file hit 'CTRL+F' and search for '[Strings]' You should see a group of strings similar to before. Paste the longer formatted string from before into the list and save the file. 


[8] Install The Driver
You are now done modifying the driver and can install it, If you are running 'Windows 8' or higher you will need to boot with 'Driver Signature Enforcement' disabled or the driver will fail to install. Inside the directory that the driver was extracted to you will see file named 'setup.exe' Run it as an administrator and follow the onscreen instructions, if a popup comes up saying something about un-trusted drivers make sure you click 'install anyway'. If you have correctly modified your .INF files everything should go smoothly, if you have trouble you can always contact me for help. You will need to do this for every new driver version so its a good idea to get the hang of it

If you need help disabling Driver Signature Enforcement please follow the following guide which was also found by user 4108317206 in the comment section.  
http://www.drivethelife.com/windows-drivers/how-to-disable-driver-signature-enforcement-on-windows-10-8-7-xp-vista.html#part3

[9] Troubleshooting
If the driver installs without issue but you get a black screen after reboot or games seem to not use your GPU correctly; either crashing on launch, extremely low FPS, or using integrated graphics, you may have chosen the incorrect section # to use. Try using a different section number. If you have tried other section numbers and the installed driver is still non-functional, you may need to also modify 'nv_dispi.inf'. This is the .inf that the Nvidia Driver checks before moving on to the other manufacturer specific ones, it is generally used for desktop cards but MXM cards can be referenced in here as well. The modification process is nearly exactly the same, try creating a device ID with-out the Device Manufacturer and Model code first and add them later it still does not work. Finding the correct Section # here may be more difficult because there will be no similar hardware ID to reference, I recommend starting with Section001. Please only modify the nv_dispi.inf as a last resort.

If you still need help modifying your .inf I recommend asking for help on the Tech Inferno forums, there are a large number of people able and willing to help. You will be able to get help much faster than asking me. I have been getting to many emails from this post asking for help and can not reply to them all in a timely manner. If you have other questions about the guide or site in general please feel free to email me or comment and I will respond when I can.  
  1. hi friend, did everything step by step, I am studying it to weeks, but as you said, I'm 1-20 fps ... even modifying the nv_dispi ... it does not have the drive 780m, only 780 ... see:

    NVIDIA_DEV.119F = "NVIDIA GeForce GTX 780"

    119F is my id ... please help me, I am one week installing and reinstalling all ... Bios and VBIOS already been modified too ... = (

    oh, thanks for post!

    ReplyDelete
  2. Hi Rafhael,

    I should be able to help you however I need more information first. I need to know the hardware ID of your GPU directly from Device manager, the operating system your using and if it is 32 or 64 bit, and the laptop you have. Email me at akidwithnoname@gmail.com with this information and I should be able to get you up and running with the latest NVIDIA driver :)

    ReplyDelete
  3. Hello i just sended you an e-mail sorry for my english am french ^^

    I understand the process but when arrived at this point In the same file hit 'CTRL+F' and search for '[Strings]' You should see a group of strings similar to before. Paste the longer formatted string from before into the list and save the file.


    i dont understand...

    Thanks and merry christmas.

    ReplyDelete
  4. Needed this for my new GPU in my old M15x, works like a charm! Thanks!

    ReplyDelete
  5. Hello! My thanks in advance. I believe that I have followed the instructions correctly, but the installation still fails at the system compatibility check. Would you mind taking a look at this info to see if you might know what I'm missing?

    GPU Hardware ID from device manager: PCI\VEN_10DE&DEV_119F&SUBSYS_04901028&REV_A1

    Starting entry from my original nvdmi.inf: %NVIDIA_DEV.119F.0551.1028% = Section067, PCI\VEN_10DE&DEV_119F&SUBSYS_05511028

    I modified this to: %NVIDIA_DEV.119F.0490.1028% = Section067, PCI\VEN_10DE&DEV_17C8&SUBSYS_04901028

    My "Strings" entry is: NVIDIA_DEV.119F.0490.1028 = "NVIDIA GeForce GTX 780M"

    Thoughts?

    Lane

    ReplyDelete
  6. Sorry, I found and corrected this error, but install still fails.

    From above: %NVIDIA_DEV.119F.0490.1028% = Section067, PCI\VEN_10DE&DEV_17C8&SUBSYS_04901028
    To: %NVIDIA_DEV.119F.0490.1028% = Section067, PCI\VEN_10DE&DEV_119F&SUBSYS_04901028

    ReplyDelete
  7. nvcvi.inf there is no 'NVIDIA_SetA_Devices' need your help man. Iv followed this to the T and i cant find NVIDIA_SetA_Devices in the nvcvi.inf
    my ID is PCI\VEN_10DE&DEV_13D7&SUBSYS_03711558

    ReplyDelete
  8. Its now called NVIDIA_Devices not NVIDIA_SetA_Devices

    ReplyDelete
    Replies
    1. Thank you for letting me know, I will add this to the tutorial. Have you managed to get it working then?

      Delete
    2. yes. but now when i try to install the latest i get a graphic driver fail , might be win 10 but i did have them working

      Delete
    3. I Forgot to Disable Driver Signature, always needs to be disabled when updating. found that out the hard way after doing a fresh reinstall of win10, might want to add that in as well, if updating to Disable Driver Signature

      Delete
    4. I found a way to Permanently Disable the Driver Signature.

      http://www.drivethelife.com/windows-drivers/how-to-disable-driver-signature-enforcement-on-windows-10-8-7-xp-vista.html#part3

      Part 3 - Disable it
      Part 4 - Enable it

      Delete
    5. Awesome! I will also add this somewhere in the tutorial soon (giving you credit for finding it of course)

      Delete
  9. Hello there!

    I have just found this blog about modding, and thought that probably you guys can help me out. I am in the next situation: I have an ASUS laptop, to which I have attached a Desktop GTX 660 via EPX GDC eGPU setup, through mPCIexpress port.

    I have read about nvidia driver modding, so that I can insert my GTX 660 ID to the nvami.inf, so that I can install it as a mobility card, having optimus enabled, and use its advantages on the laptop internal display.

    The ID of my card is 11C0 (PCI\VEN_10DE&DEV_11C0&SUBSYS_15871043), added it to the inf at [NVIDIA_SetA_Devices.NTamd64.6.1] section, but do not know what [SectionXXX] to use there, and after installing the driver its not working.

    I watched this tutorial: http://www.owen-lu.com/egpu/, where the guy did the same, and he managed to install desktop GPU as laptop GPU.

    My modding did fail, and I was thinking you coudl give me some advices.

    Thanks in advance!

    My email adress is matyas.a@gmail.com if you have any advice, on what to try next.

    ReplyDelete
  10. You are f***ing awesome! I have been reading what seems like thousands of posts and guides to try and get a decent driver for my Sony VAIO. This is the only one that actually provides ALL of the info needed to successfully modify the inf file and get my laptop working correctly with windows 10. Just one thing to add, to find the correct section## to add to my inf, I had to search through the other inf files until I found the appropriate GPU code. I think I found it in the nvmsi.inf (I used section 04 to install my 8600m gt for a VAIO ar61zu)
    Thank you so much for taking the time to write this guide.

    ReplyDelete
  11. Thank you for making this available.

    Im on an Alienware m18x r2.
    I'm on stock bios A12. I'm on windows 10 home on uefi with secure boot turned off.
    CPU Z sees the card fine and the fan is running.

    I edited the nvdmi.inf for dell/alienware
    My hardware id is:
    PCI\VEN_10DE&DEV_13D7&SUBSYS_05501028&REV_A1
    So i put
    %NVIDIA_DEV.13D7.0550.1028% = Section227, PCI\VEN_10DE&DEV_13D7&SUBSYS_05501028
    in the right place and added
    NVIDIA_DEV.13D7.0550.1028 = "NVIDIA GeForce GTX 980M"
    to the [strings] section
    I turned off driver signing.
    Deleted all the folders except the ones listed in this post.
    Ran setup as admin.
    The red unsigned driver windows popped up and I said install anyway.
    Then almost immediately the install fails. It says HD Audio not installed and driver install failed.

    ReplyDelete
    Replies
    1. I figured it out. I had the wrong section number. i used 115, 116, and 117 and the drivers installed.

      Delete
  12. Hello and thank you very much for the guide -- it is much more recent and far better written than all of the others!

    However, for some reason I cannot get the installer to even recognise my GPU.

    I have a Dell Alienware M17x R4 running Win7 Home Premium 64-bit. Trying to get drivers for the GTX 970M 6GB. I managed to successfully mod the driver last time and got it to run 353.12 drivers.

    However, I have been trying and failing to update it to 368.39 drivers.

    My hardware ID is: PCI\VEN_10DE&DEV_13D8&SUBSYS_05511028&REV_A1

    So I modified my NVDMI.INF file with this string: %NVIDIA_DEV.13D8.0551.1028% = Section358, PCI\VEN_10DE&DEV_13D8&SUBSYS_05511028

    There were several available section numbers for my GPU ID (13D8), so I tried all of them. None worked. My Nvidia driver installer simply doesn't recognise my GPU. Maybe I pasted it in the wrong place? I put it among other such strings under the "[NVIDIA_Devices.NTamd64.6.1]" header.

    Thank you for taking the time to welcome comments and reply to them!

    ReplyDelete
    Replies
    1. NTamd64.6.1 is the correct group to put the modified device id string into for Windows 7 x64, you can put it in all of them jsut to be safe though. From what you describe it should work as long as you modified nvdmi.inf and not another by mistake. Also make sure you remember to add the device name string at the bottom of the inf. You should also do a clean install and not an upgrade, completely remove the old driver first with DDU: http://www.guru3d.com/files-details/display-driver-uninstaller-download.html

      If all of this still fails with all the different Section numbers you can send me the inf you have modified so I can check it over and make sure everything looks okay. You can reach me via the contact links on "readme.txt" page linked at the top and bottom of this page. Sometimes for whatever reason after using a Windows installation for a long time (maybe something broken in registry) new Nvidia drivers will just always fail to install until you fresh re-install Windows, do this as a last resort if nothing else works.

      Delete
    2. Put it in the right section that you suggested and it worked, thanks! Will see if the driver installs correctly, as it is installing now.

      Delete
  13. Thank you so much, after you told me to put it into the NTamd64.6.1 group it worked and now I have Nvidia 368 drivers instead of the old 353. Fallout 4 and Witcher 3 now run 60FPS on highest settings (although I always turn down the shadows) and my GTX 970M works better than ever. For one, it is now finally working with Optimus, so it's switching to HD 4000 when I'm not playing games, whereas before it was always on and causing fans to run. In fact, my whole laptop is much cooler, even though my GPU heatsink, cooling pipes and the fan are on the opposite side of the laptop.

    You've been enormous help to me!!!

    ReplyDelete
    Replies
    1. Your welcome! I am glad to have helped :)

      Delete
  14. I am tying to upgrade my asus 860m to an 880m but when i get to the formatting of the NVIDIA_Devices file i noticed with the hardware id i pulled off the 880m listed in my device manager is allready the one formatted in the inf file. have i got the wrong ID? do i need to use the one from my HD 4500 graphics? im clueless.

    ReplyDelete
    Replies
    1. my system is windows 10 64 bit the driver im trying to mod is 368.39

      Delete
    2. also when i install the nvidia driver it fully installs but my 880m will not function tells me error code 43 in device manager.

      Delete
    3. Could you please send me an email to akidwithnoname@gmail.com with more information, I will need the hardware id for the 880m from device manager, I should be able to help you more there.

      Delete
  15. Thanks in advance for this awesome tutorial. I successfully installed the newest driver for my 680M. However as you mentioned in the troubleshooting section my games crashes very frequently. I feel I should let you know that I was using a modified 680M which is not designed for P150HM but I think if the driver can be installed it shouldn't be the source of the problem. I tried all three sections, section 70, 66 and 27. %NVIDIA_DEV.11A0.0000.1558% = Section070, PCI\VEN_10DE&DEV_11A0&SUBSYS_00001558 and I didn't find 680M in dispi inf so I didn't modify that. Can you think of any other reason this might be the case?

    ReplyDelete
    Replies
    1. If the driver works enough that you are able to get 3D acceleration in games and other applications it means you have done the mod correctly. I would assume you have some sort of hardware related issue or a bug in the specific game/driver version you are using or some other software related issue. Can you provide more information about the crash (what happens when the game crashes, is it entire computer power-off, crash to windows, or freeze) and what games this effects. You should also check your GPU temperatures under load just to be sure heat is not the cause.

      Delete
  16. My system is Windows 8 and I'm installing 368.39. Everything looks fine except in games.

    ReplyDelete
    Replies
    1. If the driver installs normally but you get no 3D acceleration you either have the wrong GPU name string at the bottom (correct example "NVIDIA_DEV.13D8.110C.10DE = "NVIDIA GeForce GTX 970M") or wrong section number. Getting the correct section number cant take a bit of trial and error sometimes.

      Delete
  17. Hey mate. I have a problem with Point number 6. My Hardware ID grom Device Manager is:
    PCI\VEN_10DE&DEV_11E1&SUBSYS_10EE1462

    I do not understand. I have found a few sections with the same code: %NVIDIA_DEV.11E1.10EE.1462% = Section###, PCI\VEN_10DE&DEV_11E1&SUBSYS_10EE1462

    There is section081 or section082 ...
    What do I have to paste and where? I do not know totally ;/.

    ReplyDelete
    Replies
    1. I have no problem already. Somebody has helped me. Thank you anyway. :)

      Delete
  18. Hello,

    I have used your tutorial before for same graphic card, I have same ID as you do and it worked perfectly, with more recently driver version my GPU doesn't work anymore when I try to open games. What should I do? Do you experience similar issues? I really need help with it. Thank you!

    ReplyDelete
    Replies
    1. It sounds like Nvidia may have changed the Section # of this GPU in the new versions of the driver, you should try other Section #. I would start by finding the Section # for another 980m that already exists in the inf and use that one. You may also send me the inf to take a look at and I can suggest sections # that may work for you. Contact me here if you need more help via Twitter or Email: readme.txt

      Delete
  19. Okay, this is one of the better guides, but I still can't get it to work. I Think it is the wrong section# but I am not sure, please help :D
    Hardware ID's:
    PCI\VEN_10DE&DEV_1211&SUBSYS_71021558&REV_A1
    PCI\VEN_10DE&DEV_1211&SUBSYS_71021558
    PCI\VEN_10DE&DEV_1211&CC_030000
    PCI\VEN_10DE&DEV_1211&CC_0300

    I used to just edit the nv_dispi.inf but its not working for me since I upgraded to
    Windows 10 PRO x64,
    so I googled A-LOT and found your guide suggesting to edit nvcvi.inf because I have a
    Clevo P170EM,
    but it gets me just as far where everything is installed but not detected by any program.

    ReplyDelete
  20. This comment has been removed by a blog administrator.

    ReplyDelete
  21. Hello , i have a huge problem with my laptop.

    it's a PCI\VEN_10DE&DEV_13D8&SUBSYS_05511028 windows 7 64 bit.

    Someone here succefully mod driver with your post (with same PCI\VEN_10DE&DEV_13D8&SUBSYS_05511028)
    but i can't do the same :/

    Please help me to mod the driver ! Thank,

    jude.

    ReplyDelete
  22. Hi there
    worked a treat for me, small work around being that i updated through windows device manager instead of the nvidia system.

    thanks heaps for going to the effort of publishing this

    Cheers David M

    ReplyDelete
  23. This comment has been removed by the author.

    ReplyDelete
  24. How to find Section### for my card and laptop ?
    HP Elitebook 8560w new graphic card DELL GTX 880m 8gb
    PCI\VEN_10DE&DEV_1198&SUBSYS_1631103C
    PLS HELP Cant figure it from this tutorial

    ReplyDelete
    Replies
    1. Hi mariopl85, please make an account on Tech Inferno forum and ask for help there as I do not know when I would have the time to help. There are many people on that forum who should be able to help you out.

      https://www.techinferno.com

      Delete
  25. Hello, I have an Alienware M15X, tried to install drivers for GTX 680M-doesn't work... Could you help me,please?
    I've flashed bios, vbios, modified inf files in different versions of drivers-nothing works...

    ReplyDelete
  26. Can someone help me, please?
    P.S. (Posted message: Hello, I have an Alienware M15X, tried to install drivers for GTX 680M-doesn't work... Could you help me,please?
    I've flashed bios, vbios, modified inf files in different versions of drivers-nothing works...)

    ReplyDelete
    Replies
    1. Hi Yidaki, please make an account on Tech Inferno forum and ask for help there as I do not know when I would have the time to help. There are many people on that forum who should be able to help you out.

      https://www.techinferno.com

      Delete
  27. Hi everyone, I was wondering what the name was for the Nvidia_SetA_Devices is for a mobile 1060 gtx. trying to install driver 385.41, but the names of some of the categories have had their names changed. Any help is greatly appreciated.

    ReplyDelete
  28. Alienware m17
    385.69 - WIN 8.1 x64 - GTX 980M

    ardresse: PCI\VEN_10DE&DEV_13D7&SUBSYS_05AA1028

    was muss ich eintragen oder ändern ?

    bitte helft mir danke im vorraus

    ReplyDelete
  29. Hi there! Having a little issue and hope you can give me a hand. I apologise for possible grammar or spelling errors, English is not my native ;^)

    Tried this method for my vaio VGN-FZ31ZR, with GeForce 8600M GS on board (ID is PCI\VEN_10DE&DEV_0425&SUBSYS_9005104D). Downloaded v342.01 driver for it. Coudn't find any of those GPUs (Ctrl+F'd "0425" from ID and "8600" from model) in nvszci.inf, so I just added it in nvaci.inf, where similar GPU existed. Driver seemed to recognize it and installed correctly, but after I rebooted the laptop, GPU was said to be stopped because not working correctly, so it basically was working as "standard vga adapter again".

    8600m gs was also found in following .inf files (yes, I checked all of them with Ctrl+F):
    nvaci
    nvami
    nvdmi
    NVFUi
    nvhmi
    nvivi
    nvloi
    NVMIi
    nvmti
    nvqui
    nvsmi
    nvwii

    Which of those would you recommend me to modify? Or is there some other solution?

    Anyway, I guess I'll check them all while waiting for your answer. Thanks in advance!

    ReplyDelete
  30. Hi,

    I previously managed to get it worked on both 64x windows 7 ultimate and windows 10 pro. Although I cannot anymore for the windows 10 x64. Even tried with different windows 10 releases of the pro edition with no success. The installer led me to the part of the licence agreamment (meaning gpu's successfully detected), but then, when I proceed with the installation, it ends failing. Any thoughs?
    By the way, nice guide :-)

    Thanks in advance

    ReplyDelete

Comments are encouraged, but before commenting, please read 'readme.txt' first.


Home readme.txt The Archive