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

V Stuart Foote <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOTABUG
             Status|NEW                         |RESOLVED

--- Comment #13 from V Stuart Foote <[email protected]> ---
(In reply to colourfuldesu from comment #10)
> https://youtu.be/lXYnAcrZVzI
> 
> I tested a bit, if I disable "use skia for all rendering", I can launch
> LibreOffice just as if I enable "use skia for all rendering" and "force skia
> software rendering" but this time 0:20, I cant launch LibreOffice if I just
> disable skia at all
> 
> 0:40 then I try to using dgpu then switch to igpu, no change
> 
> 1:20 I enable force skia through config and LibreOffice can launch
> 
> so the fix is if I disable skia, it launch. If I enable skia AND force skia,
> it launch. but I need to do the 2nd solution to make libre launch with
> disabled skia.
> 
> somehow if I force enable skia in safe mode, the settings just reverts back
> that I need to configure it though config file.
> 
> I dont know how do I make my dgpu RX5500M came up in vulkan mode, I would
> prefer it to be the other igpu for battery life reasons
> 
> sorry for the late reply, iam just really lazy in college hahaha

The "Switchable Graphics" of making LibreOffice a High Performance is not
helping as the Skia Vulkan rendering for the dGPU is failing graphics tests
just as the iGPU on the APU is.

Simply put, it looks like you will not be able to run LibreOffice with Skia /
Vulkan vector shaders. Might improve with an AMD Vulkan driver change, or not.

Otherwise, stay out of the SafeMode for doing configuration--it doesn't
persist. And, your LibreOffice install behaves as expected.  

Editing the registrymodification.xcu to copy in the UseSkia and ForceSkiaRaster
stanzas at the 1:18 mark is all that you need.

Edit to toggle the ForceSkiaRaster "True" at 5:10 mark is where you need to be
for running LibreOffice.

You can edit it to "False" to test the Vulkan rendering (with either GPU set
from "Switchable Graphics"). And if/when the Vulkan graphics tests fail, the
stanza will be reset to "True"--leaving you with UseSkia and ForceSkiaRaster
both true.

You can set both "False" to force GDI rendering paths, non-Skia.

To be able to denylist your AMD RX 5500M dGPU (which actually only avoids
running the Vulkan graphics testing and sets ForceSkiaRaster) we add the device
and Vulkan driver details to the denylist. We have both the iGPU, and dGPU
details in comment 7 from GLview, just a little reluctant to deny both as we've
had other OpenGL era and Vulkan issues with AMD "Switchable Graphics"
(Adrenaline, or Win10/11 integrated) and nVidia "Optimus" (nVidia control
panel, or Win10/11 integrated).

So, I think you are good for now--but check your drivers from time to time and
see if Vulkan behaves.

Setting => NAB as the Skia tests are doing what they should, and we can't
really control the Vulkan driver support per GPU.

p.s. -- noticed you have the Java based Nonlinear Solver extension enabled in
your install, you can uncheck it in the install wizard and that will save
several seconds of config during LO launch.

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

Reply via email to