Disabling of OpenCL by default in Calc

Markus Mohrhard markus.mohrhard at googlemail.com
Tue Jun 21 08:46:51 UTC 2016


Hey,

On Tue, Jun 21, 2016 at 9:30 AM, Stephan Bergmann <sbergman at redhat.com>
wrote:

> On 06/21/2016 02:51 AM, Markus Mohrhard wrote:
>
>> so I'd like to disable OpenCL by default in Calc. I was once again hit
>> by some nasty issue in the OpenCL code that makes calc unusable for me.
>> In my opinion we have way too many issues with it and it reduces the
>> reliability of Calc ( who trusts his OpenCL driver enough to do his
>> taxes with OpenCL enabled).
>>
>> Unless someone does some huge refactoring of the OpenCL code and makes
>> sure that we can trust the OpenCL backend as much as our normal formula
>> code I would prefer if we disable it. In this case it is a regression
>> from 40b0b9ab7703a165295b008f47df14d2ec076fb1 but that we don't detect
>> such fundamental problems because of the different engines and the
>> different devices makes it hard to rely on the OpenCL code.
>>
>
> Can you give a short description of what the problem actually is?
>


The device selection code that runs with a new profile has become quite
slow (taking several dozen seconds) which makes Calc which makes tests
extremely slow and causes dozens of seconds delay when you create the first
formula. I have not yet completely understood what is going wrong.

But that is not the only issue. Just going to bugzilla gives several open
issues and serious ones show up from time to time. E.g.
https://bugs.documentfoundation.org/show_bug.cgi?id=99053

It is also quite obvious in all the hard to reproduce calc bugs as now in
general one of the first questions is about OpenCL as nobody is currently
trusting the OpenCL device and we have no way to check the OpenCL device.
It is a bit similar to how the OpenGL drivers have to blacklisted with the
difference that for the OpenCL ones it is more serious as it causes wrong
spreadsheet calculations.

Regards,
Markus


> [...]
>
>> It would be nice if this could be put onto the ESC agenda so that we
>> could disable it in 5.2.
>>
>
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20160621/3cb276e9/attachment.html>


More information about the LibreOffice mailing list