1060 not being detected correctly?

Hi,

I’m having a problem getting Linux to correctly detect my 1060 6GB card.

I keep getting the “no CUDA-capable device detected”. Strange thing is I have another 1060 I borrowed which works fine, it’s just mine I’m having a problem with. Here are some details:

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 387.22                 Driver Version: 387.22                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  ERR!                Off  | 00000000:01:00.0 Off |                  N/A |
|  0%   56C    P0    25W / 120W |      0MiB /  6072MiB |      2%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+
-rwxr-xr-x 1 root root      26804 Nov 13 00:28 nvidia-bug-report.sh
-rwxr-xr-x 1 root root      68952 Nov 13 00:28 nvidia-cuda-mps-control
-rwxr-xr-x 1 root root      47832 Nov 13 00:28 nvidia-cuda-mps-server
-rwxr-xr-x 1 root root     225776 Nov 13 00:28 nvidia-debugdump
-rwxr-xr-x 1 root root     335720 Nov 13 00:28 nvidia-installer
-rwsr-xr-x 1 root root      29488 Nov 13 00:28 nvidia-modprobe
-rwxr-xr-x 1 root root      46608 Nov 13 00:28 nvidia-persistenced
-rwxr-xr-x 1 root root     294472 Nov 13 00:28 nvidia-settings
-rwxr-xr-x 1 root root     520320 Nov 13 00:28 nvidia-smi
lrwxrwxrwx 1 root root         16 Nov 13 00:29 nvidia-uninstall -> nvidia-installer
-rwxr-xr-x 1 root root     188000 Nov 13 00:28 nvidia-xconfig
crw-rw-rw-  1 root  root    195,   0 Jan 30 20:26 nvidia0
crw-rw-rw-  1 root  root    195, 255 Jan 30 20:26 nvidiactl
crw-rw-rw-  1 root  root    195, 254 Jan 30 20:27 nvidia-modeset
==============NVSMI LOG==============

Timestamp                           : Tue Jan 30 20:47:03 2018
Driver Version                      : 387.22

Attached GPUs                       : 1
GPU 00000000:01:00.0
    Product Name                    : Unknown Error
    Product Brand                   : GeForce
    Display Mode                    : Disabled
    Display Active                  : Disabled
    Persistence Mode                : Disabled
    Accounting Mode                 : Disabled
    Accounting Mode Buffer Size     : 1920
    Driver Model
        Current                     : N/A
        Pending                     : N/A
    Serial Number                   : N/A
    GPU UUID                        : GPU-99b4fa80-2c34-2037-aa10-9d8499fea01a
    Minor Number                    : 0
    VBIOS Version                   : 86.06.66.00.3F
    MultiGPU Board                  : No
    Board ID                        : 0x100
    GPU Part Number                 : N/A
    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                         : 0x01
        Device                      : 0x00
        Domain                      : 0x0000
        Device Id                   : 0x1C0610DE
        Bus Id                      : 00000000:01:00.0
        Sub System Id               : 0x862C1043
        GPU Link Info
            PCIe Generation
                Max                 : 2
                Current             : 2
            Link Width
                Max                 : 16x
                Current             : 1x
        Bridge Chip
            Type                    : N/A
            Firmware                : N/A
        Replays since reset         : 0
        Tx Throughput               : 2000 KB/s
        Rx Throughput               : 1000 KB/s
    Fan Speed                       : 0 %
    Performance State               : P0
    Clocks Throttle Reasons
        Idle                        : Not Active
        Applications Clocks Setting : Not Active
        SW Power Cap                : Active
        HW Slowdown                 : Not Active
            HW Thermal Slowdown     : Not Active
            HW Power Brake Slowdown : Not Active
        Sync Boost                  : Not Active
        SW Thermal Slowdown         : Not Active
    FB Memory Usage
        Total                       : 6072 MiB
        Used                        : 0 MiB
        Free                        : 6072 MiB
    BAR1 Memory Usage
        Total                       : 256 MiB
        Used                        : 2 MiB
        Free                        : 254 MiB
    Compute Mode                    : Default
    Utilization
        Gpu                         : 2 %
        Memory                      : 0 %
        Encoder                     : 0 %
        Decoder                     : 0 %
    Encoder Stats
        Active Sessions             : 0
        Average FPS                 : 0
        Average Latency             : 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
                CBU                 : 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
                CBU                 : 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
                CBU                 : 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
                CBU                 : N/A
                Total               : N/A
    Retired Pages
        Single Bit ECC              : N/A
        Double Bit ECC              : N/A
        Pending                     : N/A
    Temperature
        GPU Current Temp            : 55 C
        GPU Shutdown Temp           : 102 C
        GPU Slowdown Temp           : 99 C
        GPU Max Operating Temp      : N/A
        Memory Current Temp         : N/A
        Memory Max Operating Temp   : N/A
    Power Readings
        Power Management            : Supported
        Power Draw                  : 25.53 W
        Power Limit                 : 120.00 W
        Default Power Limit         : 120.00 W
        Enforced Power Limit        : 120.00 W
        Min Power Limit             : 60.00 W
        Max Power Limit             : 140.00 W
    Clocks
        Graphics                    : 367 MHz
        SM                          : 367 MHz
        Memory                      : 4006 MHz
        Video                       : 708 MHz
    Applications Clocks
        Graphics                    : N/A
        Memory                      : N/A
    Default Applications Clocks
        Graphics                    : N/A
        Memory                      : N/A
    Max Clocks
        Graphics                    : 1974 MHz
        SM                          : 1974 MHz
        Memory                      : 4004 MHz
        Video                       : 1708 MHz
    Max Customer Boost Clocks
        Graphics                    : N/A
    Clock Policy
        Auto Boost                  : N/A
        Auto Boost Default          : N/A
    Processes                       : None

Update driver, run nvidia-bug-report.sh as root and attach tar.gz file it creates to your post.

Thank you. I’ll do this tomorrow and post back.