Ethminer: No cuda driver found with AMD

Created on 17 Mar 2018  Â·  5Comments  Â·  Source: ethereum-mining/ethminer

2 rx 480s. Here is the error:

  m  15:52:47|ethminer|  ethminer version 0.14.0.dev4
  m  15:52:47|ethminer|  Build: linux / release +git. 81ad571
  ℹ  15:52:47|ethminer|  Found suitable OpenCL device [ AMD Radeon (TM) RX 480 Graphics (AMD POLARIS10 / DRM 3.20.0 / 4.13.0-37-generic, LLVM 5.0.0) ] with 8587001856  bytes of GPU memory
Error: No CUDA driver found

and

Listing OpenCL devices.
FORMAT: [platformID] [deviceID] deviceName
[0] [0] AMD Radeon (TM) RX 480 Graphics (AMD POLARIS10 / DRM 3.20.0 / 4.13.0-37-generic, LLVM 5.0.0)
    CL_DEVICE_TYPE: GPU
    CL_DEVICE_GLOBAL_MEM_SIZE: 8587001856
    CL_DEVICE_MAX_MEM_ALLOC_SIZE: 6010901299
    CL_DEVICE_MAX_WORK_GROUP_SIZE: 256
[0] [1] AMD Radeon (TM) RX 480 Graphics (AMD POLARIS10 / DRM 3.20.0 / 4.13.0-37-generic, LLVM 5.0.0)
    CL_DEVICE_TYPE: GPU
    CL_DEVICE_GLOBAL_MEM_SIZE: 8587001856
    CL_DEVICE_MAX_MEM_ALLOC_SIZE: 6010901299
    CL_DEVICE_MAX_WORK_GROUP_SIZE: 256
[1] [0] Ellesmere
    CL_DEVICE_TYPE: GPU
    CL_DEVICE_GLOBAL_MEM_SIZE: 8463011840
    CL_DEVICE_MAX_MEM_ALLOC_SIZE: 4244635648
    CL_DEVICE_MAX_WORK_GROUP_SIZE: 256
[1] [1] Ellesmere
    CL_DEVICE_TYPE: GPU
    CL_DEVICE_GLOBAL_MEM_SIZE: 8463142912
    CL_DEVICE_MAX_MEM_ALLOC_SIZE: 4244635648
    CL_DEVICE_MAX_WORK_GROUP_SIZE: 256

Most helpful comment

Thanks, got it to work with that

All 5 comments

I'm hoping to help, but I'm not sure I understand the problem here.
CUDA is Nvidia's proprietary compute library for utilizing Nvidia's GPUs, AMD takes an open source approach with their graphics cards by using OpenCL.

Are you trying to use CUDA on an AMD card? If so it won't work.

I don't think so. Just running ./ethminer by default gives this message

Gotcha.

If you have a shell or bash script, try adding the arguments: -X --opencl-devices 0,1,2,3.
You may need to alternate the numbers to the corresponding indices of the graphics cards.

Thanks, got it to work with that

How do I do it in Windows?
I have an AMD R7 360 and the same problem happens to me.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Penziplays picture Penziplays  Â·  5Comments

honlen picture honlen  Â·  3Comments

arianaa30 picture arianaa30  Â·  6Comments

gennadiv picture gennadiv  Â·  5Comments

MaynardMiner picture MaynardMiner  Â·  5Comments