Summary: | Locking down the enabled status of the OpenCL feature leads to a startup crash | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Gabor Kelemen (allotropia) <kelemeng> |
Component: | UI | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | RESOLVED NOTABUG | ||
Severity: | major | CC: | ilmari.lauhakangas |
Priority: | medium | ||
Version: | Inherited From OOo | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 157843 | ||
Attachments: | Lock down extension for the OpenCL page, enabling and locking the feature |
Description
Gabor Kelemen (allotropia)
2023-10-20 09:09:15 UTC
Repro Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 7d08767b890e723cd502b1c61d250924f695eb98 CPU threads: 2; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win Locale: en-US (en_FI); UI: en-US Calc: threaded No repro here -- works as expected. The OpenCL checkbox is grayed out and set to enabled. Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: a1b0fc647d14dc36e9fe238d5bfc81ebcfa1d5dc CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded After a bit of looking into the issue, this happens in OpenCLConfig::set and OpenCLZone::hardDisable - there is a bit of sanity checking, and if your hardware/driver is not good enough to use OpenCL (but the same pattern is used in OpenGL and Skia), then it disables the feature. Looks like this is a good approach and doing the lockdown to enable stuff is not so wise. |