Pages:
Author

Topic: [ANN] lolMiner-mnx, Mining MinexCoin(MNX) New version: v0.4 (July 22) - page 5. (Read 30771 times)

member
Activity: 433
Merit: 48
Hey guys, i have a strange problem, i have in my rig Ryzen 1800x, RAdeon r9 280 and GTX 1080TI
The miner shows strange activity, it disables r9 280, and gives some pnp errors and then trying to disable some HD 3400 and in the end it just starts GTX 1080ti, no matter what i do, i cant start mining on R9 and ryzen....

Ah... the problem is that the watchdog is not prepared for AMD / Nvidia mixed rigs. Best is to comment out the "resetGPUs" line at the botom.of the watchdog. Next the miner atm only runs on Nvidia or AMD but not both at the same time. So you have to create two config files, one with --platform 0 and one with  --platform 1. Then start two copiesof the miner Smiley

I am currently testing your miner, it's showing as connected to mining pool: eu.minexpool.nl,  giving average speed and getting new jobs. However, I am not seeing my worker on the pool workers list, what could be the prob?

So it is connected and shows "submitting share" / "share accepted"? Then it is indeed connected to pool. What may be is that worker name and or used payout addr are not valid - at the moment the check for this is disabled on pool side (so one always got a acceptance of worker msg from pool) because there was a simple way of ddos on that routine bringing down the pool... then you will mine but not seeing anything in pool overview.


As for those searching for 0.13: write me a pm and I could send you something. Although I wonder why, because current 0.3x versions are both - faster and more stable. Just for comparison: at the moment all lolMiner together do 140Msol +... back then it was 2 Msol ... and that for good reason (the software was plainly not mature in any ways ^^)
sr. member
Activity: 896
Merit: 289
Twitter: @BTY_11073
Where can I download lolminer-mnx v 0.1 or 0.11 ?
Why do you need to download the old version?

Older versions of miners are inefficient and unstable.
However, I have a v0.13 miner(Windows version). Shall I upload?
newbie
Activity: 12
Merit: 0
I must be doing something wrong with the GTX 1080 because I'm only putting out 16.5ksols not 19k as stated here. (V.34)
Work batch is set on HIGH and i've tried optimization on STD and OFF, both have returned same hashrates.
Any GTX 1080 miners willing to share their config if you're getting much more than 16.5ksols?

And I feel like a noobie dum dum. A slightly better overclocking is doing the trick. Got 'er up to 18ksols now.
newbie
Activity: 12
Merit: 0
Hey guys, i have a strange problem, i have in my rig Ryzen 1800x, RAdeon r9 280 and GTX 1080TI
The miner shows strange activity, it disables r9 280, and gives some pnp errors and then trying to disable some HD 3400 and in the end it just starts GTX 1080ti, no matter what i do, i cant start mining on R9 and ryzen....

For 19k+ you need windows 7 64bit + overclock, i have core +150 memory + 800, power at 80%

i get 19,4k. If i use windows 10 i get only 16-17k with same settings

Lol, I think you mean't to reply to me. I am running on Win10 +50 core and +250 memory, 85% power (It is a Strix model so I think there is some factory overclock too). That there is my problem. I have a win7 system but curently lacking a decent PSU for it. So I'll give it a try after I get a new PSU. Thanks.

As far as your problem goes, from my experience I've had to run two separate miners for AMD and NVidia cards. For nvidia platform 0 device allgpu, for amd platform 1 device 0.
newbie
Activity: 1
Merit: 0
I am currently testing your miner, it's showing as connected to mining pool: eu.minexpool.nl,  giving average speed and getting new jobs. However, I am not seeing my worker on the pool workers list, what could be the prob?
newbie
Activity: 88
Merit: 0
Hey guys, i have a strange problem, i have in my rig Ryzen 1800x, RAdeon r9 280 and GTX 1080TI
The miner shows strange activity, it disables r9 280, and gives some pnp errors and then trying to disable some HD 3400 and in the end it just starts GTX 1080ti, no matter what i do, i cant start mining on R9 and ryzen....

