Skip to main content

Multiple cores on Linux

info

This document is outdated. As of v4.0.137, the default behavior is to use multi-process mode.
The setting still exists, but is true by default.

Before v4.0.137, Remotion started the Chromium browser on Linux with the --single-process flag by default. This was because:

  • The sandboxing feature of Chromium is not supported on all Linux distributions
  • Older versions of Chromium used to crash when starting headlessly with multiple processes
  • If some desktop libraries are missing, Chromium could crash on startup on some Distros.

This can lead to degraded rendering performance, especially when trying to leverage high-core CPUs and high Remotion concurrency.

Enable multi-process rendering on Linuxv4.0.42​

Enabled by default. To disable multi-process mode for Chromium during rendering on Linux:

Should I enable multi-process mode?​

The answer depends on the Linux environment. If you are running Remotion on a server, you should try to enable multi-process mode and see if it works.

Our recommended Docker image is confirmed working with multi-process mode enabled.

See also​