Trouble running miniZ

If you are experiencing any trouble starting/running miniZ, please leave your comment in the comment box below, for support.

 

Recent Posts

Comments

  1. While attempting to convert my older Maxwell (2GB) rig from zcash to btg, i’m getting a segfault with miniZ:

    [115034.317747] miniZ[8379]: segfault at 0 ip 0000000000000000 sp 00007fd5077fdaf8 error 14 in nvidiactl[200000000+100000]
    [115048.229614] miniZ[8408]: segfault at 0 ip 0000000000000000 sp 00007f3b7e7fbaf8 error 14 in nvidiactl[200000000+100000]

    voodoo@m4a77d:~/miners/bins/miniZ_miner_v1.0b$ ./miniZ –url robertcnelson.m4a77d@btg.suprnova.cc:8866
    ************ miniZ v1.0b ************
    Number of CUDA devices found: 3
    Cannot read health status! (is libnvidia-ml.so installed?): Success
    miniZ,144,5[2]: Selecting GPU#2 GeForce GTX 750 Ti
    miniZ,144,5[2]: Selecting GPU#1 GeForce GTX 960
    miniZ,144,5[2]: Selecting GPU#0 GeForce GTX 960
    Algo: EQ[144,5]
    Pool#0: user[robertcnelson.m4a77d] server[btg.suprnova.cc] port[8866] ssl[no] pers[BgoldPoW]
    Telemetry: [http://localhost:20000]
    Temp. limit: [90°C]
    Segmentation fault

    The system is based of Debian Buster, 4.17.x kernel, with nvidia 396.45

    voodoo@m4a77d:~/miners/bins/miniZ_miner_v1.0b$ ./miniZ -ci
    ************ miniZ v1.0b ************
    Number of CUDA devices found: 3
    #0 GeForce GTX 960 | SM version: 5.2 | SM count: 8 | Memory: 1949
    #1 GeForce GTX 960 | SM version: 5.2 | SM count: 8 | Memory: 1949
    #2 GeForce GTX 750 Ti | SM version: 5.0 | SM count: 5 | Memory: 1962

    Regards,

    • miniZ says:

      Hi,

      thank you for leaving feedback.

      I is a bit late here but could you try the following and report back? We’ll try to get you and answer asap.

      1. Run nvidia-smi.

      2. Could you run miniZ with each que GPU separately? Or, at least separately for the GTX 750 Ti, and GTX 960?

      ./miniZ --url robertcnelson.m4a77d@btg.suprnova.cc:8866 --cuda-devices 0

      then

      ./miniZ --url robertcnelson.m4a77d@btg.suprnova.cc:8866 --cuda-devices 2

      and report if you get the same error?

      Although nvidia-ml doesn’t seem to be your main problem, it still needs to be solved.

      Thank you. Cheers.

  2. PARTS says:

    C:\Users\파츠짱\Downloads\miniZ_v1.0i_win-x64 (1)>miniZ.exe –url parts333.1080ti@asia.equihash-hub.miningpoolhub.com:20595
    ************ miniZ v1.0i++ ************
    Number of CUDA devices found: 13
    miniZ,144,5[1]: Selecting GPU#0 GeForce GTX 1080 Ti
    miniZ,144,5[1]: Selecting GPU#8 GeForce GTX 1080 Ti
    miniZ,144,5[1]: Selecting GPU#1 GeForce GTX 1080 Ti
    miniZ,144,5[1]: Selecting GPU#3 GeForce GTX 1080 Ti
    miniZ,144,5[1]: Selecting GPU#4 GeForce GTX 1080 Ti
    miniZ,144,5[1]: Selecting GPU#5 GeForce GTX 1080 Ti
    miniZ,144,5[1]: Selecting GPU#6 GeForce GTX 1080 Ti
    miniZ,144,5[1]: Selecting GPU#7 GeForce GTX 1080 Ti
    miniZ,144,5[1]: Selecting GPU#2 GeForce GTX 1080 Ti
    miniZ,144,5[1]: Selecting GPU#9 GeForce GTX 1080 Ti
    miniZ,144,5[1]: Selecting GPU#10 GeForce GTX 1080 Ti
    miniZ,144,5[1]: Selecting GPU#11 GeForce GTX 1080 Ti
    miniZ,144,5[1]: Selecting GPU#12 GeForce GTX 1080 Ti
    Algo: EQ[144,5]
    Pool#0: user[parts333.1080ti] server[asia.equihash-hub.miningpoolhub.com] port[20595] ssl[no] pers[BgoldPoW]
    Telemetry: [http://localhost:20000]
    Temp. limit: [90? <<cursor

    No more no progress

    • miniZ says:

      Hi PARTS, do you have enough memory available for those 13 GPUs? You can try to increase the pagefile and see if it helps. Also, can you run the miniZ with less GPUs? This may help understand what is happening.
      Thank you for the feedback.
      Cheers

  3. UselessGuru says:

    Hi there!

    Is there a ‘proper’ API available? Preferrably Ccminer compatible 🙂

    Thanks
    UG

    • miniZ says:

      Hi UselessGuru,
      Thanks for your message. We have some kind of “standard” json api, which is fully compatible with the EWBF miner.

      Example (Linux):
      curl --silent rig2:20000 -X '{"id":"0", "method":"getstat"}'

      returns:
      {"id":0, "method":"getstat", "error":null, "start_time":1544548916, "current_server":"zhash.eu.nicehash.com:3369", "server_latency":62.4, "available_servers":1, "server_status":1, "result":[{"gpuid":0, "cudaid":0, "busid":"busid", "name":"GeForce GTX 1050", "gpu_status":2, "solver":-1, "temperature":66, "gpu_fan_speed":35, "gpu_power_usage":75.0, "gpu_clock_core_max":1695, "gpu_clock_memory":3504, "speed_sps":16.1, "accepted_shares":23, "rejected_shares":0, "start_time":1544548916},{"gpuid":1, "cudaid":1, "busid":"busid", "name":"GeForce GTX 1050 Ti", "gpu_status":2, "solver":-1, "temperature":71, "gpu_fan_speed":38, "gpu_power_usage":75.0, "gpu_clock_core_max":1594, "gpu_clock_memory":3504, "speed_sps":18.6, "accepted_shares":22, "rejected_shares":0, "start_time":1544548916},{"gpuid":2, "cudaid":2, "busid":"busid", "name":"GeForce GTX 1070 Ti", "gpu_status":2, "solver":-1, "temperature":69, "gpu_fan_speed":49, "gpu_power_usage":172.1, "gpu_clock_core_max":1759, "gpu_clock_memory":3802, "speed_sps":59.0, "accepted_shares":69, "rejected_shares":0, "start_time":1544548916}]}

      Let us know if you need further help.

      Cheers!

  4. UselessGuru says:

    Thank you!

    Could you give me an example for PowerShell (I am a Windows guy)?
    I googled to no avail…

    • miniZ says:

      Hi UselessGuru,

      you can try this PowerShell script

      $server = "localhost"
      $port = 20000
      $Message = '{"id":"0", "method":"getstat"}'
      $Client = $Null
      $Client = New-Object System.Net.Sockets.TcpClient $server, $port
      $Writer = New-Object System.IO.StreamWriter $Client.GetStream()
      $Reader = New-Object System.IO.StreamReader $Client.GetStream()
      $client.SendTimeout = 10000
      $client.ReceiveTimeout = 10000
      $Writer.AutoFlush = $true
      $Writer.WriteLine($Message)
      $Request = $Reader.ReadLine()
      $Data = $Request | ConvertFrom-Json

      Write-Host $Data
      Write-Host $Data.result

      Returns:
      @{id=0; method=getstat; error=; start_time=1546129190; current_server=zhash.eu.nicehash.com:3369; server_latency=73.8; available_servers=-2; server_status=1; result=System.Object[]}
      @{gpuid=0; cudaid=0; busid=busid; name=GeForce GTX 1060 3GB; gpu_status=2; solver=-1; temperature=71; gpu_fan_speed=43; gpu_power_usage=117.2; gpu_clock_core_max=1771; gpu_clock_memory=3802; speed_sps=33.1; accepted_shares=66; rejected_shares=1; start_time=1546129190}

      Cheers

  5. UselessGuru says:

    Thank you – works like a charm!

    I’ve added you miner to MultiPoolMiner (www.multipoolminer.io)

  6. Matthew Wagner says:

    Keep getting cuda devices not found error. What am I doing wrong:

    Here is a copy of my .sh file. I am running Bionic Beaver Ubuntu:

    !bin/bash
    ./miniZ –url Ge31GZvBuMje6zhiKu6dNQaBbGPg9sTd4b.Miner2@us-btg.2miners.com:4040 –log –gpu-line 0 1 2 3 4

    • miniZ says:

      Hi Mathew,
      it seems you are missing the option that is required to specify the devices -cd or --cuda-devices (before the device(s) number). Try the following:

      !bin/bash
      ./miniZ --url Ge31GZvBuMje6zhiKu6dNQaBbGPg9sTd4b.Miner2@us-btg.2miners.com:4040 --log --gpu-line -cd 0 1 2 3 4

      For other usage information and examples check https://miniz.ch/usage/
      Let us know how it goes.
      Cheers

  7. Thank you, that fixed the original problem, awesome, but now the miner fires up and begins to mine but then hangs/freezes/crashes whatever term you prefer and I have to kill power and restart.

    Using assorted nvidia cards, eleven of them, 1070, 1070ti and 1080. Updated drivers to 410 cuda version 10.0

    Thanks again. Any help greatly appreciated!

    Matteo

    • miniZ says:

      Hi Matteo,
      we are sorry about this.

      On a first approach this may be related with the OC settings of the cards, if you did some OC. If so, do you have this issue with stock settings too?

      If the previous does not apply, could you let us know if the problem also exists with v1.0h? Maybe this can help us figure out what’s going on.

      Cheers

      • Hello miniZ,

        Yes, I run an OC script before I start the miner, should I not do that?

        I am now traveling for the week but feel free to communicate any other ideas. I really like your miniZ Miner from what I can see and am excited to give it a try.

        Thank you for your help, greatly appreciated

    Leave a Reply

    Your email address will not be published. Required fields are marked *