https://bugs.documentfoundation.org/show_bug.cgi?id=158650

--- Comment #15 from Patrick Luby <plub...@libreoffice.org> ---
(In reply to matt from comment #14)
> So after reset UI render is as follows (and performance is great):
> 
> Version: 7.6.4.1 (X86_64) / LibreOffice Community
> Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
> CPU threads: 16; OS: Mac OS X 13.6.1; UI render: Skia/Metal; VCL: osx
> Locale: en-CA (en_CA.UTF-8); UI: en-US
> Calc: threaded
> 
> Later UI render has been changed (not by me) to:
> 
> Version: 7.6.4.1 (X86_64) / LibreOffice Community
> Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
> CPU threads: 16; OS: Mac OS X 13.6.1; UI render: Skia/Raster; VCL: osx
> Locale: en-CA (en_CA.UTF-8); UI: en-US
> Calc: threaded
> 
> ...and Calc is unusable. I expect, with the changes in the development build
> I tried, performance will be alright when this happens--but I don't think it
> should be changing to Skia/Raster by itself. I had a quick grep through the
> codebase and I think SkiaZone::hardDisable() is being called for some reason?

I think you are seeing a known Skia/Metal bug. In most cases, using Skia/Metal
is a lot faster than using Skia/Raster. But, every once in while, Skia/Metal
gets stuck in a very lengthy loop and LibreOffice appears to be hanging.

To handle this unpredictable Skia/Metal behavior, LibreOffice has a background
thread (i.e. the "Watchdog" thread) that detects if Skia/Metal has been stuck
for several seconds. If yes, LibreOffice invokes SkiaZone::hardDisable() which
switches to Skia/Raster to break out of whatever loop Skia/Metal is stuck in.

If you are seeing SkiaZone::hardDisable() frequently, you may want to consider
downloading LibreOffice 24.2 Beta1 from the following URL. That version already
has the fix for tdf#155266 that LibreOffice 7.6.4 is missing so you should be
able to use Skia/Raster with LibreOffice 24.2 Beta1. LibreOffice 7.6.5 will
include the missing fix, but IIRC that won't be released until February 2024:

https://www.libreoffice.org/download/download-libreoffice/?type=mac-x86_64&version=24.2.0&lang=en-US

Note: LibreOffice 24.2 Beta1 will not overwrite your LibreOffice 7.6.4
installation. Instead, it will be installed in
/Appplications/LibreOfficeDev.app so that you can run both 24.2 Beta1 and 7.6.4
at the same time.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to