Skip to content
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

Windows - wrong binary detection. #34

Open
dastardlyman12 opened this issue Oct 10, 2021 · 27 comments
Open

Windows - wrong binary detection. #34

dastardlyman12 opened this issue Oct 10, 2021 · 27 comments
Labels
enhancement New feature or request

Comments

@dastardlyman12
Copy link

LGA 1150 xeons are avx2 compatible. the batch file doesn't detect them and drops into sse2 binary. i can force avx2 by editing the batch file. (i change the catch all to avx2) then it runs fine. this behaviour happens on e3 1225 v3 and e3 1220 v3 and e3 1226 v3. this is windows 10 64 bit. your software runs great - this is just a minor niggle. thank you

@json85
Copy link

json85 commented Oct 10, 2021

i have a temp solution for you. i made a new folder and made copies of sse2 and avx2 file. then i went and deleted the sse2 file in the main folder and renamed the avx 2 command the same as the sse 2 one. it still pops up saying "loading generic sse 2 " but in reality it then says sw supported avx and it will be much faster.

@json85
Copy link

json85 commented Oct 10, 2021

you will def want to re - tune. i spend 6 hrs doing this today lol

@json85
Copy link

json85 commented Oct 10, 2021

i also am running socket 1150, sorry i did not specify. running 4130 and 4570s for fun.

@dastardlyman12
Copy link
Author

thanks json85 ! yes i got it to work. my cludge was to edit the batch file - so that it runs the avx2 exes. the detection in the batch file misses the lga 1150 xeons not sure why. we have a LOT of cpus on raptoreum (since early july) . its never caused any trubble. i always do full tune. seen big uplift in performance on ryzen 3000 series with version 1.2.0 . but im not seeing big increase on the lga 1150 xeons with 8 meg cache on version 1.2.0

@michal-zurkowski michal-zurkowski added the enhancement New feature or request label Oct 11, 2021
@michal-zurkowski
Copy link
Collaborator

o/
Would you be able to provide CPU family and model for those CPUs that were not detected? Getting all this info from the internet is definitely not perfect but I prepared scripts with what I had.

Just add this in line 34 of cpuminer.bat and let me know what it gives you at the start of the script:
echo Detected %MANUFACTURER%
echo Detected %CPUCAPTION%
echo Detected %CPUDESCRIPTION%
echo Detected %CPU_FAMILY%
echo Detected %CPU_MODEL%

@Chipcraft
Copy link

Haswell models 60 (3Ch) and 69 (45h) are missing from the batch file.
Unless the binary itself includes dispatching based on the CPUID capabilities, the model detection alone isn't sufficient to select the correct binary, since not all Haswell based 3Ch model CPUs support AVX or AVX2 (e.g. Anniversary G3258).

@michal-zurkowski
Copy link
Collaborator

Thanks for the models.
I know it is not enough to get all of them but it is definitely more beginner user friendly than throwing 10 binaries and 10 scripts at them. Unfortunately, we do not have any function versioning that would help with getting just a single binary for all CPUs, and getting proper instructions of CPU would be even worse on Windows.
It should be at least a good start and allow most users to start mining without any problems or questions.

@dastardlyman12
Copy link
Author

this is great. thank you Michal and chipcraft. i will add line 34 like you suggested and give you the output. we have a lot of different lga1150 xeons - from 1220 up to 1275, with all in between.

michal-zurkowski added a commit that referenced this issue Oct 11, 2021
@json85
Copy link

json85 commented Oct 11, 2021

4570s info family 6 model c stepping 3 ext fam 6 ext model 3c rev c0
4130 info ^^ same as above

both avx2 support 22nm haswell

@michal-zurkowski michal-zurkowski changed the title Not detecting LGA1150 xeons in version 1.2.0 Windows - wrong binary detection. Oct 11, 2021
@dastardlyman12
Copy link
Author

Ok, as far as im concerned version 1.2.1 has fixed the issue! very good, thank you. tried 1.2.1 on four different lga 1150 xeons - detects avx2 in each case. great. ticket closed?

@michal-zurkowski
Copy link
Collaborator

I would leave it there. Maybe others also have problems with some of their CPUs and it should be easier to find and just add comment here instead of creating new one for some users :)

@altar07
Copy link

altar07 commented Oct 31, 2021

Hello,
Should not all cpu, sw, algo features match each other? Or everything is fine? I am under full tune right now.

algo

@michal-zurkowski
Copy link
Collaborator

it should. Thanks for reporting.
As a fix for you, open cpuminer.bat and change the line 11 from set INST_OVERRIDE= to set INST_OVERRIDE=avx512-sha-vaes

