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 #43

Open
wants to merge 96 commits into
base: master
Choose a base branch
from
Open

Windows #43

wants to merge 96 commits into from

Conversation

Genoil
Copy link

@Genoil Genoil commented Nov 8, 2016

This builds a working sa-solver.exe into the main project directory. All windows-specific files are in the windows subdirectory.

The python script (added the py extension for doubleclicking convenience) doesn't communicate properly with the solver yet. I'll add some changes to this PR if get anywhere with that.

@tupieurods
Copy link

So, you made mining work under windows? I made my own solver(without mining) build locally for tests, but looks like it is obsolete now.

@Genoil
Copy link
Author

Genoil commented Nov 8, 2016

Pretty much done now. A different approach to GPU saturation seems to be required, at least on my win10 box i can't get multiple instances per GPU to work well. But that might be OS specific, because I saw people using my multi-threaded approach with success too, and others getting no results from it.

@tk-shockwave
Copy link

The last build on windows 10 and 7 crashing for me
I tried to run the solver and solver 1 both causing hard lock of system not even reset button works anymore.

sa-solver.exe crahes when exit and sa-solver1.exe crashes instantly on start..windows still work partially but if you want to close the cmd or sa-solver1.exe you can't kill the process even with admin rights. System shutdown then freezes and need power off.

Kubuxu and others added 11 commits November 11, 2016 20:58
I did not observe any negative influence on performance with this patch.
The CPU core usage is reduced to about 8% from 100%.

I am getting consistent 38Sols/s on MSI Gaming X 1070 on one instance
while testing. Sols/s on AMD cards (RX480) are not affected.

The clFlush it required as AMD will only start working when there is
blocking operation waiting which is delayed in this case.

This is only suggestion and solution that works for me, it isn't perfect
but it works for me. With this silentarmy is the best miner for Nvidia
that I know.

Don't feel obligated to accept this PR, you can use parts of it or it in
whole to engineer a solution that you think is the best.

I have tried to sched_yield trick, it seems to stopped working
unfortunately.
@withthelemons
Copy link

withthelemons commented Nov 13, 2016

I just tested this on my Windows 8.1 64bit system. 280X and 470 4GB have 160 sols/s together. I had 150 sols/s with Claymore.

@dtawom
Copy link

dtawom commented Nov 23, 2016

I don't understand, how do I get this mining under windows?

@Genoil
Copy link
Author

Genoil commented Nov 23, 2016

@mbevand I haven't made any changes lately. You may have a look at @zawawa fork of this, he's made some changes and fixes.

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

Successfully merging this pull request may close these issues.

8 participants