For 19k+ you need windows 7 64bit + overclock, i have core +150 memory + 800, power at 80%

i get 19,4k. If i use windows 10 i get only 16-17k with same settings
newbie
Activity: 88
Merit: 0
Hey guys, i have a strange problem, i have in my rig Ryzen 1800x, RAdeon r9 280 and GTX 1080TI
The miner shows strange activity, it disables r9 280, and gives some pnp errors and then trying to disable some HD 3400 and in the end it just starts GTX 1080ti, no matter what i do, i cant start mining on R9 and ryzen....
newbie
Activity: 12
Merit: 0
I must be doing something wrong with the GTX 1080 because I'm only putting out 16.5ksols not 19k as stated here. (V.34)
Work batch is set on HIGH and i've tried optimization on STD and OFF, both have returned same hashrates.
Any GTX 1080 miners willing to share their config if you're getting much more than 16.5ksols?
member
Activity: 74
Merit: 10
Is there a way to mine at a fixed difficulty on the Forgetop pool? I have tried "WALLET_ADDRESS.1000" and "-pass d=1000" without success. My rigs (v0.31) are unstable without fixed difficulty, instances crash randomly. Fixed difficulty setting on the other hand virtually never crashes any instance.
sr. member
Activity: 535
Merit: 251
Republia - New Blockchain Technology
У мeня нeкиx виpycoв Кacпepcкий нe oбнapyжил,cкopocть нopмaльнaя нa 2 pигax,нaдeюcь paзpaбoтчики eщё yвeличaт cкopocть!)
newbie
Activity: 2
Merit: 0
That is a good question - I do not know, but lets try out switching off what has changed Wink . It could be that the card has trouble with the double buffering. Try what happens when you switch that off. Also would like to know what happens with --optim STD its then still slower.

Hi Lolliedieb, thanks for reply

Here they are :

-disable double buffer and optim OFF
https://imgur.com/a/Sx3gLFL


-disable double buffer and optim STD
https://imgur.com/a/xGwMbbL


-default v0.34 setting
https://imgur.com/a/rOT7z


Look like v0.31 still better hash rate to me, but I am concern about bugs fix or new feature like "New internal stratum behavior" which applied to newer version.


*btw, sorry to ask this noobs thing :
how to show images directly to this post?


Thank you
member
Activity: 433
Merit: 48
That is a good question - I do not know, but lets try out switching off what has changed Wink . It could be that the card has trouble with the double buffering. Try what happens when you switch that off. Also would like to know what happens with --optim STD its then still slower.
newbie
Activity: 2
Merit: 0
To lolMiner-mnx dev,

Mining with only one GPU, unchanged nvidia 1060 6GB GPU setting, running on windows 7 x64 :

and with almost no changed lolMiner-mnx miner setting on same pool,
(on v0.34 I just execute "run_miner_classic.bat"),

why hash rate different so much between v0.31 and v0.34?

https://imgur.com/a/bFudiC3

the setting :

https://imgur.com/a/RKD3pAL


Can you make hash performance back again like v0.31 or maybe better on next version?

Thank you
newbie
Activity: 11
Merit: 0
https://drive.google.com/uc?id=1uyXcVpA6YGU69-rB9vJLBnbZCS_Ea60M&export=download

Sorry, this file is infected with a virus

Only the owner is allowed to download infected files.



Not just me then haha Smiley

You can upload lolMiner-mnx 0.34 beta on MEGA.NZ to solve the problem for many downloaders. Why only google drive is option for download ?
newbie
Activity: 9
Merit: 0
Where can I download lolminer-mnx v 0.1 or 0.11 ?
newbie
Activity: 84
Merit: 0

