LibreOfiice hangs AMD CPU Raven2 system when trying to use OpenCL from Mesa 3D

Cannot start any LibreOfiice’s application, so cannot revert setting with menu.

Solution 1:
Open terminal and run:

SAL_DISABLE_OPENCL=1 soffice

Then disable OpenCL usage with a menu.

Solution 2:
In the file .config/libreoffice/4/user/registrymodifications.xcu
find block

<item oor:path="/org.openoffice.Office.Common/Misc">
<prop oor:name="UseOpenCL" oor:op="fuse">
<value>**true**</value>
</prop>
</item>

and change “true” to “false”.
[HR][/HR]
Probably will work with AMD ROCm OpenCL.

Based on a quick Internet search,
Looks like Libreoffice 4, 5 and 6 can whitelist and blacklist OpenCL in its GUI configuration settings.

The following link is to Libreoffice 5 documentation but should apply to 4, 5 and 6

https://books.google.com/books?id=ZmUuDwAAQBAJ&pg=PA51&lpg=PA51&dq=libreoffice+OpenCL+BlackList

TSU