Graphics Acceleration in LibreOffice: Skia and OpenGL
LibreOffice relies on dedicated graphics rendering backends to accelerate visual performance, improve rendering fidelity, and offload processing from the CPU to the GPU. While earlier versions of the office suite depended on OpenGL for hardware acceleration, modern releases have shifted to the Skia graphics engine, often paired with Vulkan or software raster fallbacks. This guide outlines the specific graphics acceleration options utilized by LibreOffice, how they have evolved, and how they function across different operating systems.
Skia Graphics Engine
Starting with LibreOffice 7.0, the Skia 2D graphics library became the default rendering engine for LibreOffice on Windows and macOS, with growing support across Linux environments. Skia provides a unified drawing layer across platforms and operates in two primary modes:
- Skia with Vulkan Acceleration: When compatible hardware and modern GPU drivers are present, Skia utilizes the Vulkan API. This allows LibreOffice to directly leverage hardware acceleration for rendering text, shapes, and complex UI layouts, significantly improving rendering speeds and responsiveness in heavy documents.
- Skia Software (Raster) Rendering: If hardware
acceleration fails, or if a system lacks stable Vulkan drivers,
LibreOffice falls back to Skia’s CPU-based raster engine
(
Skia/Raster). This ensures consistent visual output and prevents crashes without relying on buggy graphics drivers.
Legacy OpenGL Support
Prior to the integration of Skia, LibreOffice utilized OpenGL as its primary hardware acceleration pipeline. OpenGL was used extensively to render 3D slide transitions in Impress and handle hardware-accelerated canvas rendering in Calc and Writer.
However, OpenGL support introduced significant driver-related stability issues, visual artifacts, and platform-specific inconsistencies. As a result, the development team phased out OpenGL in favor of Skia. In current versions of LibreOffice, direct OpenGL rendering options have been replaced entirely.
Software Rendering Fallbacks
For environments where hardware acceleration is either unsupported or intentionally disabled—such as virtual machines, remote desktop sessions, or systems with outdated GPU drivers—LibreOffice relies on standard CPU-based software rendering pipelines (such as GDI on Windows, Cairo on Linux, or standard Core Graphics on macOS). While software rendering lacks GPU acceleration, it offers the highest level of compatibility and stability.
Managing Graphics Acceleration Settings
Users can check and modify the active graphics acceleration engine within LibreOffice:
- Open LibreOffice and navigate to Tools > Options (or LibreOffice > Preferences on macOS).
- Under the LibreOffice section, select View.
- Under the Graphics Output settings, users can enable or disable Use hardware acceleration and Use Skia for all rendering.
- To troubleshoot visual glitches or driver crashes, checking the option Force Skia software rendering forces the engine to run via the CPU without disabling Skia’s unified rendering pipeline.