CUDA/OpenCL fail (Not Detected) - Linux Mint / GT730

It seems that a lot of GPU problems revolve around specific versions of drivers. Though NVidia has their own support structure, you can often learn from information reported by others who fold.

Moderators: Site Moderators, FAHC Science Team

Post Reply
D0nkey
Posts: 1
Joined: Tue Mar 24, 2020 8:47 am

CUDA/OpenCL fail (Not Detected) - Linux Mint / GT730

Post by D0nkey »

Hi all,
I'm trying to get FAH up & running but it's failing to use my GPU, I suspect it's because I don't have the NVidia drivers (they caused massive problems for me) so I'm using the "nouveau" drivers. I think I got CUDA/OpenCL installed OK per the instructions elsewhere on this forum but now I'm stuck - can anyone help?

System is Linux Mint 18 64-Bit, GPU is NVidia GF108 / GeForce GT730 - full diagnostics below.

This is (yet another) of those CUDA: Not detected: cuInit() returned 100 / OpenCL: Not detected: clGetPlatformIDs() returned -1001 problems :(


FAH Info/Config

Code: Select all

******************************** Build ********************************
    Version: 7.5.1
       Date: May 11 2018
       Time: 19:59:04
 Repository: Git
   Revision: 4705bf53c635f88b8fe85af7675557e15d491ff0
     Branch: master
   Compiler: GNU 6.3.0 20170516
    Options: -std=gnu++98 -O3 -funroll-loops
   Platform: linux2 4.14.0-3-amd64
       Bits: 64
       Mode: Release
******************************* System ********************************
        CPU: Intel(R) Xeon(R) CPU X5660 @ 2.80GHz
     CPU ID: GenuineIntel Family 6 Model 44 Stepping 2
       CPUs: 24
     Memory: 47.16GiB
Free Memory: 35.56GiB
    Threads: POSIX_THREADS
 OS Version: 4.4
Has Battery: false
 On Battery: false
 UTC Offset: 0
        PID: 9594
        CWD: /var/lib/fahclient
         OS: Linux 4.4.0-150-generic x86_64
    OS Arch: AMD64
       GPUs: 1
      GPU 0: Bus:2 Slot:0 Func:0 NVIDIA:2 GF108 [GeForce GT 730]
       CUDA: Not detected: cuInit() returned 100
     OpenCL: Not detected: clGetPlatformIDs() returned -1001
***********************************************************************
<config>
  <!-- Client Control -->
  <client-threads v='6'/>
  <cycle-rate v='4'/>
  <cycles v='-1'/>
  <data-directory v='.'/>
  <disable-sleep-when-active v='true'/>
  <exec-directory v='/usr/bin'/>
  <exit-when-done v='false'/>
  <fold-anon v='true'/>
  <idle-seconds v='300'/>
  <open-web-control v='false'/>

  <!-- Configuration -->
  <config-rotate v='true'/>
  <config-rotate-dir v='configs'/>
  <config-rotate-max v='16'/>

  <!-- Debugging -->
  <assignment-servers>
    assign1.foldingathome.org:8080 assign2.foldingathome.org:80
  </assignment-servers>
  <auth-as v='true'/>
  <capture-directory v='capture'/>
  <capture-on-error v='false'/>
  <capture-packets v='false'/>
  <capture-requests v='false'/>
  <capture-responses v='false'/>
  <capture-sockets v='false'/>
  <core-exec v='FahCore_$type'/>
  <core-wrapper-exec v='FAHCoreWrapper'/>
  <debug-sockets v='false'/>
  <exception-locations v='true'/>
  <stack-traces v='false'/>

  <!-- Error Handling -->
  <max-slot-errors v='10'/>
  <max-unit-errors v='5'/>

  <!-- Folding Core -->
  <checkpoint v='15'/>
  <core-dir v='cores'/>
  <core-priority v='idle'/>
  <cpu-affinity v='false'/>
  <cpu-usage v='100'/>
  <gpu-usage v='100'/>
  <no-assembly v='false'/>

  <!-- Folding Slot Configuration -->
  <cause v='ANY'/>
  <client-subtype v='LINUX'/>
  <client-type v='normal'/>
  <cpu-species v='X86_PENTIUM_II'/>
  <cpu-type v='AMD64'/>
  <cpus v='-1'/>
  <disable-viz v='false'/>
  <gpu v='true'/>
  <max-packet-size v='normal'/>
  <os-species v='UNKNOWN'/>
  <os-type v='LINUX'/>
  <project-key v='0'/>
  <smp v='true'/>

  <!-- GUI -->
  <gui-enabled v='true'/>

  <!-- HTTP Server -->
  <allow v='127.0.0.1'/>
  <connection-timeout v='60'/>
  <deny v='0/0'/>
  <http-addresses v='0:7396'/>
  <https-addresses v=''/>
  <max-connect-time v='900'/>
  <max-connections v='800'/>
  <max-request-length v='52428800'/>
  <min-connect-time v='300'/>

  <!-- Logging -->
  <log v='log.txt'/>
  <log-color v='true'/>
  <log-crlf v='false'/>
  <log-date v='false'/>
  <log-date-periodically v='21600'/>
  <log-domain v='false'/>
  <log-header v='true'/>
  <log-level v='true'/>
  <log-no-info-header v='true'/>
  <log-redirect v='false'/>
  <log-rotate v='true'/>
  <log-rotate-dir v='logs'/>
  <log-rotate-max v='16'/>
  <log-short-level v='false'/>
  <log-simple-domains v='true'/>
  <log-thread-id v='false'/>
  <log-thread-prefix v='true'/>
  <log-time v='true'/>
  <log-to-screen v='true'/>
  <log-truncate v='false'/>
  <verbosity v='4'/>

  <!-- Network -->
  <proxy v=':8080'/>
  <proxy-enable v='false'/>
  <proxy-pass v=''/>
  <proxy-user v=''/>

  <!-- Process Control -->
  <child v='true'/>
  <daemon v='true'/>
  <fork v='false'/>
  <pid v='false'/>
  <pid-file v='/var/run/fahclient.pid'/>
  <respawn v='false'/>
  <service v='false'/>

  <!-- Remote Command Server -->
  <command-address v='0.0.0.0'/>
  <command-allow-no-pass v='127.0.0.1'/>
  <command-deny-no-pass v='0/0'/>
  <command-enable v='true'/>
  <command-port v='36330'/>

  <!-- Slot Control -->
  <idle v='false'/>
  <max-shutdown-wait v='60'/>
  <pause-on-battery v='true'/>
  <pause-on-start v='false'/>
  <paused v='false'/>
  <power v='medium'/>

  <!-- User Information -->
  <machine-id v='0'/>
  <passkey v='********************************'/>
  <team v='*****'/>
  <user v='*****'/>

  <!-- Web Server -->
  <web-allow v='127.0.0.1'/>
  <web-deny v='0/0'/>
  <web-enable v='true'/>

  <!-- Web Server Sessions -->
  <session-cookie v='sid'/>
  <session-lifetime v='86400'/>
  <session-timeout v='3600'/>

  <!-- Work Unit Control -->
  <dump-after-deadline v='true'/>
  <max-queue v='16'/>
  <max-units v='0'/>
  <next-unit-percentage v='99'/>
  <stall-detection-enabled v='false'/>
  <stall-percent v='5'/>
  <stall-timeout v='1800'/>

  <!-- Folding Slots -->
  <slot id='0' type='CPU'/>
</config>
LSHW Output for GFX

Code: Select all

       *-pci:1
             description: PCI bridge
             product: 5520/5500/X58 I/O Hub PCI Express Root Port 3
             vendor: Intel Corporation
             physical id: 3
             bus info: pci@0000:00:03.0
             version: 13
             width: 32 bits
             clock: 33MHz
             capabilities: pci msi pciexpress pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:16 ioport:d000(size=4096) memory:f6000000-f7efffff ioport:e8000000(size=167772160)
           *-display
                description: VGA compatible controller
                product: GF108 [GeForce GT 730]
                vendor: NVIDIA Corporation
                physical id: 0
                bus info: pci@0000:02:00.0
                version: a1
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
                configuration: driver=nouveau latency=0
                resources: irq:28 memory:f6000000-f6ffffff memory:e8000000-efffffff memory:f0000000-f1ffffff ioport:dc80(size=128) memory:f7e00000-f7e7ffff
           *-multimedia
                description: Audio device
                product: GF108 High Definition Audio Controller
                vendor: NVIDIA Corporation
                physical id: 0.1
                bus info: pci@0000:02:00.1
                version: a1
                width: 32 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list
                configuration: driver=snd_hda_intel latency=0
                resources: irq:30 memory:f7dfc000-f7dfffff
Joe_H
Site Admin
Posts: 7870
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: CUDA/OpenCL fail (Not Detected) - Linux Mint / GT730

Post by Joe_H »

The F@h software does not work with the nouveau or Mesa drivers, just the proprietary drivers from nVIdia or AMD. Some have followed developments in the open source drives. but while they have improved, they still run into errors with the OpenCL used by the GPU folding core.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
stevenevents
Posts: 3
Joined: Thu Mar 26, 2020 10:47 pm

Re: CUDA/OpenCL fail (Not Detected) - Linux Mint / GT730

Post by stevenevents »

I'm running a GT720, with the proprietary drivers, on Mint 18.3.

Code: Select all

OS Arch: AMD64
21:59:17:           GPUs: 1
21:59:17:          GPU 0: Bus:0 Slot:1 Func:0 AMD:5 xxxx [Radeon R7]
21:59:17:  CUDA Device 0: Platform:0 Device:0 Bus:6 Slot:0 Compute:3.5 Driver:9.0
21:59:17:OpenCL Device 0: Platform:0 Device:0 Bus:6 Slot:0 Compute:1.2 Driver:384.130
Nvidia-opencl-icd-### is in the repository. I also had to install ocl-icd-opencl-dev, and then reboot.

As a new forum member, I can't post a link to the second package. Search for it, and you'll find it on the official linuxmintcom domain.
Post Reply