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

Include code with sgminer #33

Closed
scrunchds opened this issue Jan 5, 2017 · 14 comments
Closed

Include code with sgminer #33

scrunchds opened this issue Jan 5, 2017 · 14 comments
Assignees

Comments

@scrunchds
Copy link

Can you please include the following code before the start of sgminer?

setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1
timeout /t 4

@aaronsace
Copy link
Member

aaronsace commented Jan 5, 2017

Will look into adding that somewhere.
Is there not 4 options that people usually set?

@aaronsace aaronsace self-assigned this Jan 5, 2017
@Fredar
Copy link

Fredar commented Jan 5, 2017

Not sure if every option is great for each algo, but for zec and eth we use these:

setx GPU_FORCE_64BIT_PTR 0
setx GPU_MAX_HEAP_SIZE 100
setx GPU_USE_SYNC_OBJECTS 1
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_SINGLE_ALLOC_PERCENT 100

@bandit420
Copy link
Contributor

GPU_FORCE_64BIT_PTR 0
GPU_MAX_HEAP_SIZE 100 is for cards with less then 2GB RAM.

So it would be nice if you can choose 3 cases:

  1. only 2GB cards
  2. 2GB + 2GB+ on one system
  3. only 2GB+ cards

@Fredar
Copy link

Fredar commented Jan 5, 2017

@bandit420 question is, do these 2 options break anything on cards with more than 2GB ram?

@bandit420
Copy link
Contributor

@Fredar

I have only 8GB cards, can test it later and give some feedback. The worst that can happen is a segmentation fault and the miner does not start.

@jakewarren81
Copy link
Contributor

I have an RX 470 8GB rig with six cards, and those five variables Fredar mentioned, are permanently set on it.. I've found no difference in hashing with and without the HEAP SIZE option set. So I just include it in the bat file i run when starting the MultiPoolMiner script.

Of course sgminer doesn't work at all with these cards on Windows 10 so I don't bother with it at the moment.

@Fredar
Copy link

Fredar commented Jan 5, 2017

I use them on all my rigs with mixed cards and I never had problems.

@aaronsace
Copy link
Member

Thanks guys, will be added in the next release.

@scrunchds
Copy link
Author

If you could also add this to eth and zec mining please would be great as well. Older 2gb cards don't work without it. The timeout /t 4 command ensures enough time to lock in the settings. This is due to the fact that once the gpu is accessed the settings are locked in.

@scrunchds
Copy link
Author

scrunchds commented Jan 5, 2017

By the way keep up the good work! It is good to see a good aglo switching program other than nice hash.

@buntakunfumoffu
Copy link

hi, your program is wonderful.
Maybe you can add an algorithm variable for sgminer ?

@aaronsace
Copy link
Member

Thanks 😀
Like a filter so it only mines certain algorithms?

@buntakunfumoffu
Copy link

No for additional command like : rawintensity, worksize, gpu-threads.
example : cryptonight.sgminergm.options = -rawintensity 512 -w 4 -g 2

@aaronsace
Copy link
Member

Ah, I see. Ye, people have issues adding custom commands. The only way to do it currently is it edit the files in the 'miners' folder but it's not very clear.

@MultiPoolMiner MultiPoolMiner locked and limited conversation to collaborators Jan 6, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants