fancyIX / sgminer-phi2-branch

A branch of sgminer optimized with GCN cross lane instructions on AMD (ethash, phi2, lyra2Z[z], allium, x25x, lyra2REv2/v3, argon2d, yescrypt, neoscrypt, 0x10)
GNU General Public License v3.0
54 stars 27 forks source link

Error: AMDIL doesn't support OpenCL version >= 2.0. #261

Open Schneideisen opened 2 years ago

Schneideisen commented 2 years ago
Started sgminer v0.8.0-0
[12:32:22] * using Jansson 2.11
[12:32:26] CL Platform vendor: Advanced Micro Devices, Inc.
[12:32:26] CL Platform name: AMD Accelerated Parallel Processing
[12:32:26] CL Platform version: OpenCL 2.1 AMD-APP (3240.6)
[12:32:26] Platform devices: 3
[12:32:26]  0   Pitcairn
[12:32:26]  1   Pitcairn
[12:32:26]  2   Pitcairn
[12:32:26] Number of ADL devices: 3
[12:32:26] ATI ADL Overdrive5 API found.
[12:32:26] ATI ADL Overdrive6 API found.
[12:32:26] Found 16 logical ADL adapters
[12:32:26] ADL index 0, id 1946261696 - BIOS partno.: 113-1E27100-O48, version: 015.042.000.001, date: 2013/12/09 00:30
[12:32:26] GPU 0 assigned: iAdapterIndex:0 iPresent:0 strUDID:PCI_VEN_1002&DEV_6810&SUBSYS_E271174B&REV_00_4&2BEDC12D&0&00E4A iBusNumber:5 iDeviceNumber:0 iFunctionNumber:0 iVendorID:1002 name:AMD Radeon R9 200 Series
[12:32:26] ADL index 1, id 1946261696 - BIOS partno.: 113-1E27100-O48, version: 015.042.000.001, date: 2013/12/09 00:30
[12:32:26] ADL index 2, id 1946261696 - BIOS partno.: 113-1E27100-O48, version: 015.042.000.001, date: 2013/12/09 00:30
[12:32:26] ADL index 3, id 1946261696 - BIOS partno.: 113-1E27100-O48, version: 015.042.000.001, date: 2013/12/09 00:30
[12:32:26] ADL index 4, id 1946261696 - BIOS partno.: 113-1E27100-O48, version: 015.042.000.001, date: 2013/12/09 00:30
[12:32:26] ADL index 5, id 1946261696 - BIOS partno.: 113-1E27100-O48, version: 015.042.000.001, date: 2013/12/09 00:30
[12:32:26] ADL index 6, id 1946261696 - BIOS partno.: 113-1E27100-O48, version: 015.042.000.001, date: 2013/12/09 00:30
[12:32:26] ADL index 7, id 1946261696 - BIOS partno.: 113-1E27100-O48, version: 015.042.000.001, date: 2013/12/09 00:30
[12:32:26] ADL index 8, id 1966148800 - BIOS partno.: 113-1E27100-O4A, version: 015.042.000.005, date: 2014/03/06 04:01
[12:32:26] GPU 1 assigned: iAdapterIndex:8 iPresent:0 strUDID:PCI_VEN_1002&DEV_6810&SUBSYS_E271174B&REV_00_4&63638AD&0&0008A iBusNumber:1 iDeviceNumber:0 iFunctionNumber:0 iVendorID:1002 name:AMD Radeon R9 200 Series
[12:32:26] ADL index 9, id 1966148800 - BIOS partno.: 113-1E27100-O4A, version: 015.042.000.005, date: 2014/03/06 04:01
[12:32:26] ADL index 10, id 1966148800 - BIOS partno.: 113-1E27100-O4A, version: 015.042.000.005, date: 2014/03/06 04:01
[12:32:26] ADL index 11, id 1966148800 - BIOS partno.: 113-1E27100-O4A, version: 015.042.000.005, date: 2014/03/06 04:01
[12:32:26] ADL index 12, id 1966148800 - BIOS partno.: 113-1E27100-O4A, version: 015.042.000.005, date: 2014/03/06 04:01
[12:32:26] ADL index 13, id 1966148800 - BIOS partno.: 113-1E27100-O4A, version: 015.042.000.005, date: 2014/03/06 04:01
[12:32:26] ADL index 14, id 1966148800 - BIOS partno.: 113-1E27100-O4A, version: 015.042.000.005, date: 2014/03/06 04:01
[12:32:26] ADL index 15, id 1966148800 - BIOS partno.: 113-1E27100-O4A, version: 015.042.000.005, date: 2014/03/06 04:01
[12:32:26] ADL found less devices than opencl!
[12:32:26] There is possibly more than one display attached to a GPU
[12:32:26] Use the gpu map feature to reliably map OpenCL to ADL
[12:32:26] WARNING: Number of OpenCL and ADL devices did not match!
[12:32:26] Hardware monitoring may NOT match up with devices!
[12:32:26] GPU 0 AMD Radeon R9 200 Series hardware monitoring enabled
[12:32:26] ADL GPU 0 is Adapter index 0 and maps to adapter id 1946261696
[12:32:26] GPU 0 BIOS partno.: 113-1E27100-O48, version: 015.042.000.001, date: 2013/12/09 00:30
[12:32:26] GPU 1 AMD Radeon R9 200 Series hardware monitoring enabled
[12:32:26] ADL GPU 1 is Adapter index 8 and maps to adapter id 1966148800
[12:32:26] GPU 1 BIOS partno.: 113-1E27100-O4A, version: 015.042.000.005, date: 2014/03/06 04:01
[12:32:26] Default Devices = 0
[12:32:26] set_devices(0)
[12:32:26] set_devices(0) done.
[12:32:26] Loading settings from default_profile for pool 0
[12:32:26] Pool 0 Algorithm set to "neoscrypt-xaya"
[12:32:26] Pool 0 devices set to "0"
[12:32:26] Pool 0 lookup gap set to "(null)"
[12:32:26] Pool 0 XIntensity set to "256"
[12:32:26] Pool 0 Thread Concurrency set to "(null)"
[12:32:26] Pool 0 GPU Clock set to "(null)"
[12:32:26] Pool 0 GPU Memory clock set to "(null)"
[12:32:26] Pool 0 GPU Threads set to "(null)"
[12:32:26] Pool 0 GPU Fan set to "(null)"
[12:32:26] Pool 0 GPU Powertune set to "(null)"
[12:32:26] Pool 0 GPU Vddc set to "(null)"
[12:32:26] Pool 0 Shaders set to "(null)"
[12:32:26] Pool 0 Worksize set to "(null)"
[12:32:26] Trying to set current pool...
[12:32:26] Probing for an alive pool
[12:32:26] Testing neoscrypt-xaya.eu.mine.zergpool.com
[12:32:26] Succeeded delayed connect
[12:32:26] neoscrypt-xaya.eu.mine.zergpool.com stratum session id: 47e9819e182e132936773b2e2559f488
[12:32:26] Stratum extranonce subscribe for neoscrypt-xaya.eu.mine.zergpool.com
[12:32:26] Stratum authorisation success for neoscrypt-xaya.eu.mine.zergpool.com
[12:32:26] neoscrypt-xaya.eu.mine.zergpool.com alive
[12:32:26] Startup GPU initialization... Using settings from pool neoscrypt-xaya.eu.mine.zergpool.com.
[12:32:26] Startup Pool No = 0
[12:32:26] compare_pool_settings()
[12:32:26] set_devices(0)
[12:32:26] set_devices(0) done.
[12:32:26] Switching to xintensity: pool = 256, default = 
[12:32:26] xintensity -> 256
[12:32:26] GPU 0 Thread Concurrency set to 0.
[12:32:26] GPU 1 Thread Concurrency set to 0.
[12:32:26] GPU 2 Thread Concurrency set to 0.
[12:32:26] Set GPU 0 to neoscrypt-xaya
[12:32:26] Set GPU 1 to neoscrypt-xaya
[12:32:26] Set GPU 2 to neoscrypt-xaya
[12:32:26] Allocate new threads...
[12:32:26] Assign threads for device 0
[12:32:26] Thread 0 set pool = 0 (neoscrypt-xaya.eu.mine.zergpool.com)
[12:32:26] Init GPU thread 0 GPU 0 virtual GPU 0
[12:32:26] CL Platform vendor: Advanced Micro Devices, Inc.
[12:32:26] CL Platform name: AMD Accelerated Parallel Processing
[12:32:26] CL Platform version: OpenCL 2.1 AMD-APP (3240.6)
[12:32:26] Platform devices: 3
[12:32:26]  0   Pitcairn
[12:32:26]  1   Pitcairn
[12:32:26]  2   Pitcairn
[12:32:26] List of devices:
[12:32:26]  0   Pitcairn
[12:32:26]  1   Pitcairn
[12:32:26]  2   Pitcairn
[12:32:26] Selected 0: Pitcairn
[12:32:27] neoscrypt-xaya.eu.mine.zergpool.com difficulty changed to 256
[12:32:27] [THR0] gen_stratum_work() - algorithm = neoscrypt-xaya
[12:32:27] [THR0] Generated stratum merkle 470e48c4c20fbe51b14414dd17876d65968e92a1ab6fb71ebf53337c1058ff17
[12:32:27] [THR0] Generated stratum header 000000200000000000000000000000000000000000000000000000000000000000000000c4480e4751be0fc2dd1444b1656d8717a1928e961eb76fab7c3353bf17ff58103a45cc619c50121c00000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000
[12:32:27] [THR0] Work job_id 7ad2 nonce2 0 ntime 61cc453a
[12:32:27] [THR0] Generated neoscrypt target 0x000000ffff000000000000000000000000000000000000000000000000000000
[12:32:27] New block: 0000000000000000000000000000000000000000000000000000000000000000... diff 916K
[12:32:27] Preferred vector width reported 1
[12:32:27] Max work group size reported 1024
[12:32:27] Maximum work size for this GPU (0) is 1024.
[12:32:27] Your GPU (#0) has 20 compute units, and all AMD cards in the 7 series or newer (GCN cards)       have 64 shaders per compute unit - this means it has 1280 shaders.
[12:32:27] Max mem alloc size is 1879048192
[12:32:27] Using source file neoscrypt-xaya.cl
[12:32:27] GPU 0: selecting lookup gap of 2
[12:32:27] GPU 0: computing max. global thread count to 40960
[12:32:27] Setting worksize to 256
[12:32:27] Using binary file neoscrypt-xayaPitcairngw256l4lgtc40960.bin
[12:32:27] No prebuilt binary found, search more
[12:32:27] No binary found, generating from source
[12:32:27] Building binary neoscrypt-xayaPitcairngw256l4lgtc40960.bin
[12:32:27] Trying to open C:\M\sgminer-fancyIX/neoscrypt-xaya.cl...
[12:32:27] Trying to open C:\M\sgminer-fancyIX/kernel/neoscrypt-xaya.cl...
[12:32:27] Using C:\M\sgminer-fancyIX/kernel/neoscrypt-xaya.cl
[12:32:27] CompilerOptions: -I "C:\M\sgminer-fancyIX" -I "C:\M\sgminer-fancyIX/kernel" -I "." -D WORKSIZE=256 -cl-std=CL2.0  -D LOOKUP_GAP=2 -D MAX_GLOBAL_THREADS=40960 
[12:32:27] Error -11: Building Program (clBuildProgram)
[12:32:27] Error: AMDIL doesn't support OpenCL version >= 2.0.
An invalid option was specified.

[12:32:27] Failed to init GPU thread 0, disabling device 0
[12:32:27] Restarting the GPU from the menu will not fix this.

Can you help me to fix this ?

With device 1 and 2 the same problem

Schneideisen commented 2 years ago

ok i changed to platform 1 (sgminer.exe -k neoscrypt-xaya --gpu-platform 1 -d 0,2 --gpu-map 2:1 -o stratum+tcp://neoscrypt-xaya.eu.mine.zergpool.com:4238 ..... )

[14:56:22] Error -11: Building Program (clBuildProgram) [14:56:22] (file=input,line=0,column=0,index=0): Unresolved external reference to "_Z12amd_bitalignjjj".

[14:49:26] Started sgminer v0.8.0-0
[14:49:26] * using Jansson 2.11
[14:49:30] CL Platform vendor: Microsoft
[14:49:30] CL Platform name: OpenCLOn12
[14:49:30] CL Platform version: OpenCL 1.2 D3D12 Implementation
[14:49:30] Platform devices: 3
[14:49:30]  0   AMD Radeon R9 200 Series
[14:49:30]  1   Microsoft Basic Render Driver
[14:49:30]  2   AMD Radeon R9 200 Series
[14:49:30] Number of ADL devices: 3
[14:49:30] ATI ADL Overdrive5 API found.
[14:49:30] ATI ADL Overdrive6 API found.
[14:49:30] Found 16 logical ADL adapters
[14:49:30] ADL index 0, id 1946261696 - BIOS partno.: 113-1E27100-O48, version: 015.042.000.001, date: 2013/12/09 00:30
[14:49:30] GPU 0 assigned: iAdapterIndex:0 iPresent:0 strUDID:PCI_VEN_1002&DEV_6810&SUBSYS_E271174B&REV_00_4&2BEDC12D&0&00E4A iBusNumber:5 iDeviceNumber:0 iFunctionNumber:0 iVendorID:1002 name:AMD Radeon R9 200 Series
[14:49:30] ADL index 1, id 1946261696 - BIOS partno.: 113-1E27100-O48, version: 015.042.000.001, date: 2013/12/09 00:30
[14:49:30] ADL index 2, id 1946261696 - BIOS partno.: 113-1E27100-O48, version: 015.042.000.001, date: 2013/12/09 00:30
[14:49:30] ADL index 3, id 1946261696 - BIOS partno.: 113-1E27100-O48, version: 015.042.000.001, date: 2013/12/09 00:30
[14:49:30] ADL index 4, id 1946261696 - BIOS partno.: 113-1E27100-O48, version: 015.042.000.001, date: 2013/12/09 00:30
[14:49:30] ADL index 5, id 1946261696 - BIOS partno.: 113-1E27100-O48, version: 015.042.000.001, date: 2013/12/09 00:30
[14:49:30] ADL index 6, id 1946261696 - BIOS partno.: 113-1E27100-O48, version: 015.042.000.001, date: 2013/12/09 00:30
[14:49:30] ADL index 7, id 1946261696 - BIOS partno.: 113-1E27100-O48, version: 015.042.000.001, date: 2013/12/09 00:30
[14:49:30] ADL index 8, id 1966148800 - BIOS partno.: 113-1E27100-O4A, version: 015.042.000.005, date: 2014/03/06 04:01
[14:49:30] GPU 1 assigned: iAdapterIndex:8 iPresent:0 strUDID:PCI_VEN_1002&DEV_6810&SUBSYS_E271174B&REV_00_4&63638AD&0&0008A iBusNumber:1 iDeviceNumber:0 iFunctionNumber:0 iVendorID:1002 name:AMD Radeon R9 200 Series
[14:49:30] ADL index 9, id 1966148800 - BIOS partno.: 113-1E27100-O4A, version: 015.042.000.005, date: 2014/03/06 04:01
[14:49:30] ADL index 10, id 1966148800 - BIOS partno.: 113-1E27100-O4A, version: 015.042.000.005, date: 2014/03/06 04:01
[14:49:30] ADL index 11, id 1966148800 - BIOS partno.: 113-1E27100-O4A, version: 015.042.000.005, date: 2014/03/06 04:01
[14:49:30] ADL index 12, id 1966148800 - BIOS partno.: 113-1E27100-O4A, version: 015.042.000.005, date: 2014/03/06 04:01
[14:49:30] ADL index 13, id 1966148800 - BIOS partno.: 113-1E27100-O4A, version: 015.042.000.005, date: 2014/03/06 04:01
[14:49:30] ADL index 14, id 1966148800 - BIOS partno.: 113-1E27100-O4A, version: 015.042.000.005, date: 2014/03/06 04:01
[14:49:30] ADL index 15, id 1966148800 - BIOS partno.: 113-1E27100-O4A, version: 015.042.000.005, date: 2014/03/06 04:01
[14:49:30] ADL found less devices than opencl!
[14:49:30] There is possibly more than one display attached to a GPU
[14:49:30] Use the gpu map feature to reliably map OpenCL to ADL
[14:49:30] Mapping OpenCL device 2 to ADL device 1
[14:49:30] WARNING: Number of OpenCL and ADL devices did not match!
[14:49:30] Hardware monitoring may NOT match up with devices!
[14:49:30] GPU 0 AMD Radeon R9 200 Series hardware monitoring enabled
[14:49:30] ADL GPU 0 is Adapter index 0 and maps to adapter id 1946261696
[14:49:30] GPU 0 BIOS partno.: 113-1E27100-O48, version: 015.042.000.001, date: 2013/12/09 00:30
[14:49:30] GPU 1 AMD Radeon R9 200 Series hardware monitoring enabled
[14:49:30] ADL GPU 1 is Adapter index 8 and maps to adapter id 1966148800
[14:49:30] GPU 1 BIOS partno.: 113-1E27100-O4A, version: 015.042.000.005, date: 2014/03/06 04:01
[14:49:30] Probing for an alive pool
[14:49:30] Testing neoscrypt-xaya.eu.mine.zergpool.com
[14:49:31] Stratum extranonce subscribe for neoscrypt-xaya.eu.mine.zergpool.com
[14:49:31] Stratum authorisation success for neoscrypt-xaya.eu.mine.zergpool.com
[14:49:31] neoscrypt-xaya.eu.mine.zergpool.com alive
[14:49:31] Startup GPU initialization... Using settings from pool neoscrypt-xaya.eu.mine.zergpool.com.
[14:49:31] Startup Pool No = 0
[14:49:31] Init GPU thread 0 GPU 0 virtual GPU 0
[14:49:31] CL Platform vendor: Microsoft
[14:49:31] CL Platform name: OpenCLOn12
[14:49:31] CL Platform version: OpenCL 1.2 D3D12 Implementation
[14:49:31] Platform devices: 3
[14:49:31]  0   AMD Radeon R9 200 Series
[14:49:31]  1   Microsoft Basic Render Driver
[14:49:31]  2   AMD Radeon R9 200 Series
[14:49:31] List of devices:
[14:49:31]  0   AMD Radeon R9 200 Series
[14:49:31]  1   Microsoft Basic Render Driver
[14:49:31]  2   AMD Radeon R9 200 Series
[14:49:31] Selected 0: AMD Radeon R9 200 Series
[14:49:31] neoscrypt-xaya.eu.mine.zergpool.com difficulty changed to 256
[14:49:31] New block: 0000000000000000000000000000000000000000000000000000000000000000... diff 948K
[14:49:31] Maximum work size for this GPU (0) is 1024.
[14:49:31] Your GPU (#0) has 1 compute units, and all AMD cards in the 7 series or newer (GCN cards)        have 64 shaders per compute unit - this means it has 64 shaders.
[14:49:31] Building binary neoscrypt-xayaAMD Radeon R9 200 Seriesgw256l4lgtc8192.bin
[14:49:32] Error -11: Building Program (clBuildProgram)
[14:49:32] (file=input,line=0,column=0,index=0): Unresolved external reference to "_Z12amd_bitalignjjj".
[14:49:32] Failed to init GPU thread 0, disabling device 0
[14:49:32] Restarting the GPU from the menu will not fix this.
[14:49:32] Re-check your configuration and try restarting.
[14:49:32] thread_prepare failed for thread 0
[14:49:32] Init GPU thread 1 GPU 1 virtual GPU 2
[14:49:32] CL Platform vendor: Microsoft
[14:49:32] CL Platform name: OpenCLOn12
[14:49:32] CL Platform version: OpenCL 1.2 D3D12 Implementation
[14:49:32] Platform devices: 3
[14:49:32]  0   AMD Radeon R9 200 Series
[14:49:32]  1   Microsoft Basic Render Driver
[14:49:32]  2   AMD Radeon R9 200 Series
[14:49:32] List of devices:
[14:49:32]  0   AMD Radeon R9 200 Series
[14:49:32]  1   Microsoft Basic Render Driver
[14:49:32]  2   AMD Radeon R9 200 Series
[14:49:32] Selected 2: AMD Radeon R9 200 Series
[14:49:32] Maximum work size for this GPU (2) is 1024.
[14:49:32] Your GPU (#2) has 1 compute units, and all AMD cards in the 7 series or newer (GCN cards)        have 64 shaders per compute unit - this means it has 64 shaders.
[14:49:32] Building binary neoscrypt-xayaAMD Radeon R9 200 Seriesgw256l4lgtc8192.bin
[14:49:33] Error -11: Building Program (clBuildProgram)
[14:49:33] (file=input,line=0,column=0,index=0): Unresolved external reference to "_Z12amd_bitalignjjj".
[14:49:33] Failed to init GPU thread 1, disabling device 1
[14:49:33] thread_prepare failed for thread 1
[14:49:33] Init GPU thread 2 GPU 2 virtual GPU 2
[14:49:33] CL Platform vendor: Microsoft
[14:49:33] CL Platform name: OpenCLOn12
[14:49:33] CL Platform version: OpenCL 1.2 D3D12 Implementation
[14:49:33] Platform devices: 3
[14:49:33]  0   AMD Radeon R9 200 Series
[14:49:33]  1   Microsoft Basic Render Driver
[14:49:33]  2   AMD Radeon R9 200 Series
[14:49:33] List of devices:
[14:49:33]  0   AMD Radeon R9 200 Series
[14:49:33]  1   Microsoft Basic Render Driver
[14:49:33]  2   AMD Radeon R9 200 Series
[14:49:33] Selected 2: AMD Radeon R9 200 Series
[14:49:33] Maximum work size for this GPU (2) is 1024.
[14:49:33] Your GPU (#2) has 1 compute units, and all AMD cards in the 7 series or newer (GCN cards)        have 64 shaders per compute unit - this means it has 64 shaders.
[14:49:33] Building binary neoscrypt-xayaAMD Radeon R9 200 Seriesgw256l4lgtc8192.bin
[14:49:33] Error -11: Building Program (clBuildProgram)
[14:49:33] (file=input,line=0,column=0,index=0): Unresolved external reference to "_Z12amd_bitalignjjj".
[14:49:33] Failed to init GPU thread 2, disabling device 2
[14:49:33] thread_prepare failed for thread 2
[14:49:34] Work update message received
[14:50:08] Work update message received

[14:50:20] Work update message received

Schneideisen commented 2 years ago

Platform 0 [12:32:26] CL Platform vendor: Advanced Micro Devices, Inc. [12:32:26] CL Platform name: AMD Accelerated Parallel Processing [12:32:26] CL Platform version: OpenCL 2.1 AMD-APP (3240.6) OpenCL >= 2

Platform 1 [14:49:30] CL Platform vendor: Microsoft [14:49:30] CL Platform name: OpenCLOn12 [14:49:30] CL Platform version: OpenCL 1.2 D3D12 Implementation

openCL 1.2 , but wrong devices

is it a driver problem?