2017-05-28 188 views
-1

我一直在按照本指南在Ubuntu上设置我的GPU(1080ti)。 https://pratos.github.io/setup-tensorflow-gpu-on-ubuntu.html在Ubuntu上安装CUDA时出错

顺便说一下,昨天一切正常,但TensorFlow抱怨CUDA,这就是为什么我决定重新安装所有与旧的驱动程序。

反正运行DEVICEQUERY时,我得到一个错误:

$:~/CUDA-8.0-samples/1_Utilities/deviceQuery$ sudo ./deviceQuery 

./deviceQuery Starting... 
CUDA Device Query (Runtime API) version (CUDART static linking) 
cudaGetDeviceCount returned 38 
-> no CUDA-capable device is detected 
Result = FAIL 

$ nvcc -V 
nvcc: NVIDIA (R) Cuda compiler driver 
Copyright (c) 2005-2016 NVIDIA Corporation 
Built on Tue_Jan_10_13:22:03_CST_2017 
Cuda compilation tools, release 8.0, V8.0.61 

$$ nvidia-smi -a 
==============NVSMI LOG============== 

Timestamp       : Sun May 28 03:34:57 2017 
Driver Version      : 375.26 

Attached GPUs      : 1 
GPU 0000:02:00.0 
    Product Name     : Unknown Error 
    Product Brand     : GeForce 
    Display Mode     : Enabled 
    Display Active     : Enabled 
    Persistence Mode    : Disabled 
    Accounting Mode     : Disabled 
    Accounting Mode Buffer Size  : 1920 
    Driver Model 
     Current      : N/A 
     Pending      : N/A 
    Serial Number     :17005146 
    GPU UUID      : GPU-e39434b7-62f8-96a6-8731-cfad1ec78e7f 
    Minor Number     : 0 
    VBIOS Version     : 86.02.39.00.01 
    MultiGPU Board     : No 
    Board ID      : 0x200 
    GPU Part Number     : 900-1G611-0050-000 
    Inforom Version 
     Image Version    : G001.0000.01.04 
     OEM Object     : 1.1 
     ECC Object     : N/A 
     Power Management Object  : N/A 
    GPU Operation Mode 
     Current      : N/A 
     Pending      : N/A 
    GPU Virtualization Mode 
     Virtualization mode   : None 
    PCI 
     Bus       : 0x02 
     Device      : 0x00 
     Domain      : 0x0000 
     Device Id     : 0x1B0610DE 
     Bus Id      : 0000:02:00.0 
     Sub System Id    : 0x120F10DE 
     GPU Link Info 
      PCIe Generation 
       Max     : 3 
       Current    : 1 
      Link Width 
       Max     : 16x 
       Current    : 16x 
     Bridge Chip 
      Type     : N/A 
      Firmware    : N/A 
     Replays since reset   : 0 
     Tx Throughput    : 17000 KB/s 
     Rx Throughput    : 142000 KB/s 
    Fan Speed      : 23 % 
    Performance State    : P8 
    Clocks Throttle Reasons 
     Idle      : Active 
     Applications Clocks Setting : Not Active 
     SW Power Cap    : Not Active 
     HW Slowdown     : Not Active 
     Sync Boost     : Not Active 
     Unknown      : Not Active 
    FB Memory Usage 
     Total      : 11168 MiB 
     Used      : 164 MiB 
     Free      : 11004 MiB 
    BAR1 Memory Usage 
     Total      : 256 MiB 
     Used      : 5 MiB 
     Free      : 251 MiB 
    Compute Mode     : Default 
    Utilization 
     Gpu       : 0 % 
     Memory      : 1 % 
     Encoder      : 0 % 
     Decoder      : 0 % 
    Ecc Mode 
     Current      : N/A 
     Pending      : N/A 
    ECC Errors 
     Volatile 
      Single Bit    
       Device Memory  : N/A 
       Register File  : N/A 
       L1 Cache   : N/A 
       L2 Cache   : N/A 
       Texture Memory  : N/A 
       Texture Shared  : N/A 
       Total    : N/A 
      Double Bit    
       Device Memory  : N/A 
       Register File  : N/A 
       L1 Cache   : N/A 
       L2 Cache   : N/A 
       Texture Memory  : N/A 
       Texture Shared  : N/A 
       Total    : N/A 
     Aggregate 
      Single Bit    
       Device Memory  : N/A 
       Register File  : N/A 
       L1 Cache   : N/A 
       L2 Cache   : N/A 
       Texture Memory  : N/A 
       Texture Shared  : N/A 
       Total    : N/A 
      Double Bit    
       Device Memory  : N/A 
       Register File  : N/A 
       L1 Cache   : N/A 
       L2 Cache   : N/A 
       Texture Memory  : N/A 
       Texture Shared  : N/A 
       Total    : N/A 
    Retired Pages 
     Single Bit ECC    : N/A 
     Double Bit ECC    : N/A 
     Pending      : N/A 
    Temperature 
     GPU Current Temp   : 32 C 
     GPU Shutdown Temp   : 96 C 
     GPU Slowdown Temp   : 93 C 
    Power Readings 
     Power Management   : Supported 
     Power Draw     : 12.96 W 
     Power Limit     : 250.00 W 
     Default Power Limit   : 250.00 W 
     Enforced Power Limit  : 250.00 W 
     Min Power Limit    : 125.00 W 
     Max Power Limit    : 300.00 W 
    Clocks 
     Graphics     : 139 MHz 
     SM       : 139 MHz 
     Memory      : 405 MHz 
     Video      : 544 MHz 
    Applications Clocks 
     Graphics     : N/A 
     Memory      : N/A 
    Default Applications Clocks 
     Graphics     : N/A 
     Memory      : N/A 
    Max Clocks 
     Graphics     : 1911 MHz 
     SM       : 1911 MHz 
     Memory      : 5505 MHz 
     Video      : 1708 MHz 
    Clock Policy 
     Auto Boost     : N/A 
     Auto Boost Default   : N/A 
    Processes 
     Process ID     : 3174 
      Type     : G 
      Name     : /usr/lib/xorg/Xorg 
      Used GPU Memory   : 109 MiB 
     Process ID     : 3689 
      Type     : G 
      Name     : /usr/bin/krunner 
      Used GPU Memory   : 2 MiB 
     Process ID     : 3701 
      Type     : G 
      Name     : /usr/bin/plasmashell 
      Used GPU Memory   : 49 MiB 
+0

为什么驱动程序版本是'375.26'?我安装了CUDA Toolkit 8.0并安装了驱动程序版本“375.39”。另外,在我的系统中,检测到1080Ti并且CUDA工作正常,但驱动程序无法确定GPU名称。相反,它只显示'Graphics Device'。奇怪的行为... – sgarizvi

回答

1

的问题是,在cuda8.0 RUNFILE驾驶员375.26太旧了1080ti。您应该在其official website下载相应的1080ti驱动程序。