【cuda】This graphics driver could not find compatible graphics hardware..

环境:

win10 x64

vs2015

cuda8.0

NVIDIA GeForce GTX 1050 Ti

This graphics driver could not find compatible graphics hardware 解决


问题截图:

This graphics driver could not find compatible graphics hardware 解决


因为笔记本厂商一般都给自己的机器采用的显卡添加了独特的硬件ID,导致CUDA8.0没有包含这个ID,驱动认不出显卡,网上有很多方法,通过修改inf文件,其实有更加直接的方法。


1,下载cuda8.0,链接:

https://developer.nvidia.com/cuda-toolkit-archive

下载后文件名为:cuda_8.0.61_win10.exe

This graphics driver could not find compatible graphics hardware 解决


2,找到显卡驱动中的ListDevices.txt与Display.Driver文件夹(可以从官方下载最新的显卡驱动,可以用厂商提供的驱动,但是前提是该驱动已经正确安装,也可以在C:\NVIDIA\DisplayDriver\385.41\Win10_64\International 找到相应的文件拷贝出来),以便下一步复制替换。


3,以管理员身份运行cuda_8.0.61_win10.exe(关闭杀毒软件),选择提取路径,点击OK,到该路径下,然后用上一步得到的ListDevices.txt与Display.Driver文件夹复制替换。

This graphics driver could not find compatible graphics hardware 解决

This graphics driver could not find compatible graphics hardware 解决

自定义,全选安装。

This graphics driver could not find compatible graphics hardware 解决


安装完成测试:

This graphics driver could not find compatible graphics hardware 解决

在C:\ProgramData\NVIDIA Corporation\CUDA Samples\v8.0目录下,用VS2015打开Samples_vs2015.sln,在release下重新生成解决方案。

执行C:\ProgramData\NVIDIA Corporation\CUDA Samples\v8.0\bin\win64\Release目录下的deviceQuery.exe,结果如下。

This graphics driver could not find compatible graphics hardware 解决


补充问题:

This graphics driver could not find compatible graphics hardware 解决

原因:上面两处没有完全替换,关闭杀毒软件。

相关文章:

  • 2021-11-18
  • 2022-03-02
  • 2021-07-18
  • 2022-01-19
  • 2021-07-15
  • 2021-08-28
  • 2021-06-11
  • 2021-08-22
猜你喜欢
  • 2021-04-16
  • 2021-05-28
  • 2021-09-15
  • 2021-03-31
  • 2022-12-23
  • 2021-10-10
  • 2021-08-22
相关资源
相似解决方案