Questions and Answers :
Unix/Linux :
Segmentation Fault with OpenCL
Message board moderation
Author | Message |
---|---|
Send message Joined: 31 Dec 09 Posts: 15 Credit: 18,347,018 RAC: 632 ![]() ![]() |
Hello, I have a segmentation fault at beginning of OpenCL calculation. Here one exanple: <core_client_version>7.20.2</core_client_version> <![CDATA[ <message> process exited with code 193 (0xc1, -63)</message> <stderr_txt> <search_application> milkyway_separation 1.46 Linux x86_64 double OpenCL </search_application> Reading preferences ended prematurely BOINC GPU type suggests using OpenCL vendor 'Advanced Micro Devices, Inc.' Setting process priority to 0 (13): Permission denied Error loading Lua script 'astronomy_parameters.txt': [string "number_parameters: 4..."]:1: '<name>' expected near '4' Switching to Parameter File 'astronomy_parameters.txt' <number_WUs> 5 </number_WUs> <number_params_per_WU> 20 </number_params_per_WU> Using SSE3 path ATTENTION: default value of option radeonsi_no_infinite_interp overridden by environment. Gallium debugger active. Logging all calls. Hang detection timeout is 1000ms. Gallium debugger active. Logging all calls. Hang detection timeout is 1000ms. Gallium debugger active. Logging all calls. Hang detection timeout is 1000ms. Gallium debugger active. Logging all calls. Hang detection timeout is 1000ms. Found 1 platform Platform 0 information: Name: Clover Version: OpenCL 1.2 Mesa 22.1.7 Vendor: Mesa Extensions: cl_khr_icd Profile: FULL_PROFILE Didn't find preferred platform Using device 0 on platform 0 Found 1 CL device Device 'AMD VERDE (LLVM 14.0.6, DRM 2.50, 5.19.10-arch1-1)' (AMD:0x1002) (CL_DEVICE_TYPE_GPU) Board: Driver version: 22.1.7 Version: OpenCL 1.2 Mesa 22.1.7 Compute capability: 0.0 Max compute units: 6 Clock frequency: 800 Mhz Global mem size: 2143076352 Local mem size: 32768 Max const buf size: 67108864 Double extension: cl_khr_fp64 SIGSEGV: segmentation violation Exiting... </stderr_txt> ]]> May I enable some verbose flag? Thank you |
![]() ![]() Send message Joined: 8 May 09 Posts: 3339 Credit: 524,010,781 RAC: 27 ![]() ![]() ![]() |
Hello, Has this setup ever crunched here before? Over at Einstein they say that the Mesa drivers are NOT the way to go to crunch, don't know if that helps or not. |
Send message Joined: 31 Dec 09 Posts: 15 Credit: 18,347,018 RAC: 632 ![]() ![]() |
No, it's first time. I have a new GPU. The GPU architetture is GCN 1.0 and new AMD drive dosn't support this architetture anymore, so i have to use Mesa Clover driver |
![]() ![]() Send message Joined: 8 May 09 Posts: 3339 Credit: 524,010,781 RAC: 27 ![]() ![]() ![]() |
Have you installed the OpenCL stuff yet? If so then you need to find someone who's better at Linux then I am. You might try searching the projects for how to do it as you may just find the answer at some other project and then you can post it here for everyone else. |
![]() ![]() Send message Joined: 24 Jan 11 Posts: 712 Credit: 551,587,684 RAC: 55,046 ![]() ![]() ![]() ![]() |
The Mesa drivers are showing OpenCL1.2 support. But AFAIK, the Mesa OpenCL component has never worked on BOINC projects. Extra concern is the platform is Arch distro. They lock things down and do it only their way from what I've read. My usual response for more common distros is to ditch the Mesa drivers and go with the official AMD driver packages. If you were runinng a common Debian derivative, then I would say install the Opencl-icd package. sudo apt-get install ocl-icd-libopencl1 About all the help I can offer. ![]() |
Send message Joined: 31 Dec 09 Posts: 15 Credit: 18,347,018 RAC: 632 ![]() ![]() |
I subscribed to Einstein@Home and I completed a GPU task with MESA driver without problem. So i think my problem is with Milkyway@Home code or because M@H needs more resources (memory?) thank you all |
Send message Joined: 9 Jul 17 Posts: 100 Credit: 16,967,906 RAC: 0 ![]() ![]() |
The last time I checked, there was not much point in upgrading my RX 570 (Ubuntu 20.04.5) because the timeout on MW limited the speed anyway. Maybe that has changed now? Maybe someone with a new card will post. https://milkyway.cs.rpi.edu/milkyway/results.php?hostid=925986&offset=0&show_names=0&state=4&appid= |
![]() ![]() Send message Joined: 8 May 09 Posts: 3339 Credit: 524,010,781 RAC: 27 ![]() ![]() ![]() |
The last time I checked, there was not much point in upgrading my RX 570 (Ubuntu 20.04.5) because the timeout on MW limited the speed anyway. Yours is doing about this: Completed and validated 117.57 9.86 227.14 Milkyway@home Separation v1.46 (opencl_ati_101) x86_64-pc-linux-gnu Here's what a 580 does: Completed and validated 94.78 25.20 227.14 Milkyway@home Separation v1.46 (opencl_ati_101) windows_x86_64 Here's what my 980 does: Completed and validated 246.16 90.78 227.11 Milkyway@home Separation v1.46 (opencl_nvidia_101) x86_64-pc-linux-gnu |
Send message Joined: 9 Jul 17 Posts: 100 Credit: 16,967,906 RAC: 0 ![]() ![]() |
Thanks. That is a useful point of comparison. |
![]() ![]() Send message Joined: 8 May 09 Posts: 3339 Credit: 524,010,781 RAC: 27 ![]() ![]() ![]() |
Thanks. That is a useful point of comparison. What model gpu were you looking at? I have a few other models I can put on here to do a couple of tasks for their comparison too if you'd like. |
![]() ![]() Send message Joined: 24 Jan 11 Posts: 712 Credit: 551,587,684 RAC: 55,046 ![]() ![]() ![]() ![]() |
This is what a RTX 3080 does at 2X concurrent on Separation. 126.72 81.02 227.14 Milkyway@home Separation v1.46 (opencl_nvidia_101) x86_64-pc-linux-gnu ![]() |
©2024 Astroinformatics Group