Lolliedieb / lolMiner-releases

2.54k stars 577 forks source link

AMD HD 7950 - cannot mine EQ-144,5 & EQ-210,9 #402

Open PSLLSP opened 3 years ago

PSLLSP commented 3 years ago

AMD HD 7950 was great GPU few years ago. I would replace it with some better GPU but situation on market is not good and I try to find how to mine with "Tahiti" card.

I run HiveOS and I can mine with lolminer on my HD 7950. It can mine ZELcash (EQ 125,4), about 12 H/s, it can run stable for days....

I tried to mine other coins but lolminer crashes when I try to mine coins with other algo. (HiveOS reboots PC after one or two minutes).

BTG & BTCZ (EQ 144,5) - cannot mine :-( AION (EQ 210,9) - cannot mine :-(

This is strange. HD7950 has 3GB of RAM, that is enough for BTG, BTCZ & AION but I cannot mine these, PC reboots. It looks like there is some bug in algo implementation EQ 144,5 and EQ 210,9 for HD7950... EQ 125,4 (ZEL) works good. I tried to mine with GMINER but that miner doesn't support such old card (it reports it doesn't have kernel for this chip). I have to use lolminer.

This is what I see in console of HiveOS when I try to mine AION:

Miner:   lolminer
Version: 1.24a
...
|           Made by Lolliedieb, February 2021             |
+---------------------------------------------------------+

Setup Miner... 
Device 0: 
    Name:    AMD Radeon HD 7900 Series 
    Address: 2:0 
    Vendor:  Advanced Micro Devices (AMD)
    Memory:  3041 MByte (3023 MByte free) 
...
New job received: 00005756
New job received: 00005757
New job received: 00005758
Average speed (10s): 0.0 sol/s
New job received: 00005759
New job received: 0000575a
New job received: 0000575b
New job received: 0000575c
New job received: 0000575d
New job received: 0000575e
New job received: 0000575f
New job received: 00005760
---------------------------------------------
Statistics (09:27:01); Mining: Equihash 210/9
Connected to: cluster.aionpool.tech:2222
Uptime: 0h 1m 8s

                         GPU 0  Total
Speed (sol/s):            0.0     0.0
Best Share:               0.0     0.0
Shares (A/R):             0/0     0/0
Power (W):               n.a.
Efficiency (sol/s/W):    n.a.    n.a.
Temp (deg C):              52
Fan Speed (%):             49
---------------------------------------------
Average speed (10s): 0.0 sol/s

Device 0 detected as crashed. Closing miner and trying to call external script: ./emergency.sh (--watchdog script)
> Sending with payload "danger": lolminer reboot{"method":"message","jsonrpc":"2.0","id":0,"params":{"rig_id":"XXXXXXX","passwd":"*****","type":"danger","data":"lolminer reboot","payload":"[2268 bytes]"}}
> Preparing for reboot
> Unmounting disks

HiveOS reports this: Kernel version: 5.4.80-hiveos AMD driver: OpenCL 20.40 GPU: R9 280 × 1

PSLLSP commented 3 years ago

clinfo output:

Number of platforms:                             1
  Platform Profile:                              FULL_PROFILE
  Platform Version:                              OpenCL 2.1 AMD-APP (3180.7)
  Platform Name:                                 AMD Accelerated Parallel Processing
  Platform Vendor:                               Advanced Micro Devices, Inc.
  Platform Extensions:                           cl_khr_icd cl_amd_event_callback cl_amd_offline_devices 

  Platform Name:                                 AMD Accelerated Parallel Processing
Number of devices:                               1
  Device Type:                                   CL_DEVICE_TYPE_GPU
  Vendor ID:                                     1002h
  Board name:                                    AMD Radeon HD 7900 Series
  Device Topology:                               PCI[ B#2, D#0, F#0 ]
  Max compute units:                             14
  Max work items dimensions:                     3
    Max work items[0]:                           1024
    Max work items[1]:                           1024
    Max work items[2]:                           1024
  Max work group size:                           256
  Preferred vector width char:                   4
  Preferred vector width short:                  2
  Preferred vector width int:                    1
  Preferred vector width long:                   1
  Preferred vector width float:                  1
  Preferred vector width double:                 1
  Native vector width char:                      4
  Native vector width short:                     2
  Native vector width int:                       1
  Native vector width long:                      1
  Native vector width float:                     1
  Native vector width double:                    1
  Max clock frequency:                           850Mhz
  Address bits:                                  32
  Max memory allocation:                         78852096
  Image support:                                 Yes
  Max number of images read arguments:           128
  Max number of images write arguments:          8
  Max image 2D width:                            16384
  Max image 2D width:                            16384
  Max image 2D height:                           16384
  Max image 3D width:                            2048
  Max image 3D height:                           2048
  Max image 3D depth:                            2048
  Max samplers within kernel:                    16
  Max size of kernel argument:                   1024
  Alignment (bits) of base address:              2048
  Minimum alignment (bytes) for any datatype:    128
  Single precision floating point capability
    Denorms:                                     No
    Quiet NaNs:                                  Yes
    Round to nearest even:                       Yes
    Round to zero:                               Yes
    Round to +ve and infinity:                   Yes
    IEEE754-2008 fused multiply-add:             Yes
  Cache type:                                    Read/Write
  Cache line size:                               64
  Cache size:                                    16384
  Global memory size:                            78852096
  Constant buffer size:                          65536
  Max number of constant args:                   8
  Local memory type:                             Scratchpad
  Local memory size:                             32768
  Max pipe arguments:                            0
  Max pipe active reservations:                  0
  Max pipe packet size:                          0
  Max global variable size:                      0
  Max global variable preferred total size:      0
  Max read/write image args:                     0
  Max on device events:                          0
  Queue on device max size:                      0
  Max on device queues:                          0
  Queue on device preferred size:                0
  SVM capabilities:                              
    Coarse grain buffer:                         No
    Fine grain buffer:                           No
    Fine grain system:                           No
    Atomics:                                     No
  Preferred platform atomic alignment:           0
  Preferred global atomic alignment:             0
  Preferred local atomic alignment:              0
  Kernel Preferred work group size multiple:     64
  Error correction support:                      0
  Unified memory for Host and Device:            0
  Profiling timer resolution:                    1
  Device endianess:                              Little
  Available:                                     Yes
  Compiler available:                            Yes
  Execution capabilities:                                
    Execute OpenCL kernels:                      Yes
    Execute native function:                     No
  Queue on Host properties:                              
    Out-of-Order:                                No
    Profiling :                                  Yes
  Queue on Device properties:                            
    Out-of-Order:                                No
    Profiling :                                  No
  Platform ID:                                   0x7f09a0eede50
  Name:                                          Tahiti
  Vendor:                                        Advanced Micro Devices, Inc.
  Device OpenCL C version:                       OpenCL C 1.2 
  Driver version:                                3180.7
  Profile:                                       FULL_PROFILE
  Version:                                       OpenCL 1.2 AMD-APP (3180.7)
  Extensions:                                    cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_image2d_from_buffer cl_khr_spir cl_khr_gl_event 
Lolliedieb commented 3 years ago

Something is strange with this card - it reports only 78852096 Bytes global and allocate-able memory size. Thats 75 MByte Very wired. All other sizes look ok on the first glance. I will check the code if there is something special in it.