Lolliedieb / lolMiner-releases

2.54k stars 577 forks source link

Fails with OpenCL init failure: Invalid program #1759

Open asyncmind0 opened 1 year ago

asyncmind0 commented 1 year ago
image
jgonzis commented 1 year ago

Could you please provide more information?. Drivers? OS?. Config line? .

That will help ...

asyncmind0 commented 1 year ago

Sorry should have included it at first

OS: ArchLinux

Configline: lolminer --algo C29AE --pool ae.2miners.com:4040 --user ak_xxxxxxxxxxxxxxxxxxxx

Drivers: nvidia-dkms 520.56.06-1

lolminer --algo C29AE --pool ae.2miners.com:4040 --user ak_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx                                                                                                                         [0] [main**] 01:24:00
+---------------------------------------------------------+
|   _       _ __  __ _                   _   __    ___    |
|  | | ___ | |  \/  (_)_ __   ___ _ __  / | / /_  / _ \   |
|  | |/ _ \| | |\/| | | '_ \ / _ \ '__| | || '_ \| | | |  |
|  | | (_) | | |  | | | | | |  __/ |    | || (_) | |_| |  |
|  |_|\___/|_|_|  |_|_|_| |_|\___|_|    |_(_)___/ \___/   |
|                                                         |
|              This software is for mining                |
|              Autolykos V2                               |
|              Ethash, Etchash                            |
|              Equihash 144/5, 192/7, 210/9               |
|              BeamHash III                               |
|              Flux (ZelHash)                             |
|              kHeavyhash (Kaspa)                         |
|              Blake3 (Alephium)                          |
|              Cuck(ar)oo 29                              |
|              Cuckaroo   30 CTX                          |
|              Cuckatoo   31/32                           |
|                                                         |
|                                                         |
|           Made by Lolliedieb, September 2022            |
+---------------------------------------------------------+

Setup Miner...
GPU Health check failed for program build.
GPU Health check failed for create kernel build.
GPU Health check failed for enqueue kernel.
OpenCL driver detected.
Number of OpenCL supported GPUs: 1
Cuda driver detected.
Number of Cuda supported GPUs: 1
Device 0:
    Name:    NVIDIA GeForce RTX 3090
    Address: 65:0
    Vendor:  NVIDIA Corporation
    Drivers: Cuda, OpenCL
    Memory:  24265 MByte
Problem in building kernel
Build Log:
    Active:  false (OpenCL init failure: Invalid program)

Connecting to pool...
DNS over HTTPS resolve failed - switching to standard resolve
Connected to ae.2miners.com(162.19.139.120):4040  (TLS disabled)
Subscribed to stratum server
Authorized worker: ak_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
New difficulty received: 16
New job received: 4c05 Height: 674159
Start Mining...
asyncmind0 commented 1 year ago

similar error on a manjaro fresh install

> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
          video-nvidia            2021.11.04               false            PCI

Warning: No installed USB configs!
lolminer --algo C29AE --pool ae.2miners.com:4040 --user ak_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxi --log=on
+---------------------------------------------------------+
|     _       _ __  __ _                   _   __   _     |
|    | | ___ | |  \/  (_)_ __   ___ _ __  / | / /_ / |    |
|    | |/ _ \| | |\/| | | '_ \ / _ \ '__| | || '_ \| |    |
|    | | (_) | | |  | | | | | |  __/ |    | || (_) | |    |
|    |_|\___/|_|_|  |_|_|_| |_|\___|_|    |_(_)___/|_|    |
|                                                         |
|              This software is for mining                |
|              Autolykos V2                               |
|              Ethash, Etchash                            |
|              Equihash 144/5, 192/7, 210/9               |
|              BeamHash III                               |
|              Flux (ZelHash)                             |
|              kHeavyhash (Kaspa)                         |
|              Blake3 (Alephium)                          |
|              Cuck(ar)oo 29                              |
|              Cuckaroo   30 CTX                          |
|              Cuckatoo   31/32                           |
|                                                         |
|                                                         |
|            Made by Lolliedieb, October 2022             |
+---------------------------------------------------------+

Setup Miner...
OpenCL driver detected.
Number of OpenCL supported GPUs: 0
Cuda driver detected.
Number of Cuda supported GPUs: 1
Device 0:
    Name:    NVIDIA GeForce RTX 3090
    Address: 35:0
    Vendor:  NVIDIA Corporation
    Drivers: Cuda
    Memory:  24265 MByte
    Active:  false ()

Connecting to pool...
DNS over HTTPS resolve failed - switching to standard resolve
Connected to ae.2miners.com(2001:41d0:700:6b78::):4040  (TLS disabled)
Subscribed to stratum server
Authorized worker: ak_2xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxi
New difficulty received: 16
New job received: 4bf3 Height: 674158
Start Mining...
All devices deselected or failed compatiblity check. Closing lolMiner
jgonzis commented 1 year ago

Any option to try driver 510.73? To check if it the new driver ?

asyncmind0 commented 1 year ago

Other miners are working with the current driver, I'll give it a go when I'm setting the next one.

jgonzis commented 1 year ago

Other miners are working with the current driver, I'll give it a go when I'm setting the next one.

Sure lolMiner too, but we have Dev in Vacation. Let him end them and sure lot of news will come :-)