xmr-stak-amd
xmr-stak-amd copied to clipboard
Erorrs after amd blockchain driver update
**HI
I have a vega 56 and upgraded from the latest amd driver to the blockchain one. After the update with nothing changed in the config i just get this mess. Some help would be nice thx:**
[2017-09-23 13:12:13] : Compiling code and initializing GPUs. This will take a while...
[2017-09-23 13:12:14] : Device 0 work size 8 / 1024.
[2017-09-23 13:12:14] : Error CL_BUILD_PROGRAM_FAILURE when calling clBuildProgram.
Build log:
please post the output of 'clinfo'
Am 23.09.2017 13:16 schrieb "Pak9999" [email protected]:
**HI
I have a vega 56 and upgraded from the latest amd driver to the blockchain one. After the update with nothing changed in the config i just get this mess. Some help would be nice thx:** [2017-09-23 13:12:13] : Compiling code and initializing GPUs. This will take a while... [2017-09-23 13:12:14] : Device 0 work size 8 / 1024. [2017-09-23 13:12:14] : Error CL_BUILD_PROGRAM_FAILURE when calling clBuildProgram. Build log: :16:26: warning: unknown OpenCL extension 'cl_amd_media_ops2' - ignoring #pragma OPENCL EXTENSION cl_amd_media_ops2 : enable ^ In file included from :18: ./opencl/wolf-aes.cl:79:14: warning: implicit declaration of function 'amd_bfe' is invalid in C99 Y.s0 = AES0[BYTE(X.s0, 0)] ^ AES1[BYTE(X.s1, 1)] ^ AES2[BYTE(X.s2, 2)] ^ AES3[BYTE(X.s3, 3)]; ^ ./opencl/wolf-aes.cl:74:21: note: expanded from macro 'BYTE' #define BYTE(x, y) (amd_bfe((x), (y) << 3U, 8U)) ^ In file included from :19: ./opencl/wolf-skein.cl:33:29: warning: implicit declaration of function 'amd_bitalign' is invalid in C99 if(y < 32) return(as_ulong(amd_bitalign(x, x.s10, 32 - y))); ^ ./opencl/wolf-skein.cl:33:20: error: call to 'as_ulong' is ambiguous if(y < 32) return(as_ulong(amd_bitalign(x, x.s10, 32 - y))); ^~~~~~~~ cl_kernel.h:14906:24: note: candidate function ulong OVERLOADABLE as_ulong (long); ^ cl_kernel.h:14907:24: note: candidate function ulong OVERLOADABLE as_ulong (ulong); ^ cl_kernel.h:14908:24: note: candidate function ulong OVERLOADABLE as_ulong (double); ^ cl_kernel.h:15584:24: note: candidate function ulong OVERLOADABLE as_ulong (char8); ^ cl_kernel.h:15585:24: note: candidate function ulong OVERLOADABLE as_ulong (uchar8); ^ cl_kernel.h:15587:24: note: candidate function ulong OVERLOADABLE as_ulong (short3); ^ cl_kernel.h:15589:24: note: candidate function ulong OVERLOADABLE as_ulong (short4); ^ cl_kernel.h:15591:24: note: candidate function ulong OVERLOADABLE as_ulong (ushort3); ^ cl_kernel.h:15593:24: note: candidate function ulong OVERLOADABLE as_ulong (ushort4); ^ cl_kernel.h:15594:24: note: candidate function ulong OVERLOADABLE as_ulong (int2); ^ cl_kernel.h:15595:24: note: candidate function ulong OVERLOADABLE as_ulong (uint2); ^ cl_kernel.h:15596:24: note: candidate function ulong OVERLOADABLE as_ulong (float2); ^ In file included from :19: ./opencl/wolf-skein.cl:34:14: error: call to 'as_ulong' is ambiguous else return(as_ulong(amd_bitalign(x.s10, x, 32 - (y - 32)))); ^~~~~~~~ cl_kernel.h:14906:24: note: candidate function ulong OVERLOADABLE as_ulong (long); ^ cl_kernel.h:14907:24: note: candidate function ulong OVERLOADABLE as_ulong (ulong); ^ cl_kernel.h:14908:24: note: candidate function ulong OVERLOADABLE as_ulong (double); ^ cl_kernel.h:15584:24: note: candidate function ulong OVERLOADABLE as_ulong (char8); ^ cl_kernel.h:15585:24: note: candidate function ulong OVERLOADABLE as_ulong (uchar8); ^ cl_kernel.h:15587:24: note: candidate function ulong OVERLOADABLE as_ulong (short3); ^ cl_kernel.h:15589:24: note: candidate function ulong OVERLOADABLE as_ulong (short4); ^ cl_kernel.h:15591:24: note: candidate function ulong OVERLOADABLE as_ulong (ushort3); ^ cl_kernel.h:15593:24: note: candidate function ulong OVERLOADABLE as_ulong (ushort4); ^ cl_kernel.h:15594:24: note: candidate function ulong OVERLOADABLE as_ulong (int2); ^ cl_kernel.h:15595:24: note: candidate function ulong OVERLOADABLE as_ulong (uint2); ^ cl_kernel.h:15596:24: note: candidate function ulong OVERLOADABLE as_ulong (float2); ^ :328:26: warning: unknown OpenCL extension 'cl_amd_media_ops2' - ignoring #pragma OPENCL EXTENSION cl_amd_media_ops2 : enable ^ Press any key to exit.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fireice-uk/xmr-stak-amd/issues/117, or mute the thread https://github.com/notifications/unsubscribe-auth/AYsxthBY0BBl2ZlapJ_n_toCiD9ZIEuVks5slOiWgaJpZM4Phhfv .
I got similar issue with mix mode GPU AMD and Nvidia. Below is the clinfo
Number of platforms 1 Platform Name NVIDIA CUDA Platform Vendor NVIDIA Corporation Platform Version OpenCL 1.2 CUDA 9.0.194 Platform Profile FULL_PROFILE Platform Extensions 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_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer Platform Extensions function suffix NV
Platform Name NVIDIA CUDA
Number of devices 1
Device Name P106-100
Device Vendor NVIDIA Corporation
Device Vendor ID 0x10de
Device Version OpenCL 1.2 CUDA
Driver Version 384.90
Device OpenCL C Version OpenCL C 1.2
Device Type GPU
Device Profile FULL_PROFILE
Device Topology (NV) PCI-E, 03:00.0
Max compute units 10
Max clock frequency 1708MHz
Compute Capability (NV) 6.1
Device Partition (core)
Max number of sub-devices 1
Supported partition types None
Max work item dimensions 3
Max work item sizes 1024x1024x64
Max work group size 1024
Preferred work group size multiple 32
Warp size (NV) 32
Preferred / native vector sizes
char 1 / 1
short 1 / 1
int 1 / 1
long 1 / 1
half 0 / 0 (n/a)
float 1 / 1
double 1 / 1 (cl_khr_fp64)
Half-precision Floating-point support (n/a)
Single-precision Floating-point support (core)
Denormals Yes
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Correctly-rounded divide and sqrt operations Yes
Double-precision Floating-point support (cl_khr_fp64)
Denormals Yes
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Correctly-rounded divide and sqrt operations No
Address bits 64, Little-Endian
Global memory size 6370164736 (5.933GiB)
Error Correction support No
Max memory allocation 1592541184 (1.483GiB)
Unified memory for Host and Device No
Integrated memory (NV) No
Minimum alignment for any data type 128 bytes
Alignment of base address 4096 bits (512 bytes)
Global Memory cache type Read/Write
Global Memory cache size 163840
Global Memory cache line 128 bytes
Image support Yes
Max number of samplers per kernel 32
Max size for 1D images from buffer 134217728 pixels
Max 1D or 2D image array size 2048 images
Max 2D image size 16384x32768 pixels
Max 3D image size 16384x16384x16384 pixels
Max number of read image args 256
Max number of write image args 16
Local memory type Local
Local memory size 49152 (48KiB)
Registers per block (NV) 65536
Max constant buffer size 65536 (64KiB)
Max number of constant args 9
Max size of kernel argument 4352 (4.25KiB)
Queue properties
Out-of-order execution Yes
Profiling Yes
Prefer user sync for interop No
Profiling timer resolution 1000ns
Execution capabilities
Run OpenCL kernels Yes
Run native kernels No
Kernel execution timeout (NV) No
Concurrent copy and kernel execution (NV) Yes
Number of async copy engines 2
printf() buffer size 1048576 (1024KiB)
Built-in kernels
Device Available Yes
Compiler Available Yes
Linker Available Yes
Device Extensions 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_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer
NULL platform behavior clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) No platform clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) No platform clCreateContext(NULL, ...) [default] No platform clCreateContext(NULL, ...) [other] Success [NV] clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) No platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) No platform
**Try reinstall AMD pro driver but it not working as well.
clinfo found only nvidia opencl. This means there are some pathes to amd opencl missing or the driver is not installed correctly.
Am 05.10.2017 3:52 Nachm. schrieb "fer5437" [email protected]:
I got similar issue with mix mode GPU AMD and Nvidia. Below is the clinfo
Number of platforms 1 Platform Name NVIDIA CUDA Platform Vendor NVIDIA Corporation Platform Version OpenCL 1.2 CUDA 9.0.194 Platform Profile FULL_PROFILE Platform Extensions 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_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer Platform Extensions function suffix NV
Platform Name NVIDIA CUDA Number of devices 1 Device Name P106-100 Device Vendor NVIDIA Corporation Device Vendor ID 0x10de Device Version OpenCL 1.2 CUDA Driver Version 384.90 Device OpenCL C Version OpenCL C 1.2 Device Type GPU Device Profile FULL_PROFILE Device Topology (NV) PCI-E, 03:00.0 Max compute units 10 Max clock frequency 1708MHz Compute Capability (NV) 6.1 Device Partition (core) Max number of sub-devices 1 Supported partition types None Max work item dimensions 3 Max work item sizes 1024x1024x64 Max work group size 1024 Preferred work group size multiple 32 Warp size (NV) 32 Preferred / native vector sizes char 1 / 1 short 1 / 1 int 1 / 1 long 1 / 1 half 0 / 0 (n/a) float 1 / 1 double 1 / 1 (cl_khr_fp64) Half-precision Floating-point support (n/a) Single-precision Floating-point support (core) Denormals Yes Infinity and NANs Yes Round to nearest Yes Round to zero Yes Round to infinity Yes IEEE754-2008 fused multiply-add Yes Support is emulated in software No Correctly-rounded divide and sqrt operations Yes Double-precision Floating-point support (cl_khr_fp64) Denormals Yes Infinity and NANs Yes Round to nearest Yes Round to zero Yes Round to infinity Yes IEEE754-2008 fused multiply-add Yes Support is emulated in software No Correctly-rounded divide and sqrt operations No Address bits 64, Little-Endian Global memory size 6370164736 (5.933GiB) Error Correction support No Max memory allocation 1592541184 (1.483GiB) Unified memory for Host and Device No Integrated memory (NV) No Minimum alignment for any data type 128 bytes Alignment of base address 4096 bits (512 bytes) Global Memory cache type Read/Write Global Memory cache size 163840 Global Memory cache line 128 bytes Image support Yes Max number of samplers per kernel 32 Max size for 1D images from buffer 134217728 pixels Max 1D or 2D image array size 2048 images Max 2D image size 16384x32768 pixels Max 3D image size 16384x16384x16384 pixels Max number of read image args 256 Max number of write image args 16 Local memory type Local Local memory size 49152 (48KiB) Registers per block (NV) 65536 Max constant buffer size 65536 (64KiB) Max number of constant args 9 Max size of kernel argument 4352 (4.25KiB) Queue properties Out-of-order execution Yes Profiling Yes Prefer user sync for interop No Profiling timer resolution 1000ns Execution capabilities Run OpenCL kernels Yes Run native kernels No Kernel execution timeout (NV) No Concurrent copy and kernel execution (NV) Yes Number of async copy engines 2 printf() buffer size 1048576 (1024KiB) Built-in kernels Device Available Yes Compiler Available Yes Linker Available Yes Device Extensions 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_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer
NULL platform behavior clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) No platform clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) No platform clCreateContext(NULL, ...) [default] No platform clCreateContext(NULL, ...) [other] Success [NV] clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) No platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) No platform
**Try reinstall AMD pro driver but it not working as well.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/fireice-uk/xmr-stak-amd/issues/117#issuecomment-334471315, or mute the thread https://github.com/notifications/unsubscribe-auth/AYsxtgTwx-pijdoEemKwwhjcoeAiy_gUks5spN8QgaJpZM4Phhfv .
Hi
I am using RX 580 8gb and I got this error
[2018-02-07 09:42:02] : Compiling code and initializing GPUs. This will take a while...
[2018-02-07 09:42:03] : Device 0 work size 8 / 1024.
[2018-02-07 09:42:04] : Error CL_BUILD_PROGRAM_FAILURE when calling clBuildProgram.
Build log:
Could you please confirm whats the problem?
Here is config file.
in the config file I change the value in "platform_index" : 0 to 1 and it works for me
- Number of GPUs that you have in your system. Each GPU will get its own CPU thread. */ "gpu_thread_num" : 1,
/*
- GPU configuration. You should play around with intensity and worksize as the fastest settings will vary.
-
index - GPU index number usually starts from 0
- intensity - Number of parallel GPU threads (nothing to do with CPU threads)
- worksize - Number of local GPU threads (nothing to do with CPU threads)
- affine_to_cpu - This will affine the thread to a CPU. This can make a GPU miner play along nicer with a CPU miner. */ "gpu_threads_conf" : [ { "index" : 0, "intensity" : 1000, "worksize" : 8, "affine_to_cpu" : false }, ],
/*
- Platform index. This will be 0 unless you have different OpenCL platform - eg. AMD and Intel. */ "platform_index" : 0,
/*
- TLS Settings
- If you need real security, make sure tls_secure_algo is enabled (otherwise MITM attack can downgrade encryption
- to trivially breakable stuff like DES and MD5), and verify the server's fingerprint through a trusted channel.
- use_tls - This option will make us connect using Transport Layer Security.
- tls_secure_algo - Use only secure algorithms. This will make us quit with an error if we can't negotiate a secure algo.
- tls_fingerprint - Server's SHA256 fingerprint. If this string is non-empty then we will check the server's cert against it. */ "use_tls" : false, "tls_secure_algo" : true, "tls_fingerprint" : "",