-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intel GPU support #56
Comments
Test Intel GPU on a i7-7500U
Everything is running without any errors (with OpenCL2):
|
Hold on, does that mean almost all Intel desktop CPUs can mine on their built-in GPU? Sweet =). Can you verify how that affects CPU mining rate? I would expect some shared circuits between the two. |
Yes it is possible but I have tested if a cpu miner and gpu miner can run in parallel. The result was that the cpu miner slows down from 130 to 30h/s. |
please show clinfo output i think you use the opencl cpu intel driver |
for the GPU intel use beignet opencl driver |
@arpu Beignet OpenCl is not running with my kaby lake Intel.
|
ok you can look at intel_gpu_top tool to see some GPU top statistic anyway i try to use this on my intel beignet installation right now for test |
I love Intel update The tool needs root right (thx Intel). |
sudo intel_gpu_top |
Yes I found it and I know why I am a Nvidia Fanboy :-). result: |
i tested with nvidea work fine! with opencl verion OpenCL 1.2 CUDA |
i will try to do some more optimations |
@arpu But please only optimization for Intel or AMD. NVidia is not the target, we have a Nvidia version which is much faster than openCL. Side note (why I am not focused on NVidia OpenCL): |
congratulations psychocrypt, |
Hi, with my Intel Card it also does not work:
Config:
|
@Kinimodnnama You need to use the dev branch. Do not forget to run make install else you will have the wrong opencl code in your folder. |
@mk148a I think currently not I need to fix cmake to support windows. After that it should work. Note My intel gpu is slow and avoid the usage of a cpu miner during the gpu is mining. |
@psychocrypt Thank you for the fast answer. Where can i download the binaries of this version? :) |
We have no binaries for the development version. You need to compile it by zour own. Warning we have currently no documentaion how to compile, if you are no geak you should wait for the next release or the documentation. |
Okay thank you ;) |
Is somebody successful with OpenCL 1.2 ? I install intel opencl drivers but have all on "GPU COMPUTE ERROR" :-( |
A windows binary version would be awesome. Have an iris hd 580 to test with. |
Tested on Core M 5Y10I was able to get the software (as of commit 7a4dc19) to run under Ubuntu 16.04 on Intel Core M 5Y10 with HD 5300 graphics, though I did run in to some issues. I mostly followed the instructions from @psychocrypt above. First install the Intel OpenCL drivers which unfortunately requires a kernel rebuild around the Linux 4.7 kernel. I followed this guide and used the scripts therein: https://software.intel.com/en-us/articles/sdk-for-opencl-gsg I also installed the Intel OpenCL SDK, though I am not sure if this is strictly necessary, the Intel guide just instructed to do so. You have to jump through some hoops to download: https://software.intel.com/en-us/intel-opencl/download I was able to get the software to at least start with this configuration:
Though this is probably not ideal, it would crash with many other configurations (includng the default), though it seemed to be working with this at ~20 H/s. Could you post what config you used above @psychocrypt? Worth noting, the software would occasionally give the error:
Not sure of the cause, but it didn't seem to impact the program running. For reference, here is some data about my system:
Intel provides a system analyzer utility python script https://software.intel.com/en-us/articles/mss-sys-analyzer-linux
If I get time maybe I will try this with my desktop i5 4440 and Intel HD 4600. It probably will require different steps as the Intel driver package above says it is for 5th gen and above only (Haswell is 4th gen IIRC). I also don't think it supports above OpenCL 1.2. Also re: CPU performance @psychocrypt while running the GPU + CPU miner on Intel HD, I believe the IGP shares some L3 cache with the CPU (unclear if it is a reserved amount), so perhaps the performance drop is related to contention there somehow. Have you tried running just one CPU thread and just one GPU thread to see if they affect each other? Also worth noting about performance: when running the miner my GUI environment was basically unusable, everything was incredibly unresponsive (but I guess that's not surprising when smacking the GPU with work!). Did you experience this @psychocrypt ? |
I tried compile it with intel-opencl-r5 and manage to run it with average 108 h/s. I did a few tries, and every time it hogs 200%/800% after couples of shares/minutes(like after 5 minutes). Platform: |
I've been trying to run this on my computer with an
Here's a link to my According to the API it should only give me this error if no devices of the specified Follows is a section of the
|
@Deathsbreed Please try to set index to 1 else you are mining with your cpu. |
Alright, thanks. That along with some other modifications to the Thanks for the help. |
Hello, trying to run the miner under Windows 10 on Intel GPU. I have installed the original Intel driver (Intel VGA driver 20.19.15.4463) and Intel SDK opencl 2.0. I managed to compile the source codes from the dev branch (the binary is running fine on my vega 56 on my other machine). However, I cannot make it run on my integrated GPU, the output is
Not sure how to run Listing OpenCL devices. and the main part of my config is "gpu_thread_num" : 1, Thanks for help @psychocrypt @Deathsbreed . |
@nikl11 just be sure, did you compile from the dev branch? That's where @psychocrypt did the work for non-AMD media extension GPU's and I don't think it's merged in to master yet. Your errors look like the miner is trying to use AMD extensions which obviously the Intel GPU doesn't have. |
Yes I did use the dev branch, but in the opencl folder I can see the source codes still contain amd extensions. I copy the opencl folder next to my binary. EDIT: Ok, you were right, I was using an old cryptonight.cl file, after manual update it works fine. Only 20H/s tho :-). Sorry and thanks. |
I downloaded the dev branch and try to compile and I get an error. In the logs it says Build FAILED. (ClCompile target) -> C:\Users\XXX\Desktop\GPU miner\xmr-stak-amd-dev\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [C:\Users\XXX\Desktop\GPU miner\xmr-stak-amd-dev\CMakeFiles\CMakeTmp\cmTC_f12cc.vcxproj] Any help would be appreciated I am Windows 10 and have an Intel GPU |
The next release within a few days will bring full windows kompile support.
please do not wast time in intel gpus they are slower than slow.
|
Even though Intel GPU's are slow, are there any plans to support them in upcoming unified miner releases for Windows in any case? (they might be slow but every bit of hash power helps). Thanks |
Intel gpus are arlready supported but you need to write a amd.txt file
where the intel platform is selected and configure the dive by hand. Trust
me the gpu is slower than your cpu.
|
Thanks, just gave it a shot and see what you mean - CPU hashrate was also reduced when the GPU was being used. Will stick with CPU, thanks. |
maybe it will be better this year when intel is releasing the cpu with an
amd gpu with hbm2 dedicated memory.
|
I just tried xmr-stak with my Intel laptop, without success: https://gist.github.com/jgillich/3fb2982fd385008848e053b3cad9ca3a Would be nice to get this working for development purposes. Seems like xmr-stak still runs some AMD specific instructions like |
@jgillich What hardware is in your laptop? |
I have a HD 620 and a Skylake i5. According to clinfo, OpenCL 2.0 is supported. I will have to try the Intel OpenCL driver, but it will probably be a pain to install on Solus. |
I think you used the wrong platform. You must use the intel opencl
platform. As I remember right I added the instruction how to install the
intel opencl libraries into the pull request linked within this issue.
|
Seems to be that way, it works fine with the Intel libraries. Thanks! |
I have "xmr-stak-rel-2.1.0-Win64-XMR-2" installed. |
I am interested to know if this has made any progress. It has been a few years, and Intel has released new processors with more advanced GPUs. Has anyone tried this with more recent Intel GPUs, and are the CPUs still outperforming the GPUs? |
Add/Check OpenCl support for Intel GPUs.
#17 added support for GPUs without AMD media extensions, this means that Intel GPUs should be usable.
The text was updated successfully, but these errors were encountered: