https://bugs.documentfoundation.org/show_bug.cgi?id=164552
--- Comment #8 from V Stuart Foote <[email protected]> --- (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 -- You are receiving this mail because: You are the assignee for the bug.
