| CARBONIAN-DGPU(1) | Carbonian Manual | CARBONIAN-DGPU(1) |
carbonian-dgpu - run a program on a laptop's dedicated GPU
carbonian-dgpu COMMAND [ARGUMENT ...]
carbonian-dgpu auto LINE
The compositor stays on the GPU that shows the boot; a program started with carbonian-dgpu runs on the other one. With NVIDIA's own driver it uses PRIME render offload (OpenGL, EGL and Vulkan: it sets __NV_PRIME_RENDER_OFFLOAD, __GLX_VENDOR_LIBRARY_NAME, __VK_LAYER_NV_optimus and the EGL vendor file); with a Mesa driver (nouveau, amdgpu, i915) it sets DRI_PRIME=1. CUDA needs none of this.
carbonian-dgpu auto LINE runs the shell line LINE on the dedicated GPU or not, depending on the GPU tile of the quick settings:
The launcher uses it for every application it starts. Nothing changes on a machine with one GPU (no /dev/dri/other-gpu).
2 when no command is given; otherwise that of the command.
carbonian-dgpu glxinfo -B carbonian-dgpu vkcube
carbonian-gpu-driver(1), power.conf(5), display.conf(5)
| October 2026 | Carbonian |