sgminer-dev / sgminer

Scrypt GPU miner
GNU General Public License v3.0
635 stars 825 forks source link

debug log options not documented #379

Open gotqn opened 10 years ago

gotqn commented 10 years ago

I have few questions about the information that is recorded in the log file with debug option specified:

  1. Is there a way to detect the exact model of the GPU? I have the following line:

    [13:12:39] GPU 0 assigned: iAdapterIndex:0 iPresent:1 strUDID:256:26520:4098:12289:5963 iBusNumber:1 iDeviceNumber:0 iDrvIndex:0 iFunctionNumber:0 iVendorID:4098 name:AMD Radeon R9 200 Series 

    I was not able to do so using the iVendorID.

  2. Is there a date change event? I see only DD:MM:SS time format in front of each record.
  3. What does Tahiti means?
  4. In the line below:

    [13:12:48] 46.0 C  F: 50%(2548RPM)  E: 1100MHz  M: 1500Mhz  V: 1.256V  A: 99%  P: 20%

    What do each of the following arguments mean:

    • RPM
    • P
  5. In the line below:

    [13:13:11] (5s):6.047M (avg):6.243Mh/s | A:1  R:0  HW:0  WU:0.019/m

    What do each of the following arguments mean:

    • (5s) - I guess this is average hash rate for last 5 seconds
    • (avg) - I guess this is average hash rate from sgminer start
    • A - I guess accepted. What's the measure?
    • R - I guess rejected. What's the measure?
    • HR - I guess hardware errors. What's the measure?
    • WU
  6. I am not able to understand the following events:

    [13:13:24] GPU 1 found something?
    [13:13:24] OCL NONCE 527534080 found in slot 0
    [13:13:24]  Proof:         0000005050eb6717542481b28a060c5313b066748e646b46c8a6eb7a6a9dfc33
    Target: 00000063ff9c0000000000000000000000000000000000000000000000000000
    TrgVal? YES (hash <= target)
    [13:13:24] Pushing Pool 0 work to stratum queue
    [13:13:24] Discarded cloned or rolled work
    [13:13:24] Submitting share 50eb6717 to Pool 0
    [13:13:24] Successfully submitted, adding to stratum_shares db
    [13:13:24] Pool 0 stratum share submission lag time 0 seconds
    [13:13:24] Discarded work
    [13:13:24] Selecting Pool 0 for work
    [13:13:24] Generated stratum merkle eafb14d222411af3f6252d63b3419a65cf1e85ce91400ce3eb5980c18041ef5c
    [13:13:24] Generated stratum header        0000000264c5c040197088de74c52ef40b4e832464e542bd42714883000e970700000000eafb14d222411af3f6252d63b3419a65cf1e85ce91400ce3eb5980c18041ef5c53dcb9bc1b14db9a00000000000       0008000000000000000000000000000000000000000000000000000000000000000
    [13:13:24] Work job_id 82fe nonce2 58 ntime 53dcb9bc
    [13:13:24] Generated target        00000000000000000000000000000000000000000000000000009cff63000000
    [13:13:24] Generated stratum work
    [13:13:24] Pushing work from Pool 0 to hash queue
    [13:13:24] Discarded work
    [13:13:24] Selecting Pool 0 for work

Also, I do not want to waste the time of anyone. If you could provide me links where I can read about this events and how the sgminer is working I will be grateful.