Cgminer Can't Find Gpu

Discussion in 'cgminer' started by weeb0, Jun 13, 2016.

  1. 2017/12/15 - Decred v1.1.2 released! → Release Notes  → Downloads
  1. weeb0

    weeb0 New Member

    Jun 13, 2016
    6
    0
    Male
    Quebec
    Hello,

    I am trying to start a very small mining rig (HD 6950).

    I am using kubuntu 15.10
    AMD driver 15.12
    Open CL libraries 3.0

    When I start cgminer -n it tells me that there is not GPU available (yes I added --enable-opencl in the configure commande line)

    When I ask aticonfig to tell me how many GPU available it tells me 1. So I don't know where to start to solve my issue.

    Thank you for your help
     
  2. jolan

    jolan Sr. Member
    Developer

    Dec 7, 2015
    197
    226
    Male
    Decred Team Member
    Try installing and running clinfo and make sure that works properly.
     
    weeb0 likes this.
  3. weeb0

    weeb0 New Member

    Jun 13, 2016
    6
    0
    Male
    Quebec
    Hi Jolan,

    You are right. clinfo can find the CPU but not the GPU...

    I tried to use an older version of AMD SDK. No luck. I will try to install an older release of kubuntu to use an older version of the catalyst driver.

    Also, when I try clinfo or HelloWorld from the AMDSDK V3 I get a segmentation fault ... This doesn't sounds good ...

    Thank you.
     
  4. weeb0

    weeb0 New Member

    Jun 13, 2016
    6
    0
    Male
    Quebec
    I am totally stuck with this issue. I tried few version of the driver, few version of kubuntu ... nothing works.

    I also tried the script sgfxi ... No luck.

    I have installed windows 7 and did an autodetection of the hardware to install the right driver ... opencl is working fine ... So I don't know where is the problem, but one thing is sure, the problem is not the hardware.

    I will try centos 7 ...
     
  5. jolan

    jolan Sr. Member
    Developer

    Dec 7, 2015
    197
    226
    Male
    Decred Team Member
    Look in /etc/OpenCL/vendors and see if there is an amd.icd or amdocl64.icd file in there.

    If not, you probably need to create it.

    sudo sh -c 'echo "libamdocl64.so" > /etc/OpenCL/vendors/amd.icd'
     
  6. weeb0

    weeb0 New Member

    Jun 13, 2016
    6
    0
    Male
    Quebec
    Thank you Jolan,

    In the /etc/OpenCL/vendors/ I have 2 files :
    - amdocl32.icd -> libamdocl32.so
    - amdocl64.icd -> libamdocl64.so
     
  7. weeb0

    weeb0 New Member

    Jun 13, 2016
    6
    0
    Male
    Quebec
    I solved my problem ... had to install fglrx-updates after the installation of catalyst ... I don't understand why but I had to...

    Thank you for your help Jolan.
     
  8. weeb0

    weeb0 New Member

    Jun 13, 2016
    6
    0
    Male
    Quebec
    #8 weeb0, Jun 16, 2016
    Last edited: Jun 16, 2016
    Now when I mine ... Xorg comes to 100% of CPU and the display crash ... Nothing relevant in Xorg.0.log.

    latest cgminer / ubuntu 15.10 .

    I guess the mix of fglrx-update and the catalyst software does not mix well...

    Any hint on this ?
     
  9. JasonSome

    JasonSome New Member

    Jan 10, 2016
    20
    6
    Male
    University Student
    Athens
    I would also like to note that I am having a very similar problem using my AMD Radeon HD 4830 but I cannot install fglrx since Ubuntu 16.04 doesn't support installing fglrx at all. I will be back from my vacation in a few days and then I will elaborate more.. Until then, any help would be useful...
     

Share This Page