@michal-zurkowski michal-zurkowski pinned this issue Nov 9, 2021
@WB663
Copy link

WB663 commented Nov 12, 2021

software shows cloud not tune_config file,I don't know whether to start, my picture is like this
Uploading 1636746495133..jpg…

@Only-Ova
Copy link

debería. Gracias por informarnos. Como solución para usted, abra cpuminer.bat y cambie la línea 11 de set INST_OVERRIDE=aset INST_OVERRIDE=avx512-sha-vaes

I can't mine with an Intel Pentium G3250 3.20GHz CPU. I run miner 1.2.4.1, it recognizes the processor model, and then I constantly get the message "If file is missing please check if Windows Defender or AV did not block / remove it from binaries folder".

It should be noted that I have completely disabled Windows Defender and that no binary files were deleted, but nevertheless I cannot mine with that CPU.

On the other hand... I did manage to configure other PC's correctly with the following processors:

-Intel (R) Core (TM) i7-7500U CPU @ 2.70GHz 2.90 GHz

-Intel (R) Core (TM) i3-10110U CPU @ 2.10GHz 2.59 GHz

-AMD Ryzen 5 3600 6-Core Processor 3.60 GHz

I have also tried versions 1.2.3 and 1.1.9, with the same result ...Attached image so you can check it.

Does anyone know what this could be?

Thanks!

@Only-Ova
Copy link

image

@michal-zurkowski
Copy link
Collaborator

@Only-Ova Make sure your AV or Windows defender did not block or remove the avx2 binaries.
Also what is the actual CPU?
If it is Celeron or Pentium, open cpuminer.bat and change line 11 from INST_OVERRIDE= to INST_OVERRIDE=aes-sse42
There is nothing we can do in windows to detect Intels shenanigans with different instructions on the same generation CPUs

@Drsehsan
Copy link

Hi, this problem has happened to me and how to solve it ؟ Is everything okay now or can full tune this ?

drs

could not load 'tune-config' file

CPU Model
CPU AMD Ryzen 7 3700x 8-Core Processor

@michal-zurkowski
Copy link
Collaborator

Lack of tune_config file is coz you did not tune yet.
Resolve Large Pages and MSR errors first before tuning tho

Repository owner deleted a comment from YuraPinega Nov 27, 2021
@moriol69
Copy link

moriol69 commented Dec 4, 2021

Hi! When trying to mine in a Core I3 2120 in windows the CPU is recognized well and the bat file launch the "cpuminer-avx.exe" which I think is the correct one, but then a message saying " This SW build requires a CPU with AES!" is showed and exit the program. I can only make it works manually launching (with a new .bat file i mean) forcing the use of "cpuminer-sse42.exe", but with lower performance i think. Is an error in the binary or i miss something? Thank you in advance !!!

@dibu69
Copy link

dibu69 commented Dec 8, 2021

Hello, thanks vor the great miner. With my second PC i had the problem that the miner give out the alert : the SW build requires a CPU with AES.
i had a intel core i7 9700 with 3 Ghz coffee lake. Can you please help me. Thanks a lot

@liusainan
Copy link

大佬们钱包地址怎么加进去?
image

@michal-zurkowski
Copy link
Collaborator

"user" is where you put your wallet and workername
"user": "WALLET.workerName",
Remember to use the proper RTM wallet address if you are going to mine it.

@liusainan
Copy link

image

“用户”是您设置的位置和工作人员的位置 "user": "WALLET.workerName", ,如果您要使用R,请记住使用正确的TM钱包地址。

@michal-zurkowski
Copy link
Collaborator

Yes, this thing.
The address you have there right now is not Raptoreum address though.
Proper Raptoreum addresses start with R, like the address in the default config "user": "RQKcAZBtsSacMUiGNnbk3h3KJAN94tstvt.WorkerName",

Also, please remember this issue is for wrong binary detection.

@liusainan
Copy link

是的,这个东西。 您现在拥有的地址不是 Raptoreum 地址。 正确的 Raptoreum 地址以 开头R,例如默认配置中的地址"user": "RQKcAZBtsSacMUiGNnbk3h3KJAN94tstvt.WorkerName",

另外,请记住这个问题是针对错误的二进制检测。
image
我的钱包地址怎么是J开头的

@michal-zurkowski
Copy link
Collaborator

That is not Raptoreum but some weird fork
You have to either use Raptoreum wallet and proper RTM address or switch pool to this fork coin pool, whatever it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests