蓝天准系统P150em 980M 修改inf 安装451.67驱动
老机器,老显卡了。
但是980M是的硬件ID是特制的,需要修改,官网驱动说找不到硬件之类,无法安装
最近为了学pytorch,安装cuda10 重装系统。重新回忆一遍。
蓝天这个980M,在设备管理器里查看的硬件ID是
PCI\VEN_10DE&DEV_13D7&SUBSYS_71021558&REV_A1
1 下载驱动
https://www.nvidia.cn/Download/index.aspx?lang=cn
比如451.67-notebook-win10-64bit-international-dch-whql.exe
解压缩到文件夹
右键解压缩到451.67-notebook-win10-64bit-international-dch-whql 文件夹
2 修改inf
Display.Driver 下
打开
nvcvi.inf (蓝天的配置文件)
搜索980M
找到
NVIDIA_DEV.13D7.0376.1558 = "NVIDIA GeForce GTX 980M"
NVIDIA_DEV.13D7.0870.1558 = "NVIDIA GeForce GTX 980M"
NVIDIA_DEV.13D7.5281.1558 = "NVIDIA GeForce GTX 980M"
NVIDIA_DEV.13D7.6540.1558 = "NVIDIA GeForce GTX 980M"
NVIDIA_DEV.13D7.6541.1558 = "NVIDIA GeForce GTX 980M"
NVIDIA_DEV.13D7.6556.1558 = "NVIDIA GeForce GTX 980M"
NVIDIA_DEV.13D7.6780.1558 = "NVIDIA GeForce GTX 980M"
NVIDIA_DEV.13D7.6781.1558 = "NVIDIA GeForce GTX 980M"
NVIDIA_DEV.13D7.7481.1558 = "NVIDIA GeForce GTX 980M"
NVIDIA_DEV.13D7.7500.1558 = "NVIDIA GeForce GTX 980M"
NVIDIA_DEV.13D7.7502.1558 = "NVIDIA GeForce GTX 980M"
NVIDIA_DEV.13D7.7700.1558 = "NVIDIA GeForce GTX 980M"
NVIDIA_DEV.13D7.7702.1558 = "NVIDIA GeForce GTX 980M"
可以看见 目前支持各种版本的980M 唯独没有7102的。 那么只要把其中某个全部替换成7102就可以了。
但是这些版本的980M区别是什么呢?
在文件开头100多行,可以找到
%NVIDIA_DEV.13D7.0376.1558% = Section010, PCI\VEN_10DE&DEV_13D7&SUBSYS_03761558
%NVIDIA_DEV.13D7.0870.1558% = Section011, PCI\VEN_10DE&DEV_13D7&SUBSYS_08701558
%NVIDIA_DEV.13D7.5281.1558% = Section012, PCI\VEN_10DE&DEV_13D7&SUBSYS_52811558
%NVIDIA_DEV.13D7.6540.1558% = Section013, PCI\VEN_10DE&DEV_13D7&SUBSYS_65401558
%NVIDIA_DEV.13D7.6541.1558% = Section014, PCI\VEN_10DE&DEV_13D7&SUBSYS_65411558
%NVIDIA_DEV.13D7.6556.1558% = Section012, PCI\VEN_10DE&DEV_13D7&SUBSYS_65561558
%NVIDIA_DEV.13D7.6780.1558% = Section013, PCI\VEN_10DE&DEV_13D7&SUBSYS_67801558
%NVIDIA_DEV.13D7.6781.1558% = Section014, PCI\VEN_10DE&DEV_13D7&SUBSYS_67811558
%NVIDIA_DEV.13D7.7481.1558% = Section012, PCI\VEN_10DE&DEV_13D7&SUBSYS_74811558
%NVIDIA_DEV.13D7.7500.1558% = Section015, PCI\VEN_10DE&DEV_13D7&SUBSYS_75001558
%NVIDIA_DEV.13D7.7502.1558% = Section016, PCI\VEN_10DE&DEV_13D7&SUBSYS_75021558
%NVIDIA_DEV.13D7.7700.1558% = Section015, PCI\VEN_10DE&DEV_13D7&SUBSYS_77001558
%NVIDIA_DEV.13D7.7702.1558% = Section016, PCI\VEN_10DE&DEV_13D7&SUBSYS_77021558
可以看见 不同SUBSYS的 980M 对应 不同的 Section, 大概从Section010-Section016 , 有的SUBSYS是用的同样的Section016
不同的section前面都差不多,关键是后面的各种NVSupport 不一样
罗列一下
[Section010]
……
NVSupportAnsel = 1
NVSupportDisplayUpdate = 1
NVSupportGFExperienceOEM = 1
NVSupportGFExperienceUDA = 1
NVSupportPhysx = 1
NvSupportTelemetry = 1……
[Section011]
……
NVSupportAnsel = 1
NVSupportDisplayUpdate = 1
NVSupportGFExperienceOEM = 1
NVSupportGFExperienceUDA = 1
NVSupportPhysx = 1
NvSupportTelemetry = 1……
[Section012]
……
NVAllowMCVirtualAudioPreStage = 0
NVSupportAnsel = 1
NVSupportDisplayUpdate = 1
NVSupportGFExperienceOEM = 1
NVSupportGFExperienceUDA = 1
NVSupportPhysx = 1
NvSupportMSHybrid = 1
NvSupportTelemetry = 1……
[Section013]
NVAllowHDAudioPreStage = 1
NVAllowMCVirtualAudioPreStage = 0
NVRemoveDisplayPhantoms = 1
NVSupportAnsel = 1
NVSupportDisplayUpdate = 1
NVSupportGFExperienceOEM = 1
NVSupportGFExperienceUDA = 1
NVSupportPhysx = 1
NvSupportMSHybrid = 1
NvSupportTelemetry = 1[Section014]
……
NVRemoveDisplayPhantoms = 1
NVSupportAnsel = 1
NVSupportDisplayUpdate = 1
NVSupportGFExperienceOEM = 1
NVSupportGFExperienceUDA = 1
NVSupportPhysx = 1
NvSupportTelemetry = 1……
[Section015]
……
NVSupportAnsel = 1
NVSupportDisplayUpdate = 1
NVSupportGFExperienceOEM = 1
NVSupportGFExperienceUDA = 1
NVSupportPhysx = 1
NvSupportTelemetry = 1……
[Section016]
……
NVSupportAnsel = 1
NVSupportDisplayUpdate = 1
NVSupportGFExperienceOEM = 1
NVSupportGFExperienceUDA = 1
NVSupportPhysx = 1
NvSupportTelemetry = 1……
现在比3XX时代配置项改变了好多,没有NVSupportOptimus这个了。
可以看到Section013是支持功能最多的。
在开头查到
%NVIDIA_DEV.13D7.6780.1558% = Section013, PCI\VEN_10DE&DEV_13D7&SUBSYS_67801558
也就说,查找替换这个即可。
为了保证查找替换准确,分成2步,包含前面的13D7表示是980M
查找
13D7.6780.1558
替换
13D7.7102.1558
查找
DEV_13D7&SUBSYS_67801558
替换
DEV_13D7&SUBSYS_71021558
3 禁用强制签名 安装
安装驱动需要禁用强制签名
win10有改变,不能在启动时按F8 高级启动
而是在重启前,按住shift,点重启。
选择高级启动,启动项改变之类
然后重启,就可以看见1个菜单,
选择禁用驱动签名(大概是数字7)
安装驱动的时候会弹出:
选择第2个,就OK了
4 禁用Windows update更新驱动
否则还是会更新成2017的很老的驱动。不支持cuda 10.2了
反正也是老机器了。自己维护驱动就好。
Win+ R 运行输入 gpedit.msc 打开组策略编辑器
进入 计算机配置 - 管理模板 - Windows 组件 - Windows 更新 - Windows 更新不包括驱动程序
选择 "已启用" 并确定
注意在大版本升级比如1090->2004之后,可能也得重新安装驱动