killswitch-GUI / xmr-stak-osx

Unified All-in-one Monero miner (COMPILE FROM DEV BRANCH OF https://github.com/fireice-uk/xmr-stak)
GNU General Public License v3.0
22 stars 3 forks source link

I'm using EGPU with RX580 on MacOS but XMR-Stak on MacOS can not find my AMD cards. #5

Open shrewdacumen opened 5 years ago

shrewdacumen commented 5 years ago

I'm using EGPU with RX580 on MacOS but XMR-Stak on MacOS can not find my AMD cards, while other miners like Ethminer can alway detect RX580 on MacOS, being able to mining with RX580 in External GPU connected to my Macbook Pro: I may soon increase the number of GPUs on MacOS as I see the better result with external GPU (EGPU) connected.

XMR-Stak can only detect CPU, not the RX580 that I request you developers to enable AMD or NVIDIA GPUs in the source codes and to make precompiled XMR-Stak for MacOS with EGPU connected!!!

The current file "amd.txt" contains the following:

/*

  • GPU configuration. You should play around with intensity and worksize as the fastest settings will vary.
  • index - GPU index number usually starts from 0
  • intensity - Number of parallel GPU threads (nothing to do with CPU threads)
  • worksize - Number of local GPU threads (nothing to do with CPU threads)
  • affine_to_cpu - This will affine the thread to a CPU. This can make a GPU miner play along nicer with a CPU miner.
  • "gpu_threads_conf" :
  • [
  • { "index" : 0, "intensity" : 1000, "worksize" : 8, "affine_to_cpu" : false },
  • ], */

"gpu_threads_conf" : [ // gpu: AMD Radeon R9 M370X Compute Engine memory:384 // compute units: 10 { "index" : 1, "intensity" : 160, "worksize" : 8, "affine_to_cpu" : false, },

],

/*

And the message being generated is:

[2018-11-15 18:12:52] : Start mining: MONERO [2018-11-15 18:12:52] : Compiling code and initializing GPUs. This will take a while... [2018-11-15 18:12:52] : Selected OpenCL platform index 1 doesn't exist. [2018-11-15 18:12:52] : WARNING: AMD device not found [2018-11-15 18:12:52] : WARNING: backend AMD disabled. [2018-11-15 18:12:52] : WARNING on MacOS thread affinity is only advisory.

And I tried to change the "platform_index" : 0 or 1 or 2 that is of no avail so far.

Thus, I ended up mining with other miners like ETHMINER for MacOS, giving "XMR-Stak" up for MacOS with EGPU connected that provides much more hash-rate even than those rig on Linux-Ubuntu.

I recently found hash rate on MacOS with EGPU is not only stabler but also higher in performance than rigs on Linux or on Windows !!! And MacOS or Macbook can have multiple EGPUs, meaning that as many AMD or NVIDIA high-end GPUs as possible can be connected the MacBook Pro/Air or iMac these days!!!

Please hopefully rectify this problem soon. :) !

Thanks much in advance for your endeavors of making XMR-Stak better!!!