npx remotion gpu
Available from Remotion v4.0.52
Prints out how the Chrome browser uses the GPUs.
bash
npx remotion gpu --gl=angle
bash
npx remotion gpu --gl=angle
The command takes the same arguments for --gl
as npx remotion render
and also picks up the Config.setChromiumOpenGlRenderer()
option.
Try out different values to find which one is the best for your system.
Example outputbash
Canvas: Hardware acceleratedCanvas out-of-process rasterization: EnabledDirect Rendering Display Compositor: DisabledCompositing: Hardware acceleratedMultiple Raster Threads: EnabledOpenGL: EnabledRasterization: Hardware acceleratedRaw Draw: DisabledSkia Graphite: DisabledVideo Decode: Hardware acceleratedVideo Encode: Hardware acceleratedWebGL: Hardware acceleratedWebGL2: Hardware acceleratedWebGPU: Hardware accelerated
Example outputbash
Canvas: Hardware acceleratedCanvas out-of-process rasterization: EnabledDirect Rendering Display Compositor: DisabledCompositing: Hardware acceleratedMultiple Raster Threads: EnabledOpenGL: EnabledRasterization: Hardware acceleratedRaw Draw: DisabledSkia Graphite: DisabledVideo Decode: Hardware acceleratedVideo Encode: Hardware acceleratedWebGL: Hardware acceleratedWebGL2: Hardware acceleratedWebGPU: Hardware accelerated
The output should not be used for automated parsing, as it may change inbetween any Remotion and Chrome versions.