Title: SO close. Help with getting OpenCL recognized and GPU mining enabled on CGMiner. Post by: skeeterskeeter on March 06, 2013, 01:14:00 AM Well all. I have been many gpu's and setup in the last few weeks through various forums and I finally have gotten all my hardware recognized on ubuntu.
I have x4 5830's on a Evga board and intel chipset I have mined with all of the four board I have but never have been able to do it all at once. This is the closest I've been :D ;D Code: ------------------------------------------------------------------------ What are my options, I am not sure where or how to find OpenCL. I searched found their site, but no downloads? Any help guise?! :o :o :o Code: lspci | grep VGA Title: Re: SO close. Help with getting OpenCL recognized and GPU mining enabled on CGMiner. Post by: KWH on March 06, 2013, 01:29:34 AM What driver are you using?
Title: Re: SO close. Help with getting OpenCL recognized and GPU mining enabled on CGMiner. Post by: skeeterskeeter on March 06, 2013, 01:32:37 AM What driver are you using? CatalystControlCenter 13.1 ? Title: Re: SO close. Help with getting OpenCL recognized and GPU mining enabled on CGMiner. Post by: KWH on March 06, 2013, 01:39:47 AM What driver are you using? CatalystControlCenter 13.1 ? And what OS? Title: Re: SO close. Help with getting OpenCL recognized and GPU mining enabled on CGMiner. Post by: skeeterskeeter on March 06, 2013, 01:42:41 AM What driver are you using? CatalystControlCenter 13.1 ? And what OS? Sorry. I should've included this. Ubuntu 12.10. Title: Re: SO close. Help with getting OpenCL recognized and GPU mining enabled on CGMiner. Post by: KWH on March 06, 2013, 01:49:42 AM What driver are you using? CatalystControlCenter 13.1 ? And what OS? Sorry. I should've included this. Ubuntu 12.10. That's what I thought. From what I can see, you don't have OpenCL installed. You need the correct SDK. I am no expert on Ubuntu so I will have to defer to someone with more knowledge. Sorry I couldn't be of any help. Check this thread, it may help: https://bitcointalk.org/index.php?topic=78229.0 Title: Re: SO close. Help with getting OpenCL recognized and GPU mining enabled on CGMiner. Post by: skeeterskeeter on March 06, 2013, 02:24:32 AM Code: kevin@Kevins-PC:~/cgminer-master$ sudo apt-get install python-pyopencl python-pyopencl :Depends: opencl-icd but it is not installable ? As for the forum link. I am pretty sure I already have the APP SDK. Is there a way to make sure? Because I think I have it that is why I tried to install "python-pyopencl". Title: Re: SO close. Help with getting OpenCL recognized and GPU mining enabled on CGMiner. Post by: TechCF on March 06, 2013, 12:49:33 PM 13.1 (and 13.2 beta 1-7) is a hassle. Clean install Windows 8 x64 and 13.1 will not work. There will be a mismatch between the AMD.APP\bin\x86\opencl.dll and the syswow64\opencl.dll. Cgminer will crash, unless you have precompiled kernels (*.bin) files that are compatible in the folder. By copying the AMD.APP dll's (amdocl64.dll/amdocl.dll and opencl.dll) to system32 and syswow64 it will work. Remember to take ownership of the file, then change the filerights (as Windows protects those files by default).
This may well be the case for you Ubuntu install. Details here: http://devgurus.amd.com/thread/160032 Looks like there is something new in the CL library that requires rewriting/recompilation of software with the new drivers/app sdk. I myself just did a clean reinstall and installed 12.8 upon install to overcome this problem. Title: Re: SO close. Help with getting OpenCL recognized and GPU mining enabled on CGMiner. Post by: skeeterskeeter on March 06, 2013, 01:47:39 PM 13.1 (and 13.2 beta 1-7) is a hassle. Clean install Windows 8 x64 and 13.1 will not work. There will be a mismatch between the AMD.APP\bin\x86\opencl.dll and the syswow64\opencl.dll. Cgminer will crash, unless you have precompiled kernels (*.bin) files that are compatible in the folder. By copying the AMD.APP dll's (amdocl64.dll/amdocl.dll and opencl.dll) to system32 and syswow64 it will work. Remember to take ownership of the file, then change the filerights (as Windows protects those files by default). This may well be the case for you Ubuntu install. Details here: http://devgurus.amd.com/thread/160032 Looks like there is something new in the CL library that requires rewriting/recompilation of software with the new drivers/app sdk. I myself just did a clean reinstall and installed 12.8 upon install to overcome this problem. Is there anyway to check to see if I have OpenCL and its version? I just did a clean install of Ubuntu too. So you think I should find a older version and not use 13.1? I must've read 100 walkthroughs by now and none of them get me any closer. I'm lost. EDIT: From the CGMiner readme it looks like CGminer cannot find my OpenCL libraries If it finds the opencl files it will inform you with "OpenCL: FOUND. GPU mining support enabled." So. How can I get my OpenCL libraries to where they need to go? Title: Re: SO close. Help with getting OpenCL recognized and GPU mining enabled on CGMiner. Post by: -ck on March 06, 2013, 09:07:19 PM AMD are awesome at breaking stuff. Manually download the AMD APP version 2.7 and install it and try again. You will need to log in/out or even reboot for the modified paths to work.
Title: Re: SO close. Help with getting OpenCL recognized and GPU mining enabled on CGMiner. Post by: skeeterskeeter on March 07, 2013, 12:50:58 AM Ok, well I am almost 99% sure I have OpenCL now. Ran the commands below and all worked beautifully. (Via your README ckolivas)
Code: cd AMD-APP-SDK-v2.4-lnx64/ I see next to do this Code: If you are on 32 bit, x86_64 in the 2nd last line should be x86 Does that mean run this Code: ./autogen.sh CFLAGS="-O2 -Wall -march=native" ./configure Code: ./autogen.sh Because I am doing the second, and getting this in return Code: ------------------------------------------------------------------------ So might I try the later? EDIT: Hmm so maybe I don't? Code: *snip EDIT2: ? Code: kevin@Kevins-PC:/etc$ cd OpenCL Title: Re: SO close. Help with getting OpenCL recognized and GPU mining enabled on CGMiner. Post by: MilesDyson on March 29, 2013, 09:53:43 AM I created an easy to follow Walk Threw for installing cgminer with OpenCL for AMD/ATI video cards on Ubuntu.
Walk Threw : http://www.distrogeeks.com/?p=7105 (http://www.distrogeeks.com/?p=7105) Hope it helps. Title: Re: SO close. Help with getting OpenCL recognized and GPU mining enabled on CGMiner. Post by: jzakilla on February 07, 2014, 12:47:43 AM Ran into the same problem compiling from source on (L)ubuntu 13.04. Really, Really easy fix. After searching the repository I found an OpenCL package specifically for developers. The following line did the trick! :)
Code: sudo apt-get install ocl-icd-opencl-dev hope this helps someone. Title: Re: SO close. Help with getting OpenCL recognized and GPU mining enabled on CGMiner. Post by: roncutt on March 03, 2014, 03:43:57 PM Ran into the same problem compiling from source on (L)ubuntu 13.04. Really, Really easy fix. After searching the repository I found an OpenCL package specifically for developers. The following line did the trick! :) Code: sudo apt-get install ocl-icd-opencl-dev hope this helps someone. You Are The Best Months looking for the correct answer. Up until your post I had to stick with older versions of cgminer, as I couldn't compile new ones. Thanks a lot, mate! Ron. Title: Re: SO close. Help with getting OpenCL recognized and GPU mining enabled on CGMiner. Post by: elses_pels on April 08, 2014, 06:15:53 PM Ran into the same problem compiling from source on (L)ubuntu 13.04. Really, Really easy fix. After searching the repository I found an OpenCL package specifically for developers. The following line did the trick! :) Code: sudo apt-get install ocl-icd-opencl-dev hope this helps someone. You Are The Best Months looking for the correct answer. Up until your post I had to stick with older versions of cgminer, as I couldn't compile new ones. Thanks a lot, mate! Ron. I second that! I was going really crazy until you solved everything with one line thanks!!! Title: Re: SO close. Help with getting OpenCL recognized and GPU mining enabled on CGMiner. Post by: thiec on May 23, 2014, 06:26:27 AM Ran into the same problem compiling from source on (L)ubuntu 13.04. Really, Really easy fix. After searching the repository I found an OpenCL package specifically for developers. The following line did the trick! :) Code: sudo apt-get install ocl-icd-opencl-dev hope this helps someone. You Are The Best Months looking for the correct answer. Up until your post I had to stick with older versions of cgminer, as I couldn't compile new ones. Thanks a lot, mate! Ron. Finally found it. Thanks Title: Re: SO close. Help with getting OpenCL recognized and GPU mining enabled on CGMiner. Post by: baileys2611 on June 08, 2014, 07:36:19 AM Someone needs to make alarms bell ring when they log on to teh Internets so that they git directed right here. Genius I say. Nice work.
Title: Re: SO close. Help with getting OpenCL recognized and GPU mining enabled on CGMiner. Post by: aib on February 01, 2017, 08:06:58 AM Ran into the same problem compiling from source on (L)ubuntu 13.04. Really, Really easy fix. After searching the repository I found an OpenCL package specifically for developers. The following line did the trick! :) Code: sudo apt-get install ocl-icd-opencl-dev hope this helps someone. I have to thank you again. Title: Re: SO close. Help with getting OpenCL recognized and GPU mining enabled on CGMiner. Post by: fitraok09 on March 15, 2017, 05:21:32 AM Ran into the same problem compiling from source on (L)ubuntu 13.04. Really, Really easy fix. After searching the repository I found an OpenCL package specifically for developers. The following line did the trick! :) Code: sudo apt-get install ocl-icd-opencl-dev hope this helps someone. thank you very much sir, you have found my big problems ;) Title: Re: SO close. Help with getting OpenCL recognized and GPU mining enabled on CGMiner. Post by: MiddleKingdom on June 12, 2017, 10:02:06 PM Ran into the same problem compiling from source on (L)ubuntu 13.04. Really, Really easy fix. After searching the repository I found an OpenCL package specifically for developers. The following line did the trick! :) Code: sudo apt-get install ocl-icd-opencl-dev hope this helps someone. YOU ARE THE BEST! Thank You! |