Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.

No AMD OPENCL or NVIDIA CUDA GPUs found, exit #46

Open
fgarpe opened this issue Jul 7, 2017 · 15 comments
Open

No AMD OPENCL or NVIDIA CUDA GPUs found, exit #46

fgarpe opened this issue Jul 7, 2017 · 15 comments

Comments

@fgarpe
Copy link

fgarpe commented Jul 7, 2017

Hi,
Under Linux (Ubuntu 16.04 and Debian Stretch), with one Shappire RX 580 and amdgpu pro 17.10 drivers installed from AMD I get this error:

����������������������������������������������������������������ͻ
� Claymore's Dual ETH + DCR/SC/LBC/PASC GPU Miner v9.6 �
����������������������������������������������������������������ͼ

ETH: 5 pools are specified
Main Ethereum pool is eth-eu1.nanopool.org:9999
SC: 5 pools are specified
Main Siacoin pool is sia-eu1.nanopool.org:7777
No AMD cards in the list.
No NVIDIA CUDA GPUs detected.
No AMD OPENCL or NVIDIA CUDA GPUs found, exit

sudo lspci -v -s 01:00.0
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/580] (rev e7) (prog-if 00 [VGA controller])
Subsystem: Sapphire Technology Limited Sapphire Radeon RX 580 Pulse 8GB
Flags: bus master, fast devsel, latency 0, IRQ 11
Memory at c0000000 (64-bit, prefetchable) [size=256M]
Memory at d0000000 (64-bit, prefetchable) [size=2M]
I/O ports at e000 [size=256]
Memory at dfe00000 (32-bit, non-prefetchable) [size=256K]
Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: [48] Vendor Specific Information: Len=08 Capabilities: [50] Power Management version 3 Capabilities: [58] Express Legacy Endpoint, MSI 00 Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+ Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010
Capabilities: [150] Advanced Error Reporting
Capabilities: [200] #15
Capabilities: [270] #19
Capabilities: [2b0] Address Translation Service (ATS)
Capabilities: [2c0] Page Request Interface (PRI)
Capabilities: [2d0] Process Address Space ID (PASID)
Capabilities: [320] Latency Tolerance Reporting
Capabilities: [328] Alternative Routing-ID Interpretation (ARI)
Capabilities: [370] L1 PM Substates
Kernel modules: amdgpu

/opt/amdgpu-pro/bin/clinfo
Number of platforms: 1
Platform Profile: FULL_PROFILE
Platform Version: OpenCL 2.0 AMD-APP (2348.3)
Platform Name: AMD Accelerated Parallel Processing
Platform Vendor: Advanced Micro Devices, Inc.
Platform Extensions: cl_khr_icd cl_amd_event_callback cl_amd_offline_devices

Platform Name: AMD Accelerated Parallel Processing
Number of devices: 1
Device Type: CL_DEVICE_TYPE_CPU
Vendor ID: 1002h
Board name:
Max compute units: 4
Max work items dimensions: 3
Max work items[0]: 1024
Max work items[1]: 1024
Max work items[2]: 1024
Max work group size: 1024
Preferred vector width char: 16
Preferred vector width short: 8
Preferred vector width int: 4
Preferred vector width long: 2
Preferred vector width float: 8
Preferred vector width double: 4
Native vector width char: 16
Native vector width short: 8
Native vector width int: 4
Native vector width long: 2
Native vector width float: 8
Native vector width double: 4
Max clock frequency: 799Mhz
Address bits: 64
Max memory allocation: 2147483648
Image support: Yes
Max number of images read arguments: 128
Max number of images write arguments: 64
Max image 2D width: 8192
Max image 2D height: 8192
Max image 3D width: 2048
Max image 3D height: 2048
Max image 3D depth: 2048
Max samplers within kernel: 16
Max size of kernel argument: 4096
Alignment (bits) of base address: 1024
Minimum alignment (bytes) for any datatype: 128
Single precision floating point capability
Denorms: Yes
Quiet NaNs: Yes
Round to nearest even: Yes
Round to zero: Yes
Round to +ve and infinity: Yes
IEEE754-2008 fused multiply-add: Yes
Cache type: Read/Write
Cache line size: 64
Cache size: 32768
Global memory size: 8332480512
Constant buffer size: 65536
Max number of constant args: 8
Local memory type: Global
Local memory size: 32768
Max pipe arguments: 16
Max pipe active reservations: 16
Max pipe packet size: 2147483648
Max global variable size: 1879048192
Max global variable preferred total size: 1879048192
Max read/write image args: 64
Max on device events: 0
Queue on device max size: 0
Max on device queues: 0
Queue on device preferred size: 0
SVM capabilities:
Coarse grain buffer: No
Fine grain buffer: No
Fine grain system: No
Atomics: No
Preferred platform atomic alignment: 0
Preferred global atomic alignment: 0
Preferred local atomic alignment: 0
Kernel Preferred work group size multiple: 1
Error correction support: 0
Unified memory for Host and Device: 1
Profiling timer resolution: 1
Device endianess: Little
Available: Yes
Compiler available: Yes
Execution capabilities:
Execute OpenCL kernels: Yes
Execute native function: Yes
Queue on Host properties:
Out-of-Order: No
Profiling : Yes
Queue on Device properties:
Out-of-Order: No
Profiling : No
Platform ID: 0x7fb3a9169e98
Name: Intel(R) Core(TM) i3-7100 CPU @ 3.90GHz
Vendor: GenuineIntel
Device OpenCL C version: OpenCL C 1.2
Driver version: 2348.3 (sse2,avx)
Profile: FULL_PROFILE
Version: OpenCL 1.2 AMD-APP (2348.3)
Extensions: cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_spir cl_khr_gl_event

