Description: After upgrade to 24.8.4.2 on my Windows 10 machine, Writer got *very* sluggish. I un-checked "Use Skia for all rendering" in Tools-Options/View and now it works fine (Thank God!, I was worried there for a while...) Steps to Reproduce: 1.Upgraded to 24.8.4.2 2. 3.Un-checked "Use Skia for all rendering" in Options/View Actual Results: Writer works fine again after Un-check the Skia thingy... Expected Results: Maybe Not enabled "Use Skia..." during upgrade (?) Reproducible: Always User Profile Reset: No Additional Info: Version: 24.8.4.2 (X86_64) / LibreOffice Community Build ID: bb3cfa12c7b1bf994ecc5649a80400d06cd71002 CPU threads: 12; OS: Windows 10 X86_64 (10.0 build 19045); UI render: default; VCL: win Locale: sv-SE (en_SE); UI: en-US Calc: threaded Note! The above is copied After I made the change of un-checking "Use Skia..." Also, this is the first time I write one of these so I apologize if the info I submitted is out-of-place or something, I just wanted to inform you of my problem described above and I found no other way of doing so. I use LO (mostly Writer) every day, so before I found the solution I was really worried there for a while. Keep up the good work and Thankyou. /Lasse
Could you take a look at https://wiki.documentfoundation.org/QA/FirstSteps#Graphics-related_issues_(_Skia_) ?
Yes I have, and before I turned Skia off, the line read "UI Render: Skia/Vulkan". Also, I have had no crashes, only "sluggishness"
(In reply to lrsbrwn from comment #2) > Yes I have, and before I turned Skia off, the line read "UI Render: > Skia/Vulkan". > Also, I have had no crashes, only "sluggishness" Even if there's no crash, what about checking last graphic driver? What about <user profile>/cache/skia.log ? (at least brand and model of graphic card)
(In reply to Julien Nabet from comment #3) > (In reply to lrsbrwn from comment #2) > > Yes I have, and before I turned Skia off, the line read "UI Render: > > Skia/Vulkan". > > Also, I have had no crashes, only "sluggishness" > > Even if there's no crash, what about checking last graphic driver? What > about <user profile>/cache/skia.log ? (at least brand and model of graphic > card) Here is what I get from copy Skia.log (had to enable Skia again in order to do the copy): RenderMethod: vulkan Vendor: 0x8086 Device: 0x3e92 API: 1.3.215 Driver: 0.404.2111 DeviceType: integrated DeviceName: Intel(R) UHD Graphics 630 Denylisted: no My computer also has a Nvidia GTX1660 card, how can I get LibreOffice to use that card instead of the Intel 630 ? Is there any advantages in using Skia ? When I turn it off LO Writer works like a charm... do I need Skia ??
(In reply to lrsbrwn from comment #4) > (In reply to Julien Nabet from comment #3) > ... > My computer also has a Nvidia GTX1660 card, how can I get LibreOffice to use > that card instead of the Intel 630 ? Is there any advantages in using Skia ? > When I turn it off LO Writer works like a charm... do I need Skia ?? Thank you for the extra details. Using Skia Vulkan part allows to use GPU instead of CPU so it accelerates some treatment in LO. Skia Raster uses CPU. Now in your case it seems there's some bug on one of these: - the graphic driver - Skia lib - LO use of Skia so for the moment, it's perhaps better you disable Skia. Concerning your question about how to switch towards the Nvidia GPU instead of the integrated Intel GPU, I found this thread: https://ask.libreoffice.org/t/libreoffice-writer-using-integrated-gpu-instead-of-dedicated-after-monitor-change/102614/6 where someone proposes this workaround: 1) Navigate to Tools > Options > LibreOffice > View. 2) Check the box labeled “Force Skia software rendering”. Since I don't have this pb, I can't test myself this workaround but you may give it a try. Of course, it's not a solution.
(In reply to Julien Nabet from comment #5) > (In reply to lrsbrwn from comment #4) > > (In reply to Julien Nabet from comment #3) > > ... > > My computer also has a Nvidia GTX1660 card, how can I get LibreOffice to use > > that card instead of the Intel 630 ? Is there any advantages in using Skia ? > > When I turn it off LO Writer works like a charm... do I need Skia ?? > > ... > ...this workaround: > 1) Navigate to Tools > Options > LibreOffice > View. > 2) Check the box labeled “Force Skia software rendering”. > > Since I don't have this pb, I can't test myself this workaround but you may > give it a try. > Of course, it's not a solution. Thanx for the tip! I did some more testing and if I Use Skia then my iGPU is used but not my dGPU (GTX1660). If I un-check Skia then my dGPU is used and my iGPU sleeps (0%) and everything works fine. If I Force Skia then it behaves the same way, it uses the GTX card and it works fine! Thanx a million for your help /Lasse
(In reply to lrsbrwn from comment #6) > ... > Thanx for the tip! I did some more testing and if I Use Skia then my iGPU is > used but not my dGPU (GTX1660). If I un-check Skia then my dGPU is used and > my iGPU sleeps (0%) and everything works fine. If I Force Skia then it > behaves the same way, it uses the GTX card and it works fine! > > Thanx a million for your help > /Lasse You're welcome :-) V Stuart: before pinging some devs (I think about Noel) to find a proper solution, as Windows QA expert, anything to add here that I would have missed ?
(In reply to Julien Nabet from comment #7) > (In reply to lrsbrwn from comment #6) > > ... > > Thanx for the tip! I did some more testing and if I Use Skia then my iGPU is > > used but not my dGPU (GTX1660). If I un-check Skia then my dGPU is used and > > my iGPU sleeps (0%) and everything works fine. If I Force Skia then it > > behaves the same way, it uses the GTX card and it works fine! > > > > Thanx a million for your help > > /Lasse > > You're welcome :-) > > V Stuart: before pinging some devs (I think about Noel) to find a proper > solution, as Windows QA expert, anything to add here that I would have > missed ? Yes it is a little confusing. There are actually two sets of controls (three if you enable or disable antialaising): 1. hardware acceleration checked on/off (offload CPU or not) 1.a - checked on default off loads CPU to GPU (iGPU or dGPU if present) 1.b - checked off graphics non-Accelerated and use just CPU for GDI rendering 2. Use Skia libs for rendering graphics 2.a - use Vulkan based vector acceleration, on by default 2.b - do not use Vulkan and instead just Skia raster framing. When driver support for Vulkan is lacking, the Skia libs are more performant than GDI grpahics. So the least performant is with HA unchecked, and will show in Help -> About pop-up with "render: default" state. Next would be HA checked, but still showing "render: default" in the Help -> About pop-up. Next would be HA checked (but suppressed) and the Tools -> Options -> View "Use Skia for all rendering" and also the "Force Skia software rendering" checked active. The Help -> About will show "UI render: Skia/Raster" and a skia.log file will be created in C:\Users\<username>\AppData\Roaming\LibreOffice\4\cache. It will list "RenderMethod: raster". This is traditional GPU accelerated raster framing. Finally, and only if the iGPU/dGPU is *not denylisted* nor failing some simple startup rendering tests, the "Use Skia for all rendering" checkbox will use either Vulkan accelerated iGPU or dGPU *dependent on os/DE control*. And when Vulkan rendering is enabled the Help -> About will show "UI render: Skia/Vulkan" and the Skia.log will list "RenderMethod: Vulkan" nVidia graphics drivers control the iGPU/dGPU with their "Optimus" protocols. AMD graphics drivers use "AMD Switchable Graphics" and both implementation provide system user ability to specify the applications that use the dGPU vs the iGPU. Either vendor can use the driver provided Skia/Vulkan rendering, which will be more performant than CPU GDI HA acceleration. On Intel laptops, when the iGPU is used it will use Intel's Vulkan driver, or will use the vendor's driver (nVidia or AMD) when the dGPU is enabled. If the dGPU is detected enabled, but fails its LibreOffice graphics testing or has been denylisted, you should see "UI render: Skia/raster" as a fallback and the Skia log will list "RenderMethod: raster" Likewise for the iGPU when detected enabled. But that is user configurable in os/DE not in LibreOffice. So you can have Skia/raster on dGPU bug Skia/Vulkan on the iGPU that can actually be more performant! So it really depends on the driver support for the GPU (iGPU/dGPU) in use. And when Skia rendering is disabled (both check boxes unset). The Skia log is removed. Which is why sometimes for QA we need external Skia/Vulkan logs. For example a run of the LunarG Vulkan SDK's "vulkaninfo.exe" (provided by Intel, AMD, nVidia) or the Vulkan hardware database project's "vulkancapsviewer.exe" [1] to identify the devices and drivers in use. =-refs-= [1] https://vulkan.gpuinfo.org/about.php
(In reply to V Stuart Foote from comment #8) Sorry, and after that long response, I'd say the nVidia GTX1660 is not well supported by the Vulkan driver in use. You could update to a more current nVidia driver to check for improved Vulkan rendering behavior (of LibreOffice), or equally just stay with the Skia/raster rendering of LibreOffice on the dGPU. And if you need Vulkan vector accelerated graphics, then the iGPU would probably suffice. There is not that much dynamic rendering in any of the LibreOffice modules, and both "Optimus" or "AMD Switchable Graphics" may consider LibreOffice a low performance application by default.