UnamSanctam / SilentXMRMiner

A Silent (Hidden) Monero (XMR) Miner Builder
MIT License
561 stars 162 forks source link

Issue #192

Closed Milk8 closed 3 years ago

Milk8 commented 3 years ago

Hey its me again we spoke yesterday, I have gotten everything working and everything seems to be as they should, in nanopool the minimum payout is like 0.1 eth or 1 xmr and I want to lower that, to lower it I need a "password" in the settings tab, what would that password be or how do I set it?

UnamSanctam commented 3 years ago

GPU mining works a bit differently, it uses the required amount of GPU Memory (VRAM) to mine the coin and then uses the memory clock to calculate everything so there isn't a percentage per say. I am planning on adding a sleep between cycles in the next version to make it be able to draw less power but it's not really the same as changing CPU mining.

If they run it multiple times it will just overwrite the old one and run that one (after restart, before restart it will use the old one since it doesn't close it down).

Milk8 commented 3 years ago

Alright so now going with the test build to get the password to pool thing, eth miner is just not working, gpu is being used like 2% in task manger and i dont have idle or stealth on. (This is with the new build for the password thing, before it seemed to be working). For xmr the person has came up as a user on the panel with the test name I put. But when I try entering the email as the password just says incorrect

UnamSanctam commented 3 years ago

Don't know what you're checking in Task Manager but you can't see if it's mining or not by looking at GPU load since it doesn't nor should it use any. To see if it's mining or not use something like Process Hacker and double click the mining process and check the GPU Memory, if it's using as much as the DAG size is (Ethereum around 4.2 GB) then it's mining correctly.

What rating does the XMR one have?

Milk8 commented 3 years ago

XMR has a rating of 32 rn, ah I thought I could see it in task manager usage, ill look in process hacker now

Milk8 commented 3 years ago

I have svchost as the eth one but theres like 20 of them obviously, how should I find the miner within them?

UnamSanctam commented 3 years ago

Search for --pool in the top right

Milk8 commented 3 years ago

that gave no process

Milk8 commented 3 years ago

ive ran several build files several times

UnamSanctam commented 3 years ago

Well searching for --pool should bring up all the ETH miners, make sure that all settings are correct since the miner will close down if they aren't.

Milk8 commented 3 years ago

Is this all right? https://imgur.com/S0KU1tr nothing else is chosen other than this

UnamSanctam commented 3 years ago

Hmm yeah that looks right, if you search for --pool and have Process Hacker open while you start the miner you should see if it pops up quickly in the list or not. What GPU did you have again?

Milk8 commented 3 years ago

On there its a Radeon RX 580

UnamSanctam commented 3 years ago

Hmm, there have been a report of there being something different in the new AMD drivers causing it to not find OpenCL, maybe that's why it closes down.

Milk8 commented 3 years ago

ill try updating them

Milk8 commented 3 years ago

that did nothing

UnamSanctam commented 3 years ago

Yeah I think maybe the new updates are what makes it stop working. I don't have any AMD but people have told me that it's working for them but maybe they have an old version, I also believe it might be that they had an old driver version before and then updated it so that it works.

Can you try these instructions that I found in another issue on another repo if you have the time and will to do it?

"HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenCL\Vendors".

Solution for AMD Radeon GPUs not showing up:

Go to C:\Windows\System32\ and search for amdocl64.dll for OpenCL 2.1, x86_64. (There are also amdocl.dll for OpenCL 2.1, x86; amdocl12cl.dll for OpenCL 1.2, x86; and amdocl12cl64.dll for OpenCL 1.2, x86_64.)

Look for the most recent file, right-click, click "Properties," and then select and copy the file's Location (which is the path to its directory). (Mine was in a subdirectory of C:\Windows\System32\DriverStore\FileRepository)

Open regedit, aka the Registry Editor, (e.g. via Windows key+r, and entering regedit)

Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenCL\Vendors

Create a new DWORD with the Name being the path from step 2 with \amdocl64.dll at the end (or whichever dll version you need or want), and leave the key's data at 0. My key's Name, for example, is C:\Windows\System32\DriverStore\FileRepository\u0336248.inf_amd64_107cc52c701c83d0\B336252\amdocl64.dll

should now see AMD GPUs!

Since if that works it means I have to change the dependencies or something, not sure.

Milk8 commented 3 years ago

"Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenCL\Vendors" After khronos theres no open cl

Milk8 commented 3 years ago

Like after I click the drop down on khronos it only shows vulkan and no openCL

UnamSanctam commented 3 years ago

Yes you would have to create it, seems like that is the problem then. Seems like the new drivers don't create that key anymore. That key is what it checks to see if OpenCL exists.

Milk8 commented 3 years ago

So make a new file called OpenCL?

Milk8 commented 3 years ago

And should it be a key type?

UnamSanctam commented 3 years ago

Yes in regedit right-click the key on the left side and add a new key (the one at the top).

Milk8 commented 3 years ago

Alright, should I create the vendors folder too or no?

UnamSanctam commented 3 years ago

Yes exactly and then inside that folder create a DWORD in the right side box.

Milk8 commented 3 years ago

Vendors should be a key I assume?

UnamSanctam commented 3 years ago

Yes

Milk8 commented 3 years ago

And wym by the right side box? Just in the folder?

UnamSanctam commented 3 years ago

Yeah exactly

Milk8 commented 3 years ago

Its not letting me change the name on it just dosent do anything if I type into the name box

Milk8 commented 3 years ago

nvm I got it

Milk8 commented 3 years ago

Alright I got that done. Start the miner now?

UnamSanctam commented 3 years ago

Yeah if you added the .dll to a DWORD key and everything then that's all.

Milk8 commented 3 years ago

I ran the eth miner, nothing still comes up for --pool in proc manager

UnamSanctam commented 3 years ago

Can you try and download https://github.com/ethereum-mining/ethminer/releases and try to start it and see if that works for you?

Milk8 commented 3 years ago

Which cuda version should I download? Theres 3 for amd windows or does it not matter

Milk8 commented 3 years ago

I downloaded 10.0 and ran the exe inside

UnamSanctam commented 3 years ago

Try the latest one but it shouldn't matter.

Milk8 commented 3 years ago

It opens for a split second then insta closes

UnamSanctam commented 3 years ago

Create a .bat file in the same folder containing

ethminer --pool stratum://YOUR_WALLET_ADDRESS@eth-eu2.nanopool.org:9999
pause

And try running it.

Milk8 commented 3 years ago

So "ethminer --pool stratum://0x0e5dA@eth-eu2.nanopool.org:9999 pause" Then that as bat file? the 0x0 meaning my address

Milk8 commented 3 years ago

alright i did that

Milk8 commented 3 years ago

Ok its saying a bunch of stuff

Milk8 commented 3 years ago

ethminer 0.18.0 Build: windows/release/msvc

CUDA Error : No CUDA driver found i 09:48:40 main Configured pool eth-eu2.nanopool.org:9999 i 09:48:40 Selected pool eth-eu2.nanopool.org:9999 X 09:48:41 Error 51.15.55.162:9999 [ The I/O operation has been aborted because of either a thread exit or an application request ] i 09:48:41 Connection remotely closed by eth-eu2.nanopool.org i 09:48:41 Stratum mode : EthereumStratum/1.0.0 (NiceHash) i 09:48:41 Established connection to eth-eu2.nanopool.org [151.80.144.188:9999] i 09:48:41 Spinning up miners... cl 09:48:41 cl-0 Using PciId : 29:00.0 Ellesmere OpenCL 2.0 AMD-APP (3240.6) Memory : 4.00 GB i 09:48:41 Extranonce set to 0f43 i 09:48:41 Authorized worker 0x0e5dA4082ad1783D1ff9b92224C71b12dE33732B i 09:48:41 Epoch : 409 Difficulty : 10.00 Gh i 09:48:41 Job: c223da3f... eth-eu2.nanopool.org [151.80.144.188:9999] i 09:48:47 Job: c2eff60d... eth-eu2.nanopool.org [151.80.144.188:9999] cl 09:48:47 cl-0 Epoch 409 requires 4.26 GB memory. Only 4.00 GB available on device. m 09:48:47 0:00 A0 0.00 h - cl0 0.00 i 09:49:01 Job: 31c9cd44... eth-eu2.nanopool.org [151.80.144.188:9999] i 09:49:01 Job: 6499bfa9... eth-eu2.nanopool.org [151.80.144.188:9999] m 09:49:01 0:00 A0 0.00 h - cl0 0.00 i 09:49:01 Job: 0c29be79... eth-eu2.nanopool.org [151.80.144.188:9999]

UnamSanctam commented 3 years ago

Oh ok, that means that the miner should be working.

Milk8 commented 3 years ago

This dosent mean anything? "Epoch 409 requires 4.26 GB memory. Only 4.00 GB available on device."

UnamSanctam commented 3 years ago

Oh, do you only have a 4GB card?

UnamSanctam commented 3 years ago

I thought the Radeon RX 580 only existed as a 6GB and 8GB card but it seems like 4GB ones exist as well.

Milk8 commented 3 years ago

I guess so yea and they exist, thats the problem then?

UnamSanctam commented 3 years ago

Yeah, I still think you should be able to find it in Process Hacker but it won't be able to mine Ethereum at least.

Milk8 commented 3 years ago

alr and what about the xmr password issue? it keeps saying incorrect while im using the same one