best windows backend to use?

149 views
Skip to first unread message

Noel Grandin

unread,
Jul 10, 2023, 8:53:13 AM7/10/23
to skia-discuss
Hi

Currently, on LibreOffice, for Windows, we default to using the Skia/Vulcan backend.

However, we keep running into hard to debug crashes with various graphics cards and drivers.

What is the recommended/most stable backend to use on Windows?

Thanks, Noel Grandin

Jim Van Verth

unread,
Jul 10, 2023, 9:20:32 AM7/10/23
to skia-d...@googlegroups.com
The most thoroughly tested backend on Windows is probably OpenGL running on ANGLE, since that's what Chrome runs on. I believe people have also had some success using the D3D12 backend.

--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/skia-discuss/455198ef-ad1d-4d8a-a020-a20fa86d69acn%40googlegroups.com.


--

Jim Van Verth |
 Software Engineer | Google.com

craste...@gmail.com

unread,
Jul 10, 2023, 9:26:12 AM7/10/23
to skia-discuss
I have not done any research on this, but my gut says OpenGL as well.  Simply because most video card software engineers who write drivers have tons of experience with it.

Brian Osman

unread,
Jul 10, 2023, 9:31:21 AM7/10/23
to skia-d...@googlegroups.com
Possibly. The important part is that (as I understand it) Vulkan (and GL) drivers aren't subject to WHQL testing like D3D drivers are. Regardless, I'd expect (some) GL drivers to be better than the Vulkan driver quality. Depending on the vendor, though - you're really taking a risk. D3D drivers are tested much more thoroughly (both by MS, and by the world-at-large via games, etc...). Using those -- either via ANGLE, or with Skia's D3D backend is likely the best bet.

Jim Van Verth

unread,
Jul 10, 2023, 10:04:32 AM7/10/23
to skia-d...@googlegroups.com
Right -- to be clear, when I said ANGLE I meant using it to do OpenGL emulation on top of Direct3D.

K. Moon

unread,
Jul 10, 2023, 12:20:53 PM7/10/23
to skia-d...@googlegroups.com
I mean, I suspect the most stable backend is CPU, but presumably there are performance considerations with that?

Noel Grandin

unread,
Jul 10, 2023, 12:42:29 PM7/10/23
to skia-discuss
On Monday, July 10, 2023 at 6:20:53 PM UTC+2 km...@chromium.org wrote:
I mean, I suspect the most stable backend is CPU, but presumably there are performance considerations with that?


Yeah, we already have a CPU-based backend that is very old and very stable.
 (yes, we have backends for the backends :-)

We're using Skia to try and move towards GPU rendering, so that's not really a great option :-(

I think we'll try the D3D12 one first, so I don't have to try mangling ANGLE into our build system.


Reply all
Reply to author
Forward
0 new messages