Message boards : BOINC client : Problems with OpenCL in Ubuntu using open source driver mesa
Message board moderation
    
| Author | Message | 
|---|---|
| Send message Joined: 12 Jan 10 Posts: 25   | 
 Hello again, i have 2 different computers, one using AMD GPU ant the other using nVidia Both of them are running open source drivers, via mesa. And i have installed mesa-opencl-icd package, so that BOINC detects GPU as opencl capable But, *every* task i start ends with "computing error"! What am i doing wrong? BOINC version is 7.6.33, Ubuntu 16.04 and mesa 17.0.7 Thanks in advance! | 
| Send message Joined: 12 Jan 10 Posts: 25   | 
 with *every task* i mean, *every task meant to be computed via OpenCL*, not regular CPU tasks | 
| Send message Joined: 12 Jan 10 Posts: 25   | 
 oh, and also, my GPUs are: AMD: A6-5200 Quad-core with HD 8400 nVidia: GeForce GT 630 | 
| Send message Joined: 5 Oct 06 Posts: 5150   | 
 And your tasks are coming from - which project? | 
| Send message Joined: 12 Jan 10 Posts: 25   | 
 several, seti@home, asteroids@home, Einstein@home..... | 
| Send message Joined: 5 Oct 06 Posts: 5150   | 
 From that list, probably the best Linux GPU support community is at Einstein. Try BRP6-OPENCL-ATI WITH LINUX MESA OPENCL | 
| Send message Joined: 12 Jan 10 Posts: 25   | 
 just posted.... Will update with news, if any.... thank you | 
| Send message Joined: 4 Jul 12 Posts: 321   | 
 I've seen you already got some help in the EaH forums. The problem is that the Mesa driver seems to either not support OpenCL fully or has a bug that is triggered by the science apps. From the logs I've seen the process exits with signal 6 (SIGABRT) abort. From the backtrace another user posted it seems the driver fails when the function "clGetPlatformIDs()" is called. | 
| Send message Joined: 12 Jan 10 Posts: 25   | 
 well, i see OpenCL support is 1.1.... maybe its not enough... And, it seems OpenCL support in Mesa is not fully implemented... maybe thats another point.... https://dri.freedesktop.org/wiki/GalliumCompute/ | 
| Send message Joined: 4 Jul 12 Posts: 321   | 
 There is a lot TODO in this list. The BRP4 opencl app is available (https://einsteinathome.org/de/application-source-code-and-license)and can be used for testing if needed. I can provide testdata in case you want to escalate this to the mesa developers. EaH uses the original ATI/Nvidia drivers as a reference and there are no problems there. | 
| Send message Joined: 12 Jan 10 Posts: 25   | 
 as "original ATI driver", you mean propietary ones? The point is that, propietary ATI drivers: 1) offers much worse performance under Ubuntu, and 2) they are not available anymore for the X version provided in newest Ubuntu versions | 
| Send message Joined: 12 Jan 10 Posts: 25   | 
 what do you think about using bleed-edge Mesa from here?  https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers May that help? | 
| Send message Joined: 4 Jul 12 Posts: 321   | 
 Yes, I mean the proprietary ones. Yes, we are aware of the shortcommings of those on Linux. But they were there first and are now the reference. As I understand it the mesa driver is not yet feature complete and is not guaranteed to work with all applications. I don't know exactly what is wrong but using bleeding edge wan't make it worse I guess. This is not something the app developer can fix this is something the driver developer has to do. | 
| Send message Joined: 12 Jan 10 Posts: 25   | 
 I can provide testdata in case you want to escalate this to the mesa developers. EaH uses the original ATI/Nvidia drivers as a reference and there are no problems there. I´d love to! i don´t know exasctly how can i help, but i´ll do my best. And yes, there are no problems with propietary drivers. | 
        Copyright © 2025  University of California.
        
Permission is granted to copy, distribute and/or modify this document
        under the terms of the GNU Free Documentation License,
        Version 1.2 or any later version published by the Free Software Foundation.