Bug 160762 - UI font rendering is blurry with Skia enabled
Summary: UI font rendering is blurry with Skia enabled
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
24.2.2.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Skia
  Show dependency treegraph
 
Reported: 2024-04-21 13:06 UTC by Cyril Meysson
Modified: 2024-07-25 15:19 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
UI - Skia rendering comparison (78.63 KB, image/png)
2024-04-21 13:06 UTC, Cyril Meysson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cyril Meysson 2024-04-21 13:06:29 UTC
Created attachment 193785 [details]
UI - Skia rendering comparison

Hi,

It seems that Skia renders UI text a bit more blurry than without it. 

Unfortunately, LO is basically unusable with Skia disabled (e.g. scrolling is extremely slow), so this can't be a solution for me.

I've included a visual comparison in the attachments.

Here's also my version information:

Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01
CPU threads: 12; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: en-US
Calc: CL threaded

Thanks for your attention.
Comment 1 V Stuart Foote 2024-04-21 14:01:57 UTC
You are on Windows 11, but don't indicate the desktop or text scaling factor in use for your screen clips.
Comment 2 Cyril Meysson 2024-04-21 14:18:25 UTC
Ah, sorry about that.

I do not use any scaling. I also updated my drivers (AMD Ryzen 5 PRO 4650U with Radeon graphics) but it didn't make any difference.

Here's an interesting behaviour: when I use LO's safe mode, everything looks perfect (including the UI font).
In this mode, I notice that the "Force Skia software rendering" setting is disabled.

Unfortunately, I can't uncheck this option when using LO normally : the program doesn't restart after saving the change.
Comment 3 Stéphane Guillou (stragu) 2024-05-07 04:27:29 UTC
Thanks for the report.

To clarify, tell me if the following is correct:
- both Skia options on: slightly blurry
- both Skia options off: less blurry
- Skia on, Software Rendering off (as in Safe Mode): font look perfect (better than the two other cases), but can't restart with these settings.

For the last point: do you mean you start LO normally, then untick "Force Skia software rendering", click OK, it prompts for a restart, but LO does not restart at all?

Have you tried resetting your user profile (after backing it up)?
https://wiki.documentfoundation.org/UserProfile

And please also share the Skia log (right under the Skia settings).
Comment 4 Cyril Meysson 2024-05-07 08:29:16 UTC
(In reply to Stéphane Guillou (stragu) from comment #3)
> Thanks for the report.
> 
> To clarify, tell me if the following is correct:
> - both Skia options on: slightly blurry
> - both Skia options off: less blurry
> - Skia on, Software Rendering off (as in Safe Mode): font look perfect
> (better than the two other cases), but can't restart with these settings.
> 
> For the last point: do you mean you start LO normally, then untick "Force
> Skia software rendering", click OK, it prompts for a restart, but LO does
> not restart at all?
> 
> Have you tried resetting your user profile (after backing it up)?
> https://wiki.documentfoundation.org/UserProfile
> 
> And please also share the Skia log (right under the Skia settings).

Well, the short version is that the UI fonts (not the document fonts) are blurry when Skia is enabled on my system. This specific problem can be solved by disabling Skia. However, it causes a drastic loss of performance (e.g. scrolling is very choppy), so I can't just do it.

The Software Rendering option has no visual effect, but I was surprised that I couldn't turn it off outside of Safe Mode. I'm not sure if this has anything to do with this particular problem.

I've also tried resetting my user profile in the meantime, but unfortunately that didn't solve the problem.

Here's the Skia log for my normal configuration:

RenderMethod: raster
Compiler: Clang

Hope that helps.
Comment 5 QA Administrators 2024-05-08 03:16:10 UTC Comment hidden (obsolete)
Comment 6 Buovjaga 2024-07-25 07:08:49 UTC
We see Skia/Raster in your version information, which means software rendering. GPU rendering would appear as Skia/Vulkan. Can you confirm that you never see Vulkan in the version info no matter which options you choose?

In Safe Mode Skia is not used at all. Do you have extremely slow scrolling in Safe Mode?

You might also try a daily build which installs separately, Win-x86_64@tb77-TDF from https://dev-builds.libreoffice.org/daily/master/current.html
Comment 7 Cyril Meysson 2024-07-25 15:19:52 UTC
That is correct. I didn't see Vulkan mentioned anywhere, no matter which option I chose.

Scrolling performance is worse in Safe Mode, although not completely unusable.

However, my report is specifically about UI text rendering -document rendering itself is generally fine on my system with default/standard settings.