MultiPoolMiner / MultiPoolMiner

Monitors crypto mining pools in real-time in order to find the most profitable for your machine. Controls any miner that is available via command line.
GNU General Public License v3.0
899 stars 342 forks source link

New X16r miner for AMD #1414

Closed alucard20724 closed 6 years ago

alucard20724 commented 6 years ago

I came across a new x16r miner for amd gpus. http://cryptomining-blog.com/9515-raven-rvn-x16r-miner-now-available-for-amd-gpu-miners-as-well/

I won't have time for the next couple of days to work on a script to work with mpm. So if someone else gets to it before i do. cheers.

https://github.com/aceneun/sgminer-gm-x16r/releases

UselessGuru commented 6 years ago

Keep this discussion in mind:

https://github.com/MultiPoolMiner/MultiPoolMiner/issues/1412

alucard20724 commented 6 years ago

Here's the code i have. Currently doesn't work with mpm. since mpm hides mining windows now, it's difficult to do real time debugging with mpm.

so... have at it.

using module ..\Include.psm1

$Path = ".\Bin\X16r-AMD\sgminer.exe" $Uri = "https://github.com/aceneun/sgminer-gm-x16r/releases/download/5.5.5/sgminer-x16r.zip"

$Commands = [PSCustomObject]@{

"x16r" = "" #X16r

}

$Name = Get-Item $MyInvocation.MyCommand.Path | Select-Object -ExpandProperty BaseName

$Commands | Get-Member -MemberType NoteProperty | Select-Object -ExpandProperty Name | Where-Object {$Pools.(Get-Algorithm $).Protocol -eq "stratum+tcp" <#temp fix#>} | ForEach-Object { [PSCustomObject]@{ Type = "AMD" Path = $Path Arguments = "--api-listen -k $ -o $($Pools.(Get-Algorithm $).Protocol)://$($Pools.(Get-Algorithm $).Host):$($Pools.(Get-Algorithm $).Port) -u $($Pools.(Get-Algorithm $).User) -p $($Pools.(Get-Algorithm $).Pass)$($Commands.$) --gpu-platform $([array]::IndexOf(([OpenCl.Platform]::GetPlatformIDs() | Select-Object -ExpandProperty Vendor), 'Advanced Micro Devices, Inc.'))" HashRates = [PSCustomObject]@{(Get-Algorithm $) = $Stats."$($Name)$(Get-Algorithm $_)_HashRate".Week} API = "Xgminer" Port = 4028 URI = $Uri } }

richardg867 commented 6 years ago

@alucard20724 I added the miner myself as well, but it doesn't work for me even outside MPM (silent amdocl.dll crash just like mkxminer), before jumping to MPM check if it works at all on your end.

alucard20724 commented 6 years ago

@richardg867 i'm not getting an amdocl.dll crash. I'm also running drivers 18.2.2 in compute mode. 18.2.3 gave me a hash rate drop across most algo, so i stayed with 18.2.2. what drivers are you running?

richardg867 commented 6 years ago

18.2.3 in compute mode, Windows 10. Hashrates look fine for me.

The crash is silent, the miner exits without any error, although Event Viewer reports that it crashed on amdocl.dll. Same happens with mkxminer for me as well - has anyone gotten that to work either?

UselessGuru commented 6 years ago

has anyone gotten that to work either?

You better post this in the miners developer forum.

alucard20724 commented 6 years ago

ok... found an x16r that works for AMD https://github.com/brian112358/sgminer-x16r/releases

and the following works sgminer.exe -k x16r -o stratum+tcp://x16r.mine.zergpool.com:3636 -u youcanthavemyaddress -p c=BTC -I 19

angelics commented 6 years ago

@richardg867 i might b wrong. but it worked on me here goto ur startbat. find set GPU_FORCE_64BIT_PTR=1 change to set GPU_FORCE_64BIT_PTR=0 took me a noon to freaking found out the problem with sgminer + MPM + silent crash

richardg867 commented 6 years ago

I eventually figured that out as well. It's also part of the problem with mkxminer crashing (its batch files are set to 0 when they should be 1 but it still crashes even though MPM sets 1). This needs a MPM-level change to individually set the environment variables for each miner.

On Thu, May 10, 2018, 07:31 angelics notifications@github.com wrote:

@richardg867 https://github.com/richardg867 i might b wrong. but it worked on me here goto ur startbat. find set GPU_FORCE_64BIT_PTR=1 change to set GPU_FORCE_64BIT_PTR=0 took me a noon to freaking found out the problem with sgminer + MPM + silent crash

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/MultiPoolMiner/MultiPoolMiner/issues/1414#issuecomment-388016689, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhAyh9GX9gHiAWHe3GN51-btoKDhQ17ks5txBbtgaJpZM4Sgl6X .

alucard20724 commented 6 years ago

there are two more AMD x16r/s miners out there. SgminerAver and SgminerK10n. I'm not running mpm miner anymore, but i think people that still are should know about these added miners. i think @brian112358 wrote the Avermore miner, which is the person that wrote the sgminer-x16r release.

UselessGuru commented 6 years ago

SgminerK10n is supported.