New HD 7990 is not picking up GPU tasks. OpenCL not supported.

AgentB
AgentB
Joined: 17 Mar 12
Posts: 915
Credit: 513211304
RAC: 0
Topic 198064

I am close to getting this new build

tauon

finished but something is stopping me getting GPU tasks. (i was going to call it fanzilla, it has 10 fans but that's another story!)

It is crunching CPU tasks fine.

From here

http://einstein.phys.uwm.edu/host_sched_logs/11865/11865452

The logs say

[pre]
2015-04-25 22:30:50.9761 [PID=24298] [version] Checking plan class 'BRP6-opencl-ati'
2015-04-25 22:30:50.9761 [PID=24298] [version] parsed project prefs setting 'gpu_util_brp': 1.000000
2015-04-25 22:30:50.9761 [PID=24298] [version] ATI device (or driver) doesn't support OpenCL
2015-04-25 22:30:50.9761 [PID=24298] [version] no app version available: APP#29 (einsteinbinary_BRP6) PLATFORM#7 (x86_64-pc-linux-gnu) min_version 0
2015-04-25 22:30:50.9761 [PID=24298] [version] no app version available: APP#29 (einsteinbinary_BRP6) PLATFORM#1 (i686-pc-linux-gnu) min_version 0
2015-04-25 22:30:50.9764 [PID=24298] [version] no app version available: APP#19 (einsteinbinary_BRP4) PLATFORM#7 (x86_64-pc-linux-gnu) min_version 0
2015-04-25 22:30:50.9764 [PID=24298] [version] no app version available: APP#19 (einsteinbinary_BRP4) PLATFORM#1 (i686-pc-linux-gnu) min_version 0
[/pre]

But I'm fairly sure openCL is running,

clinfo is below (apologies for the long listing) and it shows up 3 devices.

This includes the two (dual card 7990) and the Intel CPU. I sort of did not expect to see the CPU, in clinfo on *nix.

Drivers from AMD today.

This is the first time with AMD, so my guess is something is not quite right.

[pre]
agentb@tauon:~$ clinfo
Number of platforms: 1
Platform Profile: FULL_PROFILE
Platform Version: OpenCL 2.0 AMD-APP (1642.5)
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: 3
Device Type: CL_DEVICE_TYPE_GPU
Vendor ID: 1002h
Board name: AMD Radeon HD 7900 Series
Device Topology: PCI[ B#3, D#0, F#0 ]
Max compute units: 32
Max work items dimensions: 3
Max work items[0]: 256
Max work items[1]: 256
Max work items[2]: 256
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: 1050Mhz
Address bits: 32
Max memory allocation: 2141454336
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 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: 3023044608
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: 0x7fccf51c4fd0
Name: Tahiti
Vendor: Advanced Micro Devices, Inc.
Device OpenCL C version: OpenCL C 1.2
Driver version: 1642.5 (VM)
Profile: FULL_PROFILE
Version: OpenCL 1.2 AMD-APP (1642.5)
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_ext_atomic_counters_32 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

Device Type: CL_DEVICE_TYPE_GPU
Vendor ID: 1002h
Board name: AMD Radeon HD 7900 Series
Device Topology: PCI[ B#3, D#0, F#0 ]
Max compute units: 32
Max work items dimensions: 3
Max work items[0]: 256
Max work items[1]: 256
Max work items[2]: 256
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: 1050Mhz
Address bits: 32
Max memory allocation: 2141454336
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 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: 3021996032
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: 0x7fccf51c4fd0
Name: Tahiti
Vendor: Advanced Micro Devices, Inc.
Device OpenCL C version: OpenCL C 1.2
Driver version: 1642.5 (VM)
Profile: FULL_PROFILE
Version: OpenCL 1.2 AMD-APP (1642.5)
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_ext_atomic_counters_32 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

Device Type: CL_DEVICE_TYPE_CPU
Vendor ID: 1002h
Board name:
Max compute units: 4
Max work items dimensions: 3
Max work items[0]: 1024
Max work items[1]: 1024
Max work items[2]: 1024
Max work group size: 1024
Preferred vector width char: 16
Preferred vector width short: 8
Preferred vector width int: 4
Preferred vector width long: 2
Preferred vector width float: 8
Preferred vector width double: 4
Native vector width char: 16
Native vector width short: 8
Native vector width int: 4
Native vector width long: 2
Native vector width float: 8
Native vector width double: 4
Max clock frequency: 3900Mhz
Address bits: 64
Max memory allocation: 4170614784
Image support: Yes
Max number of images read arguments: 128
Max number of images write arguments: 64
Max image 2D width: 8192
Max image 2D height: 8192
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: 4096
Alignment (bits) of base address: 1024
Minimum alignment (bytes) for any datatype: 128
Single precision floating point capability
Denorms: Yes
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: 32768
Global memory size: 16682459136
Constant buffer size: 65536
Max number of constant args: 8
Local memory type: Global
Local memory size: 32768
Max pipe arguments: 16
Max pipe active reservations: 16
Max pipe packet size: 4170614784
Max global variable size: 1879048192
Max global variable preferred total size: 1879048192
Max read/write image args: 64
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: Yes
Fine grain buffer: Yes
Fine grain system: Yes
Atomics: Yes
Preferred platform atomic alignment: 0
Preferred global atomic alignment: 0
Preferred local atomic alignment: 0
Kernel Preferred work group size multiple: 1
Error correction support: 0
Unified memory for Host and Device: 1
Profiling timer resolution: 1
Device endianess: Little
Available: Yes
Compiler available: Yes
Execution capabilities:
Execute OpenCL kernels: Yes
Execute native function: Yes
Queue on Host properties:
Out-of-Order: No
Profiling : Yes
Queue on Device properties:
Out-of-Order: No
Profiling : No
Platform ID: 0x7fccf51c4fd0
Name: Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz
Vendor: GenuineIntel
Device OpenCL C version: OpenCL C 1.2
Driver version: 1642.5 (sse2,avx)
Profile: FULL_PROFILE
Version: OpenCL 1.2 AMD-APP (1642.5)
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_ext_device_fission cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_spir cl_khr_gl_event
[/pre]

floyd
floyd
Joined: 12 Sep 11
Posts: 133
Credit: 186610495
RAC: 0

New HD 7990 is not picking up GPU tasks. OpenCL not supported.

OpenCL is working for you but not for BOINC. Note that on AMD, BOINC needs X running and permission granted, while on NVIDIA this is not necessary.

For a start, run "xhost" and see if boinc is mentioned. If it is not, run "xhost +boinc", assuming boinc is the BOINC user account, and restart BOINC. Look for OpenCL mentioned in the startup messages. I think it should work now, so you'll need to find a way to make the change permanent.

AgentB
AgentB
Joined: 17 Mar 12
Posts: 915
Credit: 513211304
RAC: 0

RE: OpenCL is working for

Quote:

OpenCL is working for you but not for BOINC. Note that on AMD, BOINC needs X running and permission granted, while on NVIDIA this is not necessary.

For a start, run "xhost" and see if boinc is mentioned. If it is not, run "xhost +boinc", assuming boinc is the BOINC user account, and restart BOINC. Look for OpenCL mentioned in the startup messages. I think it should work now, so you'll need to find a way to make the change permanent.

Thank you floyd,

The command below did not quite work as described but this sequence

[pre]
agentb@tauon:/var/lib/boinc-client$ xhost +boinc
xhost: bad hostname "boinc"

# syntax is a little different

agentb@tauon:/var/lib/boinc-client$ xhost +si:localuser:boinc
localuser:boinc being added to access control list
agentb@tauon:/var/lib/boinc-client$ xhost
access control enabled, only authorized clients can connect
SI:localuser:boinc
SI:localuser:agentb

agentb@tauon:/var/lib/boinc-client$ sudo /etc/init.d/boinc-client restart
[sudo] password for agentb:
* Stopping BOINC core client: boinc ... waiting .. [ OK ]
* Starting BOINC core client: boinc non-network local connections being added to access control list
[ OK ]
* Setting up scheduling for BOINC core client and children: [ OK ]

agentb@tauon:/var/lib/boinc-client$ xhost
access control enabled, only authorized clients can connect
LOCAL:
SI:localuser:boinc
SI:localuser:agentb
agentb@tauon:/var/lib/boinc-client$ xhost
access control enabled, only authorized clients can connect
LOCAL:
SI:localuser:boinc
SI:localuser:agentb

[/pre]

Unfortunately that hasn't changed the situation at E@H, no tasks.

I tried earlier attaching to MilkyWay@home and did receive 20+ GPU tasks, which all aborted with this error

After the xhost they continue to abort.

[pre]
Sun 26 Apr 2015 12:25:13 BST | | CAL: ATI GPU 0: AMD Radeon HD 7870/7950/7970/R9 280X series (Tahiti) (CAL version 1.4.1848, 3072MB, 2914MB available, 10752 GFLOPS peak)
Sun 26 Apr 2015 12:25:13 BST | | CAL: ATI GPU 1: AMD Radeon HD 7870/7950/7970/R9 280X series (Tahiti) (CAL version 1.4.1848, 3072MB, 2905MB available, 10752 GFLOPS peak)
Sun 26 Apr 2015 12:25:13 BST | | App version needs OpenCL but GPU doesn't support it
Sun 26 Apr 2015 12:25:13 BST | Milkyway@Home | Application uses missing ATI GPU
Sun 26 Apr 2015 12:25:13 BST | | App version needs OpenCL but GPU doesn't support it
Sun 26 Apr 2015 12:25:13 BST | Milkyway@Home | Application uses missing ATI GPU
Sun 26 Apr 2015 12:25:13 BST | Milkyway@Home | Missing coprocessor for task de_80_DR8_Rev_8_5_00004_1429700402_2075825_2
[/pre]

So I'm leaning towards changing the ATI drivers.

amd-catalyst-omega-14.12-linux-run-installers.zip was the driver from AMD I installed.
(fglrx-14.501.1003)

Am I correct in saying OpenCL is supplied by AMD as part of the stadard drivers (like CUDA/nVidia) ?

Thank you for looking at this.

** Edit: I am looking at this thread
http://boinc.berkeley.edu/dev/forum_thread.php?id=8571 which may has a few suggestions.

AgentB
AgentB
Joined: 17 Mar 12
Posts: 915
Credit: 513211304
RAC: 0

RE: ** Edit: I am looking

Quote:

** Edit: I am looking at this thread
http://boinc.berkeley.edu/dev/forum_thread.php?id=8571 which may has a few suggestions.

And yes this was the secret stuff.

Ubuntu and Fedora are different but the fix was fairly simple.

The install had not created a libOpenCL.so library link. (the libOpenCL.so.1 file existed)

sudo ln -s /usr/lib/libOpenCL.so.1 libOpenCL.so

The above post offered a suggestion for an environment variable for boinc to find the library.

I added this line

LD_LIBRARY_PATH=/lib64:/usr/lib:/lib:/usr/local/lib

to /etc/defaults/boinc-client

and restarted, and 20 BRP4 Aricebo and 11 BRP6 PMPS are downloaded and are now in progress - i will test MilkyWay later.

So some fine tuning now to be done.

floyd
floyd
Joined: 12 Sep 11
Posts: 133
Credit: 186610495
RAC: 0

RE: The command below did

Quote:

The command below did not quite work as described but this sequence

[pre]
agentb@tauon:/var/lib/boinc-client$ xhost +boinc
xhost: bad hostname "boinc"

# syntax is a little different
[/pre]


That's what happens when you try to simplify things without double checking. In fact "xhost si:localuser:boinc" is what I use and I manually delete that LOCAL: entry if it happens to show up.

Quote:
I tried earlier attaching to MilkyWay@home and did receive 20+ GPU tasks, which all aborted with this error


That means OpenCL has been recognized before but now it isn't.

Quote:

The install had not created a libOpenCL.so library link. (the libOpenCL.so.1 file existed)

sudo ln -s /usr/lib/libOpenCL.so.1 libOpenCL.so


Ah, now I remember reading about this. That link is now installed by the corresponding dev package. It's the same for nvidia and ocl-icd-libopencl1. Frankly, I don't see the reason behind that. By the way, I'm still using ocl-icd-libopencl1 from Debian now-oldstable which has the link. That's why I didn't remember it.

JBird
Joined: 22 Dec 14
Posts: 1963
Credit: 4046216051
RAC: 0

2 cents - Any Hardware or

2 cents -
Any Hardware or Config changes - Please run Event Log Diagnostic Flags:

state_debug and statefile_debug - "OK"

Then click Update

After you see "Done writing statefile" (on all projects) - turn those 2 flags off
And reset Boinc

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.