// SPDX-License-Identifier: MIT // Copyright (C) 2026 Pooya Parsa // kmscube: a GBM/KMS client on the guest's /dev/dri (virtio-gpu), drawn by // Mesa's virgl driver through the page's WebGL2 (guest GL, Debian). import type { TerminalApp } from "../types.ts"; export default { id: "kmscube", title: "kmscube", desc: "A spinning cube on the GPU: Mesa on /dev/dri, rendered through the browser's WebGL2", // A cube. icon: { svg: '' }, colors: ["#0ea5e9", "#6366f1"], needs: { display: true, net: true }, packages: { debian: ["mesa-utils", "kmscube"] }, commands: [ "eglinfo -B -p gbm | grep -E 'renderer|OpenGL ES profile version' || true", "echo 'kmscube: any key stops it; the Environment tab has the Guest GL row'", "kmscube", ], } satisfies TerminalApp;