uname -a
Linux pirquinero 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26) x86_64 GNU/Linux

Help please!

@fgarpe
Copy link
Author

fgarpe commented Jul 8, 2017

Seems like something has changed since kernel 4.9... If I switch to a 4.6 kernel from Yakkety I have no problems.

https://community.amd.com/thread/214763

@zhuzhengjing
Copy link

zhuzhengjing commented Aug 2, 2017

I have the same problem with CentOS 7.3, can anyone help me?

./start_etc+sia.bash:行6: $'\r': 未找到命令
./ethdcrminer64: /lib64/libcurl.so.4: no version information available (required by ./ethdcrminer64)

����������������������������������������������������������������ͻ
� Claymore's Dual ETH + DCR/SC/LBC GPU Miner v7.3 �
����������������������������������������������������������������ͼ

ETH: 6 pools are specified
Main Ethereum pool is etc-eu1.nanopool.org:19999
SC: 6 pools are specified
Main Siacoin pool is sia-eu1.nanopool.org:7777
AMD OpenCL platform not found
No NVIDIA CUDA GPUs detected.
No AMD OPENCL or NVIDIA CUDA GPUs found, exit

@fgarpe
Copy link
Author

fgarpe commented Aug 3, 2017

Hi Brucehelen,
You need install libcurl on your centos, you can do it executing yum install libcurl in console

@phortx
Copy link

phortx commented Aug 10, 2017

Same Problem with ArchLinux. Any idea?

@CasaSky
Copy link

CasaSky commented Aug 10, 2017 via email

@phortx
Copy link

phortx commented Aug 11, 2017

My current setup is a

  • Manjaro (= Arch Linux)
  • NVIDIA 970gtx with driver (linux49-nvidia 1:375.82-1)
  • I'm running Manjaro (Arch Linux) with the latest kernel (linux49 4.9.40-1)
  • CUDA (cuda 8.0.61-2) is installed
  • OpenCL Nvidia (opencl-nvidia 1:375.82-1) installed

When I start the claymore miner (master HEAD), I get

No NVIDIA CUDA GPUs detected.
No AMD OPENCL or NVIDIA CUDA GPUs found, exit

I didn't have any issues with that kernel except with claymores miner so I'd like to avoid downgrading the kernel. Any other ideas?

@CasaSky
Copy link

CasaSky commented Aug 11, 2017 via email

@phortx
Copy link

phortx commented Aug 13, 2017

Sorry had to look that up ;) I've updated my comment above with all versions

@fgarpe
Copy link
Author

fgarpe commented Aug 13, 2017

Please, put the output of ls /sys/class/drm/

@phortx
Copy link

phortx commented Aug 13, 2017

> l /sys/class/drm/
total 0
lrwxrwxrwx 1 root root    0 Aug 13 17:12 card0 -> ../../devices/pci0000:00/0000:00:02.0/0000:01:00.0/drm/card0/
lrwxrwxrwx 1 root root    0 Aug 13 17:12 renderD128 -> ../../devices/pci0000:00/0000:00:02.0/0000:01:00.0/drm/renderD128/
-r--r--r-- 1 root root 4096 Aug 13 17:12 version

@CasaSky
Copy link

CasaSky commented Aug 13, 2017

Here is some verifications for you.
Could you check if Cuda is properly installed: cat /usr/local/cuda/version.txt
Check if the cuda directory path in $PATH exists: echo $PATH
If you didn't install Cuda like this, u may do it: sudo apt install nvidia-cuda-dev nvidia-cuda-toolkit
Check if Nvidia driver is correctly installed: lspci | grep -i --color 'vga\|3d\|2d'
You should see informations about your GPU.

@phortx
Copy link

phortx commented Aug 14, 2017

I've did a system upgrade today and suddenly everything works like a charm :) Thank you for your help, guys!

@CasaSky
Copy link

CasaSky commented Aug 14, 2017 via email

@bluppfisk
Copy link

@jiribilla
Copy link

Hi guys, I would like to add more info here. In case someone tries all this and it still doesn't work, try this (I got it from AMDs Webpage) It worked for me. (AMD RX580 4gb x 6)

Edit /etc/default/grub as root and modify GRUB_CMDLINE_LINUX_DEFAULT in order to add "amdgpu.vm_fragment_size=9" (without the quotes). The line may look something like this after the change:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash amdgpu.vm_fragment_size=9"
Update grub and reboot as root:
update-grub;reboot

https://support.amd.com/en-us/kb-articles/Pages/AMDGPU-Pro-Beta-Driver-for-Linux-Release-Notes.aspx

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants