# DeviceSpec: stim-buff-api `drm()` from provider `linux()`:

The stim-buff-api is Linux DRM/KMS. The provider is Linux itself. This provider
enables direct capture of frames at the kernel level, so it works for both X11
and Wayland. There is a program called GPU Screen Recorder that can use this
API to capture specific windows on X11, but window-specific capture does not
work with Wayland. However, whole-screen capture works on both graphics
servers.

Notes:
* `modetest` utility in ubuntu package `libdrm-tests` is relevant.
* `kmscube` is apparently relevant.
* `drm_info` from ubuntu pkg `drm-info`is relevant.
