Bug 143525 - Implement Skia rendering on Linux
Summary: Implement Skia rendering on Linux
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
7.1.4.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Skia Performance
  Show dependency treegraph
 
Reported: 2021-07-24 09:40 UTC by Clemens Eisserer
Modified: 2024-03-03 19:55 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Clemens Eisserer 2021-07-24 09:40:56 UTC
Description:
When running LibreOffice 7.1.5.2 on Linux, there is no option to enable vulkan rendering, despite the GPU used. Considering how horrible the existing X11- and cairo-based backends are, is there any sane reason why LO for linux is still shipped with Vulkan compile-time disabled`

When running Windows the option is present, even when running the windows version using wine I can use Vulkan whereas the linux build does not offer the checkbox to enable it.

Steps to Reproduce:
1. Start LO on Linux
2. Try to enable Vulkan in Options


Actual Results:
Option is not there

Expected Results:
Vulkan rendering should be available also on Linux.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.5.2 / LibreOffice Community
Build ID: 85f04e9f809797b8199d13c421bd8a2b025d52b5
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: de-AT (de_AT.utf8); UI: en-US
Flatpak
Calc: threaded
Comment 1 Roman Kuznetsov 2021-07-24 09:55:40 UTC
Yeah, because it was not implemented yet .

But we hope it will

So let's change it to enhancement
Comment 2 Clemens Eisserer 2021-07-24 10:58:22 UTC
Is it really not implemented?

In the release-notes for LO 7.0 I read:

> Note that many backends do not use Skia. E.g. on Linux it is necessary 
> to also use SAL_USE_VCLPLUGIN=gen.

Some other news sites talk about skia beeing "optional" on linux.

Maybe I should have phrased the title differently. Even skia software rendering would be so much faster / better than what we linux users have to live with currnetly. Esepcially on 4k displays some operations are soo slow LO UI is barely useable in its current state.
Comment 3 Julien Nabet 2021-07-25 09:29:23 UTC
Luboš: I know you're working about implementing Skia on Macos, any thoughts/release plan for Linux with gtk3 or kf5 renderings?
I mean, it seems indeed that Skia can be enabled only with gen rendering on Linux.
Comment 4 Thomas Bettler 2024-03-02 14:22:46 UTC
any update on the plans to integrate skia in other vcl backends i.e. qt?
Comment 5 Julien Nabet 2024-03-02 14:27:50 UTC
(In reply to Thomas Bettler from comment #4)
> any update on the plans to integrate skia in other vcl backends i.e. qt?

There are many Skia related bugs and last patch of the main dev implenting Skia on LO was in 2022-09 so don't expect much here.
Comment 6 Thomas Bettler 2024-03-02 16:31:43 UTC
Huh, would this mean Skia implementation is unmaintained / abandoned ? - is there any hope for any other OpenGL implementation on Linux i.e. for slide transitions? (once upon a time there was OpenGL based on xcb, but that looks broken now)
Comment 7 Julien Nabet 2024-03-02 16:39:51 UTC
(In reply to Thomas Bettler from comment #6)
> Huh, would this mean Skia implementation is unmaintained / abandoned ? - is
> there any hope for any other OpenGL implementation on Linux i.e. for slide
> transitions? (once upon a time there was OpenGL based on xcb, but that looks
> broken now)

I don't know for more for Skia, when there's a crash which can't be reproduced with Skia raster mode (so CPU mode, no Vulkan/GPU mode), the GPU is blacklisted.
So it seems Skia raster mode is not too bad.

About OpenGL, I'm not expert but it seems to work with gtk.
Anyway, it's not the subject of the tracker. If you got more questions for OpenGL, use LO dev mailing list.
Comment 8 Thomas Bettler 2024-03-03 19:55:29 UTC
Julien - thank you for your hint - indeed it works with gtk3 and gtk4 :-)
(and true this is offtopic ;-)