Bug 103580 - UI - Enabling OpenCL in Options-OpenCL has no effect on macOS
Summary: UI - Enabling OpenCL in Options-OpenCL has no effect on macOS
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.6.2.1 release
Hardware: x86-64 (AMD64) macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: macOS-UI-polish OpenCL Options-Dialog
  Show dependency treegraph
 
Reported: 2016-10-29 21:21 UTC by Frank Fuchs
Modified: 2024-03-04 17:13 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Fuchs 2016-10-29 21:21:49 UTC
Description:
enabling OpenCL checkbox in Options-OpenCL does not enable OpenCL

HW: MacBook Pro 15" early 2013: Intel HD Graphics 4000 1536 MB and Nvidia GeForce GT 650M with 1 MB VRAM
SW: macOS 10.12.1, DE
LO 5.2.3.3

Steps to Reproduce:
1. Go to Options - OpenCL
2. enable OpenCL (as far as I can see, it is not blacklisted on macOS)
3. close and re-start LO: OpenCL is still disabled (about shows: "... calc: group" and opening Options-OpenCL shows the same de-selected checkbox)

Actual Results:  
after re-starting LO: OpenCL not enabled and checkbox in Options-OpenCL still not checked

Expected Results:
it should have either enabled OpenCL or displayed an error message in case it could not or would not enable OpenCL
Enabling OpenCL should then be seen in the about box and when you go to Options-OpenCL afterwards


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:49.0) Gecko/20100101 Firefox/49.0
Comment 1 m_a_riosv 2016-10-29 22:18:41 UTC
If I remember fine, a test for OpenCL is done, if it is not Ok, OpenCL is disable.
Comment 2 Alex Thurgood 2016-11-03 10:58:33 UTC
@Frank : a check is made on startup of LO as to whether OpenCL is deemed to work reliably with the processor provided. If the test fails, OpenCl is deactivated. The option tick box merely indicates that the user would like the application to use OpenCL, but apparently can not enforce such use.
Comment 3 Frank Fuchs 2016-11-03 11:13:42 UTC
@Alex: If it's as you say, then the user should be notified about it:
After the check completes with the result that OpenCL cannot be enabled, show a message box with such text.
Otherwise, the user simply wonders why the checkbox can be clicked and is de-selected after a LO restart.
Comment 4 How can I remove my account? 2016-11-04 10:12:26 UTC
The ideal would be that no checkbox would be shown at all, and OpenCL would be automatically  used of and only if the program is sure it works well. But of course, we are not there yet. Anyway, surely it is better to err on the cautious side, and not enable OpenCL even if the user tries to insist, if we are not sure about it. What kind of user even has any idea what the checkbox means, anyway? Probably a very small percentage.
Comment 5 m_a_riosv 2016-11-04 10:31:29 UTC
Or an indication next to checkbox that OpenCL test it's no passed, so users can know why it is auto unchecked after restart LibreOffice.
Comment 6 QA Administrators 2017-11-05 11:49:22 UTC Comment hidden (obsolete)
Comment 7 Frank Fuchs 2017-11-05 12:25:00 UTC
The behaviour is unchanged in LO 5.4.3.2
Version: 5.4.3.2
Build-ID: 92a7159f7e4af62137622921e809f8546db437e5
CPU-Threads: 8; Betriebssystem:Mac OS X 10.13.1; UI-Render: GL; 
Gebietsschema: de-DE (de_DE.UTF-8); Calc: group

I think we all agree that the user can only activate OpenCL if deemed save in the current hw environment.

But we are still missing a small error popup in case the user activates the OpenCL check box, LibO checks whether activating OpenCL would be "safe" and decides to leave OpenCL de-activated. The user should be notified why he cannot activate OpenCL on his machine.
Comment 8 Joseph (Jy) Yaworski 2017-12-27 18:53:13 UTC
As a relatively new user of LibreOffice, encountering this bug was frustrating to say the least. I definitely agree we should add a message of some kind about why we can't enable OpenCL.

In the specific case of OSX, Apple maintains their specification support here:

https://support.apple.com/en-us/HT202823

