unable to fold on 7970 under Linux, Windows10 runs fine
Posted: Sat Mar 21, 2020 2:18 pm
Hello,
I'm breaking my head the last few days about a problem on my linux machine with an AMD 7970 graphics card. I'm getting the following error:
My system is Manjaro linux. On an almost identical system with the same graphics card folding under windows 10 everything is just fine
My system:
The relevant log part:
Output of clinfo:
I've tried Opencl-Mesa, opencl-amd-amdgpu-pro-orca as different drivers, to no avail. Please help.
I'm breaking my head the last few days about a problem on my linux machine with an AMD 7970 graphics card. I'm getting the following error:
Code: Select all
WU02:FS01:0x21:ERROR:exception: Error initializing context: clCreateCommandQueue (-6)
My system:
Code: Select all
15:05:57:******************************** Build ********************************
15:05:57: Version: 7.5.1
15:05:57: Date: May 11 2018
15:05:57: Time: 19:59:04
15:05:57: Repository: Git
15:05:57: Revision: 4705bf53c635f88b8fe85af7675557e15d491ff0
15:05:57: Branch: master
15:05:57: Compiler: GNU 6.3.0 20170516
15:05:57: Options: -std=gnu++98 -O3 -funroll-loops
15:05:57: Platform: linux2 4.14.0-3-amd64
15:05:57: Bits: 64
15:05:57: Mode: Release
15:05:57:******************************* System ********************************
15:05:57: CPU: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz
15:05:57: CPU ID: GenuineIntel Family 6 Model 42 Stepping 7
15:05:57: CPUs: 4
15:05:57: Memory: 15.62GiB
15:05:57: Free Memory: 13.05GiB
15:05:57: Threads: POSIX_THREADS
15:05:57: OS Version: 5.4
15:05:57: Has Battery: false
15:05:57: On Battery: false
15:05:57: UTC Offset: 1
15:05:57: PID: 5199
15:05:57: CWD: /opt/fah
15:05:57: OS: Linux 5.4.26-1-MANJARO x86_64
15:05:57: OS Arch: AMD64
15:05:57: GPUs: 1
15:05:57: GPU 0: Bus:1 Slot:0 Func:0 AMD:5 Tahiti PRO [Radeon R9 280/HD
15:05:57: 7900/8950]
15:05:57: CUDA: Not detected: Failed to open dynamic library 'libcuda.so':
15:05:57: libcuda.so: cannot open shared object file: No such file or
15:05:57: directory
15:05:57:OpenCL Device 0: Platform:0 Device:0 Bus:1 Slot:0 Compute:1.2 Driver:2906.7
15:05:57:***********************************************************************
Code: Select all
15:10:21:WU02:FS01:Requesting new work unit for slot 01: READY gpu:0:Tahiti PRO [Radeon R9 280/HD 7900/8950] from 155.247.166.220
15:10:21:WU02:FS01:Connecting to 155.247.166.220:8080
15:10:21:WU02:FS01:Downloading 5.81MiB
15:10:22:WU02:FS01:Download complete
15:10:22:WU02:FS01:Received Unit: id:02 state:DOWNLOAD error:NO_ERROR project:14310 run:52 clone:79 gen:2 core:0x21 unit:0x000000030002894c5e6cf6930906b0f6
15:10:22:WU02:FS01:Starting
15:10:22:WU02:FS01:Running FahCore: /opt/fah/FAHCoreWrapper /opt/fah/cores/cores.foldingathome.org/v7/lin/64bit/Core_21.fah/FahCore_21 -dir 02 -suffix 01 -version 705 -lifeline 5199 -checkpoint 15 -gpu-vendor amd -opencl-platform 0 -opencl-device 0 -gpu 0
15:10:22:WU02:FS01:Started FahCore on PID 5257
15:10:22:WU02:FS01:Core PID:5261
15:10:22:WU02:FS01:FahCore 0x21 started
15:10:23:WU02:FS01:0x21:*********************** Log Started 2020-03-21T15:10:22Z ***********************
15:10:23:WU02:FS01:0x21:Project: 14310 (Run 52, Clone 79, Gen 2)
15:10:23:WU02:FS01:0x21:Unit: 0x000000030002894c5e6cf6930906b0f6
15:10:23:WU02:FS01:0x21:CPU: 0x00000000000000000000000000000000
15:10:23:WU02:FS01:0x21:Machine: 1
15:10:23:WU02:FS01:0x21:Reading tar file core.xml
15:10:23:WU02:FS01:0x21:Reading tar file integrator.xml
15:10:23:WU02:FS01:0x21:Reading tar file state.xml
15:10:23:WU02:FS01:0x21:Reading tar file system.xml
15:10:23:WU02:FS01:0x21:Digital signatures verified
15:10:23:WU02:FS01:0x21:Folding@home GPU Core21 Folding@home Core
15:10:23:WU02:FS01:0x21:Version 0.0.20
15:10:24:WU02:FS01:0x21:ERROR:exception: Error initializing context: clCreateCommandQueue (-6)
15:10:24:WU02:FS01:0x21:Saving result file logfile_01.txt
15:10:24:WU02:FS01:0x21:Saving result file log.txt
15:10:24:WU02:FS01:0x21:Folding@home Core Shutdown: BAD_WORK_UNIT
15:10:24:WARNING:WU02:FS01:FahCore returned: BAD_WORK_UNIT (114 = 0x72)
15:10:24:WU02:FS01:Sending unit results: id:02 state:SEND error:FAULTY project:14310 run:52 clone:79 gen:2 core:0x21 unit:0x000000030002894c5e6cf6930906b0f6
15:10:24:WU02:FS01:Uploading 7.00KiB to 155.247.166.220
15:10:24:WU02:FS01:Connecting to 155.247.166.220:8080
15:10:24:WU01:FS01:Connecting to 65.254.110.245:8080
15:10:24:WU02:FS01:Upload complete
15:10:24:WU02:FS01:Server responded WORK_ACK (400)
15:10:24:WU02:FS01:Cleaning up
Code: Select all
Number of platforms 1
Platform Name AMD Accelerated Parallel Processing
Platform Vendor Advanced Micro Devices, Inc.
Platform Version OpenCL 2.1 AMD-APP (2906.7)
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd cl_amd_event_callback cl_amd_offline_devices
Platform Host timer resolution 1ns
Platform Extensions function suffix AMD
Platform Name AMD Accelerated Parallel Processing
Number of devices 1
Device Name Tahiti
Device Vendor Advanced Micro Devices, Inc.
Device Vendor ID 0x1002
Device Version OpenCL 1.2 AMD-APP (2906.7)
Driver Version 2906.7
Device OpenCL C Version OpenCL C 1.2
Device Type GPU
Device Board Name (AMD) AMD Radeon HD 7900 Series
Device Topology (AMD) PCI-E, 01:00.0
Device Profile FULL_PROFILE
Device Available Yes
Compiler Available Yes
Linker Available Yes
Max compute units 14
SIMD per compute unit (AMD) 4
SIMD width (AMD) 16
SIMD instruction width (AMD) 1
Max clock frequency 925MHz
Graphics IP (AMD) 6.0
Device Partition (core)
Max number of sub-devices 14
Supported partition types None
Supported affinity domains (n/a)
Max work item dimensions 3
Max work item sizes 1024x1024x1024
Max work group size 256
Preferred work group size (AMD) 256
Max work group size (AMD) 1024
Preferred work group size multiple 64
Wavefront width (AMD) 64
Preferred / native vector sizes
char 4 / 4
short 2 / 2
int 1 / 1
long 1 / 1
half 1 / 1 (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 No
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
Address bits 32, Little-Endian
Global memory size 2852286464 (2.656GiB)
Global free memory (AMD) <printDeviceInfo:78: get number of CL_DEVICE_GLOBAL_FREE_MEMORY_AMD : error -33>
Global memory channels (AMD) 12
Global memory banks per channel (AMD) 16
Global memory bank width (AMD) 256 bytes
Error Correction support No
Max memory allocation 2223443763 (2.071GiB)
Unified memory for Host and Device No
Minimum alignment for any data type 128 bytes
Alignment of base address 2048 bits (256 bytes)
Global Memory cache type Read/Write
Global Memory cache size 16384 (16KiB)
Global Memory cache line size 64 bytes
Image support Yes
Max number of samplers per kernel 16
Max size for 1D images from buffer 134217728 pixels
Max 1D or 2D image array size 2048 images
Base address alignment for 2D image buffers 256 bytes
Pitch alignment for 2D image buffers 256 pixels
Max 2D image size 16384x16384 pixels
Max 3D image size 2048x2048x2048 pixels
Max number of read image args 128
Max number of write image args 8
Local memory type Local
Local memory size 32768 (32KiB)
Local memory syze per CU (AMD) 65536 (64KiB)
Local memory banks (AMD) 32
Max number of constant args 8
Max constant buffer size 65536 (64KiB)
Preferred constant buffer size (AMD) 16384 (16KiB)
Max size of kernel argument 1024
Queue properties
Out-of-order execution No
Profiling Yes
Prefer user sync for interop Yes
Profiling timer resolution 1ns
Profiling timer offset since Epoch (AMD) 1584798319085495106ns (Sat Mar 21 14:45:19 2020)
Execution capabilities
Run OpenCL kernels Yes
Run native kernels No
Thread trace supported (AMD) No
Number of async queues (AMD) 2
Max real-time compute queues (AMD) 0
Max real-time compute units (AMD) 0
SPIR versions 1.2
printf() buffer size 4194304 (4MiB)
Built-in kernels (n/a)
Device 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
NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) AMD Accelerated Parallel Processing
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Success [AMD]
clCreateContext(NULL, ...) [default] Success [AMD]
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) Success (1)
Platform Name AMD Accelerated Parallel Processing
Device Name Tahiti
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) Success (1)
Platform Name AMD Accelerated Parallel Processing
Device Name Tahiti
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) Success (1)
Platform Name AMD Accelerated Parallel Processing
Device Name Tahiti
ICD loader properties
ICD loader Name OpenCL ICD Loader
ICD loader Vendor OCL Icd free software
ICD loader Version 2.2.12
ICD loader Profile OpenCL 2.2