Description: I can’t enable OpenCL, as after restarting LibreOffice, the checkbox is unchecked again. From what I’ve read, this means the GPU is not whitelisted because the drivers supposedly don’t support the API, but according to GPU-Z, the integrated GPU does support OpenCL: Supported Version: Full Supported Profile: OpenCL 3.0 NEO So I don’t get why is the device blacklisted, what’s preventing LO from whitelisting the device in order for OpenCL to be enabled? Steps to Reproduce: 1.Open Tools>Options>LibreOffice>OpenCL 2.Check "Allow use of OpenCL" box 3. Press OK and restart the application Actual Results: "Allow use of OpenCL" checkbox is unchecked after restarting the application. Expected Results: "Allow use of OpenCL" checkbox should be checked after restarting the application. Reproducible: Always User Profile Reset: Yes Additional Info: Version: 24.2.1.2 (X86_64) / LibreOffice Community Build ID: db4def46b0453cc22e2d0305797cf981b68ef5ac CPU threads: 8; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win Locale: pt-BR (pt_BR); UI: en-GB Calc: threaded CPU: Core i5-1135G7 GPU: Intel Graphics Xe 80 EUs OS: Windows 11 Home version 23H2 GPU driver version: 31.0.101.5382
Created attachment 193518 [details] a screenshot of GPU-Z Advanced tab
Created attachment 193519 [details] output of clinfo.exe
Please attach the file: 'opencl_devices.log' that you can find in the profile C:\Users\USER\AppData\Roaming\LibreOffice\4\cache
Created attachment 193542 [details] opencl_devices.log
Please, @Julien, can you take a look.
I can't help much here since I know nothing about OpenCL. It seems another LO feature that is been partly implemented and not really supported. Anyway I can enable it on Windows 10 with LO 7.6.6 but it stays disabled on my Linux machine with Debian testing and master sources updated today. I suppose It could be interesting to have opencl_profile.xml if present. (see https://wiki.documentfoundation.org/QA/FirstSteps#Computation-related_issues_in_Calc_(_OpenCL_))
Sorry @Julien, I thought you have added some GPU to blacklist.
(In reply to m_a_riosv from comment #7) > Sorry @Julien, I thought you have added some GPU to blacklist. Indeed for OpenGL but OpenGL and OpenCL are 2 different things.
Hi @ksio, please try to update the driver from intel, not from Windows update. https://www.intel.com/content/www/us/en/support/detect.html I remember that a few years ago, I solve to have OpenCL working with it. There was an issue, with the path where the OpenCL was installed, was not the right place.
Created attachment 193556 [details] opencl_profile.xml Uploaded opencl_profiles.xml.
(In reply to m_a_riosv from comment #9) > Hi @ksio, please try to update the driver from intel, not from Windows > update. > > https://www.intel.com/content/www/us/en/support/detect.html > > I remember that a few years ago, I solve to have OpenCL working with it. > There was an issue, with the path where the OpenCL was installed, was not > the right place. It is updated to the latest version (31.0.101.5382). On Windows, OpenCL runtime libraries are installed along the drivers but the user has no choice where to install them.