Closed alucard20724 closed 6 years ago
Keep this discussion in mind:
https://github.com/MultiPoolMiner/MultiPoolMiner/issues/1412
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 } }
@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.
@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?
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?
has anyone gotten that to work either?
You better post this in the miners developer forum.
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
@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
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 .
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.
SgminerK10n is supported.
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