Nvg — Coco

// Set kernel arguments coco_kernel_set_arg(kernel, 0, sizeof(buf), &buf); coco_kernel_launch(kernel, 1, grid, block); // 1D grid

sudo apt install build-essential meson ninja-build pkg-config \ libdrm-dev libdrm-nouveau2 mesa-common-dev libclang-dev \ llvm-dev python3 libpciaccess-dev Coco is a meta-framework. The NVG backend is part of coco-nvg (often hosted on GitLab/freedesktop or personal repos). There is no official release; you must clone and build. coco nvg

To run via coco_run :

git clone https://gitlab.freedesktop.org/mesa/coco-nvg.git cd coco-nvg meson setup builddir -Dbackend=nvg ninja -C builddir If you get missing headers ( coco/runtime.h ), you may need to fetch submodules: // Set kernel arguments coco_kernel_set_arg(kernel