fireice-uk / xmr-stak

Free Monero RandomX Miner and unified CryptoNight miner
GNU General Public License v3.0
4.05k stars 1.79k forks source link

GPU reports a hashrate of zero with Win 7 installed through Bootcamp on MacBook Pro #2150

Open xq0404 opened 5 years ago

xq0404 commented 5 years ago

I have a MacBook Pro with 64-bit Windows 7 installed through Boot Camp. The GPU is recognized after the xmr-stak is launched, but the reported hashrate is zero when I type H.

My Macbook Pro uses Intel (R) Core(TM) i7-2675QM CPU @ 2.20GHz 2.20 GHz My GPU is AMD Radeon HD 6750M Boot Camp has Windows 7 Service Pack 1 installed.

reports

gpu usage

The CPU has 4 cores and 8 threads. What's interesting is that xmr-stak automatically chooses three cores for it to have the best hashrates.

My MacBook also has a processor graphics ( Intel® HD Graphics 3000 ) installed together with the AMD GPU. But the Boot Camp does not recognize the integrated Intel graphics card.

cpu.txt amd.txt config.txt

Spudz76 commented 5 years ago

That is pretty old and requires usage of the older driver, manually installed, something from the 15.x "crimson" range but I currently forget the best old driver for those, on Windows. Maybe 15.7.1 although 14.4 may also be worth trying.

It is very picky as to which ones work with compute, and which ones zero-hash, or which ones crash. Newer drivers "support" the cards for basically everything except computation (so they get WDM certified for having graphics and etc even without any workable or tested compute support, which broke at some point for the older but still good-for-graphics GPUs). So, using the driver selector on AMD site may steer you to the newest driver but that likely will not compute correctly - it is misleading and doesn't have a "prefer working/legacy OpenCL" option in the search options.

Even if Intel were supported I think the minimum (from attempts to make it work myself) is around HD 4000 level so that should not work due to missing capability even if it were showing up in OpenCL. Also needs OpenCL ("AMD") backend code mods to allow "Intel" and adjust for quirks. Similar to the --OpenCLVendor NVIDIA option for attempting to use nVidia GPUs via OpenCL but the code is not exactly great. Also Intel GPUs within CPUs (iGPU) such as that share the cache, and end up slowing the CPU threads or other odd effects, so in general it's better to just use the CPU as a CPU and leave the iGPU idle. New integer math in CN2v2 algorithms for PoW may even make Intel OpenCL worse and less effective to bother / support. I never got it to do much.

xq0404 commented 5 years ago

AMD site

Thanks for the information. The driver for AMD Radeon HD 6750M on the AMB site is 15.201.1301-150819a-188578c-whql.zip, which supports MacBook Pro (2011). https://www.amd.com/en/support/kb/release-notes/apple-boot-camp

I have downloaded 15.7.1 driver, but it does not recognize my MacBook Pro. At last I managed to find 14.4 and had it installed. But the whole MacBook Pro's Bootcamp slowed down after GPU hashrate was reported, which also tended to be on and off or even crashing the PC. The GPU's hashrate is only about 20 H/s.

increase2

Spudz76 commented 5 years ago

Seems like it should go faster than that, but also being laptop it might have cooling issues. Some tools show which limits are active while running, such as overthermal or total watts (with wattman) I would bet you're hitting some limiter or the GPU has old heatsink compound and doesn't cool right anymore. I had to re-paste my laptop to get the i7 to mine without heat-locking down to really slow hashrates. GPU was fine but they share a heatpipe, so repasting must have helped it too.

xq0404 commented 5 years ago

Seems like it should go faster than that, but also being laptop it might have cooling issues. Some tools show which limits are active while running, such as overthermal or total watts (with wattman) I would bet you're hitting some limiter or the GPU has old heatsink compound and doesn't cool right anymore. I had to re-paste my laptop to get the i7 to mine without heat-locking down to really slow hashrates. GPU was fine but they share a heatpipe, so repasting must have helped it too.

I had BSoD again this morning You are right and MacBook Pro is overheating. I have just ruturned it to the lastest driver version 15.201.1301.