我有一个分配给运行Ubuntu 14.04的虚拟服务器的NVIDIA Grid K2 GPU。要在自动内核更新后重新安装正确的驱动程序,我运行了sudo apt-get update
,后跟sudo apt-get install nvidia-current
。
现在我不能让CUDA 7.5继续工作了。如果我运行deviceQuery示例,我会收到以下消息:
CUDA Device Query (Runtime API) version (CUDART static linking)
cudaGetDeviceCount returned 35
-> CUDA driver version is insufficient for CUDA runtime version
Result = FAIL
这是sudo lshw -c video
PCI (sysfs)
*-display
description: VGA compatible controller
product: SVGA II Adapter
vendor: VMware
physical id: f
bus info: pci@0000:00:0f.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list rom
configuration: driver=vmwgfx latency=64
resources: irq:16 ioport:1070(size=16) memory:ec000000-efffffff memory:fe000000-fe7fffff memory:c0300000-c0307fff
*-display
description: VGA compatible controller
product: GK104GL [GRID K2]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:0b:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list
configuration: driver=nvidia latency=64
resources: irq:19 memory:fc000000-fcffffff memory:e0000000-e7ffffff memory:e8000000-e9ffffff ioport:5000(size=128)
答案 0 :(得分:1)
通过运行sudo apt-get --purge remove nvidia-current
卸载了我错误安装的软件包。
使用命令sudo /usr/local/cuda-7.5/bin/uninstall_cuda_7.5.pl
使用sudo reboot
运行the downloadable .run file并按照说明安装CUDA 7.5。
通过运行deviceQuery CUDA示例检查一切是否正常。