Skip to content

🎥 Make videos programmatically with React

Clarify how to use `npx remotion gpu`

Jonny Burgercb1347909c86
diff --git a/packages/docs/docs/cli/gpu.md b/packages/docs/docs/cli/gpu.md
index d1f3c55c08..ae47a447b6 100644
--- a/packages/docs/docs/cli/gpu.md
+++ b/packages/docs/docs/cli/gpu.md
@@ -10,9 +10,12 @@ _Available from Remotion v4.0.52_
Prints out how the Chrome browser uses the GPUs.
```bash
-npx remotion gpu
+npx remotion gpu --gl=angle
```
+The command takes the same arguments for `--gl` as `npx remotion render` and also picks up the [`Config.setChromiumOpenGlRenderer()`](/docs/config#setchromiumopenglrenderer) option.
+Try out different values to find which one is the best for your system.
+
```bash title="Example output"
Canvas: Hardware accelerated
Canvas out-of-process rasterization: Enabled
@@ -32,4 +35,7 @@ WebGPU: Hardware accelerated
The output should not be used for automated parsing, as it may change inbetween any Remotion and Chrome versions.
+## See also
+
- [Source code for this function](https://github.com/remotion-dev/remotion/blob/main/packages/cli/src/gpu.ts)
+- [Using the GPU](/docs/gpu)