It looks like you are using older version of the Windows and consequently older version of Power Shell. Watchdog uses some functionality not supported on older versions of PowerShell. Check this link about how to upgrade your version of PowerShell, choose 5.1 version:
https://docs.microsoft.com/en-us/powershell/scripting/setup/installing-windows-powershell?view=powershell-6
newbie
Activity: 6
Merit: 0
https://drive.google.com/uc?id=1uyXcVpA6YGU69-rB9vJLBnbZCS_Ea60M&export=download

Sorry, this file is infected with a virus

Only the owner is allowed to download infected files.



Not just me then haha Smiley
member
Activity: 433
Merit: 48
Hmm

It may be that this is due to the watchdog that promts a request for admin rights...
Wait a few minutes, I will upload a package without the watchdog and release the watchdog sources here  - hope that solves the problem Smiley


Edit:
Here it is: lolMiner-mnx for Windows 64 without watchdog
MD5 Checksum of this file: 4381c6502dfbd6d0143faf56aad5abf4

I just checked it and this one is not detected virus by google drive.
The only thing missing here are two files that are open source anyway, so here is the source for those who want to have a look and want to put them to their system, too:

run_miner.cmd
Code:
timeout /t 1
@echo off

setx GPU_FORCE_64BIT_PTR 1
setx GPU_MAX_HEAP_SIZE 100
setx GPU_USE_SYNC_OBJECTS 1
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_SINGLE_ALLOC_PERCENT 100
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Start-Process PowerShell -ArgumentList '-NoProfile -ExecutionPolicy Bypass -File ""%~DP0watchdog-lolminer-v0.34.ps1""' -Verb runAs}"

watchdog-lolminer-v0.34.ps1
Code:
# watchdog for lolMiner-mnx
# version: 0.34
# Based on work of ninjam

############################## Modify the following line to set your config file name ########################################
$global:paramsList = @('--use-config','example_config.cfg')
#@('--use-config','example_config.cfg')
##############################################################################################################################

$logfilename = "miner.log"
#$fullpath = "$PSScriptRoot\$filename"
$logpath = "$PSScriptRoot\$logfilename"
$oldLogsFolderPath = Join-Path -path $PSScriptRoot -ChildPath oldlogs
$global:minername = "lolMiner-mnx.exe"
$global:minerPath = Join-Path -path $PSScriptRoot -ChildPath $minername

$global:maxRestarts=10
$global:allowReboot=$false
$global:allowReset=$false
$global:allowScreenshot=$false

function screenshot {
    if ($allowScreenshot)
    {
    Add-Type -AssemblyName System.Windows.Forms;
    Add-type -AssemblyName System.Drawing;

    $d = Get-Date
    [string]$timestamp=$d.Month.tostring() + "." + $d.Day.ToString() + "." + $d.hour +"." +$d.Minute
   
    $scrDir = Join-Path $PSScriptRoot -ChildPath "scrns"
   

    [string]$FileNamePattern = 'screenshot_{0}.png'
    $fileName = $FileNamePattern -f (Get-Date).ToString('MM.dd.HH.mm')
    $path = Join-Path $scrDir -ChildPath $fileName
 
    $b = New-Object System.Drawing.Bitmap([System.Windows.Forms.Screen]::PrimaryScreen.Bounds.Width, [System.Windows.Forms.Screen]::PrimaryScreen.Bounds.Height)
    $g = [System.Drawing.Graphics]::FromImage($b)
    $g.CopyFromScreen((New-Object System.Drawing.Point(0,0)), (New-Object System.Drawing.Point(0,0)), $b.Size)
    $g.Dispose()

    try {
        $b.Save($path)
    } catch {
        New-Item -Path $scrDir -ItemType Directory
        $b.Save($path)
    }
    write-host -ForegroundColor Green "$fileName saved"
    }
}

function clearJobs {
    Get-Job | Stop-Job
    Get-Job | Remove-Job
}

function RebootRig {
    Get-Process *miner* | Stop-Process
    clearJobs
    Restart-Computer -Force
}