I'm running very new hardware, and it refuses to enable for me. We should possibly look at the test itself as well.
Comment 9 QA Administrators 2018-12-28 03:46:18 UTC Comment hidden (obsolete)
Comment 10 Frank Fuchs 2018-12-29 17:23:12 UTC
The bug is still present in LibO 6.1.4.2 on Mac running macOS 10.14.2.
Sad :-(
Comment 11 QA Administrators 2020-12-29 03:43:42 UTC Comment hidden (obsolete)
Comment 12 How can I remove my account? 2020-12-29 08:20:45 UTC
By now this is clearly a WONTFIX. The future of OpenCL in LibreOffice is unclear in general, I think, and on macOS it was never much more than "if it works, ok, if not, oh well".
Comment 13 andre78ch 2023-10-30 17:02:29 UTC
In 7.6.2.1. this issue is still not fixed. 
Either this checkbox for OpenCL activation should be fully implemented or entirely removed.

- Fully implemented = If I check the box and re-open, LibO tries to use OpenCL and it it fails, it doesn't simply deactivate the checkbox but adds a notice beside it: "Last atemmpt to use OpenCL failed"

- Entirely removed = The entry in Preferneces > LibreOffice > OpenCL ceases to appear so that it doesn't unnecerssarily confuse users.


Why this is important: LO 7.6.1 Apple Silicon currently suffers from a terrible keyboard to show on screen lag, and the first place users look when confronted with such thnigs is in graphic settings like OpenCL. They only find a defective checkbox.
Comment 14 Dariusz 2024-02-01 18:54:05 UTC
(In reply to Frank Fuchs from comment #0)
> Description:
> enabling OpenCL checkbox in Options-OpenCL does not enable OpenCL
> 
> HW: MacBook Pro 15" early 2013: Intel HD Graphics 4000 1536 MB and Nvidia
> GeForce GT 650M with 1 MB VRAM
> SW: macOS 10.12.1, DE
> LO 5.2.3.3
> 
> Steps to Reproduce:
> 1. Go to Options - OpenCL
> 2. enable OpenCL (as far as I can see, it is not blacklisted on macOS)
> 3. close and re-start LO: OpenCL is still disabled (about shows: "... calc:
> group" and opening Options-OpenCL shows the same de-selected checkbox)
> 
> Actual Results:  
> after re-starting LO: OpenCL not enabled and checkbox in Options-OpenCL
> still not checked
> 
> Expected Results:
> it should have either enabled OpenCL or displayed an error message in case
> it could not or would not enable OpenCL
> Enabling OpenCL should then be seen in the about box and when you go to
> Options-OpenCL afterwards
> 
> 
> Reproducible: Always
> 
> User Profile Reset: No
> 
> Additional Info:
> 
> 
> User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:49.0)
> Gecko/20100101 Firefox/49.0

I have at the same simillar problem ,but in the Linux(package flatpak).
Comment 15 steve 2024-03-03 13:46:17 UTC
1. open Settings > OpenCL
2. tick checkbox to use OpenCL

restart -> checkbox is not enabled.

peristing on Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e2473fe3a547e5a11d3b91ab8ded833bf5b74356
CPU threads: 8; OS: macOS 13.6.4; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

As per comment https://bugs.documentfoundation.org/show_bug.cgi?id=103580#c2:
The option tick box merely indicates that the user would like the application to use OpenCL, but apparently can not enforce such use.

and comment https://bugs.documentfoundation.org/show_bug.cgi?id=103580#c4:
By now this is clearly a WONTFIX. The future of OpenCL in LibreOffice is unclear in general, I think, and on macOS it was never much more than "if it works, ok, if not, oh well".

agreeing and setting to wontfix.

To discuss a similar issue on Linux, please open a separate bug and see if the same arguments as above apply or if there is an actual misbehavior.
Comment 16 Alex Thurgood 2024-03-03 15:40:07 UTC
(In reply to steve from comment #15)


> and comment https://bugs.documentfoundation.org/show_bug.cgi?id=103580#c4:
> By now this is clearly a WONTFIX. The future of OpenCL in LibreOffice is
> unclear in general, I think, and on macOS it was never much more than "if it
> works, ok, if not, oh well".
> 
> agreeing and setting to wontfix.

Just my 2c, but wouldn't it be better to just remove the tick box ? Leaving it kind of makes no sense when other UI elements have been removed, or hidden in the Advanced Configuration settings, when they served little, to no, purpose, or if they were only used by a very small number of users.
Comment 17 steve 2024-03-03 22:36:56 UTC
I agree with you, Alex, and asked about that very point in the matrix QA channel, but have not received a response yet.
Comment 18 Stéphane Guillou (stragu) 2024-03-04 02:10:16 UTC
I've followed up in bug 160013.