carbonian.org / manual pages
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:

only while the power mode is performance (as powerprofilesctl(1) says);
always;
never.

The launcher uses it for every application it starts. Nothing changes on a machine with one GPU (no /dev/dri/other-gpu).

~/.config/carbonian/dgpu
The tile's choice: one word. It wins.
/etc/carbonian/power.conf
~/.config/carbonian/power.conf
The default, dgpu (see power.conf(5)).
/dev/dri/boot-gpu, /dev/dri/other-gpu
Links made by the udev rule 70-carbonian-gpu.rules.

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