function pause ($message)
{
    # Check if running Powershell ISE
    if ($psISE)
    {
        Add-Type -AssemblyName System.Windows.Forms
        [System.Windows.Forms.MessageBox]::Show("$message")
    }
    else
    {
        Write-Host "$message" -ForegroundColor Yellow
        $x = $host.ui.RawUI.ReadKey("NoEcho,IncludeKeyDown")
    }
}


function resetGpus {
    $gpus = Get-PnpDevice -Class Display
    foreach($g in $gpus) {
        $gname=$g.FriendlyName
        if ($gname -notmatch "Intel") {
            $g | Disable-PnpDevice -Confirm:$false
            write-host -ForegroundColor Red "$gname Disabled"
            sleep -Milliseconds 200
            $g | Enable-PnpDevice -Confirm:$false
            write-host -ForegroundColor Green "$gname Enabled"
            sleep -Milliseconds 200
        } else {
            Write-host -ForegroundColor Yellow "skipping $gname"
            sleep -Milliseconds 200
        }
    }
}

function SaveOldLog {
    Write-host "Saving old log..."
    $d = Get-Date
        [string]$timestamp=$d.Month.tostring() + "." + $d.Day.ToString() + "." + $d.hour +"." +$d.Minute
    try {
        Copy-Item -Path $logpath -Destination (Join-Path -Path $oldLogsFolderPath -ChildPath "$timestamp.log") -ErrorAction SilentlyContinue
    } catch {
        New-Item -Path $oldLogsFolderPath -ItemType Directory
        Copy-Item -Path $logpath -Destination (Join-Path -Path $oldLogsFolderPath -ChildPath "$timestamp.log")
    }
}

function killMiner {
    try {
        Get-Process *miner* -ErrorAction SilentlyContinue | Stop-Process -Force -ErrorAction SilentlyContinue
        Write-Host -ForegroundColor Green "miner not running"
    } catch {
        write-host -ForegroundColor Red "Error Cannot kill the miner process"
    }
}

function startMiner
{
    Write-host -ForegroundColor Yellow -BackgroundColor Black "Starting miner..."
     try {
        Test-Path $minerPath
        Start-Process -FilePath $minerPath -RedirectStandardOutput $logpath -WindowStyle Minimized -ArgumentList $paramsList -WorkingDirectory $PSScriptRoot
        Write-Host -ForegroundColor Green "miner started..."
    } catch {
        write-host -ForegroundColor Red "Error, minner not found, check your config!"
        Pause "Press any key to exit script"
        Exit
    }
}

function noDeviceError {
    "$time $line Critical error, GPU missing, check your PCIe extenders and cables. Rebooting rig in 10 second" |
        Out-File -FilePath "$PSScriptRoot\watchdog.log" -Append |
        Write-Host -ForegroundColor Red     
    screenshot
    sleep 10
if ($allowReboot)
    {
        RebootRig
} else {
Write-Host -fore Red "Reboot disabled in watchdog, exiting watchdog."
killMiner
        clearJobs
        Pause "Press any key to exit watchdog"
Exit
}
}

function noAuthorizedError ($line) {
                $t = Get-Date
                "$t $line Error: Worker address not correct or pool offline. Closing Watchdog." |
                    Tee-Object -FilePath "$PSScriptRoot\watchdog.log" -Append |
                    Write-Host -ForegroundColor Red
                screenshot
        killMiner
                clearJobs
                Pause "Press any key to exit script"
                Exit
}

