Skip to content

Historical: Linux-based prototype

Graphics stack

This page documents the earlier Linux-based prototype as of 24 November 2026. It does not describe the independent Khelforge OS, and its steps are not instructions for it. See the independent Khelforge OS.

Partly implementedRecorded statusLast verified

Khelforge draws its desktop with Qt Quick over OpenGL. It has no graphics driver and no Vulkan renderer. The full path is verified with software rendering in a virtual machine. One NVIDIA GPU has run it in nested form, as a window inside another desktop.

The Linux kernel exposes graphics cards through DRM, and KMS is the part that sets modes and shows pictures. Mesa implements OpenGL and Vulkan for most AMD and Intel GPUs. NVIDIA ships its own user libraries. These parts are standard and unmodified here.

Step What happens Owner
1 The application draws its window Application; Khelforge apps use Qt Quick
2 The picture is handed over with Wayland Khelforge compositor, built on Qt Wayland Compositor
3 Windows, shell and lock are drawn as one scene Khelforge compositor, OpenGL
4 The result is shown on the screen cage, with DRM and KMS

The picture is combined twice, once by the compositor and once by cage. That cost is accepted for now. The long-term display path is not decided.

  • OpenGL is used, because the Qt compositor needs it to show application windows.
  • Drawing happens on one thread. The multi-threaded mode of Qt Quick crashed with an NVIDIA driver and is not used.
  • No Vulkan. The desktop itself does not draw with Vulkan.

Vulkan matters for games and is only checked, not used. Settings checks it in a separate process, so a broken driver cannot take Settings down. It lists the graphics cards and their driver and API versions, and explains what is missing. The installer offers the Vulkan loader and per-vendor drivers; see the hardware pages.

There is no 32-bit graphics test, no explicit synchronisation work in Khelforge, no GPU selection, no HDR or colour management, and no measurement of frame time or latency.