packages/docs/docs/gpu.mdx
Some types of content in Remotion can benefit from a GPU being available on the machine that is used for rendering.
By default in many cases, the GPU is disabled in headless mode, which can lead to a significant slowdown in rendering time.
box-shadowtext-shadowbackground-image: linear-gradient()background-image: radial-gradient()filter: blur()filter: drop-shadow()transformIf a GPU is available, it should be enabled by default while in the Remotion Studio or Remotion Player.
However, in headless mode, Chromium disables the GPU, leading to a significant
slowdown in rendering time.
Contrary to popular belief, the following content is not accelerated by the GPU:
<Html5Video><OffthreadVideo>Furthermore, the encoding of the video is not accelerated by the GPU at this point.
--gl flag to enable the GPU during renderingSee here for recommendations which OpenGL backend you should use during rendering.
See here for an example on how to use the GPU during server-side rendering.
AWS Lambda instances have no GPU, so it is not possible to use it.
We'd love to learn and document more findings about the GPU. Let us know and we will amend this document!