function watchdog
{
    $latest = start-job -ArgumentList $logpath -ScriptBlock {
            param($file)
            Get-Content $file -Wait -tail 1
    }

    $zeroSol = " 0 sol"
    $zeroSol2 = " 0.0 sol"
    $zeroSol3 = " 0.00 sol"
    $noDevice = "Error: There is no device"
    $noAuthorize = "Authorization problem on all configured pools"
    $maxEmptyLines=2400; #  120 sec
    $waitForJob = 50 # ms
    $emptyLines=0;
    $firstTime = $true;
    $lineNumber = 0;
    while ($true)
    {
        if($firstTime) {
            Start-Sleep 2
            $line = Get-Content -Path $logpath;
            $firstTime = $false;
            $line
            if($line -match $noDevice) { noDeviceError }
            if($line -match $noAuthorize) { noAuthorizedError $line }     
        }
         
        $line = Receive-Job -Job $latest
        Start-Sleep -Milliseconds $waitForJob

        if($line.Length -gt 0)
        {
            $emptyLines = 0; # reset counter, miner not stuck
            $lineNumber++;
            $time = get-date;

        if($line -match $noDevice){ noDeviceError }
        if($line -match $noAuthorize) { noAuthorizedError }             

        if($line -match $zeroSol) # zero sol detected
        {
            Write-host -ForegroundColor Red -BackgroundColor White $line
            Write-Host -ForegroundColor Red -BackgroundColor black "ERROR 0 HASH! at line $lineNumber `nRestarting miner in 10 seconds!";
               
            "$time 0 sol/s detected, restarting miner..." | Out-File -FilePath "$PSScriptRoot\watchdog.log" -Append
            screenshot
            Start-Sleep 10
            return;
        }

if($line -match $zeroSol2) # zero sol detected
        {
            Write-host -ForegroundColor Red -BackgroundColor White $line
            Write-Host -ForegroundColor Red -BackgroundColor black "ERROR 0 HASH! at line $lineNumber `nRestarting miner in 10 seconds!";
               
            "$time 0 sol/s detected, restarting miner..." | Out-File -FilePath "$PSScriptRoot\watchdog.log" -Append
            screenshot
            Start-Sleep 10
            return;
        }

if($line -match $zeroSol3) # zero sol detected
        {
            Write-host -ForegroundColor Red -BackgroundColor White $line
            Write-Host -ForegroundColor Red -BackgroundColor black "ERROR 0 HASH! at line $lineNumber `nRestarting miner in 10 seconds!";
               
            "$time 0 sol/s detected, restarting miner..." | Out-File -FilePath "$PSScriptRoot\watchdog.log" -Append
            screenshot
            Start-Sleep 10
            return;
        }

         
        $line # no error detected, display line
           
        } else { # line is empty
            $emptyLines++;
            if ($emptyLines -gt $maxEmptyLines) { # miner stuck
                $time = get-date;
                "$time Miner stuck, restarting miner..." | Tee-Object -FilePath "$PSScriptRoot\watchdog.log" -Append | write-host -ForegroundColor Red
                screenshot
                Start-Sleep 5
                return;
            }
        } # else

    } # while

}
###### MAIN #######

while($restatedTimes -lt $maxRestarts) {
    killMiner
    SaveOldLog
    if ($allowReset) {
        resetGpus
    }
    startMiner
    clearJobs
    watchdog
}

if ($allowReboot) {
Write-Host -ForegroundColor Red "miner restarted $maxRestarts times, Restarting rig in 10 second"
"miner restarted $maxRestarts times, Restarting rig..." | Out-File -FilePath "$PSScriptRoot\watchdog.log" -Append
screenshot
sleep 10
RebootRig
} else {
    Write-host -ForegroundColor Red "miner restarted $maxRestarts times. Miner is not running!"
    Pause "Press any key to close watchdog"
}

######## END #####

The watchdog is the same as of 0.34, but with the GPU reset routine that caused trouble with OC cards deactivated by default. If you have many problems with GPUs not recovering from 0 sol/s then modify line 19 to $global:allowReset=$true.

I hope this fixes the problem.
Sorry for having so, but on the other hand I am glad that the files on google docs are tested. Well this is a false positive but I can understand why and being careful is better then catching a virus Smiley
sr. member
Activity: 504
Merit: 269
https://drive.google.com/uc?id=1uyXcVpA6YGU69-rB9vJLBnbZCS_Ea60M&export=download

Sorry, this file is infected with a virus

Only the owner is allowed to download infected files.
newbie
Activity: 100
Merit: 0
the link on first page google drive wont let me download it saying because it has virus i disabled my av still same result, im tryng to download the windows version
Pages:
Jump to: