FS#76072 - [boinc] OpenCL tasks error out on for all applications when using AMD GPUs
Attached to Project:
Community Packages
Opened by Mattia (mattblack) - Friday, 30 September 2022, 10:01 GMT
Last edited by Toolybird (Toolybird) - Sunday, 16 April 2023, 08:20 GMT
Opened by Mattia (mattblack) - Friday, 30 September 2022, 10:01 GMT
Last edited by Toolybird (Toolybird) - Sunday, 16 April 2023, 08:20 GMT
|
Details
Description:
It seems that the systemd unit file for boinc, specifically this line `ProtectSystem=strict` doesn't allow GPU task to execute. I attched the log entry which is a bit misleading, then I tried to run boinc as another user in another folder without systemd and noticed everything was working, from that I tried different configs till I get to the root issue, ProtectSystem. If I comment it out GPU tasks are worked correctly and finish with no issues Additional info: * 7.20.2-1 * [13:01:23][57640][INFO ] Application startup - thank you for supporting Einstein@Home! [13:01:23][57640][INFO ] Starting data processing... [13:01:23][57640][INFO ] Using OpenCL platform provided by: Advanced Micro Devices, Inc. [13:01:23][57640][INFO ] Using OpenCL device "gfx1031" by: Advanced Micro Devices, Inc. [13:01:23][57640][ERROR] Couldn't create OpenCL command queue (error: -6)! [13:01:23][57640][INFO ] OpenCL shutdown complete! [13:01:23][57640][ERROR] Demodulation failed (error: 2013)! [13:01:23][57640][WARN ] Sorry, at the moment your system doesn't have enough free CPU/GPU memory to run this task! Steps to reproduce: 1) install boinc with `pacman -S boinc` 2) install opencl-amd opencl-headers from AUR 3) Launch any GPU task, a `Computation Error` is returned every time |
This task depends upon
Closed by Toolybird (Toolybird)
Sunday, 16 April 2023, 08:20 GMT
Reason for closing: Upstream
Additional comments about closing: See the upstream ticket. The cause is understood and can be worked around with a systemd drop-in until upstream get around to fixing it.
Sunday, 16 April 2023, 08:20 GMT
Reason for closing: Upstream
Additional comments about closing: See the upstream ticket. The cause is understood and can be worked around with a systemd drop-in until upstream get around to fixing it.
[1] https://github.com/BOINC/boinc/pull/2873
[2] https://github.com/BOINC/boinc/issues/3355
[3] https://wiki.archlinux.org/title/BOINC#Projects_using_GPU
I have raised now an issue against upstream here => https://github.com/BOINC/boinc/issues/4948, I didn't find interestingly the linked issue when I was debugging.
I followed fully the wiki, this is the output of checking groups
~ » groups boinc
video boinc